ffmpeg/tests/ref/lavf
Jerome Martinez 174ca11d91 avformat/mxfenc: fix stored/sampled/displayed width/height
According to MXF specs the Stored Rectangle corresponds to the data which is
passed to the compressor and received from the decompressor, so they should
contain the width / height extended to the macroblock boundary.

In practice however width and height values rounded to the upper 16 multiples
are only seen when muxing MPEG formats. Therefore this patch changes stored
width and height values to unrounded for all non-MPEG formats, even macroblock
based ones.

For DNXHD the specs (ST 2019-4) explicitly indicates to use 1080 for 1088p.
For ProRes the specs (RDD 44) only refer to to ST 377-1 without precision but
no known commercial implementations are using rounded values.
DV is not using 16x16 macroblocks, so 16 rounding makes no sense.

The patch also fixes Sampled Width / Display Width to use unrounded values.

Signed-off-by: Marton Balint <cus@passwd.hu>
2023-03-26 22:04:44 +02:00
..
aiff Merge commit 'eb8a811599' 2019-03-14 14:19:03 -03:00
al tests: Convert audio-only lavf tests to non-legacy test scripts 2019-02-16 18:15:22 +01:00
apng Merge commit 'f8df5e2f31' 2019-03-14 14:59:45 -03:00
apng.png Merge commit 'f8df5e2f31' 2019-03-14 14:59:45 -03:00
asf Merge commit '618d02c1fa' 2019-03-14 14:36:24 -03:00
ast Merge commit 'eb8a811599' 2019-03-14 14:19:03 -03:00
au Merge commit 'eb8a811599' 2019-03-14 14:19:03 -03:00
avi Merge commit '618d02c1fa' 2019-03-14 14:36:24 -03:00
bmp tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
caf Merge commit 'eb8a811599' 2019-03-14 14:19:03 -03:00
dfpwm fate/lavf-audio: Add dfpwm test 2022-09-18 17:48:52 +02:00
dpx tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
dv Merge commit '618d02c1fa' 2019-03-14 14:36:24 -03:00
dv_ntsc Merge commit '618d02c1fa' 2019-03-14 14:36:24 -03:00
dv_pal Merge commit '618d02c1fa' 2019-03-14 14:36:24 -03:00
flm Merge commit '618d02c1fa' 2019-03-14 14:36:24 -03:00
flv Merge commit '618d02c1fa' 2019-03-14 14:36:24 -03:00
gbrap.fits avformat/fitsenc: write DATAMIN/DATAMAX to encoded output 2021-02-10 00:03:38 +01:00
gbrap16be.fits avformat/fitsenc: write DATAMIN/DATAMAX to encoded output 2021-02-10 00:03:38 +01:00
gbrp.fits avformat/fitsenc: write DATAMIN/DATAMAX to encoded output 2021-02-10 00:03:38 +01:00
gbrp10le.dpx tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
gbrp12le.dpx tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
gbrp16be.fits avformat/fitsenc: write DATAMIN/DATAMAX to encoded output 2021-02-10 00:03:38 +01:00
gbrpf32be.pfm avcodec/pnm: avoid mirroring PFM images vertically 2022-12-27 10:41:25 -03:00
gbrpf32le.pfm avcodec/pnm: avoid mirroring PFM images vertically 2022-12-27 10:41:25 -03:00
gif Merge commit 'f8df5e2f31' 2019-03-14 14:59:45 -03:00
gray.fits avformat/fitsenc: write DATAMIN/DATAMAX to encoded output 2021-02-10 00:03:38 +01:00
gray.pam tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
gray.xwd tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
gray16be.fits avformat/fitsenc: write DATAMIN/DATAMAX to encoded output 2021-02-10 00:03:38 +01:00
gray16be.pam tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
gray16be.png tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
grayf32be.pfm avcodec/pnm: avoid mirroring PFM images vertically 2022-12-27 10:41:25 -03:00
grayf32le.pfm avcodec/pnm: avoid mirroring PFM images vertically 2022-12-27 10:41:25 -03:00
gxf Merge commit '618d02c1fa' 2019-03-14 14:36:24 -03:00
gxf_ntsc Merge commit '618d02c1fa' 2019-03-14 14:36:24 -03:00
gxf_pal Merge commit '618d02c1fa' 2019-03-14 14:36:24 -03:00
ircam Merge commit 'eb8a811599' 2019-03-14 14:19:03 -03:00
ismv avformat/movenc: use more fall-back values for average bit rate fields 2020-09-22 18:25:44 +03:00
jpg tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
mka avformat/matroskaenc: Don't waste bytes to Write Tag length fields 2022-06-20 23:42:28 +02:00
mkv avformat/matroskaenc: Write CodecDelay for codecs != Opus 2022-09-05 20:36:53 +02:00
mkv_attachment avformat/matroskaenc: Write CodecDelay for codecs != Opus 2022-09-05 20:36:53 +02:00
mmf Merge commit 'eb8a811599' 2019-03-14 14:19:03 -03:00
monob.pam tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
monow.xwd tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
mov avformat/movenc: ensure we don't write the major brand as a compatible brand more than once 2019-12-21 11:57:28 -03:00
mov_rtphint avformat/movenc: ensure we don't write the major brand as a compatible brand more than once 2019-12-21 11:57:28 -03:00
mp4 avformat/movenc: enable compressorname for mp4 mode 2022-06-24 15:37:23 +08:00
mpg Merge commit '618d02c1fa' 2019-03-14 14:36:24 -03:00
mxf avformat/mxfenc: allow more bits for variable part in uuid generation 2022-03-16 21:37:53 +01:00
mxf_d10 avformat/mxfenc: allow more bits for variable part in uuid generation 2022-03-16 21:37:53 +01:00
mxf_dv25 lavc/dv: remove ff_dvvideo_init() 2022-09-05 08:02:28 +02:00
mxf_dvcpro50 avformat/mxfenc: allow more bits for variable part in uuid generation 2022-03-16 21:37:53 +01:00
mxf_dvcpro100 avformat/mxfenc: fix stored/sampled/displayed width/height 2023-03-26 22:04:44 +02:00
mxf_ffv1 avformat/mxfenc: SMPTE RDD 48:2018 Amd 1:2022 support 2023-03-25 19:28:36 +01:00
mxf_opatom avformat/mxfenc: fix stored/sampled/displayed width/height 2023-03-26 22:04:44 +02:00
mxf_opatom_audio avformat/mxfenc: allow more bits for variable part in uuid generation 2022-03-16 21:37:53 +01:00
none.gbrapf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
none.gbrpf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
none.grayf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
nut Merge commit '618d02c1fa' 2019-03-14 14:36:24 -03:00
ogg avformat/oggenc: don't flush twice when the last packet is side data only 2023-01-03 21:35:03 -03:00
pam tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
pbmpipe Merge commit 'a70eac7a9b' 2019-03-14 14:15:46 -03:00
pcx tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
peak.wav Merge commit 'eb8a811599' 2019-03-14 14:19:03 -03:00
peak_only.wav fate/lavf-audio: Disable CRC for lavf-peak_only.wav test 2022-05-06 05:39:10 +02:00
pgm tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
pgmpipe Merge commit 'a70eac7a9b' 2019-03-14 14:15:46 -03:00
png tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
ppm tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
ppmpipe tests: Convert image2pipe tests to non-legacy test scripts 2019-02-16 18:15:11 +01:00
qoi tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
qoipipe fate: add QOI/XBM/XWD image2pipe tests 2022-12-03 19:38:11 +01:00
rgb4_byte.xwd tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgb8.xwd tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgb48be.pam tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgb48be.png tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgb48le.dpx tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgb48le_10.dpx tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgb555be.xwd tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgb565be.xwd tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgba.pam tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgba.xwd tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgba64le.dpx tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rle.gbrapf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
rle.gbrpf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
rle.grayf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
rm ac3: convert to lavu/tx 2022-11-06 14:39:27 +01:00
rso tests: Convert audio-only lavf tests to non-legacy test scripts 2019-02-16 18:15:22 +01:00
s16.voc Merge commit 'eb8a811599' 2019-03-14 14:19:03 -03:00
sgi avcodec/sgidec: Use planar pixel formats 2022-10-05 14:38:51 +02:00
smjpeg ffmpeg: fix loosing gaps between audio frame timestamps when filtering 2021-11-18 12:54:17 +01:00
sox tests: Convert audio-only lavf tests to non-legacy test scripts 2019-02-16 18:15:22 +01:00
sun tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
swf Merge commit '618d02c1fa' 2019-03-14 14:36:24 -03:00
tga tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
tiff tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
ts avformat/mpegtsenc: get rid of packet counting for sdt/pat/pmt 2019-08-23 22:49:01 +02:00
tta Merge commit 'eb8a811599' 2019-03-14 14:19:03 -03:00
ul tests: Convert audio-only lavf tests to non-legacy test scripts 2019-02-16 18:15:22 +01:00
voc Merge commit 'eb8a811599' 2019-03-14 14:19:03 -03:00
w64 Merge commit 'eb8a811599' 2019-03-14 14:19:03 -03:00
wav Merge commit 'eb8a811599' 2019-03-14 14:19:03 -03:00
wbmp avcodec: WBMP (Wireless Application Protocol Bitmap) image format 2022-08-07 19:18:18 +10:00
wtv Merge commit '618d02c1fa' 2019-03-14 14:36:24 -03:00
wv Merge commit 'eb8a811599' 2019-03-14 14:19:03 -03:00
xbm tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
xbmpipe fate: add QOI/XBM/XWD image2pipe tests 2022-12-03 19:38:11 +01:00
xwd tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
xwdpipe fate: add QOI/XBM/XWD image2pipe tests 2022-12-03 19:38:11 +01:00
y4m tests: Add a convenience function for video-only lavf tests 2019-02-16 18:15:55 +01:00
zip1.gbrapf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
zip1.gbrpf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
zip1.grayf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
zip16.gbrapf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
zip16.gbrpf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
zip16.grayf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00