Searched refs:blksrc (Results 1 – 2 of 2) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/util/format/ |
D | texcompress_s3tc_tmp.h | 114 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8); in fetch_2d_texel_rgb_dxt1() local 115 dxt135_decode_imageblock(blksrc, (i&3), (j&3), 0, texel); in fetch_2d_texel_rgb_dxt1() 126 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8); in fetch_2d_texel_rgba_dxt1() local 127 dxt135_decode_imageblock(blksrc, (i&3), (j&3), 1, texel); in fetch_2d_texel_rgba_dxt1() 138 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 16); in fetch_2d_texel_rgba_dxt3() local 139 const GLubyte anibble = (blksrc[((j&3) * 4 + (i&3)) / 2] >> (4 * (i&1))) & 0xf; in fetch_2d_texel_rgba_dxt3() 140 dxt135_decode_imageblock(blksrc + 8, (i&3), (j&3), 2, texel); in fetch_2d_texel_rgba_dxt3() 152 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 16); in fetch_2d_texel_rgba_dxt5() local 153 const GLubyte alpha0 = blksrc[0]; in fetch_2d_texel_rgba_dxt5() 154 const GLubyte alpha1 = blksrc[1]; in fetch_2d_texel_rgba_dxt5() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | texcompress_rgtc_tmp.h | 36 const TYPE *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8 * comps); in TAG() local 37 const TYPE alpha0 = blksrc[0]; in TAG() 38 const TYPE alpha1 = blksrc[1]; in TAG() 40 const unsigned char acodelow = blksrc[2 + bit_pos / 8]; in TAG() 41 const unsigned char acodehigh = (3 + bit_pos / 8) < 8 ? blksrc[3 + bit_pos / 8] : 0; in TAG()
|