Commit d0c30ca5 authored by Fabrice Bellard's avatar Fabrice Bellard

reactivated swf/mjpeg/jpg formats testing

Originally committed as revision 600 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ff4ec49e
# #
# Makefile for tests # Makefile for tests
# (c) 2002 Gerard Lantau # (c) 2002 Fabrice Bellard
# #
include ../config.mak include ../config.mak
......
/* /*
* MMX optimized DSP utils * MMX optimized DSP utils
* Copyright (c) 2000, 2001 Gerard Lantau. * Copyright (c) 2000, 2001, 2002 Fabrice Bellard.
* *
* This program is free software; you can redistribute it and/or modify * This library is free software; you can redistribute it and/or
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation; either version 2 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2 of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* GNU General Public License for more details. * Lesser General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#define TESTCPU_MAIN #define TESTCPU_MAIN
#include "dsputil.h" #include "dsputil.h"
//#include "../libavcodec/dsputil.c" //#include "../libavcodec/dsputil.c"
......
...@@ -6,15 +6,20 @@ ef90f12bc797e5e5a1b861842337ea07 /tmp/a-libav.avi ...@@ -6,15 +6,20 @@ ef90f12bc797e5e5a1b861842337ea07 /tmp/a-libav.avi
4508a1cbbe65a42e7da42b680b8ef7e5 /tmp/a-libav.rm 4508a1cbbe65a42e7da42b680b8ef7e5 /tmp/a-libav.rm
e5956eba346efaf8d485c8e595672f15 /tmp/a-libav.mpg e5956eba346efaf8d485c8e595672f15 /tmp/a-libav.mpg
/tmp/a-libav.mpg CRC=917d4442 /tmp/a-libav.mpg CRC=917d4442
bb02e59ef519ef72bcfcfc0265ac2965 /tmp/a-libav.ffm 48a0f69d9dd53cac1b3881d1d05568f0 /tmp/a-libav.swf
7a03394d82a1437a45143768b7544116 /tmp/a-libav.mjpeg /tmp/a-libav.swf CRC=f81e4afd
310f44e654eef2d1991828684990ceb0 /tmp/a-libav.ffm
/tmp/a-libav.ffm CRC=2c9e3e17
5db97638cbb4d8ac95cbd6cbe4db22b5 /tmp/a-libav.mjpeg
/tmp/a-libav.mjpeg CRC=394c0818
aff140ce80a1c86c1bf54118ad23da7b /tmp/a-libav.pgmpipe aff140ce80a1c86c1bf54118ad23da7b /tmp/a-libav.pgmpipe
/tmp/a-libav.pgmpipe CRC=50151823 /tmp/a-libav.pgmpipe CRC=50151823
5f50d148d57d25a900a071a5c471df9e /tmp/a-libav.ppmpipe 5f50d148d57d25a900a071a5c471df9e /tmp/a-libav.ppmpipe
/tmp/a-libav.ppmpipe CRC=12f0c2c6 /tmp/a-libav.ppmpipe CRC=12f0c2c6
5f50d148d57d25a900a071a5c471df9e /tmp/a-libav.gif 5f50d148d57d25a900a071a5c471df9e /tmp/a-libav.gif
/tmp/a-libav%d.pgm CRC=50151823 /tmp/a-libav%d.pgm CRC=07f57a1a
/tmp/a-libav%d.ppm CRC=b24e0c74 /tmp/a-libav%d.ppm CRC=3261ce73
/tmp/a-libav%d.jpg CRC=b41cd20e
8854ea97f2d2172383941b001c69228b /tmp/a-libav.wav 8854ea97f2d2172383941b001c69228b /tmp/a-libav.wav
/tmp/a-libav.wav CRC=f1ae5536 /tmp/a-libav.wav CRC=f1ae5536
8bce9c3758b0d38da2e0718b6ab57fb4 /tmp/a-libav.al 8bce9c3758b0d38da2e0718b6ab57fb4 /tmp/a-libav.al
......
...@@ -175,15 +175,13 @@ do_ffmpeg_crc $file -i $file ...@@ -175,15 +175,13 @@ do_ffmpeg_crc $file -i $file
# swf (decode audio only) # swf (decode audio only)
file=${outfile}libav.swf file=${outfile}libav.swf
# broken do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src $file
#do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src $file do_ffmpeg_crc $file -i $file
#do_ffmpeg_crc $file -i $file
# ffm # ffm
file=${outfile}libav.ffm file=${outfile}libav.ffm
do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src $file do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src $file
# broken do_ffmpeg_crc $file -i $file
#do_ffmpeg_crc $file -i $file
# XXX: need mov and mpegts tests (add bitstreams or add output capability in ffmpeg) # XXX: need mov and mpegts tests (add bitstreams or add output capability in ffmpeg)
...@@ -192,8 +190,7 @@ do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src $f ...@@ -192,8 +190,7 @@ do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src $f
# mjpeg # mjpeg
file=${outfile}libav.mjpeg file=${outfile}libav.mjpeg
do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src $file do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src $file
# broken do_ffmpeg_crc $file -i $file
#do_ffmpeg_crc $file -i $file
# pgmpipe # pgmpipe
file=${outfile}libav.pgmpipe file=${outfile}libav.pgmpipe
...@@ -222,6 +219,11 @@ file=${outfile}libav%d.ppm ...@@ -222,6 +219,11 @@ file=${outfile}libav%d.ppm
$ffmpeg -t 0.5 -y -qscale 10 -f pgmyuv -i $raw_src $file $ffmpeg -t 0.5 -y -qscale 10 -f pgmyuv -i $raw_src $file
do_ffmpeg_crc $file -i $file do_ffmpeg_crc $file -i $file
# jpeg (we do not do md5 on image files yet)
file=${outfile}libav%d.jpg
$ffmpeg -t 0.5 -y -qscale 10 -f pgmyuv -i $raw_src $file
do_ffmpeg_crc $file -i $file
#################### ####################
# audio only # audio only
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment