aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-01-20 22:20:39 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-01-23 19:32:07 +0100
commit73fd7c1f0aced4008c5d90f44a1bf15c607612d8 (patch)
tree81333aa326f95ffda18e354c21890eacd6b1f9cd
parent890b771cc18af3e020cf96b1bb9202526c32cf8e (diff)
downloadffmpeg-73fd7c1f0aced4008c5d90f44a1bf15c607612d8.tar.gz
fate: add lossless h264 test
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 76edf2c1377fdb35609f79a6702081de4d93e331)
-rw-r--r--tests/fate/h264.mak6
-rw-r--r--tests/ref/fate/h264-lossless10
2 files changed, 15 insertions, 1 deletions
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index b4bec536a1..25517feee2 100644
--- a/tests/fate/h264.mak
+++ b/tests/fate/h264.mak
@@ -164,7 +164,10 @@ FATE_H264 = aud_mw_e \
sva_nl1_b \
sva_nl2_e \
-FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) fate-h264-interlace-crop
+FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) \
+ fate-h264-interlace-crop \
+ fate-h264-lossless \
+
FATE_TESTS += $(FATE_H264)
fate-h264: $(FATE_H264)
@@ -335,3 +338,4 @@ fate-h264-conformance-sva_nl1_b: CMD = framecrc -i $(SAMPLES)/h264-conformance/
fate-h264-conformance-sva_nl2_e: CMD = framecrc -i $(SAMPLES)/h264-conformance/SVA_NL2_E.264
fate-h264-interlace-crop: CMD = framecrc -vframes 3 -i $(SAMPLES)/h264/interlaced_crop.mp4
+fate-h264-lossless: CMD = framecrc -i $(SAMPLES)/h264/lossless.h264
diff --git a/tests/ref/fate/h264-lossless b/tests/ref/fate/h264-lossless
new file mode 100644
index 0000000000..c6659ca830
--- /dev/null
+++ b/tests/ref/fate/h264-lossless
@@ -0,0 +1,10 @@
+0, 0, 460800, 0x7731dd2f
+0, 1500, 460800, 0x944b8c64
+0, 3000, 460800, 0xbe833041
+0, 4500, 460800, 0xbe95d96a
+0, 6000, 460800, 0xfe7ea5e6
+0, 7500, 460800, 0x381743c7
+0, 9000, 460800, 0x63fcc2e9
+0, 10500, 460800, 0x79574960
+0, 12000, 460800, 0xdab9e18a
+0, 13500, 460800, 0xd88e8fe8