| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| H A D | rgtc.h | 29 unsigned i, unsigned j, unsigned char *value, unsigned comps); 32 unsigned i, unsigned j, signed char *value, unsigned comps);
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | rgtc.h | 29 unsigned i, unsigned j, unsigned char *value, unsigned comps); 32 unsigned i, unsigned j, signed char *value, unsigned comps);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | formats.c | 892 GLenum *datatype, GLuint *comps) 908 *comps = 4; 913 *comps = 3; 920 *comps = 3; 929 *comps = 4; 938 *comps = 4; 943 *comps = 4; 950 *comps = 4; 955 *comps = 2; 961 *comps 891 _mesa_uncompressed_format_to_type_and_comps(mesa_format format,GLenum * datatype,GLuint * comps) argument [all...] |
| H A D | mipmap.c | 72 bytes_per_pixel(GLenum datatype, GLuint comps) argument 86 return b * comps; 172 * \param comps number of components per pixel (1..4) 175 do_row(GLenum datatype, GLuint comps, GLint srcWidth, argument 182 assert(comps >= 1); 183 assert(comps <= 4); 189 if (datatype == GL_UNSIGNED_BYTE && comps == 4) { 202 else if (datatype == GL_UNSIGNED_BYTE && comps == 3) { 214 else if (datatype == GL_UNSIGNED_BYTE && comps == 2) { 225 else if (datatype == GL_UNSIGNED_BYTE && comps 808 do_row_3D(GLenum datatype,GLuint comps,GLint srcWidth,const GLvoid * srcRowA,const GLvoid * srcRowB,const GLvoid * srcRowC,const GLvoid * srcRowD,GLint dstWidth,GLvoid * dstRow) argument 1441 make_1d_mipmap(GLenum datatype,GLuint comps,GLint border,GLint srcWidth,const GLubyte * srcPtr,GLint dstWidth,GLubyte * dstPtr) argument 1471 make_2d_mipmap(GLenum datatype,GLuint comps,GLint border,GLint srcWidth,GLint srcHeight,const GLubyte * srcPtr,GLint srcRowStride,GLint dstWidth,GLint dstHeight,GLubyte * dstPtr,GLint dstRowStride) argument 1563 make_3d_mipmap(GLenum datatype,GLuint comps,GLint border,GLint srcWidth,GLint srcHeight,GLint srcDepth,const GLubyte ** srcPtr,GLint srcRowStride,GLint dstWidth,GLint dstHeight,GLint dstDepth,GLubyte ** dstPtr,GLint dstRowStride) argument 1724 _mesa_generate_mipmap_level(GLenum target,GLenum datatype,GLuint comps,GLint border,GLint srcWidth,GLint srcHeight,GLint srcDepth,const GLubyte ** srcData,GLint srcRowStride,GLint dstWidth,GLint dstHeight,GLint dstDepth,GLubyte ** dstData,GLint dstRowStride) argument 1958 GLuint comps; local in function:generate_mipmap_uncompressed [all...] |
| H A D | texcompress_etc.c | 679 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local in function:etc2_unpack_rgb8 702 uint8_t *dst = dst_row + (y + j) * dst_stride + x * comps; 707 dst += comps; 727 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local in function:etc2_unpack_srgb8 743 uint8_t *dst = dst_row + (y + j) * dst_stride + x * comps; 756 dst += comps; 778 const unsigned bw = 4, bh = 4, bs = 16, comps = 4; local in function:etc2_unpack_rgba8 791 uint8_t *dst = dst_row + (y + j) * dst_stride + x * comps; 794 dst += comps; 817 const unsigned bw = 4, bh = 4, bs = 16, comps local in function:etc2_unpack_srgb8_alpha8 864 const unsigned bw = 4, bh = 4, bs = 8, comps = 1, comp_size = 2; local in function:etc2_unpack_r11 901 const unsigned bw = 4, bh = 4, bs = 16, comps = 2, comp_size = 2; local in function:etc2_unpack_rg11 951 const unsigned bw = 4, bh = 4, bs = 8, comps = 1, comp_size = 2; local in function:etc2_unpack_signed_r11 989 const unsigned bw = 4, bh = 4, bs = 16, comps = 2, comp_size = 2; local in function:etc2_unpack_signed_rg11 1036 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local in function:etc2_unpack_rgb8_punchthrough_alpha1 1073 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local in function:etc2_unpack_srgb8_punchthrough_alpha1 [all...] |
| H A D | mipmap.h | 41 GLenum datatype, GLuint comps,
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | formats.c | 873 GLenum *datatype, GLuint *comps) 889 *comps = 4; 894 *comps = 3; 901 *comps = 3; 910 *comps = 4; 919 *comps = 4; 924 *comps = 4; 931 *comps = 4; 936 *comps = 2; 944 *comps 872 _mesa_uncompressed_format_to_type_and_comps(mesa_format format,GLenum * datatype,GLuint * comps) argument [all...] |
| H A D | mipmap.c | 72 bytes_per_pixel(GLenum datatype, GLuint comps) argument 86 return b * comps; 172 * \param comps number of components per pixel (1..4) 175 do_row(GLenum datatype, GLuint comps, GLint srcWidth, argument 182 assert(comps >= 1); 183 assert(comps <= 4); 189 if (datatype == GL_UNSIGNED_BYTE && comps == 4) { 202 else if (datatype == GL_UNSIGNED_BYTE && comps == 3) { 214 else if (datatype == GL_UNSIGNED_BYTE && comps == 2) { 225 else if (datatype == GL_UNSIGNED_BYTE && comps 808 do_row_3D(GLenum datatype,GLuint comps,GLint srcWidth,const GLvoid * srcRowA,const GLvoid * srcRowB,const GLvoid * srcRowC,const GLvoid * srcRowD,GLint dstWidth,GLvoid * dstRow) argument 1441 make_1d_mipmap(GLenum datatype,GLuint comps,GLint border,GLint srcWidth,const GLubyte * srcPtr,GLint dstWidth,GLubyte * dstPtr) argument 1471 make_2d_mipmap(GLenum datatype,GLuint comps,GLint border,GLint srcWidth,GLint srcHeight,const GLubyte * srcPtr,GLint srcRowStride,GLint dstWidth,GLint dstHeight,GLubyte * dstPtr,GLint dstRowStride) argument 1563 make_3d_mipmap(GLenum datatype,GLuint comps,GLint border,GLint srcWidth,GLint srcHeight,GLint srcDepth,const GLubyte ** srcPtr,GLint srcRowStride,GLint dstWidth,GLint dstHeight,GLint dstDepth,GLubyte ** dstPtr,GLint dstRowStride) argument 1724 _mesa_generate_mipmap_level(GLenum target,GLenum datatype,GLuint comps,GLint border,GLint srcWidth,GLint srcHeight,GLint srcDepth,const GLubyte ** srcData,GLint srcRowStride,GLint dstWidth,GLint dstHeight,GLint dstDepth,GLubyte ** dstData,GLint dstRowStride) argument 1953 GLuint comps; local in function:generate_mipmap_uncompressed [all...] |
| H A D | texcompress_etc.c | 677 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local in function:etc2_unpack_rgb8 700 uint8_t *dst = dst_row + (y + j) * dst_stride + x * comps; 705 dst += comps; 725 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local in function:etc2_unpack_srgb8 741 uint8_t *dst = dst_row + (y + j) * dst_stride + x * comps; 754 dst += comps; 776 const unsigned bw = 4, bh = 4, bs = 16, comps = 4; local in function:etc2_unpack_rgba8 789 uint8_t *dst = dst_row + (y + j) * dst_stride + x * comps; 792 dst += comps; 815 const unsigned bw = 4, bh = 4, bs = 16, comps local in function:etc2_unpack_srgb8_alpha8 862 const unsigned bw = 4, bh = 4, bs = 8, comps = 1, comp_size = 2; local in function:etc2_unpack_r11 899 const unsigned bw = 4, bh = 4, bs = 16, comps = 2, comp_size = 2; local in function:etc2_unpack_rg11 949 const unsigned bw = 4, bh = 4, bs = 8, comps = 1, comp_size = 2; local in function:etc2_unpack_signed_r11 987 const unsigned bw = 4, bh = 4, bs = 16, comps = 2, comp_size = 2; local in function:etc2_unpack_signed_rg11 1034 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local in function:etc2_unpack_rgb8_punchthrough_alpha1 1071 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local in function:etc2_unpack_srgb8_punchthrough_alpha1 [all...] |
| H A D | mipmap.h | 41 GLenum datatype, GLuint comps,
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_lower_image.c | 48 nir_ssa_def *comps[NIR_MAX_VEC_COMPONENTS] = { NULL, }; local in function:lower_cube_size 52 comps[2] = nir_idiv(b, nir_channel(b, size, 2), nir_imm_int(b, 6)); 54 comps[c] = nir_channel(b, size, c); 58 nir_ssa_def *vec = nir_vec(b, comps, intrin->dest.ssa.num_components);
|
| H A D | nir_lower_interpolation.c | 103 nir_ssa_def *comps[NIR_MAX_VEC_COMPONENTS]; local in function:nir_lower_interpolation_block 121 comps[i] = val; 123 nir_ssa_def *vec = nir_vec(b, comps, intr->num_components);
|
| H A D | nir_lower_array_deref_of_vec.c | 36 nir_ssa_def *comps[NIR_MAX_VEC_COMPONENTS]; local in function:build_write_masked_store 38 comps[i] = (i == component) ? value : u; 40 nir_ssa_def *vec = nir_vec(b, comps, num_components);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| H A D | u_format_etc.c | 30 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local in function:util_format_etc1_rgb8_unpack_rgba_float 41 float *dst = dst_row + (y + j) * dst_stride / sizeof(*dst_row) + x * comps; 50 dst += comps;
|
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| H A D | brw_nir_attribute_workarounds.c | 59 nir_ssa_def *comps[4]; local in function:apply_attr_wa_instr 62 comps[i] = nir_channel(b, rescale ? scaled : val, i); 64 val = nir_vec(b, comps, val->num_components);
|
| /xsrc/external/mit/MesaLib/dist/src/util/format/ |
| H A D | u_format_etc.c | 30 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local in function:util_format_etc1_rgb8_unpack_rgba_float 41 float *dst = (float *)((uint8_t *)dst_row + (y + j) * dst_stride + x * comps * 4); 50 dst += comps;
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| H A D | brw_nir_attribute_workarounds.c | 66 nir_ssa_def *comps[4]; local in function:apply_attr_wa_block 69 comps[i] = nir_channel(b, rescale ? scaled : val, i); 71 val = nir_vec(b, comps, val->num_components);
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/addrlib/src/core/ |
| H A D | addrelemlib.h | 168 UINT_32 comps; ///< Number of components member in struct:Addr::PixelFormatInfo 198 AddrDepthFormat format, const ADDR_FLT_32 comps[2], UINT_8 *pPixel) const; 202 const ADDR_FLT_32 comps[4], UINT_8 *pPixel) const; 223 ADDR_FLT_32 comps[4], BOOL_32 clearColor, BOOL_32 float32);
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/addrlib/src/core/core/ |
| H A D | addrelemlib.h | 168 UINT_32 comps; ///< Number of components member in struct:Addr::PixelFormatInfo 198 AddrDepthFormat format, const ADDR_FLT_32 comps[2], UINT_8 *pPixel) const; 202 const ADDR_FLT_32 comps[4], UINT_8 *pPixel) const; 223 ADDR_FLT_32 comps[4], BOOL_32 clearColor, BOOL_32 float32);
|
| /xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/ |
| H A D | addrelemlib.h | 168 UINT_32 comps; ///< Number of components member in struct:Addr::PixelFormatInfo 198 AddrDepthFormat format, const ADDR_FLT_32 comps[2], UINT_8 *pPixel) const; 202 const ADDR_FLT_32 comps[4], UINT_8 *pPixel) const; 223 ADDR_FLT_32 comps[4], BOOL_32 clearColor, BOOL_32 float32);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/ |
| H A D | sfn_nir_lower_fs_out_to_vector.cpp | 68 void create_new_io_var(nir_shader *shader, unsigned location, unsigned comps); 171 unsigned comps = 0; local in function:r600::NirLowerIOToVector::create_new_io_vars 184 /* Set comps */ 186 comps |= 1 << (m_vars[i][j]->data.location_frac + n); 189 comps |= 1 << (m_vars[i][k]->data.location_frac + n); 193 if (comps) 194 create_new_io_var(shader, i, comps); 207 unsigned location, unsigned comps) 209 unsigned num_comps = util_bitcount(comps); 212 /* Note: u_bit_scan() strips a component of the comps bitfiel 206 create_new_io_var(nir_shader * shader,unsigned location,unsigned comps) argument [all...] |
| H A D | sfn_nir_vectorize_vs_inputs.c | 348 unsigned location, unsigned comps) 350 unsigned num_comps = util_bitcount(comps); 353 /* Note: u_bit_scan() strips a component of the comps bitfield here */ 354 unsigned first_comp = u_bit_scan(&comps); 364 while (comps) { 365 const int comp = u_bit_scan(&comps); 398 unsigned comps = 0; local in function:r600_create_new_io_vars 412 /* Set comps */ 414 comps |= 1 << (vars[i][j]->data.location_frac + n); 417 comps | 346 r600_create_new_io_var(nir_shader * shader,nir_variable * vars[16][4],unsigned location,unsigned comps) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/tests/ |
| H A D | mesa_formats.cpp | 54 GLuint comps = 0; local in function:TEST 57 _mesa_uncompressed_format_to_type_and_comps(f, &datatype, &comps);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| H A D | nir_lower_alu_to_scalar.c | 135 nir_ssa_def *comps[2]; local in function:lower_alu_instr_scalar 136 comps[0] = nir_unpack_half_2x16_split_x(b, packed); 137 comps[1] = nir_unpack_half_2x16_split_y(b, packed); 138 nir_ssa_def *vec = nir_vec(b, comps, 2); 220 nir_ssa_def *comps[NIR_MAX_VEC_COMPONENTS] = { NULL }; local in function:lower_alu_instr_scalar 242 comps[chan] = &lower->dest.dest.ssa; 248 nir_ssa_def *vec = nir_vec(b, comps, num_components);
|
| H A D | nir_lower_array_deref_of_vec.c | 36 nir_ssa_def *comps[NIR_MAX_VEC_COMPONENTS]; local in function:build_write_masked_store 38 comps[i] = (i == component) ? value : u; 40 nir_ssa_def *vec = nir_vec(b, comps, num_components);
|