[FFmpeg-cvslog] fate: add lossless h264 test
Mans Rullgard
git
Sun Jan 23 21:01:54 CET 2011
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Thu Jan 20 22:20:39 2011 +0000| [73fd7c1f0aced4008c5d90f44a1bf15c607612d8] | committer: Michael Niedermayer
fate: add lossless h264 test
Signed-off-by: Mans Rullgard <mans at mansr.com>
(cherry picked from commit 76edf2c1377fdb35609f79a6702081de4d93e331)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=73fd7c1f0aced4008c5d90f44a1bf15c607612d8
---
tests/fate/h264.mak | 6 +++++-
tests/ref/fate/h264-lossless | 10 ++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
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
More information about the ffmpeg-cvslog
mailing list