Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
d13eef3d
Commit
d13eef3d
authored
Apr 03, 2005
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
snow regression test
Originally committed as revision 4100 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
589f8220
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
1 deletion
+37
-1
Makefile
tests/Makefile
+1
-1
ffmpeg.regression.ref
tests/ffmpeg.regression.ref
+8
-0
regression.sh
tests/regression.sh
+20
-0
rotozoom.regression.ref
tests/rotozoom.regression.ref
+8
-0
No files found.
tests/Makefile
View file @
d13eef3d
...
...
@@ -21,7 +21,7 @@ test-server: vsynth1/0.pgm asynth1.sw
@
$(SRC_PATH)
/tests/server-regression.sh
$(SERVER_REFFILE)
$(SRC_PATH)
/tests/test.conf
# fast regression tests for all codecs
codectest mpeg4 mpeg ac3
:
vsynth1/0.pgm vsynth2/0.pgm asynth1.sw tiny_psnr
codectest mpeg4 mpeg ac3
snow
:
vsynth1/0.pgm vsynth2/0.pgm asynth1.sw tiny_psnr
@
$(SRC_PATH)
/tests/regression.sh
$@
$(REFFILE1)
vsynth1
@
$(SRC_PATH)
/tests/regression.sh
$@
$(REFFILE2)
vsynth2
...
...
tests/ffmpeg.regression.ref
View file @
d13eef3d
...
...
@@ -119,6 +119,14 @@ a7ef4746f27be309138c188e327d3ebe *./data/a-ffv1.avi
2653642 ./data/a-ffv1.avi
799d3db687f6cdd7a837ec156efc171f *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
ba3d08fe9c54acb58cb72e02476849d7 *./data/a-snow.avi
1280600 ./data/a-snow.avi
e4b8c83278efee032a84569c25593937 *./data/out.yuv
stddev: 2.92 PSNR:38.79 bytes:7602176
bf75e55f91bbc67c3efeaa023aae99d0 *./data/a-snow53.avi
3555724 ./data/a-snow53.avi
b8c0eea1938575abf0ae8bfb0bec7b92 *./data/out.yuv
stddev: 0.14 PSNR:64.73 bytes:7602176
b5b6275f58f012de73644bbaa9080097 *./data/a-svq1.mov
1383999 ./data/a-svq1.mov
ccc201054669e94717022bb4f2aea4ce *./data/out.yuv
...
...
tests/regression.sh
View file @
d13eef3d
...
...
@@ -36,6 +36,8 @@ elif [ "$1" = "huffyuv" ] ; then
do_huffyuv
=
y
elif
[
"
$1
"
=
"mpeg2thread"
]
;
then
do_mpeg2thread
=
y
elif
[
"
$1
"
=
"snow"
]
;
then
do_snow
=
y
elif
[
"
$1
"
=
"libavtest"
]
;
then
do_libav
=
y
logfile
=
"
$datadir
/libav.regression"
...
...
@@ -73,6 +75,7 @@ else
do_ffv1
=
y
do_error
=
y
do_svq1
=
y
do_snow
=
y
fi
...
...
@@ -440,6 +443,23 @@ do_ffmpeg $file -y -strict -1 -f pgmyuv -i $raw_src -an -vcodec ffv1 $file
do_ffmpeg
$raw_dst
-y
-i
$file
-f
rawvideo
$raw_dst
fi
###################################
if
[
-n
"
$do_snow
"
]
;
then
# snow encoding
file
=
${
outfile
}
snow.avi
do_ffmpeg
$file
-y
-strict
-1
-f
pgmyuv
-i
$raw_src
-an
-vcodec
snow
-qscale
2
$file
# snow decoding
do_ffmpeg
$raw_dst
-y
-i
$file
-f
rawvideo
$raw_dst
# snow encoding
file
=
${
outfile
}
snow53.avi
do_ffmpeg
$file
-y
-strict
-1
-f
pgmyuv
-i
$raw_src
-an
-vcodec
snow
-pred
1
-qpel
-4mv
$file
# snow decoding
do_ffmpeg
$raw_dst
-y
-i
$file
-f
rawvideo
$raw_dst
fi
###################################
if
[
-n
"
$do_svq1
"
]
;
then
# svq1 encoding
...
...
tests/rotozoom.regression.ref
View file @
d13eef3d
...
...
@@ -119,6 +119,14 @@ d0831a8339491fd680b650f05262e5d9 *./data/a-ffv1.avi
3524768 ./data/a-ffv1.avi
dde5895817ad9d219f79a52d0bdfb001 *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
440794294cc44c4cb25e32b947ba3311 *./data/a-snow.avi
332700 ./data/a-snow.avi
1f3439e1b3ff09492f196a024d7119e3 *./data/out.yuv
stddev: 2.37 PSNR:40.60 bytes:7602176
d20607f4f75a7638e6c73e701c4b1fd3 *./data/a-snow53.avi
2727012 ./data/a-snow53.avi
b0d84bc6d6722d9ff5c9680358b97ab3 *./data/out.yuv
stddev: 0.10 PSNR:67.58 bytes:7602176
920c610ec324b772d882b0717e375943 *./data/a-svq1.mov
768683 ./data/a-svq1.mov
89b1946242e6998e05fc9a6e09668edd *./data/out.yuv
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment