Searched refs:FSE_CTable (Results 1 – 9 of 9) sorted by relevance
| /freebsd-12.1/sys/contrib/zstd/lib/common/ |
| H A D | fse.h | 186 typedef unsigned FSE_CTable; /* don't allocate that. It's only meant to be more restrictive than … typedef 187 FSE_PUBLIC_API FSE_CTable* FSE_createCTable (unsigned maxSymbolValue, unsigned tableLog); 188 FSE_PUBLIC_API void FSE_freeCTable (FSE_CTable* ct); 193 FSE_PUBLIC_API size_t FSE_buildCTable(FSE_CTable* ct, const short* normalizedCounter, unsigned maxS… 200 …usingCTable (void* dst, size_t dstCapacity, const void* src, size_t srcSize, const FSE_CTable* ct); 323 …TableLog, maxSymbolValue) (FSE_CTABLE_SIZE_U32(maxTableLog, maxSymbolValue) * sizeof(FSE_CTable)) 366 size_t FSE_buildCTable_raw (FSE_CTable* ct, unsigned nbBits); 369 size_t FSE_buildCTable_rle (FSE_CTable* ct, unsigned char symbolValue); 407 static void FSE_initCState(FSE_CState_t* CStatePtr, const FSE_CTable* ct); 537 MEM_STATIC void FSE_initCState(FSE_CState_t* statePtr, const FSE_CTable* ct) in FSE_initCState() [all …]
|
| /freebsd-12.1/sys/contrib/zstd/lib/compress/ |
| H A D | fse_compress.c | 167 size_t FSE_buildCTable(FSE_CTable* ct, const short* normalizedCounter, unsigned maxSymbolValue, uns… in FSE_buildCTable() 456 FSE_CTable* FSE_createCTable (unsigned maxSymbolValue, unsigned tableLog) in FSE_createCTable() 461 return (FSE_CTable*)malloc(size); in FSE_createCTable() 464 void FSE_freeCTable (FSE_CTable* ct) { free(ct); } in FSE_freeCTable() 646 size_t FSE_buildCTable_raw (FSE_CTable* ct, unsigned nbBits) in FSE_buildCTable_raw() 679 size_t FSE_buildCTable_rle (FSE_CTable* ct, BYTE symbolValue) in FSE_buildCTable_rle() 704 const FSE_CTable* ct, const unsigned fast) in FSE_compress_usingCTable_generic() 763 const FSE_CTable* ct) in FSE_compress_usingCTable() 791 FSE_CTable* CTable = (FSE_CTable*)workSpace; in FSE_compress_wksp() 794 size_t const scratchBufferSize = wkspSize - (CTableSize * sizeof(FSE_CTable)); in FSE_compress_wksp() [all …]
|
| H A D | zstd_compress_internal.h | 57 FSE_CTable offcodeCTable[FSE_CTABLE_SIZE_U32(OffFSELog, MaxOff)]; 58 FSE_CTable matchlengthCTable[FSE_CTABLE_SIZE_U32(MLFSELog, MaxML)]; 59 FSE_CTable litlengthCTable[FSE_CTABLE_SIZE_U32(LLFSELog, MaxLL)];
|
| H A D | zstd_compress.c | 1513 FSE_CTable* nextCTable, U32 FSELog, symbolEncodingType_e type, in ZSTD_buildCTable() 1517 FSE_CTable const* prevCTable, size_t prevCTableSize, in ZSTD_buildCTable() 1558 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_body() 1559 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, in ZSTD_encodeSequences_body() 1646 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_default() 1647 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, in ZSTD_encodeSequences_default() 1665 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, in ZSTD_encodeSequences_bmi2() 1681 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, in ZSTD_encodeSequences() 1710 FSE_CTable* CTable_LitLength = nextEntropy->litlengthCTable; in ZSTD_compressSequences_internal() 1711 FSE_CTable* CTable_OffsetBits = nextEntropy->offcodeCTable; in ZSTD_compressSequences_internal() [all …]
|
| H A D | huf_compress.c | 93 FSE_CTable CTable[FSE_CTABLE_SIZE_U32(MAX_FSE_TABLELOG_FOR_HUFF_HEADER, HUF_TABLELOG_MAX)]; in HUF_compressWeights()
|
| /freebsd-12.1/sys/contrib/zstd/tests/ |
| H A D | decodecorpus.c | 204 FSE_CTable offcodeCTable [FSE_CTABLE_SIZE_U32(OffFSELog, MaxOff)]; 205 FSE_CTable matchlengthCTable[FSE_CTABLE_SIZE_U32(MLFSELog, MaxML)]; 206 FSE_CTable litlengthCTable [FSE_CTABLE_SIZE_U32(LLFSELog, MaxLL)]; 802 FSE_CTable* CTable_LitLength = frame->stats.litlengthCTable; in writeSequences() 803 FSE_CTable* CTable_OffsetBits = frame->stats.offcodeCTable; in writeSequences() 804 FSE_CTable* CTable_MatchLength = frame->stats.matchlengthCTable; in writeSequences()
|
| /freebsd-12.1/sys/contrib/zstd/lib/legacy/ |
| H A D | zstd_v01.c | 57 typedef unsigned FSE_CTable; /* don't allocate that. It's just a way to be more restrictive than … typedef
|
| H A D | zstd_v03.c | 594 typedef unsigned FSE_CTable; /* don't allocate that. It's just a way to be more restrictive than … typedef
|
| H A D | zstd_v02.c | 592 typedef unsigned FSE_CTable; /* don't allocate that. It's just a way to be more restrictive than … typedef
|