diff options
author | qinxialei <xialeiqin@gmail.com> | 2021-04-22 11:20:15 +0800 |
---|---|---|
committer | qinxialei <xialeiqin@gmail.com> | 2021-04-22 11:20:15 +0800 |
commit | 2381d803c76105f44717d75f089ec37f51e5cfe4 (patch) | |
tree | 33f40fb4dfd1039ac262d5f1c1065d298578ddc1 /src/decoder_impl.h | |
parent | e8d277081293b6fb2a5d469616baaa7a06f52496 (diff) | |
download | libgav1-2381d803c76105f44717d75f089ec37f51e5cfe4.tar.gz libgav1-2381d803c76105f44717d75f089ec37f51e5cfe4.tar.bz2 libgav1-2381d803c76105f44717d75f089ec37f51e5cfe4.zip |
New upstream version 0.16.3
Diffstat (limited to 'src/decoder_impl.h')
-rw-r--r-- | src/decoder_impl.h | 5 |
1 files changed, 5 insertions, 0 deletions
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<TemporalUnit> 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_; |