X-Git-Url: https://git.ao2.it/experiments/gstreamer.git/blobdiff_plain/096f7c65165e513258f0305e128e8cd0d6d54b36..48c3acab5f86b4aab3f7a6d7decc5f3294bced54:/shell/gst-test-jpegdec.sh?ds=sidebyside diff --git a/shell/gst-test-jpegdec.sh b/shell/gst-test-jpegdec.sh index d478c77..6ec2954 100755 --- a/shell/gst-test-jpegdec.sh +++ b/shell/gst-test-jpegdec.sh @@ -18,11 +18,15 @@ else fi declare -A SAMPLINGS +# 4:1:0 is ambiguous, see https://blog.awm.jp/2016/02/10/yuv/ +SAMPLINGS["NORMAL_410"]="4x2,1x1,1x1" +SAMPLINGS["NORMAL_411"]="4x1,1x1,1x1" SAMPLINGS["NORMAL_420"]="2x2,1x1,1x1" SAMPLINGS["NORMAL_422"]="2x1,1x1,1x1" +SAMPLINGS["NORMAL_440"]="1x2,1x1,1x1" SAMPLINGS["NORMAL_444"]="1x1,1x1,1x1" SAMPLINGS["WEIRD_422"]="2x2,1x2,1x2" -SAMPLINGS["WEIRDER_422"]="2x2,2x1,2x1" +SAMPLINGS["WEIRD_440"]="2x2,2x1,2x1" for sampling in "${!SAMPLINGS[@]}"; do