aboutsummaryrefslogtreecommitdiff
path: root/src/decoder_impl.h
diff options
context:
space:
mode:
authorqinxialei <xialeiqin@gmail.com>2021-04-22 11:20:18 +0800
committerqinxialei <xialeiqin@gmail.com>2021-04-22 11:20:18 +0800
commit81ce37eb93e8ce442ecb1855a4e7166628128ac7 (patch)
tree2af6329f74f88ce090d08c61db5fb4bed8656584 /src/decoder_impl.h
parent4dab0c756a3cdd65b43470a4cca835422b32ca6e (diff)
parent2381d803c76105f44717d75f089ec37f51e5cfe4 (diff)
downloadlibgav1-81ce37eb93e8ce442ecb1855a4e7166628128ac7.tar.gz
libgav1-81ce37eb93e8ce442ecb1855a4e7166628128ac7.tar.bz2
libgav1-81ce37eb93e8ce442ecb1855a4e7166628128ac7.zip
Update upstream source from tag 'upstream/0.16.3'
Update to upstream version '0.16.3' with Debian dir a433e04a69210eb8fcdd6089240e161eb33f0590
Diffstat (limited to 'src/decoder_impl.h')
-rw-r--r--src/decoder_impl.h5
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_;