2 # SPDX-License-Identifier: GPL-2.0-or-later
3 # SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
6 # Test downscaling and upscaling in RGB and YUV modes. Use a RPF -> UDS -> WPF
7 # pipeline with identical input and output formats.
12 features="rpf.0 uds wpf.0"
13 formats="RGB24 YUV444M"
20 test_start "scaling from $insize to $outsize in $format"
22 pipe_configure rpf-uds
23 format_configure rpf-uds $format $insize $format $outsize
28 local result=$(compare_frames)
36 for format in $formats ; do
37 test_scale $format 640x640 640x480
38 test_scale $format 1024x768 640x480
39 test_scale $format 640x480 1024x768
43 test_init $0 "$features"