Revision d0c30ca5

View differences:

tests/Makefile
1 1
#
2 2
# Makefile for tests
3
# (c) 2002 Gerard Lantau
3
# (c) 2002 Fabrice Bellard
4 4
#
5 5
include ../config.mak
6 6

  
tests/dsptest.c
1 1
/*
2 2
 * MMX optimized DSP utils
3
 * Copyright (c) 2000, 2001 Gerard Lantau.
3
 * Copyright (c) 2000, 2001, 2002 Fabrice Bellard.
4 4
 *
5
 * This program is free software; you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License as published by
7
 * the Free Software Foundation; either version 2 of the License, or
8
 * (at your option) any later version.
5
 * This library is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU Lesser General Public
7
 * License as published by the Free Software Foundation; either
8
 * version 2 of the License, or (at your option) any later version.
9 9
 *
10
 * This program is distributed in the hope that it will be useful,
10
 * This library is distributed in the hope that it will be useful,
11 11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13
 * Lesser General Public License for more details.
18 14
 *
15
 * You should have received a copy of the GNU Lesser General Public
16
 * License along with this library; if not, write to the Free Software
17
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19 18
 */
20

  
21 19
#define TESTCPU_MAIN
22 20
#include "dsputil.h"
23 21
//#include "../libavcodec/dsputil.c"
tests/libav.regression.ref
6 6
4508a1cbbe65a42e7da42b680b8ef7e5  /tmp/a-libav.rm
7 7
e5956eba346efaf8d485c8e595672f15  /tmp/a-libav.mpg
8 8
/tmp/a-libav.mpg CRC=917d4442
9
bb02e59ef519ef72bcfcfc0265ac2965  /tmp/a-libav.ffm
10
7a03394d82a1437a45143768b7544116  /tmp/a-libav.mjpeg
9
48a0f69d9dd53cac1b3881d1d05568f0  /tmp/a-libav.swf
10
/tmp/a-libav.swf CRC=f81e4afd
11
310f44e654eef2d1991828684990ceb0  /tmp/a-libav.ffm
12
/tmp/a-libav.ffm CRC=2c9e3e17
13
5db97638cbb4d8ac95cbd6cbe4db22b5  /tmp/a-libav.mjpeg
14
/tmp/a-libav.mjpeg CRC=394c0818
11 15
aff140ce80a1c86c1bf54118ad23da7b  /tmp/a-libav.pgmpipe
12 16
/tmp/a-libav.pgmpipe CRC=50151823
13 17
5f50d148d57d25a900a071a5c471df9e  /tmp/a-libav.ppmpipe
14 18
/tmp/a-libav.ppmpipe CRC=12f0c2c6
15 19
5f50d148d57d25a900a071a5c471df9e  /tmp/a-libav.gif
16
/tmp/a-libav%d.pgm CRC=50151823
17
/tmp/a-libav%d.ppm CRC=b24e0c74
20
/tmp/a-libav%d.pgm CRC=07f57a1a
21
/tmp/a-libav%d.ppm CRC=3261ce73
22
/tmp/a-libav%d.jpg CRC=b41cd20e
18 23
8854ea97f2d2172383941b001c69228b  /tmp/a-libav.wav
19 24
/tmp/a-libav.wav CRC=f1ae5536
20 25
8bce9c3758b0d38da2e0718b6ab57fb4  /tmp/a-libav.al
tests/regression.sh
175 175

  
176 176
# swf (decode audio only)
177 177
file=${outfile}libav.swf
178
# broken
179
#do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src $file
180
#do_ffmpeg_crc $file -i $file
178
do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src $file
179
do_ffmpeg_crc $file -i $file
181 180

  
182 181
# ffm
183 182
file=${outfile}libav.ffm
184 183
do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src $file
185
# broken
186
#do_ffmpeg_crc $file -i $file
184
do_ffmpeg_crc $file -i $file
187 185

  
188 186
# XXX: need mov and mpegts tests (add bitstreams or add output capability in ffmpeg)
189 187

  
......
192 190
# mjpeg
193 191
file=${outfile}libav.mjpeg
194 192
do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src $file
195
# broken
196
#do_ffmpeg_crc $file -i $file
193
do_ffmpeg_crc $file -i $file
197 194

  
198 195
# pgmpipe
199 196
file=${outfile}libav.pgmpipe
......
222 219
$ffmpeg -t 0.5 -y -qscale 10 -f pgmyuv -i $raw_src $file
223 220
do_ffmpeg_crc $file -i $file
224 221

  
222
# jpeg (we do not do md5 on image files yet)
223
file=${outfile}libav%d.jpg
224
$ffmpeg -t 0.5 -y -qscale 10 -f pgmyuv -i $raw_src $file
225
do_ffmpeg_crc $file -i $file
226

  
225 227
####################
226 228
# audio only
227 229

  

Also available in: Unified diff