Lines Matching refs:srcpixels
46 static void extractsrc_u( GLubyte srcpixels[4][4], const GLubyte *srcaddr, in extractsrc_u()
54 srcpixels[j][i] = *curaddr; in extractsrc_u()
60 static void extractsrc_s( GLbyte srcpixels[4][4], const GLfloat *srcaddr, in extractsrc_s()
68 srcpixels[j][i] = FLOAT_TO_BYTE_TEX(*curaddr); in extractsrc_s()
83 GLubyte srcpixels[4][4]; in _mesa_texstore_red_rgtc1() local
115 extractsrc_u(srcpixels, srcaddr, srcWidth, numxpixels, numypixels, 1); in _mesa_texstore_red_rgtc1()
116 util_format_unsigned_encode_rgtc_ubyte(blkaddr, srcpixels, numxpixels, numypixels); in _mesa_texstore_red_rgtc1()
136 GLbyte srcpixels[4][4]; in _mesa_texstore_signed_red_rgtc1() local
168 extractsrc_s(srcpixels, srcaddr, srcWidth, numxpixels, numypixels, 1); in _mesa_texstore_signed_red_rgtc1()
169 util_format_signed_encode_rgtc_ubyte(blkaddr, srcpixels, numxpixels, numypixels); in _mesa_texstore_signed_red_rgtc1()
189 GLubyte srcpixels[4][4]; in _mesa_texstore_rg_rgtc2() local
229 extractsrc_u(srcpixels, srcaddr, srcWidth, numxpixels, numypixels, 2); in _mesa_texstore_rg_rgtc2()
230 util_format_unsigned_encode_rgtc_ubyte(blkaddr, srcpixels, numxpixels, numypixels); in _mesa_texstore_rg_rgtc2()
233 extractsrc_u(srcpixels, (GLubyte *)srcaddr + 1, srcWidth, numxpixels, numypixels, 2); in _mesa_texstore_rg_rgtc2()
234 util_format_unsigned_encode_rgtc_ubyte(blkaddr, srcpixels, numxpixels, numypixels); in _mesa_texstore_rg_rgtc2()
256 GLbyte srcpixels[4][4]; in _mesa_texstore_signed_rg_rgtc2() local
295 extractsrc_s(srcpixels, srcaddr, srcWidth, numxpixels, numypixels, 2); in _mesa_texstore_signed_rg_rgtc2()
296 util_format_signed_encode_rgtc_ubyte(blkaddr, srcpixels, numxpixels, numypixels); in _mesa_texstore_signed_rg_rgtc2()
299 extractsrc_s(srcpixels, srcaddr + 1, srcWidth, numxpixels, numypixels, 2); in _mesa_texstore_signed_rg_rgtc2()
300 util_format_signed_encode_rgtc_ubyte(blkaddr, srcpixels, numxpixels, numypixels); in _mesa_texstore_signed_rg_rgtc2()