diff options
author | Steinar H. Gunderson <steinar+ffmpeg@gunderson.no> | 2017-08-03 09:31:30 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-08-03 16:36:02 -0300 |
commit | 45ffe4645e682e0cd13a1c5c23de40dc1a00ff7c (patch) | |
tree | f3f1d5725daba9608e1d9c336c3850bd08064ec5 /tests | |
parent | effd2e7291a12760891289540f944d71ff32a1c8 (diff) | |
download | ffmpeg-45ffe4645e682e0cd13a1c5c23de40dc1a00ff7c.tar.gz |
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile | 1 | ||||
-rw-r--r-- | tests/fate/speedhq.mak | 8 | ||||
-rw-r--r-- | tests/ref/fate/speedhq-422 | 6 | ||||
-rw-r--r-- | tests/ref/fate/speedhq-422-singlefield | 6 |
4 files changed, 21 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile index ab83ae855d..30f05bec15 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -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 diff --git a/tests/fate/speedhq.mak b/tests/fate/speedhq.mak new file mode 100644 index 0000000000..32405b710f --- /dev/null +++ b/tests/fate/speedhq.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) diff --git a/tests/ref/fate/speedhq-422 b/tests/ref/fate/speedhq-422 new file mode 100644 index 0000000000..7bb0d2388d --- /dev/null +++ b/tests/ref/fate/speedhq-422 @@ -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 diff --git a/tests/ref/fate/speedhq-422-singlefield b/tests/ref/fate/speedhq-422-singlefield new file mode 100644 index 0000000000..343c52645c --- /dev/null +++ b/tests/ref/fate/speedhq-422-singlefield @@ -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 |