Home
last modified time | relevance | path

Searched refs:comps (Results 1 – 8 of 8) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/
Drgtc.h29 … unsigned i, unsigned j, unsigned char *value, unsigned comps);
32 … unsigned i, unsigned j, signed char *value, unsigned comps);
Dtexcompress_rgtc_tmp.h33 unsigned i, unsigned j, TYPE *value, unsigned comps) in TAG()
36 const TYPE *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8 * comps); in TAG()
/hardware/google/gfxstream/guest/mesa/src/util/format/
Du_format_etc.c30 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; in util_format_etc1_rgb8_unpack_rgba_float() local
41 float *dst = (float *)((uint8_t *)dst_row + (y + j) * dst_stride + x * comps * 4); in util_format_etc1_rgb8_unpack_rgba_float()
50 dst += comps; in util_format_etc1_rgb8_unpack_rgba_float()
Du_format_rgtc.c43 const unsigned bw = 4, bh = 4, comps = 1; in util_format_rgtc1_unorm_unpack_r_8unorm() local
54 uint8_t *dst = dst_row + (y + j)*dst_stride/sizeof(*dst_row) + (x + i)*comps; in util_format_rgtc1_unorm_unpack_r_8unorm()
67 const unsigned bw = 4, bh = 4, comps = 4; in util_format_rgtc1_unorm_unpack_rgba_8unorm() local
78 uint8_t *dst = dst_row + (y + j)*dst_stride/sizeof(*dst_row) + (x + i)*comps; in util_format_rgtc1_unorm_unpack_rgba_8unorm()
195 const unsigned bw = 4, bh = 4, comps = 1; in util_format_rgtc1_snorm_unpack_r_8snorm() local
206 int8_t *dst = dst_row + (y + j)*dst_stride/sizeof(*dst_row) + (x + i)*comps; in util_format_rgtc1_snorm_unpack_r_8snorm()
298 const unsigned bw = 4, bh = 4, comps = 2; in util_format_rgtc2_unorm_unpack_rg_8unorm() local
309 uint8_t *dst = dst_row + (y + j)*dst_stride/sizeof(*dst_row) + (x + i)*comps; in util_format_rgtc2_unorm_unpack_rg_8unorm()
323 const unsigned bw = 4, bh = 4, comps = 4; in util_format_rgtc2_unorm_unpack_rgba_8unorm() local
334 uint8_t *dst = dst_row + (y + j)*dst_stride/sizeof(*dst_row) + (x + i)*comps; in util_format_rgtc2_unorm_unpack_rgba_8unorm()
[all …]
Dtexcompress_etc_tmp.h146 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; in etc1_unpack_rgba8888() local
157 uint8_t *dst = dst_row + (y + j) * dst_stride + x * comps; in etc1_unpack_rgba8888()
161 dst += comps; in etc1_unpack_rgba8888()
Du_format_fxt1.c41 fxt1_encode (uint32_t width, uint32_t height, int32_t comps,
1049 fxt1_quantize (uint32_t *cc, const uint8_t *lines[], int32_t comps) in fxt1_quantize() argument
1057 if (comps == 3) { in fxt1_quantize()
1065 for (i = 0; i < comps; i++) { in fxt1_quantize()
1070 for (i = 0; i < comps; i++) { in fxt1_quantize()
1088 if (comps == 4) { in fxt1_quantize()
1146 int32_t comps, const uint8_t *src, int32_t srcRowStride, in upscale_teximage2d() argument
1163 for (k = 0; k < comps; k++) { in upscale_teximage2d()
1164 dest[(i * outWidth + j) * comps + k] in upscale_teximage2d()
1165 = src[ii * srcRowStride + jj * comps + k]; in upscale_teximage2d()
[all …]
Du_format_s3tc.c129 const unsigned bw = 4, bh = 4, comps = 4; in util_format_dxtn_rgb_unpack_rgba_8unorm() local
138 uint8_t *dst = dst_row + (y + j)*dst_stride/sizeof(*dst_row) + (x + i)*comps; in util_format_dxtn_rgb_unpack_rgba_8unorm()
296 const unsigned bw = 4, bh = 4, comps = 4; in util_format_dxtn_pack_rgba_8unorm() local
306 src_tmp = src[(y + j)*src_stride/sizeof(*src) + (x+i)*comps + k]; in util_format_dxtn_pack_rgba_8unorm()
315 tmp[j][i][3] = src[(y + j)*src_stride/sizeof(*src) + (x+i)*comps + 3]; in util_format_dxtn_pack_rgba_8unorm()
Dtexcompress_s3tc_tmp.h890 GLint srcRowStride, GLint numxpixels, GLint numypixels, GLint comps) in extractsrccolors() argument
895 curaddr = srcaddr + j * srcRowStride * comps; in extractsrccolors()
897 for (c = 0; c < comps; c++) { in extractsrccolors()