fate: add tests for RGB jpegs

Added framecrc tests for RGB JPEGs to verify future changes to the
decoder.
pull/389/head
Leo Izen 2 years ago
parent 869248c053
commit 453b524974
No known key found for this signature in database
GPG Key ID: 5A71C331FD2FA19A
  1. 9
      tests/fate/image.mak
  2. 6
      tests/ref/fate/jpg-rgb-221
  3. 6
      tests/ref/fate/jpg-rgb-baseline
  4. 6
      tests/ref/fate/jpg-rgb-progressive

@ -337,6 +337,15 @@ fate-jpg-12bpp: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/12bpp.jpg -
FATE_JPG += fate-jpg-jfif FATE_JPG += fate-jpg-jfif
fate-jpg-jfif: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/20242.jpg fate-jpg-jfif: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/20242.jpg
FATE_JPG += fate-jpg-rgb-baseline
fate-jpg-rgb-baseline: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/george-insect-rgb-baseline.jpg
FATE_JPG += fate-jpg-rgb-progressive
fate-jpg-rgb-progressive: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/george-insect-rgb-progressive.jpg
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_TRANSCODE-$(call TRANSCODE, MJPEG, MJPEG IMAGE_JPEG_PIPE, IMAGE_PNG_PIPE_DEMUXER PNG_DECODER SCALE_FILTER) += fate-jpg-icc 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" fate-jpg-icc: CMD = transcode png_pipe $(TARGET_SAMPLES)/png1/lena-int_rgb24.png mjpeg "-vf scale" "" "-show_frames"

@ -0,0 +1,6 @@
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 64x43
#sar 0: 0/1
0, 0, 0, 1, 8256, 0x81617757

@ -0,0 +1,6 @@
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 64x43
#sar 0: 0/1
0, 0, 0, 1, 8256, 0x98ad8863

@ -0,0 +1,6 @@
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 64x43
#sar 0: 0/1
0, 0, 0, 1, 8256, 0xbb6e8830
Loading…
Cancel
Save