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
b412f705
Commit
b412f705
authored
Apr 24, 2013
by
Michael Niedermayer
Committed by
Martin Storsjö
May 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vc1dec: Drop old use_ic code from vc1_b_mc
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
5053a9a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
vc1dec.c
libavcodec/vc1dec.c
+0
-13
No files found.
libavcodec/vc1dec.c
View file @
b412f705
...
...
@@ -2034,31 +2034,18 @@ static av_always_inline int scale_mv(int value, int bfrac, int inv, int qs)
static
inline
void
vc1_b_mc
(
VC1Context
*
v
,
int
dmv_x
[
2
],
int
dmv_y
[
2
],
int
direct
,
int
mode
)
{
int
use_ic
=
v
->
next_use_ic
||
v
->
curr_use_ic
||
v
->
last_use_ic
;
if
(
use_ic
)
{
v
->
mv_mode2
=
v
->
mv_mode
;
v
->
mv_mode
=
MV_PMODE_INTENSITY_COMP
;
}
if
(
direct
)
{
vc1_mc_1mv
(
v
,
0
);
vc1_interp_mc
(
v
);
if
(
use_ic
)
v
->
mv_mode
=
v
->
mv_mode2
;
return
;
}
if
(
mode
==
BMV_TYPE_INTERPOLATED
)
{
vc1_mc_1mv
(
v
,
0
);
vc1_interp_mc
(
v
);
if
(
use_ic
)
v
->
mv_mode
=
v
->
mv_mode2
;
return
;
}
if
(
use_ic
&&
(
mode
==
BMV_TYPE_BACKWARD
))
v
->
mv_mode
=
v
->
mv_mode2
;
vc1_mc_1mv
(
v
,
(
mode
==
BMV_TYPE_BACKWARD
));
if
(
use_ic
)
v
->
mv_mode
=
v
->
mv_mode2
;
}
static
inline
void
vc1_pred_b_mv
(
VC1Context
*
v
,
int
dmv_x
[
2
],
int
dmv_y
[
2
],
...
...
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