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
236b0c40
Commit
236b0c40
authored
Apr 24, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vc1dec: factorize picture pointer selection in vc1_mc_4mv_chroma()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
72e5d919
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
vc1dec.c
libavcodec/vc1dec.c
+3
-8
No files found.
libavcodec/vc1dec.c
View file @
236b0c40
...
@@ -849,18 +849,13 @@ static void vc1_mc_4mv_chroma(VC1Context *v, int dir)
...
@@ -849,18 +849,13 @@ static void vc1_mc_4mv_chroma(VC1Context *v, int dir)
}
}
if
(
!
dir
)
{
if
(
!
dir
)
{
if
(
v
->
field_mode
)
{
if
(
v
->
field_mode
&&
(
v
->
cur_field_type
!=
chroma_ref_type
)
&&
v
->
cur_field_type
)
{
if
((
v
->
cur_field_type
!=
chroma_ref_type
)
&&
v
->
cur_field_type
)
{
srcU
=
s
->
current_picture
.
f
.
data
[
1
];
srcU
=
s
->
current_picture
.
f
.
data
[
1
];
srcV
=
s
->
current_picture
.
f
.
data
[
2
];
srcV
=
s
->
current_picture
.
f
.
data
[
2
];
}
else
{
}
else
{
srcU
=
s
->
last_picture
.
f
.
data
[
1
];
srcU
=
s
->
last_picture
.
f
.
data
[
1
];
srcV
=
s
->
last_picture
.
f
.
data
[
2
];
srcV
=
s
->
last_picture
.
f
.
data
[
2
];
}
}
}
else
{
srcU
=
s
->
last_picture
.
f
.
data
[
1
];
srcV
=
s
->
last_picture
.
f
.
data
[
2
];
}
}
else
{
}
else
{
srcU
=
s
->
next_picture
.
f
.
data
[
1
];
srcU
=
s
->
next_picture
.
f
.
data
[
1
];
srcV
=
s
->
next_picture
.
f
.
data
[
2
];
srcV
=
s
->
next_picture
.
f
.
data
[
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