diff options
-rwxr-xr-x | tests/vsp-unit-test-0028.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/vsp-unit-test-0028.sh b/tests/vsp-unit-test-0028.sh index 23a4f41..5016e65 100755 --- a/tests/vsp-unit-test-0028.sh +++ b/tests/vsp-unit-test-0028.sh @@ -16,9 +16,10 @@ test_rwpf_csc() { local format=$2 local infmt=${format%-*} local outfmt=${format#*-} + local encoding=$3 local midfmt - test_start "$rwpf CSC $infmt -> $outfmt" + test_start "$rwpf CSC $infmt -> $outfmt ($encoding)" if [ $rwpf = 'RPF' ] ; then midfmt=$outfmt @@ -27,12 +28,12 @@ test_rwpf_csc() { fi pipe_configure rpf-wpf 0 0 - format_configure rpf-wpf 0 0 $infmt 1024x768 $outfmt --midfmt=$midfmt + format_configure rpf-wpf 0 0 $infmt 1024x768 $outfmt --midfmt=$midfmt --encoding=$encoding vsp_runner rpf.0 & vsp_runner wpf.0 - local result=$(compare_frames) + local result=$(compare_frames $rwpf-$encoding) test_complete $result } @@ -42,7 +43,9 @@ test_main() { for rwpf in RPF WPF ; do for format in $formats ; do - test_rwpf_csc $rwpf $format + for encoding in 601:lim-range 601:full-range 709:lim-range 709:full-range ; do + test_rwpf_csc $rwpf $format $encoding + done done done } |