Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/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 …]
/third_party/lz4/lib/
Dlz4frame.c442 …prefs.frameInfo.blockMode = LZ4F_blockIndependent; /* only one block => no need for inter-block … in LZ4F_compressFrame_usingCDict()
642 LZ4F_blockMode_t blockMode) { in LZ4F_initStream() argument
644 if (cdict != NULL || blockMode == LZ4F_blockLinked) { in LZ4F_initStream()
729 …((cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) ? 64 KB : 0) : /* only needs past data … in LZ4F_compressBegin_usingCDict()
730 … cctxPtr->maxBlockSize + ((cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) ? 128 KB : 0); in LZ4F_compressBegin_usingCDict()
745 if (cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) { in LZ4F_compressBegin_usingCDict()
760 + ((cctxPtr->prefs.frameInfo.blockMode & _1BIT ) << 5) in LZ4F_compressBegin_usingCDict()
894 static compressFunc_t LZ4F_selectCompression(LZ4F_blockMode_t blockMode, int level, LZ4F_blockCompr… in LZ4F_selectCompression() argument
898 if (blockMode == LZ4F_blockIndependent) return LZ4F_compressBlock; in LZ4F_selectCompression()
901 if (blockMode == LZ4F_blockIndependent) return LZ4F_compressBlockHC; in LZ4F_selectCompression()
[all …]
Dlz4frame.h177 …LZ4F_blockMode_t blockMode; /* LZ4F_blockLinked, LZ4F_blockIndependent; 0 == defau… member
/third_party/lz4/programs/
Dlz4io.c234 int LZ4IO_setBlockMode(LZ4IO_prefs_t* const prefs, LZ4IO_blockMode_t blockMode) in LZ4IO_setBlockMode() argument
236 prefs->blockIndependence = (blockMode == LZ4IO_blockIndependent); in LZ4IO_setBlockMode()
687 prefs.frameInfo.blockMode = (LZ4F_blockMode_t)io_prefs->blockIndependence; in LZ4IO_compressFilename_extRess()
1534 const char* LZ4IO_blockTypeID(LZ4F_blockSizeID_t sizeID, LZ4F_blockMode_t blockMode, char buffer[4]) in LZ4IO_blockTypeID() argument
1539 buffer[2] = (blockMode == LZ4F_blockIndependent) ? 'I' : 'D'; in LZ4IO_blockTypeID()
1613 … cfinfo->frameSummary.lz4FrameInfo.blockMode != frameInfo.lz4FrameInfo.blockMode) in LZ4IO_getCompressedFileInfo()
1621 …4IO_blockTypeID(frameInfo.lz4FrameInfo.blockSizeID, frameInfo.lz4FrameInfo.blockMode, bTypeBuffer); in LZ4IO_getCompressedFileInfo()
1738 … cfinfo.frameSummary.lz4FrameInfo.blockMode, buffers[0]) : "-", in LZ4IO_displayCompressedFilesInfo()
Dlz4io.h102 int LZ4IO_setBlockMode(LZ4IO_prefs_t* const prefs, LZ4IO_blockMode_t blockMode);
/third_party/lz4/ossfuzz/
Dlz4_helpers.c12 info.blockMode = FUZZ_rand32(seed, LZ4F_blockLinked, LZ4F_blockIndependent); in FUZZ_randomFrameInfo()
Dfuzz_data_producer.c57 info.blockMode = FUZZ_dataProducer_range32(producer, LZ4F_blockLinked, LZ4F_blockIndependent); in FUZZ_dataProducer_frameInfo()
Dround_trip_frame_uncompressed_fuzzer.c126 prefs.frameInfo.blockMode = LZ4F_blockIndependent; in compress_independent_block_mode()
/third_party/lz4/tests/
Dframetest.c673 cParams.frameInfo.blockMode = LZ4F_blockLinked; in basicTests()
709 cParams.frameInfo.blockMode = LZ4F_blockIndependent; in basicTests()
1038 prefs.frameInfo.blockMode = (LZ4F_blockMode_t)(FUZ_rand(&randState) & 1); in fuzzerTests()
1087 …&& prefs.frameInfo.blockMode == LZ4F_blockIndependent /* uncompressedUpdate is only valid with bl… in fuzzerTests()