Browse Source

FATE: add an H.264 test with invalid reference lists

See commit 9d74012
tags/n3.1
Anton Khirnov 9 years ago
parent
commit
d7abe900c3
2 changed files with 17 additions and 0 deletions
  1. +6
    -0
      tests/fate/h264.mak
  2. +11
    -0
      tests/ref/fate/h264-invalid-ref-mod

+ 6
- 0
tests/fate/h264.mak View File

@@ -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

+ 11
- 0
tests/ref/fate/h264-invalid-ref-mod View File

@@ -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

Loading…
Cancel
Save