Lines Matching refs:deUint16
459 inline deUint16 extend11To16 (deUint16 src) in extend11To16()
462 return (deUint16)((src << 5) | (src >> 6)); in extend11To16()
468 return (deInt16)(-(deInt16)extend11To16((deUint16)(-src))); in extend11To16WithSign()
899 deUint16 value; in decompressEAC11Block()
902 value = (deUint16)deClamp32(baseCodeword*8 + 4 + multiplier*modifier*8, 0, 2047); in decompressEAC11Block()
904 value= (deUint16)deClamp32(baseCodeword*8 + 4 + modifier, 0, 2047); in decompressEAC11Block()
906 *((deUint16*)(dst + dstOffset)) = value; in decompressEAC11Block()
1031 …const deUint16* const srcPixel = (deUint16*)&uncompressedBlock[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOM… in decompressEAC_R11()
1032 deUint16* const dstPixel = (deUint16*)(dstPtr + y*dstRowPitch + x*dstPixelSize); in decompressEAC_R11()
1075 …const deUint16* const srcPixelR = (deUint16*)&uncompressedBlockR[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNC… in decompressEAC_RG11()
1076 …const deUint16* const srcPixelG = (deUint16*)&uncompressedBlockG[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNC… in decompressEAC_RG11()
1077 deUint16* const dstPixel = (deUint16*)(dstPtr + y*dstRowPitch + x*dstPixelSize); in decompressEAC_RG11()
1242 static const deUint16 weights2[4] = { 0, 21, 43, 64 };
1243 static const deUint16 weights3[8] = { 0, 9, 18, 27, 37, 46, 55, 64 };
1244 static const deUint16 weights4[16] = { 0, 4, 9, 13, 17, 21, 26, 30, 34, 38, 43, 47, 51, 55, 60,…
1256 inline deUint32 bgr16torgba32 (deUint16 src) in bgr16torgba32()
1460 const deUint16* weights[] = {weights2, weights3, weights4}; in interpolate()
1461 const deUint16* weight = weights[indexPrecision-2]; in interpolate()
1496 const deUint16 color0_16 = ((deUint16*)src)[0]; in decompressBc1()
1497 const deUint16 color1_16 = ((deUint16*)src)[1]; in decompressBc1()
1549 const deUint16 color0_16 = ((deUint16*)src)[4]; in decompressBc2()
1550 const deUint16 color1_16 = ((deUint16*)src)[5]; in decompressBc2()
1623 const deUint16 color0_16 = ((deUint16*)src)[4]; in decompressBc3()
1624 const deUint16 color1_16 = ((deUint16*)src)[5]; in decompressBc3()