1cabdff1aSopenharmony_ciFATE_LIBSWSCALE += fate-sws-pixdesc-query
2cabdff1aSopenharmony_cifate-sws-pixdesc-query: libswscale/tests/pixdesc_query$(EXESUF)
3cabdff1aSopenharmony_cifate-sws-pixdesc-query: CMD = run libswscale/tests/pixdesc_query$(EXESUF)
4cabdff1aSopenharmony_ci
5cabdff1aSopenharmony_ciFATE_LIBSWSCALE += fate-sws-floatimg-cmp
6cabdff1aSopenharmony_cifate-sws-floatimg-cmp: libswscale/tests/floatimg_cmp$(EXESUF)
7cabdff1aSopenharmony_cifate-sws-floatimg-cmp: CMD = run libswscale/tests/floatimg_cmp$(EXESUF)
8cabdff1aSopenharmony_ci
9cabdff1aSopenharmony_ciSWS_SLICE_TEST-$(call DEMDEC, MATROSKA, VP9) += fate-sws-slice-yuv422-12bit-rgb48
10cabdff1aSopenharmony_cifate-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
11cabdff1aSopenharmony_ci
12cabdff1aSopenharmony_ciSWS_SLICE_TEST-$(call DEMDEC, IMAGE_BMP_PIPE, BMP) += fate-sws-slice-bgr0-nv12
13cabdff1aSopenharmony_cifate-sws-slice-bgr0-nv12: CMD = run tools/scale_slice_test$(EXESUF) $(TARGET_SAMPLES)/bmp/test32bf.bmp 32 64 nv12
14cabdff1aSopenharmony_ci
15cabdff1aSopenharmony_cifate-sws-slice: $(SWS_SLICE_TEST-yes)
16cabdff1aSopenharmony_ci$(SWS_SLICE_TEST-yes): tools/scale_slice_test$(EXESUF)
17cabdff1aSopenharmony_ci$(SWS_SLICE_TEST-yes): REF = /dev/null
18cabdff1aSopenharmony_ciFATE_LIBSWSCALE_SAMPLES += $(SWS_SLICE_TEST-yes)
19cabdff1aSopenharmony_ci
20cabdff1aSopenharmony_ciFATE_LIBSWSCALE-$(CONFIG_RAWVIDEO_DEMUXER) += fate-sws-yuv-colorspace
21cabdff1aSopenharmony_cifate-sws-yuv-colorspace: tests/data/vsynth1.yuv
22cabdff1aSopenharmony_cifate-sws-yuv-colorspace: ffmpeg$(PROGSSUF)$(EXESUF)
23cabdff1aSopenharmony_cifate-sws-yuv-colorspace: CMD = framecrc \
24cabdff1aSopenharmony_ci  -f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth1.yuv \
25cabdff1aSopenharmony_ci  -frames 1 \
26cabdff1aSopenharmony_ci  -vf scale=in_color_matrix=bt709:in_range=limited:out_color_matrix=bt601:out_range=full:flags=+accurate_rnd+bitexact
27cabdff1aSopenharmony_ci
28cabdff1aSopenharmony_ciFATE_LIBSWSCALE-$(CONFIG_RAWVIDEO_DEMUXER) += fate-sws-yuv-range
29cabdff1aSopenharmony_cifate-sws-yuv-range: tests/data/vsynth1.yuv
30cabdff1aSopenharmony_cifate-sws-yuv-range: ffmpeg$(PROGSSUF)$(EXESUF)
31cabdff1aSopenharmony_cifate-sws-yuv-range: CMD = framecrc \
32cabdff1aSopenharmony_ci  -f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth1.yuv \
33cabdff1aSopenharmony_ci  -frames 1 \
34cabdff1aSopenharmony_ci  -vf scale=in_color_matrix=bt601:in_range=limited:out_color_matrix=bt601:out_range=full:flags=+accurate_rnd+bitexact
35cabdff1aSopenharmony_ci
36cabdff1aSopenharmony_ciFATE_LIBSWSCALE += $(FATE_LIBSWSCALE-yes)
37cabdff1aSopenharmony_ciFATE_LIBSWSCALE_SAMPLES += $(FATE_LIBSWSCALE_SAMPLES-yes)
38cabdff1aSopenharmony_ciFATE-$(CONFIG_SWSCALE) += $(FATE_LIBSWSCALE)
39cabdff1aSopenharmony_ciFATE_EXTERN-$(CONFIG_SWSCALE) += $(FATE_LIBSWSCALE_SAMPLES)
40cabdff1aSopenharmony_cifate-libswscale: $(FATE_LIBSWSCALE) $(FATE_LIBSWSCALE_SAMPLES)
41