Home
last modified time | relevance | path

Searched refs:HUF_encodeSymbol (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dhuf_compress.c444 HUF_encodeSymbol(BIT_CStream_t* bitCPtr, U32 symbol, const HUF_CElt* CTable) in HUF_encodeSymbol() function
477 case 3 : HUF_encodeSymbol(&bitC, ip[n+ 2], CTable); in HUF_compress1X_usingCTable_internal_body()
480 case 2 : HUF_encodeSymbol(&bitC, ip[n+ 1], CTable); in HUF_compress1X_usingCTable_internal_body()
483 case 1 : HUF_encodeSymbol(&bitC, ip[n+ 0], CTable); in HUF_compress1X_usingCTable_internal_body()
491 HUF_encodeSymbol(&bitC, ip[n- 1], CTable); in HUF_compress1X_usingCTable_internal_body()
493 HUF_encodeSymbol(&bitC, ip[n- 2], CTable); in HUF_compress1X_usingCTable_internal_body()
495 HUF_encodeSymbol(&bitC, ip[n- 3], CTable); in HUF_compress1X_usingCTable_internal_body()
497 HUF_encodeSymbol(&bitC, ip[n- 4], CTable); in HUF_compress1X_usingCTable_internal_body()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dhuf_compress.c895 HUF_encodeSymbol(HUF_CStream_t* bitCPtr, U32 symbol, const HUF_CElt* CTable, int idx, int fast) in HUF_encodeSymbol() function
911 HUF_encodeSymbol(bitC, ip[--n], ct, 0, /* fast */ 0); in HUF_compress1X_usingCTable_internal_body_loop()
921 HUF_encodeSymbol(bitC, ip[n - u], ct, 0, 1); in HUF_compress1X_usingCTable_internal_body_loop()
923 HUF_encodeSymbol(bitC, ip[n - kUnroll], ct, 0, kLastFast); in HUF_compress1X_usingCTable_internal_body_loop()
933 HUF_encodeSymbol(bitC, ip[n - u], ct, /* idx */ 0, /* fast */ 1); in HUF_compress1X_usingCTable_internal_body_loop()
935 HUF_encodeSymbol(bitC, ip[n - kUnroll], ct, /* idx */ 0, /* fast */ kLastFast); in HUF_compress1X_usingCTable_internal_body_loop()
943 HUF_encodeSymbol(bitC, ip[n - kUnroll - u], ct, /* idx */ 1, /* fast */ 1); in HUF_compress1X_usingCTable_internal_body_loop()
945 HUF_encodeSymbol(bitC, ip[n - kUnroll - kUnroll], ct, /* idx */ 1, /* fast */ kLastFast); in HUF_compress1X_usingCTable_internal_body_loop()