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
c210fa61
Commit
c210fa61
authored
Aug 05, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify y_shift/ref_shift code
Originally committed as revision 14620 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
cc615d2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
h264.c
libavcodec/h264.c
+2
-11
No files found.
libavcodec/h264.c
View file @
c210fa61
...
@@ -1173,17 +1173,8 @@ single_col:
...
@@ -1173,17 +1173,8 @@ single_col:
}
}
if
(
IS_INTERLACED
(
*
mb_type
)
!=
IS_INTERLACED
(
mb_type_col
[
0
])){
if
(
IS_INTERLACED
(
*
mb_type
)
!=
IS_INTERLACED
(
mb_type_col
[
0
])){
/* FIXME assumes direct_8x8_inference == 1 */
/* FIXME assumes direct_8x8_inference == 1 */
int
y_shift
;
int
y_shift
=
2
*!
IS_INTERLACED
(
*
mb_type
);
int
ref_shift
;
int
ref_shift
=
FRAME_MBAFF
?
y_shift
:
1
;
if
(
IS_INTERLACED
(
*
mb_type
)){
/* frame to field scaling */
y_shift
=
0
;
ref_shift
=
FRAME_MBAFF
?
0
:
1
;
}
else
{
y_shift
=
2
;
ref_shift
=
FRAME_MBAFF
?
2
:
1
;
}
for
(
i8
=
0
;
i8
<
4
;
i8
++
){
for
(
i8
=
0
;
i8
<
4
;
i8
++
){
const
int
x8
=
i8
&
1
;
const
int
x8
=
i8
&
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