Commit 499f43ae authored by Martin Storsjö's avatar Martin Storsjö

fate: hevc: Skip a few large testcases if large tests are disabled

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 02b74bd7
...@@ -160,6 +160,8 @@ HEVC_SAMPLES_422_10BIT = \ ...@@ -160,6 +160,8 @@ HEVC_SAMPLES_422_10BIT = \
HEVC_SAMPLES_422_10BIN = \ HEVC_SAMPLES_422_10BIN = \
Main_422_10_A_RExt_Sony_1 \ Main_422_10_A_RExt_Sony_1 \
HEVC_SAMPLES_422_10BIN_LARGE = \
Main_422_10_B_RExt_Sony_1 \ Main_422_10_B_RExt_Sony_1 \
HEVC_SAMPLES_444_8BIT = \ HEVC_SAMPLES_444_8BIT = \
...@@ -169,6 +171,8 @@ HEVC_SAMPLES_444_12BIT = \ ...@@ -169,6 +171,8 @@ HEVC_SAMPLES_444_12BIT = \
IPCM_B_RExt_NEC \ IPCM_B_RExt_NEC \
PERSIST_RPARAM_A_RExt_Sony_1\ PERSIST_RPARAM_A_RExt_Sony_1\
PERSIST_RPARAM_A_RExt_Sony_3\ PERSIST_RPARAM_A_RExt_Sony_3\
HEVC_SAMPLES_444_12BIT_LARGE = \
SAO_A_RExt_MediaTek_1 \ SAO_A_RExt_MediaTek_1 \
...@@ -206,6 +210,11 @@ FATE_HEVC += fate-hevc-conformance-$(1) ...@@ -206,6 +210,11 @@ FATE_HEVC += fate-hevc-conformance-$(1)
fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bin -pix_fmt yuv422p10le fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bin -pix_fmt yuv422p10le
endef endef
define FATE_HEVC_TEST_422_10BIN_LARGE
FATE_HEVC_LARGE += fate-hevc-conformance-$(1)
fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bin -pix_fmt yuv422p10le
endef
define FATE_HEVC_TEST_444_8BIT define FATE_HEVC_TEST_444_8BIT
FATE_HEVC += fate-hevc-conformance-$(1) FATE_HEVC += fate-hevc-conformance-$(1)
fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv444p fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv444p
...@@ -216,15 +225,22 @@ FATE_HEVC += fate-hevc-conformance-$(1) ...@@ -216,15 +225,22 @@ FATE_HEVC += fate-hevc-conformance-$(1)
fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv444p12le fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv444p12le
endef endef
define FATE_HEVC_TEST_444_12BIT_LARGE
FATE_HEVC_LARGE += fate-hevc-conformance-$(1)
fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv444p12le
endef
$(foreach N,$(HEVC_SAMPLES),$(eval $(call FATE_HEVC_TEST,$(N)))) $(foreach N,$(HEVC_SAMPLES),$(eval $(call FATE_HEVC_TEST,$(N))))
$(foreach N,$(HEVC_SAMPLES_10BIT),$(eval $(call FATE_HEVC_TEST_10BIT,$(N)))) $(foreach N,$(HEVC_SAMPLES_10BIT),$(eval $(call FATE_HEVC_TEST_10BIT,$(N))))
$(foreach N,$(HEVC_SAMPLES_422_10BIT),$(eval $(call FATE_HEVC_TEST_422_10BIT,$(N)))) $(foreach N,$(HEVC_SAMPLES_422_10BIT),$(eval $(call FATE_HEVC_TEST_422_10BIT,$(N))))
$(foreach N,$(HEVC_SAMPLES_422_10BIN),$(eval $(call FATE_HEVC_TEST_422_10BIN,$(N)))) $(foreach N,$(HEVC_SAMPLES_422_10BIN),$(eval $(call FATE_HEVC_TEST_422_10BIN,$(N))))
$(foreach N,$(HEVC_SAMPLES_422_10BIN_LARGE),$(eval $(call FATE_HEVC_TEST_422_10BIN_LARGE,$(N))))
$(foreach N,$(HEVC_SAMPLES_444_8BIT),$(eval $(call FATE_HEVC_TEST_444_8BIT,$(N)))) $(foreach N,$(HEVC_SAMPLES_444_8BIT),$(eval $(call FATE_HEVC_TEST_444_8BIT,$(N))))
$(foreach N,$(HEVC_SAMPLES_444_12BIT),$(eval $(call FATE_HEVC_TEST_444_12BIT,$(N)))) $(foreach N,$(HEVC_SAMPLES_444_12BIT),$(eval $(call FATE_HEVC_TEST_444_12BIT,$(N))))
$(foreach N,$(HEVC_SAMPLES_444_12BIT_LARGE),$(eval $(call FATE_HEVC_TEST_444_12BIT_LARGE,$(N))))
fate-hevc-paramchange-yuv420p-yuv420p10: CMD = framecrc -vsync 0 -i $(TARGET_SAMPLES)/hevc/paramchange_yuv420p_yuv420p10.hevc -sws_flags area+accurate_rnd+bitexact fate-hevc-paramchange-yuv420p-yuv420p10: CMD = framecrc -vsync 0 -i $(TARGET_SAMPLES)/hevc/paramchange_yuv420p_yuv420p10.hevc -sws_flags area+accurate_rnd+bitexact
FATE_HEVC += fate-hevc-paramchange-yuv420p-yuv420p10 FATE_HEVC_LARGE += fate-hevc-paramchange-yuv420p-yuv420p10
tests/data/hevc-mp4.mov: TAG = GEN tests/data/hevc-mp4.mov: TAG = GEN
tests/data/hevc-mp4.mov: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data tests/data/hevc-mp4.mov: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
...@@ -241,6 +257,7 @@ fate-hevc-skiploopfilter: CMD = framemd5 -skip_loop_filter nokey -i $(TARGET_SAM ...@@ -241,6 +257,7 @@ fate-hevc-skiploopfilter: CMD = framemd5 -skip_loop_filter nokey -i $(TARGET_SAM
FATE_HEVC += fate-hevc-skiploopfilter FATE_HEVC += fate-hevc-skiploopfilter
FATE_HEVC-$(call DEMDEC, HEVC, HEVC) += $(FATE_HEVC) FATE_HEVC-$(call DEMDEC, HEVC, HEVC) += $(FATE_HEVC)
FATE_HEVC-$(call ALLYES, HEVC_DEMUXER HEVC_DECODER LARGE_TESTS) += $(FATE_HEVC_LARGE)
# this sample has two stsd entries and needs to reload extradata # this sample has two stsd entries and needs to reload extradata
FATE_HEVC-$(call DEMDEC, MOV, HEVC) += fate-hevc-extradata-reload FATE_HEVC-$(call DEMDEC, MOV, HEVC) += fate-hevc-extradata-reload
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment