Home
last modified time | relevance | path

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

/packages/modules/adb/
Dcompression_utils.h183 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()
[all …]