2017-03-19 13:48:32 +00:00
|
|
|
FATE_LIBSWSCALE += fate-sws-pixdesc-query
|
|
|
|
fate-sws-pixdesc-query: libswscale/tests/pixdesc_query$(EXESUF)
|
2019-04-18 01:24:35 +00:00
|
|
|
fate-sws-pixdesc-query: CMD = run libswscale/tests/pixdesc_query$(EXESUF)
|
2017-03-19 13:48:32 +00:00
|
|
|
|
2020-09-29 03:44:33 +00:00
|
|
|
FATE_LIBSWSCALE += fate-sws-floatimg-cmp
|
|
|
|
fate-sws-floatimg-cmp: libswscale/tests/floatimg_cmp$(EXESUF)
|
|
|
|
fate-sws-floatimg-cmp: CMD = run libswscale/tests/floatimg_cmp$(EXESUF)
|
|
|
|
|
2021-07-06 07:47:45 +00:00
|
|
|
SWS_SLICE_TEST-$(call DEMDEC, MATROSKA, VP9) += fate-sws-slice-yuv422-12bit-rgb48
|
|
|
|
fate-sws-slice-yuv422-12bit-rgb48: CMD = run tools/scale_slice_test$(EXESUF) $(TARGET_SAMPLES)/vp9-test-vectors/vp93-2-20-12bit-yuv422.webm 150 100 rgb48
|
|
|
|
|
|
|
|
SWS_SLICE_TEST-$(call DEMDEC, IMAGE_BMP_PIPE, BMP) += fate-sws-slice-bgr0-nv12
|
|
|
|
fate-sws-slice-bgr0-nv12: CMD = run tools/scale_slice_test$(EXESUF) $(TARGET_SAMPLES)/bmp/test32bf.bmp 32 64 nv12
|
|
|
|
|
|
|
|
fate-sws-slice: $(SWS_SLICE_TEST-yes)
|
|
|
|
$(SWS_SLICE_TEST-yes): tools/scale_slice_test$(EXESUF)
|
|
|
|
$(SWS_SLICE_TEST-yes): REF = /dev/null
|
2021-12-31 17:15:29 +00:00
|
|
|
FATE_LIBSWSCALE_SAMPLES += $(SWS_SLICE_TEST-yes)
|
2021-07-06 07:47:45 +00:00
|
|
|
|
2024-03-30 21:05:20 +00:00
|
|
|
FATE_LIBSWSCALE_FFMPEG-$(call FRAMECRC, RAWVIDEO, RAWVIDEO, SCALE_FILTER) += fate-sws-yuv-colorspace \
|
|
|
|
fate-sws-yuv-range
|
2022-02-18 12:35:31 +00:00
|
|
|
fate-sws-yuv-colorspace: tests/data/vsynth1.yuv
|
|
|
|
fate-sws-yuv-colorspace: CMD = framecrc \
|
|
|
|
-f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth1.yuv \
|
|
|
|
-frames 1 \
|
|
|
|
-vf scale=in_color_matrix=bt709:in_range=limited:out_color_matrix=bt601:out_range=full:flags=+accurate_rnd+bitexact
|
|
|
|
|
|
|
|
fate-sws-yuv-range: tests/data/vsynth1.yuv
|
|
|
|
fate-sws-yuv-range: CMD = framecrc \
|
|
|
|
-f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth1.yuv \
|
|
|
|
-frames 1 \
|
|
|
|
-vf scale=in_color_matrix=bt601:in_range=limited:out_color_matrix=bt601:out_range=full:flags=+accurate_rnd+bitexact
|
|
|
|
|
2017-03-19 13:48:32 +00:00
|
|
|
FATE_LIBSWSCALE += $(FATE_LIBSWSCALE-yes)
|
2021-12-31 17:15:29 +00:00
|
|
|
FATE_LIBSWSCALE_SAMPLES += $(FATE_LIBSWSCALE_SAMPLES-yes)
|
2017-03-19 13:48:32 +00:00
|
|
|
FATE-$(CONFIG_SWSCALE) += $(FATE_LIBSWSCALE)
|
2024-03-30 21:05:20 +00:00
|
|
|
FATE_FFMPEG += $(FATE_LIBSWSCALE_FFMPEG-yes)
|
2021-12-31 17:15:29 +00:00
|
|
|
FATE_EXTERN-$(CONFIG_SWSCALE) += $(FATE_LIBSWSCALE_SAMPLES)
|
2024-03-30 21:05:20 +00:00
|
|
|
fate-libswscale: $(FATE_LIBSWSCALE) $(FATE_LIBSWSCALE_SAMPLES) $(FATE_LIBSWSCALE_FFMPEG-yes)
|