projects
/
experiments
/
gstreamer.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
096f7c6
)
gst-test-jpegdec.sh: Add 4:1:0, 4:1:1 and 4:4:0 subsampling schemes
author
Antonio Ospite <ao2@ao2.it>
Mon, 8 Jan 2018 12:08:55 +0000
(13:08 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Mon, 8 Jan 2018 12:30:15 +0000
(13:30 +0100)
shell/gst-test-jpegdec.sh
patch
|
blob
|
history
diff --git
a/shell/gst-test-jpegdec.sh
b/shell/gst-test-jpegdec.sh
index
d478c77
..
6ec2954
100755
(executable)
--- a/
shell/gst-test-jpegdec.sh
+++ b/
shell/gst-test-jpegdec.sh
@@
-18,11
+18,15
@@
else
fi
declare -A SAMPLINGS
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_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["NORMAL_444"]="1x1,1x1,1x1"
SAMPLINGS["WEIRD_422"]="2x2,1x2,1x2"
-SAMPLINGS["WEIRD
ER_422
"]="2x2,2x1,2x1"
+SAMPLINGS["WEIRD
_440
"]="2x2,2x1,2x1"
for sampling in "${!SAMPLINGS[@]}";
do
for sampling in "${!SAMPLINGS[@]}";
do