summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/fate-run.sh2
-rw-r--r--tests/fate/filter-video.mak5
-rw-r--r--tests/ref/fate/exif-image-jpg14
-rw-r--r--tests/ref/fate/ffprobe_compact2
-rw-r--r--tests/ref/fate/ffprobe_csv2
-rw-r--r--tests/ref/fate/ffprobe_default1
-rw-r--r--tests/ref/fate/ffprobe_flat1
-rw-r--r--tests/ref/fate/ffprobe_ini1
-rw-r--r--tests/ref/fate/filter-pixfmts-fieldorder89
-rw-r--r--tests/ref/lavf/gif4
10 files changed, 108 insertions, 13 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 71eff804e7..52ddc22300 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -225,7 +225,7 @@ fi
if test -e "$ref" || test $cmp = "oneline" ; then
case $cmp in
- diff) diff -u -a -b "$ref" "$outfile" >$cmpfile ;;
+ diff) diff -u -b "$ref" "$outfile" >$cmpfile ;;
oneoff) oneoff "$ref" "$outfile" >$cmpfile ;;
stddev) stddev "$ref" "$outfile" >$cmpfile ;;
oneline)oneline "$ref" "$outfile" >$cmpfile ;;
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 9b9acf7b28..6d99ef2c55 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -57,7 +57,7 @@ FATE_FILTER_VSYNTH-$(CONFIG_HISTOGRAM_FILTER) += fate-filter-histogram-levels
fate-filter-histogram-levels: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf histogram -flags +bitexact -sws_flags +accurate_rnd+bitexact
FATE_FILTER_VSYNTH-$(CONFIG_HISTOGRAM_FILTER) += fate-filter-histogram-waveform
-fate-filter-histogram-waveform: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf histogram=mode=waveform -flags +bitexact -sws_flags +accurate_rnd+bitexact
+fate-filter-histogram-waveform: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf format=yuv444p,histogram=mode=waveform -flags +bitexact -sws_flags +accurate_rnd+bitexact
FATE_FILTER_VSYNTH-$(CONFIG_OVERLAY_FILTER) += fate-filter-overlay
fate-filter-overlay: tests/data/filtergraphs/overlay
@@ -244,6 +244,9 @@ fate-filter-pixfmts-crop: CMD = pixfmts "100:100:100:100"
FATE_FILTER_PIXFMTS-$(CONFIG_FIELD_FILTER) += fate-filter-pixfmts-field
fate-filter-pixfmts-field: CMD = pixfmts "bottom"
+FATE_FILTER_PIXFMTS-$(CONFIG_FIELDORDER_FILTER) += fate-filter-pixfmts-fieldorder
+fate-filter-pixfmts-fieldorder: CMD = pixfmts "tff" "setfield=bff,"
+
FATE_FILTER_PIXFMTS-$(CONFIG_HFLIP_FILTER) += fate-filter-pixfmts-hflip
fate-filter-pixfmts-hflip: CMD = pixfmts
diff --git a/tests/ref/fate/exif-image-jpg b/tests/ref/fate/exif-image-jpg
index a634a87c55..ebe3fbf48e 100644
--- a/tests/ref/fate/exif-image-jpg
+++ b/tests/ref/fate/exif-image-jpg
@@ -31,10 +31,10 @@ TAG:YCbCrPositioning=2
TAG:ExposureTime=1:1250
TAG:FNumber=40:10
TAG:ISOSpeedRatings=160
-TAG:ExifVersion=0221
+TAG:ExifVersion=48, 50, 50, 49
TAG:DateTimeOriginal=2013:07:18 13:12:03
TAG:DateTimeDigitized=2013:07:18 13:12:03
-TAG:ComponentsConfiguration=
+TAG:ComponentsConfiguration=1, 2, 3, 0
TAG:CompressedBitsPerPixel=3:1
TAG:ShutterSpeedValue=329:32
TAG:ApertureValue=128:32
@@ -43,21 +43,21 @@ TAG:MaxApertureValue=113:32
TAG:MeteringMode=5
TAG:Flash=16
TAG:FocalLength=5000:1000
-TAG:MakerNote=
-TAG:UserComment=
-TAG:FlashpixVersion=0100
+TAG:MakerNote=25, 0, 1, 0, 3, 0, 48, 0, 0, 0, 28, 4, 0, 0, 2, 0, 3, 0, 4, 0, 0, 0, 124, 4, 0, 0, 3, 0, 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, 113, 0, 221, 0, 255, 255, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 160, 15, 160, 15, 0, 0, 0, 0, 255, 255, 0, 0, 255, 127, 255, 127, 0, 0, 0, 0, 255, 255, 90, 0, 2, 0, 136, 19, 250, 0, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 68, 0, 18, 0, 160, 0, 68, 1, 128, 0, 73, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 119, 0, 0, 0, 128, 0, 73, 1, 0, 0, 0, 0, 23, 0, 250, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 73, 77, 71, 58, 80, 111, 119, 101, 114, 83, 104, 111, 116, 32, 83, 88, 50, 48, 48, 32, 73, 83, 32, 74, 80, 69, 71, 0, 0, 0, 0, 0, 70, 105, 114, 109, 119, 97, 114, 101, 32, 86, 101, 114, 115, 105, 111, 110, 32, 49, 46, 48, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 211, 1, 0, 0, 155, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 1, 0, 0, 221, 3, 0, 0, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 2, 0, 0, 123, 3, 0, 0, 165, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 66, 0, 0, 0, 10, 0, 0, 0, 17, 0, 0, 0, 70, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 0, 204, 3, 0, 0, 138, 3, 0, 0, 138, 3, 0, 0, 128, 1, 0, 0, 66, 4, 0, 0, 165, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 138, 3, 0, 0, 138, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 35, 0, 0, 0, 120, 0, 0, 0, 120, 0, 0, 0, 102, 255, 255, 255, 208, 0, 0, 0, 114, 255, 255, 255, 208, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 114, 255, 255, 255, 208, 0, 0, 0, 12, 0, 0, 0, 204, 0, 0, 0, 239, 255, 255, 255, 201, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 5, 0, 0, 8, 0, 0, 0, 239, 255, 255, 255, 201, 0, 0, 0, 24, 0, 0, 0, 143, 3, 0, 0, 125, 6, 0, 0, 97, 6, 0, 0, 143, 3, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 91, 1, 0, 0, 113, 4, 0, 0, 204, 3, 0, 0, 147, 2, 0, 0, 165, 255, 255, 255, 10, 0, 0, 0, 128, 0, 0, 0, 251, 1, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 74, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 97, 2, 0, 0, 150, 2, 0, 0, 204, 2, 0, 0, 241, 2, 0, 0, 0, 0, 0, 0, 128, 0, 0, 0, 0, 0, 0, 0, 8, 162, 255, 255, 70, 2, 0, 0, 69, 2, 0, 0, 69, 2, 0, 0, 65, 2, 0, 0, 66, 2, 0, 0, 68, 2, 0, 0, 66, 2, 0, 0, 67, 2, 0, 0, 67, 2, 0, 0, 68, 2, 0, 0, 18, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 5, 0, 0, 250, 0, 0, 0, 53, 1, 0, 0, 58, 0, 0, 0, 5, 4, 0, 0, 193, 0, 0, 0, 240, 0, 0, 0, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 107, 0, 0, 0, 6, 255, 255, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 0, 244, 255, 255, 133, 0, 0, 0, 102, 2, 0, 0, 243, 1, 0, 0, 0, 0, 0, 0, 99, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 192, 0, 0, 0, 4, 1, 0, 0, 0, 1, 0, 0, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 13, 0, 0, 0, 237, 157, 54, 41, 96, 0, 4, 0, 9, 0, 9, 0, 160, 15, 200, 8, 100, 0, 100, 0, 18, 0, 18, 0, 18, 0, 18, 0, 18, 0, 18, 0, 18, 0, 18, 0, 18, 0, 18, 0, 18, 0, 18, 0, 18, 0, 18, 0, 18, 0, 18, 0, 18, 0, 18, 0, 238, 255, 0, 0, 18, 0, 238, 255, 0, 0, 18, 0, 238, 255, 0, 0, 18, 0, 238, 255, 238, 255, 238, 255, 0, 0, 0, 0, 0, 0, 18, 0, 18, 0, 18, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 159, 0, 15, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+TAG:FlashpixVersion=48, 49, 48, 48
TAG:ColorSpace=1
TAG:PixelXDimension=4000
TAG:PixelYDimension=2248
TAG:GPSLatitudeRef=R98
-TAG:GPSLatitude=0100
+TAG:GPSLatitude=48, 49, 48, 48
TAG:0x1001=4000
TAG:0x1002=2248
TAG:FocalPlaneXResolution=4000000:244
TAG:FocalPlaneYResolution=2248000:183
TAG:FocalPlaneResolutionUnit=2
TAG:SensingMethod=2
-TAG:FileSource=
+TAG:FileSource=3
TAG:CustomRendered=0
TAG:ExposureMode=0
TAG:WhiteBalance=0
diff --git a/tests/ref/fate/ffprobe_compact b/tests/ref/fate/ffprobe_compact
index 249df5750d..eb82edb473 100644
--- a/tests/ref/fate/ffprobe_compact
+++ b/tests/ref/fate/ffprobe_compact
@@ -26,7 +26,7 @@ packet|codec_type=video|stream_index=1|pts=6144|pts_time=0.120000|dts=6144|dts_t
frame|media_type=video|key_frame=1|pkt_pts=6144|pkt_pts_time=0.120000|pkt_dts=6144|pkt_dts_time=0.120000|pkt_duration=2048|pkt_duration_time=0.040000|pkt_pos=794307|pkt_size=N/A|width=320|height=240|pix_fmt=rgb24|sample_aspect_ratio=1:1|pict_type=I|coded_picture_number=0|display_picture_number=0|interlaced_frame=0|top_field_first=0|repeat_pict=0
packet|codec_type=video|stream_index=2|pts=6144|pts_time=0.120000|dts=6144|dts_time=0.120000|duration=2048|duration_time=0.040000|convergence_duration=N/A|convergence_duration_time=N/A|size=30000|pos=1024731|flags=K
frame|media_type=video|key_frame=1|pkt_pts=6144|pkt_pts_time=0.120000|pkt_dts=6144|pkt_dts_time=0.120000|pkt_duration=2048|pkt_duration_time=0.040000|pkt_pos=1024731|pkt_size=N/A|width=100|height=100|pix_fmt=rgb24|sample_aspect_ratio=1:1|pict_type=I|coded_picture_number=0|display_picture_number=0|interlaced_frame=0|top_field_first=0|repeat_pict=0
-stream|index=0|codec_name=pcm_s16le|profile=unknown|codec_type=audio|codec_time_base=1/44100|codec_tag_string=PSD[16]|codec_tag=0x10445350|sample_fmt=s16|sample_rate=44100|channels=1|bits_per_sample=16|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/44100|start_pts=0|start_time=0.000000|duration_ts=N/A|duration=N/A|bit_rate=705600|nb_frames=N/A|nb_read_frames=6|nb_read_packets=6|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|tag:E=mc²
+stream|index=0|codec_name=pcm_s16le|profile=unknown|codec_type=audio|codec_time_base=1/44100|codec_tag_string=PSD[16]|codec_tag=0x10445350|sample_fmt=s16|sample_rate=44100|channels=1|channel_layout=unknown|bits_per_sample=16|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/44100|start_pts=0|start_time=0.000000|duration_ts=N/A|duration=N/A|bit_rate=705600|nb_frames=N/A|nb_read_frames=6|nb_read_packets=6|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|tag:E=mc²
stream|index=1|codec_name=rawvideo|profile=unknown|codec_type=video|codec_time_base=1/51200|codec_tag_string=RGB[24]|codec_tag=0x18424752|width=320|height=240|has_b_frames=0|sample_aspect_ratio=1:1|display_aspect_ratio=4:3|pix_fmt=rgb24|level=-99|timecode=N/A|id=N/A|r_frame_rate=25/1|avg_frame_rate=25/1|time_base=1/51200|start_pts=0|start_time=0.000000|duration_ts=N/A|duration=N/A|bit_rate=N/A|nb_frames=N/A|nb_read_frames=4|nb_read_packets=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|tag:title=foobar|tag:duration_ts=field-and-tags-conflict-attempt
stream|index=2|codec_name=rawvideo|profile=unknown|codec_type=video|codec_time_base=1/51200|codec_tag_string=RGB[24]|codec_tag=0x18424752|width=100|height=100|has_b_frames=0|sample_aspect_ratio=1:1|display_aspect_ratio=1:1|pix_fmt=rgb24|level=-99|timecode=N/A|id=N/A|r_frame_rate=25/1|avg_frame_rate=25/1|time_base=1/51200|start_pts=0|start_time=0.000000|duration_ts=N/A|duration=N/A|bit_rate=N/A|nb_frames=N/A|nb_read_frames=4|nb_read_packets=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0
format|filename=tests/data/ffprobe-test.nut|nb_streams=3|nb_programs=0|format_name=nut|start_time=0.000000|duration=0.120000|size=1054812|bit_rate=70320800|probe_score=100|tag:title=ffprobe test file|tag:comment='A comment with CSV, XML & JSON special chars': <tag value="x">|tag:comment2=I ♥ Üñîçød€
diff --git a/tests/ref/fate/ffprobe_csv b/tests/ref/fate/ffprobe_csv
index 4d950c343e..10d1bf1adc 100644
--- a/tests/ref/fate/ffprobe_csv
+++ b/tests/ref/fate/ffprobe_csv
@@ -26,7 +26,7 @@ packet,video,1,6144,0.120000,6144,0.120000,2048,0.040000,N/A,N/A,230400,794307,K
frame,video,1,6144,0.120000,6144,0.120000,2048,0.040000,794307,N/A,320,240,rgb24,1:1,I,0,0,0,0,0
packet,video,2,6144,0.120000,6144,0.120000,2048,0.040000,N/A,N/A,30000,1024731,K
frame,video,1,6144,0.120000,6144,0.120000,2048,0.040000,1024731,N/A,100,100,rgb24,1:1,I,0,0,0,0,0
-stream,0,pcm_s16le,unknown,audio,1/44100,PSD[16],0x10445350,s16,44100,1,16,N/A,0/0,0/0,1/44100,0,0.000000,N/A,N/A,705600,N/A,6,6,0,0,0,0,0,0,0,0,0,0,0,mc²
+stream,0,pcm_s16le,unknown,audio,1/44100,PSD[16],0x10445350,s16,44100,1,unknown,16,N/A,0/0,0/0,1/44100,0,0.000000,N/A,N/A,705600,N/A,6,6,0,0,0,0,0,0,0,0,0,0,0,mc²
stream,1,rawvideo,unknown,video,1/51200,RGB[24],0x18424752,320,240,0,1:1,4:3,rgb24,-99,N/A,N/A,25/1,25/1,1/51200,0,0.000000,N/A,N/A,N/A,N/A,4,4,0,0,0,0,0,0,0,0,0,0,0,foobar,field-and-tags-conflict-attempt
stream,2,rawvideo,unknown,video,1/51200,RGB[24],0x18424752,100,100,0,1:1,1:1,rgb24,-99,N/A,N/A,25/1,25/1,1/51200,0,0.000000,N/A,N/A,N/A,N/A,4,4,0,0,0,0,0,0,0,0,0,0,0
format,tests/data/ffprobe-test.nut,3,0,nut,0.000000,0.120000,1054812,70320800,100,ffprobe test file,"'A comment with CSV, XML & JSON special chars': <tag value=""x"">",I ♥ Üñîçød€
diff --git a/tests/ref/fate/ffprobe_default b/tests/ref/fate/ffprobe_default
index 690a419b0d..c6d9b28f16 100644
--- a/tests/ref/fate/ffprobe_default
+++ b/tests/ref/fate/ffprobe_default
@@ -491,6 +491,7 @@ codec_tag=0x10445350
sample_fmt=s16
sample_rate=44100
channels=1
+channel_layout=unknown
bits_per_sample=16
id=N/A
r_frame_rate=0/0
diff --git a/tests/ref/fate/ffprobe_flat b/tests/ref/fate/ffprobe_flat
index e54510fa5b..ae280b79c4 100644
--- a/tests/ref/fate/ffprobe_flat
+++ b/tests/ref/fate/ffprobe_flat
@@ -434,6 +434,7 @@ streams.stream.0.codec_tag="0x10445350"
streams.stream.0.sample_fmt="s16"
streams.stream.0.sample_rate="44100"
streams.stream.0.channels=1
+streams.stream.0.channel_layout="unknown"
streams.stream.0.bits_per_sample=16
streams.stream.0.id="N/A"
streams.stream.0.r_frame_rate="0/0"
diff --git a/tests/ref/fate/ffprobe_ini b/tests/ref/fate/ffprobe_ini
index 8f4de86090..c47a0c4e90 100644
--- a/tests/ref/fate/ffprobe_ini
+++ b/tests/ref/fate/ffprobe_ini
@@ -493,6 +493,7 @@ codec_tag=0x10445350
sample_fmt=s16
sample_rate=44100
channels=1
+channel_layout=unknown
bits_per_sample=16
id=N/A
r_frame_rate=0/0
diff --git a/tests/ref/fate/filter-pixfmts-fieldorder b/tests/ref/fate/filter-pixfmts-fieldorder
new file mode 100644
index 0000000000..d743caad9e
--- /dev/null
+++ b/tests/ref/fate/filter-pixfmts-fieldorder
@@ -0,0 +1,89 @@
+0bgr a8559fc1395908cda27a27bf79819d61
+0rgb 704924e65927896b84bd645ca59fb7f2
+abgr f479df06a4b73d348b3af004923d7eb9
+argb c16c9af56802c3b821b30c613c041622
+bgr0 b7ee10fec20508b64dfca22d61533a88
+bgr24 a1c59acf60652578b802e7f6639d1ac5
+bgr444be d41639928d05bdee67fa2a76c7f74533
+bgr444le 45f616b1ec9014f8d618878c4db850c1
+bgr48be 7015ba40d142742e5c6a39113fee58af
+bgr48le fd33d4a60a789d170b871784d0859089
+bgr4_byte d1ff07684bc1be194d26cdf598385b8e
+bgr555be 2295d642e02f9dcb49c20142bfdd9c1a
+bgr555le a95883301ab991a3cf8bb063b7912410
+bgr565be c37ced8fa4951da20831edf9bd46b35c
+bgr565le da0ee7f773efa07fdacc62b7deac452b
+bgr8 94a043f6d5e01de077a92a9be6f77582
+bgra 02db5e046ced11d3f09d901cae205e2f
+gbrap 5317a66b677c943203b2a5e93607dc68
+gbrp b1ffeba90a60e9a23c9f35466c135069
+gbrp10be 07b2842fdf9b92f6cd8e8cf3a8abdfac
+gbrp10le 7fa5429bb4bc6f0e1f3c190bc8064b38
+gbrp12be 5ea6cb457c88b4b3d48f6f63b6208828
+gbrp12le f969a3b017a0f46008f81453174f4ecd
+gbrp14be b2879b691564f66b88e63efd268de8c5
+gbrp14le 7baa94cd296e6ec8e41446bca95151e4
+gbrp9be a6eb7cde03f19a25bf13627d731a2c9a
+gbrp9le 1b6d228b97a370ec76707ed2dcc15a66
+gray 3258910ef8c6f0c4a331368e7af87507
+gray16be 50cc8a29e8e81e174676542347804a4f
+gray16le fb93e8aa2deed734dfd1ca6a5c48cf18
+rgb0 5f8f8076e2b9a2422cac25a4f0459d79
+rgb24 66ca89ced3ade4c239ad6c5a79a6b8cd
+rgb444be 7197a09137ab5630a26226396bb7e313
+rgb444le 2d10d7d2ef4527152a9ba8b2020c8d41
+rgb48be 7aee07b85b137365eb04a7ea4c10dcfe
+rgb48le debaa00dfed0234efd1441aea8195026
+rgb4_byte 12d6a5a7ca40c531a4d480546ed766eb
+rgb555be 5d36ead35aa8820daab7d84e1ffbb4ac
+rgb555le 10f43b4c9b06742abc114f0ff1864111
+rgb565be 998ca430a1173f194d78a92695e097f9
+rgb565le 99be7760861aa9c1d3d743a1ea311689
+rgb8 6303c75883c1e2e7e13644fb5dcd11a7
+rgba af33be882959a2fc963d6e5984d24b6d
+rgba64be 9ae73ceaa9d95e7981b4df559b0d3b6d
+rgba64le 86997e62f62d2a5351b5ca9c9c93c2d1
+uyvy422 a07829fe630b59855c80d87d0e8f0dbb
+xyz12be 5785613045b051cee508625dde3357df
+xyz12le 3645601dc8bfbdff68cc823a0fc85b27
+yuv411p 3d3d427999863945aa5ec03edf98c19a
+yuv422p 961d8a22bfe8868eb3c743b4241a3c99
+yuv422p10be 845e80406c880f33a384b5ebdd21796d
+yuv422p10le 0dbf5d1eb94f10cc4413976fa175fa90
+yuv422p12be 9e96f9324d0a4eac4b45161b02c14209
+yuv422p12le db17368e8cd5409826a088ee26ad2a1b
+yuv422p14be e20b379fb17e50f279a5ecd9c895537f
+yuv422p14le 9440b0c46dadddc19154054978fce20c
+yuv422p16be 09d09b64aa4b6ae8479a833622bf27e8
+yuv422p16le 03dbbf3394ba66cda54ef53772258dae
+yuv422p9be 7c59e15cb5e6eac9cd090c6ecab4c6b8
+yuv422p9le 98b6b1fbacdfd4c25dbda89b675b660b
+yuv444p 709ffd0e95a9438b14d9ba59c0237a61
+yuv444p10be 5ae7571651faebac6dca2ee4fd24610c
+yuv444p10le eb3acb92448d8b0e6f145e9d8af43378
+yuv444p12be df1e9bb90364d874dbac41a8237d6068
+yuv444p12le 7e21d00cb42404df0780317dc135f03d
+yuv444p14be 6abf70b4b7ff55552327230e08e3dd52
+yuv444p14le 85597559a748aa5aeed2d7dc49d7f66e
+yuv444p16be 2a19a8ca44198d0e90c02fd4db24d0c6
+yuv444p16le 5cb12916afef8c82d1796fdc39b97174
+yuv444p9be fc731b5b0afe0a9de6bd46179c692efa
+yuv444p9le 7449c543e528067afed5d3c96f7b8da2
+yuva422p d07e0ed0cb20eee67007b154f02cf37c
+yuva422p10be 56bfd0af50b9450f72061c605f6537dd
+yuva422p10le bfe1df3aae3e02f0a2ddbd404199e6ac
+yuva422p16be db80a2e1ddc93126206ad4864f67b50c
+yuva422p16le 847e541568b4bce64f916d42173c93c7
+yuva422p9be 5487d986b52f5744a8adac77e46c08f1
+yuva422p9le 6faa61b431b2e0bd4064e5fcecb7130a
+yuva444p 377f65cb10dd8013011e185b6aa66697
+yuva444p10be 5e42b4e4b6b1bfd12aa5869750cd2cce
+yuva444p10le c1fddd5f488fd4f8d1e07288f8a49182
+yuva444p16be ba2b267e0cc0c36041f3db4f4072ee9e
+yuva444p16le c2cfda36aa173be3a4a5c9a8fd66d8db
+yuva444p9be e047805a8f9552a6e0b6d4f772126808
+yuva444p9le 28336905569a55e935d708527a3c9d9d
+yuvj411p 09f79c56109a13eefb68ee729d9a624b
+yuvj422p 942043a34ac7d0f65edced1f6361259c
+yuvj444p 7e4758df8eb9b18ad60e1b69a913f8c8
+yuyv422 6b0c70d5ebf1685857b65456c547ea1c
diff --git a/tests/ref/lavf/gif b/tests/ref/lavf/gif
index 531cd1eda7..4d90abe38f 100644
--- a/tests/ref/lavf/gif
+++ b/tests/ref/lavf/gif
@@ -1,3 +1,3 @@
-e35f5ea283bbcb249818e0078ec72664 *./tests/data/lavf/lavf.gif
-2011766 ./tests/data/lavf/lavf.gif
+8aef8081e8afa445f63f320f4a1c5edb *./tests/data/lavf/lavf.gif
+2030198 ./tests/data/lavf/lavf.gif
./tests/data/lavf/lavf.gif CRC=0x0dc5477c