• Home
  • Raw
  • Download

Lines Matching refs:isSRGB

456 inline void setASTCErrorColorBlock (void* dst, int blockWidth, int blockHeight, bool isSRGB)  in setASTCErrorColorBlock()  argument
458 if (isSRGB) in setASTCErrorColorBlock()
484 …void* dst, const Block128& blockData, int blockWidth, int blockHeight, bool isSRGB, bool isLDRMode) in decodeVoidExtentBlock() argument
495 setASTCErrorColorBlock(dst, blockWidth, blockHeight, isSRGB); in decodeVoidExtentBlock()
507 if (isSRGB) in decodeVoidExtentBlock()
1409 …int numPartitions, int blockWidth, int blockHeight, bool isSRGB, bool isLDRMode, const deUint32* c… in setTexelColors() argument
1430 if (isSRGB) in setTexelColors()
1453 const deUint32 c0 = (e0[channelNdx] << 8) | (isSRGB ? 0x80 : e0[channelNdx]); in setTexelColors()
1454 const deUint32 c1 = (e1[channelNdx] << 8) | (isSRGB ? 0x80 : e1[channelNdx]); in setTexelColors()
1458 if (isSRGB) in setTexelColors()
1486 …ck (void* dst, const Block128& blockData, int blockWidth, int blockHeight, bool isSRGB, bool isLDR) in decompressBlock() argument
1488 DE_ASSERT(isLDR || !isSRGB); in decompressBlock()
1498 setASTCErrorColorBlock(dst, blockWidth, blockHeight, isSRGB); in decompressBlock()
1505 return decodeVoidExtentBlock(dst, blockData, blockWidth, blockHeight, isSRGB, isLDR); in decompressBlock()
1522 setASTCErrorColorBlock(dst, blockWidth, blockHeight, isSRGB); in decompressBlock()
1548 setASTCErrorColorBlock(dst, blockWidth, blockHeight, isSRGB); in decompressBlock()
1568 …hts[0], ccs, partitionIndexSeed, numPartitions, blockWidth, blockHeight, isSRGB, isLDR, &colorEndp… in decompressBlock()
1571 void decompress (const PixelBufferAccess& dst, const deUint8* data, bool isSRGB, bool isLDR) in decompress() argument
1573 DE_ASSERT(isLDR || !isSRGB); in decompress()
1585 decompressBlock(isSRGB ? (void*)&decompressedBuffer.sRGB[0] : (void*)&decompressedBuffer.linear[0], in decompress()
1586 blockData, dst.getWidth(), dst.getHeight(), isSRGB, isLDR); in decompress()
1588 if (isSRGB) in decompress()
2936 const bool isSRGB = isAstcSRGBFormat(format); in isValidBlock() local
2937 const bool isLDR = isSRGB || mode == TexDecompressionParams::ASTCMODE_LDR; in isValidBlock()
2940 DE_ASSERT(!(mode == TexDecompressionParams::ASTCMODE_HDR && isSRGB)); in isValidBlock()
2948 …const DecompressResult result = decompressBlock((isSRGB ? (void*)&tmpBuffer.sRGB[0] : (void*)&tm… in isValidBlock()
2949 blockData, blockPixelSize.x(), blockPixelSize.y(), isSRGB, isLDR); in isValidBlock()