Searched refs:blockMode (Results 1 – 6 of 6) sorted by relevance
343 ASTCBlockMode blockMode; in getASTCBlockMode() local344 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 …]
340 prefs.frameInfo.blockMode = LZ4F_blockIndependent; /* no need for linked blocks */ in LZ4F_compressFrame()442 …requiredBuffSize = cctxPtr->maxBlockSize + ((cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinke… in LZ4F_compressBegin()444 …requiredBuffSize = (cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) * 64 KB; /* just nee… in LZ4F_compressBegin()467 + ((cctxPtr->prefs.frameInfo.blockMode & _1BIT ) << 5) /* Block mode */ in LZ4F_compressBegin()534 static compressFunc_t LZ4F_selectCompression(LZ4F_blockMode_t blockMode, int level) in LZ4F_selectCompression() argument537 … if (blockMode == LZ4F_blockIndependent) return LZ4F_localLZ4_compress_limitedOutput_withState; in LZ4F_selectCompression()540 if (blockMode == LZ4F_blockIndependent) return LZ4_compress_HC_extStateHC; in LZ4F_selectCompression()571 …compressFunc_t const compress = LZ4F_selectCompression(cctxPtr->prefs.frameInfo.blockMode, cctxPtr… in LZ4F_compressUpdate()596 if (cctxPtr->prefs.frameInfo.blockMode==LZ4F_blockLinked) cctxPtr->tmpIn += blockSize; in LZ4F_compressUpdate()616 …if ((cctxPtr->prefs.frameInfo.blockMode==LZ4F_blockLinked) && (lastBlockCompressed==fromSrcBuffer)… in LZ4F_compressUpdate()[all …]
139 LZ4F_blockMode_t blockMode; /* blockLinked, blockIndependent ; 0 == default */ member
81 int LZ4IO_setBlockMode(LZ4IO_blockMode_t blockMode);
181 int LZ4IO_setBlockMode(LZ4IO_blockMode_t blockMode) in LZ4IO_setBlockMode() argument183 g_blockIndependence = (blockMode == LZ4IO_blockIndependent); in LZ4IO_setBlockMode()462 prefs.frameInfo.blockMode = (LZ4F_blockMode_t)g_blockIndependence; in LZ4IO_compressFilename_extRess()
608 prefs.frameInfo.blockMode = (LZ4F_blockMode_t)(FUZ_rand(&randState) & 1); in fuzzerTests()