Lines Matching refs:encoder_
183 encoder_(BrotliEncoderCreateInstance(nullptr, nullptr, nullptr), in BrotliEncoder()
185 BrotliEncoderSetParameter(encoder_.get(), BROTLI_PARAM_QUALITY, 1); in BrotliEncoder()
204 if (!BrotliEncoderCompressStream(encoder_.get(), op, &available_in, &next_in, in Encode()
214 if (BrotliEncoderIsFinished(encoder_.get())) { in Encode()
232 std::unique_ptr<BrotliEncoderState, void (*)(BrotliEncoderState*)> encoder_; member
287 : Encoder(output_block_size), encoder_(nullptr, nullptr) { in LZ4Encoder()
292 encoder_ = std::unique_ptr<LZ4F_cctx, decltype(&LZ4F_freeCompressionContext)>( in LZ4Encoder()
295 size_t rc = LZ4F_compressBegin(encoder_.get(), header.data(), header.size(), nullptr); in LZ4Encoder()
334 size_t rc = LZ4F_compressUpdate(encoder_.get(), next_out, available_out, next_in, in Encode()
354 size_t rc = LZ4F_compressEnd(encoder_.get(), final_block.data(), final_block.size(), in Encode()
382 std::unique_ptr<LZ4F_cctx, LZ4F_errorCode_t (*)(LZ4F_cctx*)> encoder_; member
438 : Encoder(output_block_size), encoder_(ZSTD_createCStream(), ZSTD_freeCStream) { in ZstdEncoder()
439 if (!encoder_) { in ZstdEncoder()
442 ZSTD_CCtx_setParameter(encoder_.get(), ZSTD_c_compressionLevel, 1); in ZstdEncoder()
459 size_t rc = ZSTD_compressStream2(encoder_.get(), &out, &in, end_directive); in Encode()
485 std::unique_ptr<ZSTD_CStream, size_t (*)(ZSTD_CStream*)> encoder_;