1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

fate/jpg: add RGB mjpeg fate tests

Adds FATE tests for RGB jpegs to test commit
0b352e350e.
This commit is contained in:
Leo Izen 2023-05-16 10:41:26 -04:00 committed by Thilo Borgmann
parent 416fd1b43b
commit d4c48ee7f3
6 changed files with 41 additions and 0 deletions

View File

@ -346,6 +346,17 @@ fate-jpg-rgb-progressive: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/g
FATE_JPG += fate-jpg-rgb-221
fate-jpg-rgb-221: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/george-insect-rgb-xyb.jpg
FATE_JPG += fate-jpg-rgb-1
fate-jpg-rgb-1: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/jpg-8930-1.jpg
FATE_JPG += fate-jpg-rgb-2
fate-jpg-rgb-2: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/jpg-8930-2.jpg
FATE_JPG += fate-jpg-rgb-3
fate-jpg-rgb-3: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/jpg-8930-3.jpg
FATE_JPG += fate-jpg-rgb-4
fate-jpg-rgb-4: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/jpg-8930-4.jpg
FATE_JPG += fate-jpg-rgb-5
fate-jpg-rgb-5: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/jpg-8930-5.jpg
FATE_JPG_TRANSCODE-$(call TRANSCODE, MJPEG, MJPEG IMAGE_JPEG_PIPE, IMAGE_PNG_PIPE_DEMUXER PNG_DECODER SCALE_FILTER) += fate-jpg-icc
fate-jpg-icc: CMD = transcode png_pipe $(TARGET_SAMPLES)/png1/lena-int_rgb24.png mjpeg "-vf scale" "" "-show_frames"

6
tests/ref/fate/jpg-rgb-1 Normal file
View File

@ -0,0 +1,6 @@
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 64x64
#sar 0: 1/1
0, 0, 0, 1, 12288, 0x7d04bd46

6
tests/ref/fate/jpg-rgb-2 Normal file
View File

@ -0,0 +1,6 @@
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 64x64
#sar 0: 0/1
0, 0, 0, 1, 12288, 0xa4986a3d

6
tests/ref/fate/jpg-rgb-3 Normal file
View File

@ -0,0 +1,6 @@
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 64x64
#sar 0: 1/1
0, 0, 0, 1, 12288, 0xfdf5876c

6
tests/ref/fate/jpg-rgb-4 Normal file
View File

@ -0,0 +1,6 @@
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 64x64
#sar 0: 0/1
0, 0, 0, 1, 12288, 0x06d7603d

6
tests/ref/fate/jpg-rgb-5 Normal file
View File

@ -0,0 +1,6 @@
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 64x64
#sar 0: 1/1
0, 0, 0, 1, 8192, 0xcd87b5c6