4 # Test WPF packing in RGB mode. Use a RPF -> WPF pipeline with a fixed ARGB32
5 # format on the input and capture output frames in all RGB formats supported
11 features="rpf.0 wpf.0"
12 formats="RGB332 ARGB555 XRGB555 RGB565 BGR24 RGB24 ABGR32 ARGB32 XBGR32 XRGB32"
15 test_start "WPF packing in $format"
17 pipe_configure rpf-wpf 0 0 | ./logger.sh config >> $logfile
18 format_configure rpf-wpf 0 0 \
19 ARGB32 1024x768 $format | ./logger.sh config >> $logfile
21 $vsp_runner $mdev input 0 ARGB32 | ./logger.sh input.0 >> $logfile &
22 $vsp_runner $mdev output 0 $format | ./logger.sh output.0 >> $logfile
24 result=$(compare_frames exact reference $format 0)
30 for format in $formats ; do
31 test_wpf_packing $format
35 test_init $0 "$features"