| 218 | } |
| 219 | |
| 220 | void Codec::Close() { |
| 221 | if (temp_memory_pool_.get() != nullptr) { |
| 222 | DCHECK(memory_pool_ != nullptr); |
| 223 | memory_pool_->AcquireData(temp_memory_pool_.get(), false); |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | Status Codec::ProcessBlock32(bool output_preallocated, int input_length, |
| 228 | const uint8_t* input, int* output_length, uint8_t** output) { |