[FFmpeg-devel] [PATCH] fate: add lossless h264 test

Mans Rullgard mans
Thu Jan 20 23:54:04 CET 2011


Signed-off-by: Mans Rullgard <mans at mansr.com>
---
 tests/fate/h264.mak          |    6 +++++-
 tests/ref/fate/h264-lossless |   10 ++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)
 create mode 100644 tests/ref/fate/h264-lossless

diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index b4bec53..25517fe 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 0000000..c6659ca
--- /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
-- 
1.7.3.5




More information about the ffmpeg-devel mailing list