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
73be29b0
Commit
73be29b0
authored
Jan 30, 2011
by
Jason Garrett-Glaser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Slightly simplify VP8 inter_predict
Merge an if and a switch.
parent
28550804
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
vp8.c
libavcodec/vp8.c
+3
-2
No files found.
libavcodec/vp8.c
View file @
73be29b0
...
...
@@ -1307,10 +1307,11 @@ void inter_predict(VP8Context *s, uint8_t *dst[3], VP8Macroblock *mb,
AVFrame
*
ref
=
s
->
framep
[
mb
->
ref_frame
];
VP56mv
*
bmv
=
mb
->
bmv
;
if
(
mb
->
mode
<
VP8_MVMODE_SPLIT
)
{
switch
(
mb
->
partitioning
)
{
case
VP8_SPLITMVMODE_NONE
:
vp8_mc_part
(
s
,
dst
,
ref
,
x_off
,
y_off
,
0
,
0
,
16
,
16
,
width
,
height
,
&
mb
->
mv
);
}
else
switch
(
mb
->
partitioning
)
{
break
;
case
VP8_SPLITMVMODE_4x4
:
{
int
x
,
y
;
VP56mv
uvmv
;
...
...
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