From 8d07e941b04d63fc4443dd986e3dc7b69cdcca43 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 15 Jun 2016 10:39:08 +0200 Subject: [PATCH] FATE: add a test of H.264 SEI recovery in an intra refresh stream --- tests/fate/h264.mak | 2 ++ tests/ref/fate/h264-intra-refresh-recovery | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 tests/ref/fate/h264-intra-refresh-recovery diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak index bbce95dd87..9996f95dc8 100644 --- a/tests/fate/h264.mak +++ b/tests/fate/h264.mak @@ -180,6 +180,7 @@ FATE_H264_REINIT_TESTS := large_420_8-to-small_420_8 \ FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) \ $(FATE_H264_REINIT_TESTS:%=fate-h264-reinit-%) \ fate-h264-extreme-plane-pred \ + fate-h264-intra-refresh-recovery \ fate-h264-lossless \ FATE_H264-$(call DEMDEC, H264, H264) += $(FATE_H264) @@ -382,6 +383,7 @@ fate-h264-crop-to-container: CMD = framemd5 -i $(TARGET_SAM fate-h264-direct-bff: CMD = framecrc -i $(TARGET_SAMPLES)/h264/direct-bff.mkv fate-h264-extreme-plane-pred: CMD = framemd5 -i $(TARGET_SAMPLES)/h264/extreme-plane-pred.h264 fate-h264-interlace-crop: CMD = framecrc -i $(TARGET_SAMPLES)/h264/interlaced_crop.mp4 -vframes 3 +fate-h264-intra-refresh-recovery: CMD = framecrc -i $(TARGET_SAMPLES)/h264/intra_refresh.h264 -frames:v 10 fate-h264-invalid-ref-mod: CMD = framecrc -i $(TARGET_SAMPLES)/h264/h264refframeregression.mp4 -an -frames 10 -pix_fmt yuv420p10le fate-h264-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/h264/lossless.h264 fate-h264-mixed-nal-coding: CMD = framecrc -i $(TARGET_SAMPLES)/h264/mixed-nal-coding.mp4 diff --git a/tests/ref/fate/h264-intra-refresh-recovery b/tests/ref/fate/h264-intra-refresh-recovery new file mode 100644 index 0000000000..4803900bbb --- /dev/null +++ b/tests/ref/fate/h264-intra-refresh-recovery @@ -0,0 +1,11 @@ +#tb 0: 1/25 +0, 0, 0, 1, 115200, 0x5825f1b3 +0, 1, 1, 1, 115200, 0xa6e2f328 +0, 2, 2, 1, 115200, 0xcd88e49e +0, 3, 3, 1, 115200, 0x4a17d50b +0, 4, 4, 1, 115200, 0x1283d05b +0, 5, 5, 1, 115200, 0x2747c650 +0, 6, 6, 1, 115200, 0xba23c933 +0, 7, 7, 1, 115200, 0x8a96c54b +0, 8, 8, 1, 115200, 0x748ac6d3 +0, 9, 9, 1, 115200, 0x719ca491