[encoder] Added 1/8th pel MV refinement
[schroedinger/research-port.git] / testsuite / streams / make_vts_streams
blobd3da9b29edc17d2acb7965bb7629031ac05689eb
1 #!/bin/dash
3 set -e
5 #export SCHRO_DUMP=1
6 #export SCHRO_DEBUG=5
7 #export G_SLICE=always_malloc
8 export SCHRO_MOTION_REF=1
10 encode() {
11 echo "ENCODING $testname with $schroopts"
12 gst-launch-0.10 \
13 videotestsrc num-buffers=15 ! \
14 timeoverlay ! \
15 cairotextoverlay text=$testname halign=left deltay=-100 ! \
16 ffmpegcolorspace ! \
17 video/x-raw-yuv,format=\(fourcc\)"$format",width=$width,height=$height,framerate=30/1 ! \
18 schroenc enable-md5=1 au_distance=30 $schroopts ! \
19 filesink location=vts.$testname.drc
22 width=320
23 height=240
24 format=I420
26 #testname="test"
27 #schroopts="rate-control=4 magic-lambda=0.01 enable-phasecorr-estimation=1"
28 #encode
29 #exit 0
31 testname="default"
32 schroopts=""
33 encode
36 # for testing java decoder
37 #testname="java"
38 #schroopts="noise-threshold=40 gop-structure=1 intra-wavelet=1 enable-noarith=1 transform-depth=4"
39 #encode
41 # gop structure
43 testname="intra-only"
44 schroopts="gop-structure=1"
45 encode
47 testname="backref"
48 schroopts="gop-structure=2"
49 encode
51 testname="biref"
52 schroopts="gop-structure=4"
53 encode
55 # noarith
57 testname="noarith"
58 schroopts="gop-structure=1 enable-noarith=1"
59 encode
61 # rate control
63 testname="CBR-250kb"
64 schroopts="rate-control=1 bitrate=250000"
65 encode
67 testname="CBR-500kb"
68 schroopts="rate-control=1 bitrate=500000"
69 encode
71 testname="CBR-1Mb"
72 schroopts="rate-control=1 bitrate=1000000"
73 encode
75 testname="CBR-2Mb"
76 schroopts="rate-control=1 bitrate=2000000"
77 encode
79 testname="LD-2Mb"
80 schroopts="rate-control=2 bitrate=2000000"
81 encode
83 testname="LD-4Mb"
84 schroopts="rate-control=2 bitrate=4000000"
85 encode
87 testname="LD-8Mb"
88 schroopts="rate-control=2 bitrate=8000000"
89 encode
91 testname="lossless"
92 schroopts="rate-control=3"
93 encode
95 testname="constant-lambda"
96 schroopts="rate-control=4"
97 encode
99 testname="constant-error"
100 schroopts="rate-control=5"
101 encode
103 # noise threshold
105 testname="10dB"
106 schroopts="noise-threshold=10"
107 encode
109 testname="20dB"
110 schroopts="noise-threshold=20"
111 encode
113 testname="30dB"
114 schroopts="noise-threshold=30"
115 encode
117 testname="40dB"
118 schroopts="noise-threshold=40"
119 encode
121 # perceptual weighting
123 testname="percep-none"
124 schroopts="perceptual-weighting=1"
125 encode
127 testname="percep-ccir959"
128 schroopts="perceptual-weighting=1"
129 encode
131 testname="percep-moo"
132 schroopts="perceptual-weighting=2"
133 encode
135 testname="percep-manos-sakrison"
136 schroopts="perceptual-weighting=3"
137 encode
139 # filtering
141 testname="cwm"
142 schroopts="filtering=1 filter-value=4"
143 encode
145 testname="gaussian"
146 schroopts="filtering=2 filter-value=5"
147 encode
149 testname="add-noise"
150 schroopts="filtering=3 filter-value=10"
151 encode
153 testname="adaptive-gaussian"
154 schroopts="filtering=4"
155 encode
157 # transform depth
159 testname="transform-0"
160 schroopts="transform-depth=0"
161 encode
163 testname="transform-1"
164 schroopts="transform-depth=1"
165 encode
167 testname="transform-2"
168 schroopts="transform-depth=2"
169 encode
171 testname="transform-3"
172 schroopts="transform-depth=3"
173 encode
175 testname="transform-4"
176 schroopts="transform-depth=4"
177 encode
179 # intra wavelet
181 for i in 0 1 2 3 4 5 6 ; do
182 testname="intra-wavelet-$i"
183 schroopts="gop-structure=1 intra-wavelet=$i"
184 encode
185 done
187 for i in 0 1 2 3 4 5 6 ; do
188 testname="inter-wavelet-$i"
189 schroopts="inter-wavelet=$i"
190 encode
191 done
193 for i in 0 1 2 3 ; do
194 testname="mv-precision-$i"
195 schroopts="mv-precision=$i"
196 encode
197 done
199 for i in 1 2 3 ; do
200 for j in 1 2 3 ; do
201 testname="MB-size-$i-overlap-$j"
202 schroopts="motion-block-size=$i motion-block-overlap=$j"
203 encode
204 done
205 done
207 # codeblocks
209 testname="dc-multiquant"
210 schroopts="enable-dc-multiquant=TRUE"
211 encode