Home
last modified time | relevance | path

Searched refs:blksrc (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h118 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8); in fetch_2d_texel_rgb_dxt1() local
119 dxt135_decode_imageblock(blksrc, (i&3), (j&3), 0, texel); in fetch_2d_texel_rgb_dxt1()
130 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8); in fetch_2d_texel_rgba_dxt1() local
131 dxt135_decode_imageblock(blksrc, (i&3), (j&3), 1, texel); in fetch_2d_texel_rgba_dxt1()
142 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 16); in fetch_2d_texel_rgba_dxt3() local
143 const GLubyte anibble = (blksrc[((j&3) * 4 + (i&3)) / 2] >> (4 * (i&1))) & 0xf; in fetch_2d_texel_rgba_dxt3()
144 dxt135_decode_imageblock(blksrc + 8, (i&3), (j&3), 2, texel); in fetch_2d_texel_rgba_dxt3()
156 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 16); in fetch_2d_texel_rgba_dxt5() local
157 const GLubyte alpha0 = blksrc[0]; in fetch_2d_texel_rgba_dxt5()
158 const GLubyte alpha1 = blksrc[1]; in fetch_2d_texel_rgba_dxt5()
[all …]
/external/mesa3d/src/util/
Dtexcompress_rgtc_tmp.h36 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()