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
2e471e47
Commit
2e471e47
authored
Jul 10, 2014
by
Christophe Gisquet
Committed by
Michael Niedermayer
Jul 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hevc: simplify rounding
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
64fdcf24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
hevc_mvs.c
libavcodec/hevc_mvs.c
+4
-4
No files found.
libavcodec/hevc_mvs.c
View file @
2e471e47
...
...
@@ -275,8 +275,8 @@ static int temporal_luma_motion_vector(HEVCContext *s, int x0, int y0,
(
y0
>>
s
->
sps
->
log2_ctb_size
)
==
(
y
>>
s
->
sps
->
log2_ctb_size
)
&&
y
<
s
->
sps
->
height
&&
x
<
s
->
sps
->
width
)
{
x
=
((
x
>>
4
)
<<
4
)
;
y
=
((
y
>>
4
)
<<
4
)
;
x
&=
-
16
;
y
&=
-
16
;
x_pu
=
x
>>
s
->
sps
->
log2_min_pu_size
;
y_pu
=
y
>>
s
->
sps
->
log2_min_pu_size
;
temp_col
=
TAB_MVF
(
x_pu
,
y_pu
);
...
...
@@ -287,8 +287,8 @@ static int temporal_luma_motion_vector(HEVCContext *s, int x0, int y0,
if
(
tab_mvf
&&
!
availableFlagLXCol
)
{
x
=
x0
+
(
nPbW
>>
1
);
y
=
y0
+
(
nPbH
>>
1
);
x
=
((
x
>>
4
)
<<
4
)
;
y
=
((
y
>>
4
)
<<
4
)
;
x
&=
-
16
;
y
&=
-
16
;
x_pu
=
x
>>
s
->
sps
->
log2_min_pu_size
;
y_pu
=
y
>>
s
->
sps
->
log2_min_pu_size
;
temp_col
=
TAB_MVF
(
x_pu
,
y_pu
);
...
...
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