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
5bd12d12
Commit
5bd12d12
authored
May 18, 2002
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improved mpeg1/2 decoding speed
Originally committed as revision 517 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
44f27b3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
mpeg12.c
libavcodec/mpeg12.c
+6
-0
No files found.
libavcodec/mpeg12.c
View file @
5bd12d12
...
...
@@ -855,6 +855,8 @@ static int mpeg_decode_mb(MpegEncContext *s,
if
(
cbp
&
(
1
<<
(
5
-
i
)))
{
if
(
mpeg2_decode_block_intra
(
s
,
block
[
i
],
i
)
<
0
)
return
-
1
;
}
else
{
s
->
block_last_index
[
i
]
=
-
1
;
}
}
}
else
{
...
...
@@ -862,6 +864,8 @@ static int mpeg_decode_mb(MpegEncContext *s,
if
(
cbp
&
(
1
<<
(
5
-
i
)))
{
if
(
mpeg2_decode_block_non_intra
(
s
,
block
[
i
],
i
)
<
0
)
return
-
1
;
}
else
{
s
->
block_last_index
[
i
]
=
-
1
;
}
}
}
...
...
@@ -870,6 +874,8 @@ static int mpeg_decode_mb(MpegEncContext *s,
if
(
cbp
&
(
1
<<
(
5
-
i
)))
{
if
(
mpeg1_decode_block
(
s
,
block
[
i
],
i
)
<
0
)
return
-
1
;
}
else
{
s
->
block_last_index
[
i
]
=
-
1
;
}
}
}
...
...
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