@@ -338,6 +338,22 @@ FATE_JPG-$(call DEMDEC, IMAGE2, MJPEG) += $(FATE_JPG)
FATE_IMAGE += $(FATE_JPG-yes)
fate-jpg: $(FATE_JPG-yes)
+FATE_JPEGLS += fate-jpegls-2bpc
+fate-jpegls-2bpc: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpegls/4.jls -pix_fmt rgb24 -vf scale
+
+FATE_JPEGLS += fate-jpegls-3bpc
+fate-jpegls-3bpc: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpegls/8.jls -pix_fmt rgb24 -vf scale
+
+FATE_JPEGLS += fate-jpegls-5bpc
+fate-jpegls-5bpc: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpegls/32.jls -pix_fmt rgb24 -vf scale
+
+FATE_JPEGLS += fate-jpegls-7bpc
+fate-jpegls-7bpc: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpegls/128.jls -pix_fmt rgb24 -vf scale
+
+FATE_JPEGLS-$(call DEMDEC, IMAGE2, JPEGLS) += $(FATE_JPEGLS)
+FATE_IMAGE += $(FATE_JPEGLS-yes)
+fate-jpegls: $(FATE_JPEGLS-yes)
+
FATE_IMAGE-$(call DEMDEC, IMAGE2, QDRAW) += fate-pict
fate-pict: CMD = framecrc -i $(TARGET_SAMPLES)/quickdraw/TRU256.PCT -pix_fmt rgb24
new file mode 100644
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 711x711
+#sar 0: 0/1
+0, 0, 0, 1, 1516563, 0x2c788aa2
new file mode 100644
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 711x711
+#sar 0: 0/1
+0, 0, 0, 1, 1516563, 0x8a30bd1d
new file mode 100644
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 711x711
+#sar 0: 0/1
+0, 0, 0, 1, 1516563, 0xaf7085ce
new file mode 100644
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 711x711
+#sar 0: 0/1
+0, 0, 0, 1, 1516563, 0x9c0af8f1
Signed-off-by: James Almer <jamrial@gmail.com> --- The samples are in https://trac.ffmpeg.org/ticket/3933 I'm forcing rgb24 as output because a simple ffmpeg -i 128.jls 128.png results in the alpha channel covering the entire PAL8 output image. I don't know why this happens. Will upload the samples before pushing. tests/fate/image.mak | 16 ++++++++++++++++ tests/ref/fate/jpegls-2bpc | 6 ++++++ tests/ref/fate/jpegls-3bpc | 6 ++++++ tests/ref/fate/jpegls-5bpc | 6 ++++++ tests/ref/fate/jpegls-7bpc | 6 ++++++ 5 files changed, 40 insertions(+) create mode 100644 tests/ref/fate/jpegls-2bpc create mode 100644 tests/ref/fate/jpegls-3bpc create mode 100644 tests/ref/fate/jpegls-5bpc create mode 100644 tests/ref/fate/jpegls-7bpc