Home
last modified time | relevance | path

Searched refs:scratchBuffer (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dfse_compress.c646 void* scratchBuffer = (void*)(CTable + CTableSize); in FSE_compress_wksp() local
656 …{ CHECK_V_F(maxCount, HIST_count_wksp(count, &maxSymbolValue, src, srcSize, scratchBuffer, scrat… in FSE_compress_wksp()
671 …CHECK_F( FSE_buildCTable_wksp(CTable, norm, maxSymbolValue, tableLog, scratchBuffer, scratchBuffer… in FSE_compress_wksp()
687 BYTE scratchBuffer[1 << FSE_MAX_TABLELOG]; member
693 fseWkspMax_t scratchBuffer; in FSE_compress2() local
694 …DEBUG_STATIC_ASSERT(sizeof(scratchBuffer) >= FSE_COMPRESS_WKSP_SIZE_U32(FSE_MAX_TABLELOG, FSE_MAX_… in FSE_compress2()
696 …p(dst, dstCapacity, src, srcSize, maxSymbolValue, tableLog, &scratchBuffer, sizeof(scratchBuffer)); in FSE_compress2()
H A Dhuf_compress.c72 …U32 scratchBuffer[FSE_BUILD_CTABLE_WORKSPACE_SIZE_U32(HUF_TABLELOG_MAX, MAX_FSE_TABLELOG_FOR_HUFF_… in HUF_compressWeights() local
95 …E_buildCTable_wksp(CTable, norm, maxSymbolValue, tableLog, scratchBuffer, sizeof(scratchBuffer)) ); in HUF_compressWeights()
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c8121 void* scratchBuffer = (void*)(CTable + CTableSize); in FSE_compress_wksp() local
8131 …{ CHECK_V_F(maxCount, HIST_count_wksp(count, &maxSymbolValue, src, srcSize, scratchBuffer, scrat… in FSE_compress_wksp()
8146 …CHECK_F( FSE_buildCTable_wksp(CTable, norm, maxSymbolValue, tableLog, scratchBuffer, scratchBuffer… in FSE_compress_wksp()
8160 BYTE scratchBuffer[1 << FSE_MAX_TABLELOG]; member
8165 fseWkspMax_t scratchBuffer; in FSE_compress2() local
8166 …DEBUG_STATIC_ASSERT(sizeof(scratchBuffer) >= FSE_WKSP_SIZE_U32(FSE_MAX_TABLELOG, FSE_MAX_SYMBOL_VA… in FSE_compress2()
8168 …p(dst, dstCapacity, src, srcSize, maxSymbolValue, tableLog, &scratchBuffer, sizeof(scratchBuffer)); in FSE_compress2()
8437 BYTE scratchBuffer[1<<MAX_FSE_TABLELOG_FOR_HUFF_HEADER]; in HUF_compressWeights() local
8460 …E_buildCTable_wksp(CTable, norm, maxSymbolValue, tableLog, scratchBuffer, sizeof(scratchBuffer)) ); in HUF_compressWeights()