Revision 16dd93ab

View differences:

tests/ffmpeg.regression.ref
126 126
21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
127 127
95712 ./data/a-mp2.mp2
128 128
91ab1b253cd360037d3fca67b795aba8 *./data/out.wav
129
1055276 ./data/out.wav
129
stddev:117.02 PSNR: 6.75 bytes:1054720
130 130
d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm
131 131
97983 ./data/a-ac3.rm
132 132
2d081e0e1f2e9bd4514e9ac8ec41884c *./data/a-g726.wav
133 133
24268 ./data/a-g726.wav
134 134
a719ab6d47d8d601520edb13bf6136b4 *./data/out.wav
135
96940 ./data/out.wav
135
stddev:134.28 PSNR: 5.56 bytes:96256
136 136
bdc512b78e2ccb1d815aec08794650eb *./data/a-adpcm_ima.wav
137 137
266288 ./data/a-adpcm_ima.wav
138 138
1316b03da3bdc8df9785c7995e3c9b2a *./data/out.wav
139
1056684 ./data/out.wav
139
stddev:129.55 PSNR: 5.87 bytes:1054720
140 140
d2eee867856d2bdb6d08e936d4ceec0c *./data/a-adpcm_ms.wav
141 141
267308 ./data/a-adpcm_ms.wav
142 142
91a84bb4f319a3a0bf0c0441b3d3a529 *./data/out.wav
143
1056572 ./data/out.wav
143
stddev: 73.79 PSNR:10.76 bytes:1054720
tests/regression.sh
86 86
raw_ref="$datadir/ref.yuv"
87 87
pcm_src="asynth1.sw"
88 88
pcm_dst="$datadir/out.wav"
89
pcm_ref="$datadir/ref.wav"
89 90
if [ X"`echo | md5sum 2> /dev/null`" != X ]; then
90 91
    do_md5sum() { md5sum -b $1; }
91 92
elif [ -x /sbin/md5 ]; then
......
108 109
    do_md5sum $f >> $logfile
109 110
    if [ $f = $raw_dst ] ; then
110 111
        $tiny_psnr $f $raw_ref >> $logfile
112
    elif [ $f = $pcm_dst ] ; then
113
        $tiny_psnr $f $pcm_ref >> $logfile
111 114
    else
112 115
        wc -c $f >> $logfile
113 116
    fi
......
144 147
###################################
145 148
# generate reference for quality check
146 149
do_ffmpeg_nocheck $raw_ref -y -f pgmyuv -i $raw_src -an -f rawvideo $raw_ref
150
do_ffmpeg_nocheck $pcm_ref -y -ab 128 -ac 2 -ar 44100 -f s16le -i $pcm_src -f wav $pcm_ref
147 151

  
148 152
###################################
149 153
if [ -n "$do_mpeg" ] ; then
tests/rotozoom.regression.ref
126 126
21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
127 127
95712 ./data/a-mp2.mp2
128 128
91ab1b253cd360037d3fca67b795aba8 *./data/out.wav
129
1055276 ./data/out.wav
129
stddev:117.02 PSNR: 6.75 bytes:1054720
130 130
d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm
131 131
97983 ./data/a-ac3.rm
132 132
2d081e0e1f2e9bd4514e9ac8ec41884c *./data/a-g726.wav
133 133
24268 ./data/a-g726.wav
134 134
a719ab6d47d8d601520edb13bf6136b4 *./data/out.wav
135
96940 ./data/out.wav
135
stddev:134.28 PSNR: 5.56 bytes:96256
136 136
bdc512b78e2ccb1d815aec08794650eb *./data/a-adpcm_ima.wav
137 137
266288 ./data/a-adpcm_ima.wav
138 138
1316b03da3bdc8df9785c7995e3c9b2a *./data/out.wav
139
1056684 ./data/out.wav
139
stddev:129.55 PSNR: 5.87 bytes:1054720
140 140
d2eee867856d2bdb6d08e936d4ceec0c *./data/a-adpcm_ms.wav
141 141
267308 ./data/a-adpcm_ms.wav
142 142
91a84bb4f319a3a0bf0c0441b3d3a529 *./data/out.wav
143
1056572 ./data/out.wav
143
stddev: 73.79 PSNR:10.76 bytes:1054720

Also available in: Unified diff