• Home
  • Raw
  • Download

Lines Matching refs:blkaddr

188 static void fancybasecolorsearch( UNUSED GLubyte *blkaddr, GLubyte srccolors[4][4][4], GLubyte *bes…  in fancybasecolorsearch()  argument
380 static void storedxtencodedblock( GLubyte *blkaddr, GLubyte srccolors[4][4][4], GLubyte *bestcolor[… in storedxtencodedblock() argument
482 *blkaddr++ = color1 & 0xff; in storedxtencodedblock()
483 *blkaddr++ = color1 >> 8; in storedxtencodedblock()
484 *blkaddr++ = color0 & 0xff; in storedxtencodedblock()
485 *blkaddr++ = color0 >> 8; in storedxtencodedblock()
486 *blkaddr++ = bits2 & 0xff; in storedxtencodedblock()
487 *blkaddr++ = ( bits2 >> 8) & 0xff; in storedxtencodedblock()
488 *blkaddr++ = ( bits2 >> 16) & 0xff; in storedxtencodedblock()
489 *blkaddr = bits2 >> 24; in storedxtencodedblock()
492 *blkaddr++ = color0 & 0xff; in storedxtencodedblock()
493 *blkaddr++ = color0 >> 8; in storedxtencodedblock()
494 *blkaddr++ = color1 & 0xff; in storedxtencodedblock()
495 *blkaddr++ = color1 >> 8; in storedxtencodedblock()
496 *blkaddr++ = bits & 0xff; in storedxtencodedblock()
497 *blkaddr++ = ( bits >> 8) & 0xff; in storedxtencodedblock()
498 *blkaddr++ = ( bits >> 16) & 0xff; in storedxtencodedblock()
499 *blkaddr = bits >> 24; in storedxtencodedblock()
503 static void encodedxtcolorblockfaster( GLubyte *blkaddr, GLubyte srccolors[4][4][4], in encodedxtcolorblockfaster() argument
553 fancybasecolorsearch(blkaddr, srccolors, bestcolor, numxpixels, numypixels, type, haveAlpha); in encodedxtcolorblockfaster()
555 storedxtencodedblock(blkaddr, srccolors, bestcolor, numxpixels, numypixels, type, haveAlpha); in encodedxtcolorblockfaster()
558 static void writedxt5encodedalphablock( GLubyte *blkaddr, GLubyte alphabase1, GLubyte alphabase2, in writedxt5encodedalphablock() argument
561 *blkaddr++ = alphabase1; in writedxt5encodedalphablock()
562 *blkaddr++ = alphabase2; in writedxt5encodedalphablock()
563 *blkaddr++ = alphaenc[0] | (alphaenc[1] << 3) | ((alphaenc[2] & 3) << 6); in writedxt5encodedalphablock()
564 …*blkaddr++ = (alphaenc[2] >> 2) | (alphaenc[3] << 1) | (alphaenc[4] << 4) | ((alphaenc[5] & 1) << … in writedxt5encodedalphablock()
565 *blkaddr++ = (alphaenc[5] >> 1) | (alphaenc[6] << 2) | (alphaenc[7] << 5); in writedxt5encodedalphablock()
566 *blkaddr++ = alphaenc[8] | (alphaenc[9] << 3) | ((alphaenc[10] & 3) << 6); in writedxt5encodedalphablock()
567 …*blkaddr++ = (alphaenc[10] >> 2) | (alphaenc[11] << 1) | (alphaenc[12] << 4) | ((alphaenc[13] & 1)… in writedxt5encodedalphablock()
568 *blkaddr++ = (alphaenc[13] >> 1) | (alphaenc[14] << 2) | (alphaenc[15] << 5); in writedxt5encodedalphablock()
571 static void encodedxt5alpha(GLubyte *blkaddr, GLubyte srccolors[4][4][4], in encodedxt5alpha() argument
606 *blkaddr++ = srccolors[0][0][3]; in encodedxt5alpha()
607 blkaddr++; in encodedxt5alpha()
608 *blkaddr++ = 0; in encodedxt5alpha()
609 *blkaddr++ = 0; in encodedxt5alpha()
610 *blkaddr++ = 0; in encodedxt5alpha()
611 *blkaddr++ = 0; in encodedxt5alpha()
612 *blkaddr++ = 0; in encodedxt5alpha()
613 *blkaddr++ = 0; in encodedxt5alpha()
881 writedxt5encodedalphablock( blkaddr, alphause[1], alphause[0], alphaenc1 ); in encodedxt5alpha()
885 writedxt5encodedalphablock( blkaddr, alphabase[0], alphabase[1], alphaenc2 ); in encodedxt5alpha()
889 … writedxt5encodedalphablock( blkaddr, (GLubyte)alphatest[0], (GLubyte)alphatest[1], alphaenc3 ); in encodedxt5alpha()
916 GLubyte *blkaddr = dest; in tx_compress_dxt1() local
934 encodedxtcolorblockfaster(blkaddr, srcpixels, numxpixels, numypixels, destFormat); in tx_compress_dxt1()
936 blkaddr += 8; in tx_compress_dxt1()
938 blkaddr += dstRowDiff; in tx_compress_dxt1()
947 GLubyte *blkaddr = dest; in tx_compress_dxt3() local
964 *blkaddr++ = (srcpixels[0][0][3] >> 4) | (srcpixels[0][1][3] & 0xf0); in tx_compress_dxt3()
965 *blkaddr++ = (srcpixels[0][2][3] >> 4) | (srcpixels[0][3][3] & 0xf0); in tx_compress_dxt3()
966 *blkaddr++ = (srcpixels[1][0][3] >> 4) | (srcpixels[1][1][3] & 0xf0); in tx_compress_dxt3()
967 *blkaddr++ = (srcpixels[1][2][3] >> 4) | (srcpixels[1][3][3] & 0xf0); in tx_compress_dxt3()
968 *blkaddr++ = (srcpixels[2][0][3] >> 4) | (srcpixels[2][1][3] & 0xf0); in tx_compress_dxt3()
969 *blkaddr++ = (srcpixels[2][2][3] >> 4) | (srcpixels[2][3][3] & 0xf0); in tx_compress_dxt3()
970 *blkaddr++ = (srcpixels[3][0][3] >> 4) | (srcpixels[3][1][3] & 0xf0); in tx_compress_dxt3()
971 *blkaddr++ = (srcpixels[3][2][3] >> 4) | (srcpixels[3][3][3] & 0xf0); in tx_compress_dxt3()
972 encodedxtcolorblockfaster(blkaddr, srcpixels, numxpixels, numypixels, destFormat); in tx_compress_dxt3()
974 blkaddr += 8; in tx_compress_dxt3()
976 blkaddr += dstRowDiff; in tx_compress_dxt3()
985 GLubyte *blkaddr = dest; in tx_compress_dxt5() local
1002 encodedxt5alpha(blkaddr, srcpixels, numxpixels, numypixels); in tx_compress_dxt5()
1003 encodedxtcolorblockfaster(blkaddr + 8, srcpixels, numxpixels, numypixels, destFormat); in tx_compress_dxt5()
1005 blkaddr += 16; in tx_compress_dxt5()
1007 blkaddr += dstRowDiff; in tx_compress_dxt5()