Home
last modified time | relevance | path

Searched refs:blockMode (Results 1 – 7 of 7) sorted by relevance

/external/lz4/lib/
Dlz4frame.c290 prefs.frameInfo.blockMode = blockIndependent; /* no need for linked blocks */ in LZ4F_compressFrame()
394 …requiredBuffSize = cctxPtr->maxBlockSize + ((cctxPtr->prefs.frameInfo.blockMode == blockLinked) * … in LZ4F_compressBegin()
396 …requiredBuffSize = (cctxPtr->prefs.frameInfo.blockMode == blockLinked) * 64 KB; /* just needs di… in LZ4F_compressBegin()
420 + ((cctxPtr->prefs.frameInfo.blockMode & _1BIT ) << 5) /* Block mode */ in LZ4F_compressBegin()
490 static compressFunc_t LZ4F_selectCompression(blockMode_t blockMode, U32 level) in LZ4F_selectCompression() argument
494 if (blockMode == blockIndependent) return LZ4F_localLZ4_compress_limitedOutput_withState; in LZ4F_selectCompression()
497 if (blockMode == blockIndependent) return LZ4_compressHC2_limitedOutput_withStateHC; in LZ4F_selectCompression()
537 …compress = LZ4F_selectCompression(cctxPtr->prefs.frameInfo.blockMode, cctxPtr->prefs.compressionLe… in LZ4F_compressUpdate()
560 if (cctxPtr->prefs.frameInfo.blockMode==blockLinked) cctxPtr->tmpIn += blockSize; in LZ4F_compressUpdate()
582 if ((cctxPtr->prefs.frameInfo.blockMode==blockLinked) && (lastBlockCompressed==fromSrcBuffer)) in LZ4F_compressUpdate()
[all …]
Dlz4frame.h72 blockMode_t blockMode; /* blockLinked, blockIndependent ; 0 == default */ member
/external/deqp/framework/common/
DtcuCompressedTexture.cpp1243 ASTCBlockMode blockMode; in getASTCBlockMode() local
1244 blockMode.isError = true; // \note Set to false later, if not error. in getASTCBlockMode()
1246 blockMode.isVoidExtent = getBits(blockModeData, 0, 8) == 0x1fc; in getASTCBlockMode()
1248 if (!blockMode.isVoidExtent) in getASTCBlockMode()
1251 return blockMode; // Invalid ("reserved"). in getASTCBlockMode()
1267 blockMode.weightGridWidth = i5 ? 10 : 6; in getASTCBlockMode()
1268 blockMode.weightGridHeight = i5 ? 6 : 10; in getASTCBlockMode()
1275 case 0: blockMode.weightGridWidth = 12; blockMode.weightGridHeight = a + 2; break; in getASTCBlockMode()
1276 case 1: blockMode.weightGridWidth = a + 2; blockMode.weightGridHeight = 12; break; in getASTCBlockMode()
1277 …case 2: blockMode.weightGridWidth = a + 6; blockMode.weightGridHeight = getBits(blockModeData, 9,… in getASTCBlockMode()
[all …]
/external/skia/src/utils/
DSkTextureCompressor_ASTC.cpp1788 const int blockMode = static_cast<int>(read_astc_bits(fBlock, 0, 11)); in decodeBlockMode() local
1791 fVoidExtent = (blockMode & 0x1FF) == 0x1FC; in decodeBlockMode()
1794 fError = ((blockMode & 0x1C3) == 0x1C0) || ((blockMode & 0xF) == 0); in decodeBlockMode()
1800 if ((blockMode & 0x3) == 0) { in decodeBlockMode()
1801 R = ((0xC & blockMode) >> 1) | ((0x10 & blockMode) >> 4); in decodeBlockMode()
1802 const int bitsSevenAndEight = (blockMode & 0x180) >> 7; in decodeBlockMode()
1805 const int A = (blockMode >> 5) & 0x3; in decodeBlockMode()
1806 const int B = (blockMode >> 9) & 0x3; in decodeBlockMode()
1808 fDualPlaneEnabled = (blockMode >> 10) & 0x1; in decodeBlockMode()
1809 highPrecision = (blockMode >> 9) & 0x1; in decodeBlockMode()
[all …]
/external/lz4/programs/
Dlz4io.h68 int LZ4IO_setBlockMode(LZ4IO_blockMode_t blockMode);
Dlz4io.c183 int LZ4IO_setBlockMode(LZ4IO_blockMode_t blockMode) in LZ4IO_setBlockMode() argument
185 blockIndependence = (blockMode == LZ4IO_blockIndependent); in LZ4IO_setBlockMode()
394 prefs.frameInfo.blockMode = blockIndependence; in LZ4IO_compressFilename()
Dframetest.c429 prefs.frameInfo.blockMode = (blockMode_t)BMId; in fuzzerTests()