Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
d0c30ca5
Commit
d0c30ca5
authored
22 years ago
by
Fabrice Bellard
Browse files
Options
Downloads
Patches
Plain Diff
reactivated swf/mjpeg/jpg formats testing
Originally committed as revision 600 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ff4ec49e
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
tests/Makefile
+1
-1
1 addition, 1 deletion
tests/Makefile
tests/dsptest.c
+11
-13
11 additions, 13 deletions
tests/dsptest.c
tests/libav.regression.ref
+9
-4
9 additions, 4 deletions
tests/libav.regression.ref
tests/regression.sh
+9
-7
9 additions, 7 deletions
tests/regression.sh
with
30 additions
and
25 deletions
tests/Makefile
+
1
−
1
View file @
d0c30ca5
#
#
# Makefile for tests
# Makefile for tests
# (c) 2002
Gerard Lantau
# (c) 2002
Fabrice Bellard
#
#
include
../config.mak
include
../config.mak
...
...
This diff is collapsed.
Click to expand it.
tests/dsptest.c
+
11
−
13
View file @
d0c30ca5
/*
/*
* 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"
...
...
This diff is collapsed.
Click to expand it.
tests/libav.regression.ref
+
9
−
4
View file @
d0c30ca5
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
tests/regression.sh
+
9
−
7
View file @
d0c30ca5
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment