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
c3d0c11b
Commit
c3d0c11b
authored
Jul 11, 2007
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify ff_h263_round_chroma()
Originally committed as revision 9602 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
efb6836f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
mpegvideo.h
libavcodec/mpegvideo.h
+2
-7
No files found.
libavcodec/mpegvideo.h
View file @
c3d0c11b
...
...
@@ -765,14 +765,9 @@ static inline int get_bits_diff(MpegEncContext *s){
static
inline
int
ff_h263_round_chroma
(
int
x
){
static
const
uint8_t
h263_chroma_roundtab
[
16
]
=
{
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
};
if
(
x
>=
0
)
return
(
h263_chroma_roundtab
[
x
&
0xf
]
+
((
x
>>
3
)
&
~
1
));
else
{
x
=
-
x
;
return
-
(
h263_chroma_roundtab
[
x
&
0xf
]
+
((
x
>>
3
)
&
~
1
));
}
return
h263_chroma_roundtab
[
x
&
0xf
]
+
(
x
>>
3
);
}
/* motion_est.c */
...
...
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