speedhq: add FATE tests

Also add simple FATE tests, based on output produced by the NDI SDK.

Signed-off-by: James Almer <jamrial@gmail.com>
pull/265/head
Steinar H. Gunderson 8 years ago committed by James Almer
parent effd2e7291
commit 45ffe4645e
  1. 1
      tests/Makefile
  2. 8
      tests/fate/speedhq.mak
  3. 6
      tests/ref/fate/speedhq-422
  4. 6
      tests/ref/fate/speedhq-422-singlefield

@ -165,6 +165,7 @@ include $(SRC_PATH)/tests/fate/qtrle.mak
include $(SRC_PATH)/tests/fate/real.mak
include $(SRC_PATH)/tests/fate/screen.mak
include $(SRC_PATH)/tests/fate/source.mak
include $(SRC_PATH)/tests/fate/speedhq.mak
include $(SRC_PATH)/tests/fate/subtitles.mak
include $(SRC_PATH)/tests/fate/utvideo.mak
include $(SRC_PATH)/tests/fate/video.mak

@ -0,0 +1,8 @@
FATE_SPEEDHQ = fate-speedhq-422 \
fate-speedhq-422-singlefield
fate-speedhq-422: CMD = framecrc -flags +bitexact -f rawvideo -c:v speedhq -tag:v SHQ2 -video_size 112x64 -i $(TARGET_SAMPLES)/speedhq/progressive.shq2 -pix_fmt yuv422p
fate-speedhq-422-singlefield: CMD = framecrc -flags +bitexact -f rawvideo -c:v speedhq -tag:v SHQ2 -video_size 112x32 -i $(TARGET_SAMPLES)/speedhq/singlefield.shq2 -pix_fmt yuv422p
FATE_SAMPLES_FFMPEG-$(call DEMDEC, RAWVIDEO, SPEEDHQ) += $(FATE_SPEEDHQ)
fate-speedhq: $(FATE_SPEEDHQ)

@ -0,0 +1,6 @@
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 112x64
#sar 0: 0/1
0, 0, 0, 1, 14336, 0x9bb6dc6d

@ -0,0 +1,6 @@
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 112x32
#sar 0: 0/1
0, 0, 0, 1, 7168, 0x75de4109
Loading…
Cancel
Save