Home
last modified time | relevance | path

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

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/z/
DZCompressorInputStream.java37 private final boolean blockMode; field in ZCompressorInputStream
50 blockMode = (thirdByte & BLOCK_MODE_MASK) != 0; in ZCompressorInputStream()
52 if (blockMode) { in ZCompressorInputStream()
64 setTableSize((1 << 8) + (blockMode ? 1 : 0)); in clearEntries()
137 } else if (blockMode && code == getClearCode()) { in decompressNextSymbol()
/external/deqp/framework/common/
DtcuAstcUtil.cpp343 ASTCBlockMode blockMode; in getASTCBlockMode() local
344 blockMode.isError = true; // \note Set to false later, if not error. in getASTCBlockMode()
346 blockMode.isVoidExtent = getBits(blockModeData, 0, 8) == 0x1fc; in getASTCBlockMode()
348 if (!blockMode.isVoidExtent) in getASTCBlockMode()
351 return blockMode; // Invalid ("reserved"). in getASTCBlockMode()
367 blockMode.weightGridWidth = i5 ? 10 : 6; in getASTCBlockMode()
368 blockMode.weightGridHeight = i5 ? 6 : 10; in getASTCBlockMode()
375 case 0: blockMode.weightGridWidth = 12; blockMode.weightGridHeight = a + 2; break; in getASTCBlockMode()
376 case 1: blockMode.weightGridWidth = a + 2; blockMode.weightGridHeight = 12; break; in getASTCBlockMode()
377 …case 2: blockMode.weightGridWidth = a + 6; blockMode.weightGridHeight = getBits(blockModeData, 9,… in getASTCBlockMode()
[all …]
/external/lz4/lib/
Dlz4frame.c395 …prefs.frameInfo.blockMode = LZ4F_blockIndependent; /* only one block => no need for inter-block … in LZ4F_compressFrame_usingCDict()
575 LZ4F_blockMode_t blockMode) { in LZ4F_initStream() argument
577 if (cdict != NULL || blockMode == LZ4F_blockLinked) { in LZ4F_initStream()
647 …((cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) ? 64 KB : 0) : /* only needs past data … in LZ4F_compressBegin_usingCDict()
648 … cctxPtr->maxBlockSize + ((cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) ? 128 KB : 0); in LZ4F_compressBegin_usingCDict()
663 if (cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) { in LZ4F_compressBegin_usingCDict()
678 + ((cctxPtr->prefs.frameInfo.blockMode & _1BIT ) << 5) in LZ4F_compressBegin_usingCDict()
797 static compressFunc_t LZ4F_selectCompression(LZ4F_blockMode_t blockMode, int level) in LZ4F_selectCompression() argument
800 if (blockMode == LZ4F_blockIndependent) return LZ4F_compressBlock; in LZ4F_selectCompression()
803 if (blockMode == LZ4F_blockIndependent) return LZ4F_compressBlockHC; in LZ4F_selectCompression()
[all …]
Dlz4frame.h171 …LZ4F_blockMode_t blockMode; /* LZ4F_blockLinked, LZ4F_blockIndependent; 0 == defau… member
/external/lz4/programs/
Dlz4io.c244 int LZ4IO_setBlockMode(LZ4IO_prefs_t* const prefs, LZ4IO_blockMode_t blockMode) in LZ4IO_setBlockMode() argument
246 prefs->blockIndependence = (blockMode == LZ4IO_blockIndependent); in LZ4IO_setBlockMode()
628 prefs.frameInfo.blockMode = (LZ4F_blockMode_t)io_prefs->blockIndependence; in LZ4IO_compressFilename_extRess()
1390 const char* LZ4IO_blockTypeID(int sizeID, int blockMode, char* buffer) { in LZ4IO_blockTypeID() argument
1394 buffer[2] = (blockMode == LZ4F_blockIndependent) ? 'I' : 'D'; in LZ4IO_blockTypeID()
1464 … cfinfo->frameSummary.lz4FrameInfo.blockMode != frameInfo.lz4FrameInfo.blockMode) in LZ4IO_getCompressedFileInfo()
1472 …4IO_blockTypeID(frameInfo.lz4FrameInfo.blockSizeID, frameInfo.lz4FrameInfo.blockMode, bTypeBuffer); in LZ4IO_getCompressedFileInfo()
1593 … cfinfo.frameSummary.lz4FrameInfo.blockMode, buffers[0]) : "-", in LZ4IO_displayCompressedFilesInfo()
Dlz4io.h104 int LZ4IO_setBlockMode(LZ4IO_prefs_t* const prefs, LZ4IO_blockMode_t blockMode);
/external/lz4/ossfuzz/
Dlz4_helpers.c12 info.blockMode = FUZZ_rand32(seed, LZ4F_blockLinked, LZ4F_blockIndependent); in FUZZ_randomFrameInfo()
/external/lz4/tests/
Dframetest.c595 cParams.frameInfo.blockMode = LZ4F_blockLinked; in basicTests()
631 cParams.frameInfo.blockMode = LZ4F_blockIndependent; in basicTests()
952 prefs.frameInfo.blockMode = (LZ4F_blockMode_t)(FUZ_rand(&randState) & 1); in fuzzerTests()
/external/zstd/programs/
Dfileio.c1204 prefs.frameInfo.blockMode = LZ4F_blockLinked; in FIO_compressLz4Frame()