Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2015-10-13 22:21:41 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-09-04 13:05:06 +0300
commitb6e8efb082c284091e267a29b6060b97692d1740 (patch)
tree3c792e6a210128e70de8a33d8420d21363a9cb4f /tests
parent8b4e4bc620c25993a0fa98914910dd5f60dfb549 (diff)
fate: add 12bpp sample
Allows testing simple_idct12 correctness/bitexactness, as the sample was generated using faani as idct. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/image.mak6
-rw-r--r--tests/ref/fate/jpg-12bpp6
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 178624a02d..c1a7e48ae9 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -249,6 +249,12 @@ FATE_EXR-$(call DEMDEC, IMAGE2, EXR) += $(FATE_EXR)
FATE_IMAGE += $(FATE_EXR-yes)
fate-exr: $(FATE_EXR-yes)
+FATE_JPG += fate-jpg-12bpp
+fate-jpg-12bpp: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/12bpp.jpg -f rawvideo -pix_fmt gray16le -vf setsar=sar=sar
+FATE_JPG-$(call DEMDEC, IMAGE2, MJPEG) += $(FATE_JPG)
+FATE_IMAGE += $(FATE_JPG-yes)
+fate-jpg: $(FATE_JPG-yes)
+
FATE_IMAGE-$(call DEMDEC, IMAGE2, QDRAW) += fate-pict
fate-pict: CMD = framecrc -i $(TARGET_SAMPLES)/quickdraw/TRU256.PCT -pix_fmt rgb24
diff --git a/tests/ref/fate/jpg-12bpp b/tests/ref/fate/jpg-12bpp
new file mode 100644
index 0000000000..b3c662d587
--- /dev/null
+++ b/tests/ref/fate/jpg-12bpp
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 999x749
+#sar 0: 1/1
+0, 0, 0, 1, 1496502, 0xd91deb4b