summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-07-18 09:54:46 -0400
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-07-20 23:32:13 +0100
commit819bb3e81c72939ae1c1a4e5fc3dfdf3e98df074 (patch)
tree3f3876f57affb83c8ecedfc1c374b6c71041cc3b /tests
parentc39059bea3adebcd888571d1181db215eee54495 (diff)
fate: add h264-direct-bff test
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/h264.mak2
-rw-r--r--tests/ref/fate/h264-direct-bff12
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index 13bbd1152b..34d03bf2d3 100644
--- a/tests/fate/h264.mak
+++ b/tests/fate/h264.mak
@@ -186,6 +186,7 @@ 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
FATE_H264-$(call ALLYES, MOV_DEMUXER H264_MP4TOANNEXB_BSF) += fate-h264-bsf-mp4toannexb
+FATE_H264-$(call DEMDEC, MATROSKA, H264) += fate-h264-direct-bff
FATE_SAMPLES_AVCONV += $(FATE_H264-yes)
fate-h264: $(FATE_H264-yes)
@@ -369,5 +370,6 @@ fate-h264-crop-to-container: CMD = framemd5 -i $(TARGET_SAM
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-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/h264/lossless.h264
+fate-h264-direct-bff: CMD = framecrc -i $(TARGET_SAMPLES)/h264/direct-bff.mkv
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-direct-bff b/tests/ref/fate/h264-direct-bff
new file mode 100644
index 0000000000..c61fd0ca4e
--- /dev/null
+++ b/tests/ref/fate/h264-direct-bff
@@ -0,0 +1,12 @@
+#tb 0: 1/1000
+0, 0, 0, 0, 522720, 0x1ccad503
+0, 33, 33, 0, 522720, 0xd266d6e8
+0, 67, 67, 0, 522720, 0x535473b3
+0, 100, 100, 0, 522720, 0xf8b53c53
+0, 133, 133, 0, 522720, 0x4e4cc04b
+0, 167, 167, 0, 522720, 0x20ea3515
+0, 200, 200, 0, 522720, 0xb9c67e30
+0, 233, 233, 0, 522720, 0x03d2e35a
+0, 267, 267, 0, 522720, 0xae2e7896
+0, 300, 300, 0, 522720, 0x6da37f41
+0, 400, 400, 0, 522720, 0x7caf4954