Home
last modified time | relevance | path

Searched refs:dictID (Results 1 - 3 of 3) sorted by relevance

/third_party/lz4/tests/
H A Dframetest.c563 /* dictID tests */ in basicTests()
565 U32 const dictID = 0x99; in basicTests() local
570 DISPLAYLEVEL(3, "insert a dictID : "); in basicTests()
572 prefs.frameInfo.dictID = dictID; in basicTests()
576 DISPLAYLEVEL(3, "read a dictID : "); in basicTests()
580 if (prefs.frameInfo.dictID != dictID) goto _output_error; in basicTests()
581 DISPLAYLEVEL(3, "%u \n", (U32)prefs.frameInfo.dictID); in basicTests()
/third_party/lz4/lib/
H A Dlz4frame.h181 unsigned dictID; /* Dictionary ID, sent by compressor to help decoder select correct dictionary; 0 == no dictID provided */ member
403 * This function extracts frame parameters (max blockSize, dictID, etc.).
606 * the frame header allows optional embedding of a dictID field.
626 * but it's not recommended, as it's the only way to provide dictID in the frame header.
641 * however, it's the only way to provide dictID in the frame header.
H A Dlz4frame.c416 * however, it's the only way to provide a dictID, so it's not recommended.
764 + (cctxPtr->prefs.frameInfo.dictID > 0) ); in LZ4F_compressBegin_usingCDict()
774 if (cctxPtr->prefs.frameInfo.dictID) { in LZ4F_compressBegin_usingCDict()
775 LZ4F_writeLE32(dstPtr, cctxPtr->prefs.frameInfo.dictID); in LZ4F_compressBegin_usingCDict()
1375 dctx->frameInfo.dictID = LZ4F_readLE32(srcPtr + frameHeaderSize - 5); in LZ4F_decodeHeader()

Completed in 10 milliseconds