Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/zstd/contrib/seekable_format/
H A Dzstdseek_compress.c357 const size_t endFrame = ZSTD_seekable_endFrame(zcs, output); in ZSTD_seekable_endStream() local
358 if (ZSTD_isError(endFrame)) return endFrame; in ZSTD_seekable_endStream()
360 if (endFrame) return endFrame + ZSTD_seekable_seekTableSize(&zcs->framelog); in ZSTD_seekable_endStream()
/freebsd-12.1/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c1394 int const endFrame = (endOp == ZSTD_e_end); in ZSTDMT_createCompressionJob() local
1422 mtctx->jobs[jobID].lastJob = endFrame; in ZSTDMT_createCompressionJob()
1423 …mtctx->jobs[jobID].frameChecksumNeeded = endFrame && (mtctx->nextJobID>0) && mtctx->params.fParams… in ZSTDMT_createCompressionJob()
1431 if (!endFrame) { in ZSTDMT_createCompressionJob()
1437 mtctx->frameEnded = endFrame; in ZSTDMT_createCompressionJob()
1799 …ZSTDMT_flushStream_internal(ZSTDMT_CCtx* mtctx, ZSTD_outBuffer* output, ZSTD_EndDirective endFrame) in ZSTDMT_flushStream_internal() argument
1806 … || ((endFrame==ZSTD_e_end) && !mtctx->frameEnded)) { /* need a last 0-size block to end frame */ in ZSTDMT_flushStream_internal()
1808 (U32)srcSize, (U32)endFrame); in ZSTDMT_flushStream_internal()
1809 CHECK_F( ZSTDMT_createCompressionJob(mtctx, srcSize, endFrame) ); in ZSTDMT_flushStream_internal()
1813 return ZSTDMT_flushProduced(mtctx, output, 1 /* blockToFlush */, endFrame); in ZSTDMT_flushStream_internal()