diff options
author | Alex Mogurenko <alex@mogurenko.com> | 2018-12-28 22:30:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-03-14 00:24:44 +0100 |
commit | 7e204f72607c95a7d7f791e085ba48882e778a9b (patch) | |
tree | 26b840f6af0d36d6f108337f94be17342bc53335 /doc/examples/demuxing_decoding.c | |
parent | 53f3f5233f38aef0b544ebfbb2c450134aae0639 (diff) | |
download | ffmpeg-7e204f72607c95a7d7f791e085ba48882e778a9b.tar.gz |
avcodec/prores_ks: Fix luma quantization if q >= MAX_STORED_Q
The problem occurs in slice quant estimation and slice encoding:
If the slice quant is larger than MAX_STORED_Q we don't use pre-calculated
quant matrices, but generate a new one, but both qmat and qmat_chroma both
point to the same table, so the luma table ends up having chroma table
values.
Add custom_chroma_q the same way as custom_q.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
(cherry picked from commit e4788ae31b2e9af45d11f4bf4498c075dcc25a6c)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc/examples/demuxing_decoding.c')
0 files changed, 0 insertions, 0 deletions