Lines Matching refs:blksrc
118 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()
160 const GLubyte acodelow = blksrc[2 + bit_pos / 8]; in fetch_2d_texel_rgba_dxt5()
161 const GLubyte acodehigh = blksrc[3 + bit_pos / 8]; in fetch_2d_texel_rgba_dxt5()
164 dxt135_decode_imageblock(blksrc + 8, (i&3), (j&3), 2, texel); in fetch_2d_texel_rgba_dxt5()