FFmpeg/tests/ref
Andreas Rheinhardt 0401ca714a avcodec/asvenc: Don't waste bits encoding non-visible part
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>
2025-05-26 03:37:09 +02:00
..
acodec avformat/pcm: decrease target audio frame per sec to 10 2024-03-16 19:19:42 +01:00
fate tests/fate/ac3: Make ac3-fixed-encode-2 bitexact across arches 2025-05-23 14:06:26 +02:00
lavf avcodec/mjpegenc_huffman: Avoid AV_QSORT to sort entries by length 2025-04-18 08:40:17 +02:00
lavf-fate avformat/matroska: add support for VVC streams 2025-01-12 11:13:31 -03:00
pixfmt swscale/swscale_unscaled: account for semi planar formats with data in the msb 2025-03-15 18:43:18 -03:00
seek avcodec/mjpegenc_huffman: Avoid AV_QSORT to sort entries by length 2025-04-18 08:40:17 +02:00
vsynth avcodec/asvenc: Don't waste bits encoding non-visible part 2025-05-26 03:37:09 +02:00