From 73fd7c1f0aced4008c5d90f44a1bf15c607612d8 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Thu, 20 Jan 2011 22:20:39 +0000 Subject: [PATCH] fate: add lossless h264 test Signed-off-by: Mans Rullgard (cherry picked from commit 76edf2c1377fdb35609f79a6702081de4d93e331) --- tests/fate/h264.mak | 6 +++++- tests/ref/fate/h264-lossless | 10 ++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 tests/ref/fate/h264-lossless 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