From 2381d803c76105f44717d75f089ec37f51e5cfe4 Mon Sep 17 00:00:00 2001 From: qinxialei Date: Thu, 22 Apr 2021 11:20:15 +0800 Subject: New upstream version 0.16.3 --- src/decoder_impl.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/decoder_impl.h') diff --git a/src/decoder_impl.h b/src/decoder_impl.h index 721b666..b52ecdf 100644 --- a/src/decoder_impl.h +++ b/src/decoder_impl.h @@ -215,6 +215,10 @@ class DecoderImpl : public Allocable { // |quantizer_matrix_initialized_| to true. bool MaybeInitializeQuantizerMatrix(const ObuFrameHeader& frame_header); + // Allocates and generates the |wedge_masks_| if necessary and sets + // |wedge_masks_initialized_| to true. + bool MaybeInitializeWedgeMasks(FrameType frame_type); + // Elements in this queue cannot be moved with std::move since the // |EncodedFrame.temporal_unit| stores a pointer to elements in this queue. Queue temporal_units_; @@ -233,6 +237,7 @@ class DecoderImpl : public Allocable { BufferPool buffer_pool_; WedgeMaskArray wedge_masks_; + bool wedge_masks_initialized_ = false; QuantizerMatrix quantizer_matrix_; bool quantizer_matrix_initialized_ = false; FrameScratchBufferPool frame_scratch_buffer_pool_; -- cgit v1.2.3