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