Up until now, the encoder replicated all the border pixels for incomplete 16x16 macroblocks. In case the available width or height is <= 8, some of the luma blocks of the MB do not correspond to actual input, so that we should encode them using the least amount of bits. Zeroing the block coefficients (as this commit does) achieves this, replicating the pixels and performing an FDCT does not. This commit also removes the frame copying code for insufficiently aligned dimensions. The vsynth3-asv[12] FATE tests use a 34x34 input file and are therefore affected by this. As the ref updates show, the size and checksum of the encoded changes, yet the decoded output stays the same. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
5 lines
250 B
Plaintext
5 lines
250 B
Plaintext
63000eaedeb60bede8baeb090f02881a *tests/data/fate/vsynth3-asv2.avi
|
|
33696 tests/data/fate/vsynth3-asv2.avi
|
|
5469c0735b7c9279e5e8e3439fc6acab *tests/data/fate/vsynth3-asv2.out.rawvideo
|
|
stddev: 9.07 PSNR: 28.97 MAXDIFF: 51 bytes: 86700/ 86700
|