From d7abe900c3d34adcfef3a6f44a2e7bdb7d8974e7 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 10 Apr 2016 11:24:03 +0200 Subject: FATE: add an H.264 test with invalid reference lists See commit 9d74012 --- tests/fate/h264.mak | 6 ++++++ tests/ref/fate/h264-invalid-ref-mod | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 tests/ref/fate/h264-invalid-ref-mod (limited to 'tests') diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak index 34d03bf2d3..04aad0a270 100644 --- a/tests/fate/h264.mak +++ b/tests/fate/h264.mak @@ -185,6 +185,11 @@ FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) \ FATE_H264-$(call DEMDEC, H264, H264) += $(FATE_H264) FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-crop-to-container FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-interlace-crop + +# this sample has invalid reference list modification, but decodes fine +# by using a previous ref frame instead of a missing one +FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-invalid-ref-mod + FATE_H264-$(call ALLYES, MOV_DEMUXER H264_MP4TOANNEXB_BSF) += fate-h264-bsf-mp4toannexb FATE_H264-$(call DEMDEC, MATROSKA, H264) += fate-h264-direct-bff @@ -371,5 +376,6 @@ fate-h264-extreme-plane-pred: CMD = framemd5 -i $(TARGET_SAM fate-h264-interlace-crop: CMD = framecrc -i $(TARGET_SAMPLES)/h264/interlaced_crop.mp4 -vframes 3 fate-h264-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/h264/lossless.h264 fate-h264-direct-bff: CMD = framecrc -i $(TARGET_SAMPLES)/h264/direct-bff.mkv +fate-h264-invalid-ref-mod: CMD = framecrc -i $(TARGET_SAMPLES)/h264/h264refframeregression.mp4 -an -frames 10 -pix_fmt yuv420p10le fate-h264-reinit-%: CMD = framecrc -i $(TARGET_SAMPLES)/h264/$(@:fate-h264-%=%).h264 -vf format=yuv444p10le,scale=w=352:h=288 diff --git a/tests/ref/fate/h264-invalid-ref-mod b/tests/ref/fate/h264-invalid-ref-mod new file mode 100644 index 0000000000..75bd2296e8 --- /dev/null +++ b/tests/ref/fate/h264-invalid-ref-mod @@ -0,0 +1,11 @@ +#tb 0: 1/24000 +0, 519, 519, 0, 6220800, 0x89daa15e +0, 1520, 1520, 0, 6220800, 0xcf52e254 +0, 2521, 2521, 0, 6220800, 0x91132c13 +0, 3522, 3522, 0, 6220800, 0x37b8be91 +0, 4523, 4523, 0, 6220800, 0x2b09bafa +0, 5524, 5524, 0, 6220800, 0x06d79d8d +0, 6525, 6525, 0, 6220800, 0x8e793c1d +0, 7526, 7526, 0, 6220800, 0xea0fd885 +0, 8527, 8527, 0, 6220800, 0x7786a2ad +0, 9528, 9528, 0, 6220800, 0xed4f9dd9 -- cgit v1.2.3