Lines Matching refs:srcpixels
62 static void extractsrc_u( GLubyte srcpixels[4][4], const GLubyte *srcaddr, in extractsrc_u()
70 srcpixels[j][i] = *curaddr; in extractsrc_u()
76 static void extractsrc_s( GLbyte srcpixels[4][4], const GLfloat *srcaddr, in extractsrc_s()
84 srcpixels[j][i] = FLOAT_TO_BYTE_TEX(*curaddr); in extractsrc_s()
99 GLubyte srcpixels[4][4]; in _mesa_texstore_red_rgtc1() local
125 extractsrc_u(srcpixels, srcaddr, srcWidth, numxpixels, numypixels, 1); in _mesa_texstore_red_rgtc1()
126 unsigned_encode_rgtc_ubyte(blkaddr, srcpixels, numxpixels, numypixels); in _mesa_texstore_red_rgtc1()
146 GLbyte srcpixels[4][4]; in _mesa_texstore_signed_red_rgtc1() local
172 extractsrc_s(srcpixels, srcaddr, srcWidth, numxpixels, numypixels, 1); in _mesa_texstore_signed_red_rgtc1()
173 signed_encode_rgtc_ubyte(blkaddr, srcpixels, numxpixels, numypixels); in _mesa_texstore_signed_red_rgtc1()
193 GLubyte srcpixels[4][4]; in _mesa_texstore_rg_rgtc2() local
220 extractsrc_u(srcpixels, srcaddr, srcWidth, numxpixels, numypixels, 2); in _mesa_texstore_rg_rgtc2()
221 unsigned_encode_rgtc_ubyte(blkaddr, srcpixels, numxpixels, numypixels); in _mesa_texstore_rg_rgtc2()
224 extractsrc_u(srcpixels, (GLubyte *)srcaddr + 1, srcWidth, numxpixels, numypixels, 2); in _mesa_texstore_rg_rgtc2()
225 unsigned_encode_rgtc_ubyte(blkaddr, srcpixels, numxpixels, numypixels); in _mesa_texstore_rg_rgtc2()
247 GLbyte srcpixels[4][4]; in _mesa_texstore_signed_rg_rgtc2() local
275 extractsrc_s(srcpixels, srcaddr, srcWidth, numxpixels, numypixels, 2); in _mesa_texstore_signed_rg_rgtc2()
276 signed_encode_rgtc_ubyte(blkaddr, srcpixels, numxpixels, numypixels); in _mesa_texstore_signed_rg_rgtc2()
279 extractsrc_s(srcpixels, srcaddr + 1, srcWidth, numxpixels, numypixels, 2); in _mesa_texstore_signed_rg_rgtc2()
280 signed_encode_rgtc_ubyte(blkaddr, srcpixels, numxpixels, numypixels); in _mesa_texstore_signed_rg_rgtc2()