FATE: add a test of H.264 SEI recovery in an intra refresh stream
authorAnton Khirnov <anton@khirnov.net>
Wed, 15 Jun 2016 08:39:08 +0000 (10:39 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 15 Jul 2016 13:33:13 +0000 (15:33 +0200)
tests/fate/h264.mak
tests/ref/fate/h264-intra-refresh-recovery [new file with mode: 0644]

index bbce95d..9996f95 100644 (file)
@@ -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 (file)
index 0000000..4803900
--- /dev/null
@@ -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