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
6e2d5f1a
Commit
6e2d5f1a
authored
Oct 25, 2002
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regression test for H263+
Originally committed as revision 1070 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
945eeee1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
mpegvideo.c
libavcodec/mpegvideo.c
+1
-2
ffmpeg.regression.ref
tests/ffmpeg.regression.ref
+2
-0
regression.sh
tests/regression.sh
+11
-0
No files found.
libavcodec/mpegvideo.c
View file @
6e2d5f1a
...
...
@@ -361,8 +361,7 @@ int MPV_common_init(MpegEncContext *s)
/* 4mv b frame decoding table */
//note this is needed for h263 without b frames too (segfault on damaged streams otherwise)
CHECKED_ALLOCZ
(
s
->
co_located_type_table
,
s
->
mb_num
*
sizeof
(
UINT8
))
if
(
s
->
h263_pred
||
s
->
h263_plus
)
{
if
(
s
->
out_format
==
FMT_H263
)
{
/* ac values */
CHECKED_ALLOCZ
(
s
->
ac_val
[
0
],
yc_size
*
sizeof
(
INT16
)
*
16
);
s
->
ac_val
[
1
]
=
s
->
ac_val
[
0
]
+
y_size
;
...
...
tests/ffmpeg.regression.ref
View file @
6e2d5f1a
...
...
@@ -9,6 +9,8 @@ ffmpeg regression test
3ed8e11a8a8147c3e7d736593fccae79 *./data/out.yuv
abe11239875a32f00fa2910828bba4fb *./data/a-h263.avi
c1f6c8ee7a24d8345deddf1a24ca3756 *./data/out.yuv
f022e9efcc88abcce80cc25232bc1cb1 *./data/a-h263p.avi
d53012811b639e12a88476f2c82de0ca *./data/out.yuv
8e41ac530894eaf3ecdb583d6d66c392 *./data/a-odivx.avi
bf3be8fb78a9ca91dd6b252d48ce59bb *./data/out.yuv
850ba6da4c9dad60b6719b0b06b204de *./data/a-mpeg4-rc.avi
...
...
tests/regression.sh
View file @
6e2d5f1a
...
...
@@ -24,6 +24,7 @@ else
do_msmpeg4
=
y
do_wmv1
=
y
do_h263
=
y
do_h263p
=
y
do_mpeg4
=
y
do_mjpeg
=
y
do_rv10
=
y
...
...
@@ -121,6 +122,16 @@ if [ -n "$do_h263" ] ; then
file
=
${
outfile
}
h263.avi
do_ffmpeg
$file
-y
-qscale
10
-f
pgmyuv
-i
$raw_src
-s
352x288
-an
-vcodec
h263
$file
# h263 decoding
do_ffmpeg
$raw_dst
-y
-i
$file
-f
rawvideo
$raw_dst
fi
###################################
if
[
-n
"
$do_h263p
"
]
;
then
# h263p encoding
file
=
${
outfile
}
h263p.avi
do_ffmpeg
$file
-y
-qscale
10
-f
pgmyuv
-i
$raw_src
-s
352x288
-an
-vcodec
h263p
-ps
1000
$file
# h263p decoding
do_ffmpeg
$raw_dst
-y
-i
$file
-f
rawvideo
$raw_dst
fi
...
...
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