• Home
  • Raw
  • Download

Lines Matching refs:srcpixels

890 static void extractsrccolors( GLubyte srcpixels[4][4][4], const GLchan *srcaddr,  in extractsrccolors()
899 srcpixels[j][i][c] = *curaddr++ / (CHAN_MAX / 255); in extractsrccolors()
910 GLubyte srcpixels[4][4][4]; in tx_compress_dxtn() local
930 extractsrccolors(srcpixels, srcaddr, width, numxpixels, numypixels, srccomps); in tx_compress_dxtn()
931 encodedxtcolorblockfaster(blkaddr, srcpixels, numxpixels, numypixels, destFormat); in tx_compress_dxtn()
949 extractsrccolors(srcpixels, srcaddr, width, numxpixels, numypixels, srccomps); in tx_compress_dxtn()
950 *blkaddr++ = (srcpixels[0][0][3] >> 4) | (srcpixels[0][1][3] & 0xf0); in tx_compress_dxtn()
951 *blkaddr++ = (srcpixels[0][2][3] >> 4) | (srcpixels[0][3][3] & 0xf0); in tx_compress_dxtn()
952 *blkaddr++ = (srcpixels[1][0][3] >> 4) | (srcpixels[1][1][3] & 0xf0); in tx_compress_dxtn()
953 *blkaddr++ = (srcpixels[1][2][3] >> 4) | (srcpixels[1][3][3] & 0xf0); in tx_compress_dxtn()
954 *blkaddr++ = (srcpixels[2][0][3] >> 4) | (srcpixels[2][1][3] & 0xf0); in tx_compress_dxtn()
955 *blkaddr++ = (srcpixels[2][2][3] >> 4) | (srcpixels[2][3][3] & 0xf0); in tx_compress_dxtn()
956 *blkaddr++ = (srcpixels[3][0][3] >> 4) | (srcpixels[3][1][3] & 0xf0); in tx_compress_dxtn()
957 *blkaddr++ = (srcpixels[3][2][3] >> 4) | (srcpixels[3][3][3] & 0xf0); in tx_compress_dxtn()
958 encodedxtcolorblockfaster(blkaddr, srcpixels, numxpixels, numypixels, destFormat); in tx_compress_dxtn()
976 extractsrccolors(srcpixels, srcaddr, width, numxpixels, numypixels, srccomps); in tx_compress_dxtn()
977 encodedxt5alpha(blkaddr, srcpixels, numxpixels, numypixels); in tx_compress_dxtn()
978 encodedxtcolorblockfaster(blkaddr + 8, srcpixels, numxpixels, numypixels, destFormat); in tx_compress_dxtn()