]> git.sesse.net Git - ffmpeg/commit
avcodec/vc1: fix mquant calculation
authorJerome Borsboom <jerome.borsboom@carpalis.nl>
Sat, 28 Apr 2018 15:15:32 +0000 (17:15 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 29 Apr 2018 01:57:33 +0000 (03:57 +0200)
commit19c3df0cd6ddc21a666e67a0c98b7823a2730003
tree491e8ae32edffc3bb3440a37798ba0c5da517b7e
parent29fd44adf128c6bf9c780b3460a64ceaed44f515
avcodec/vc1: fix mquant calculation

In vc1_decode_i_blocks_adv mquant needs to be reset to its default value for
each macroblock, instead of once at the beginning of the slice.

DQPROFILE specifies which macroblocks can have an alternative quantizer step
size. When DQPROFILE specifies edges, the selection is applicable to the edges
of the picture. Slice edges are not selected by DQPROFILE.

Signed-off-by: Jerome Borsboom <jerome.borsboom@carpalis.nl>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vc1_block.c