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
8eeacf31
Commit
8eeacf31
authored
Feb 19, 2014
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hevc: Do not left shift a negative value in hevc_loop_filter_chroma
parent
ff486c0f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
hevcdsp_template.c
libavcodec/hevcdsp_template.c
+1
-1
No files found.
libavcodec/hevcdsp_template.c
View file @
8eeacf31
...
@@ -1281,7 +1281,7 @@ static void FUNC(hevc_loop_filter_chroma)(uint8_t *_pix, ptrdiff_t _xstride,
...
@@ -1281,7 +1281,7 @@ static void FUNC(hevc_loop_filter_chroma)(uint8_t *_pix, ptrdiff_t _xstride,
const
int
p0
=
P0
;
const
int
p0
=
P0
;
const
int
q0
=
Q0
;
const
int
q0
=
Q0
;
const
int
q1
=
Q1
;
const
int
q1
=
Q1
;
delta0
=
av_clip
((((
q0
-
p0
)
<<
2
)
+
p1
-
q1
+
4
)
>>
3
,
-
tc
,
tc
);
delta0
=
av_clip
((((
q0
-
p0
)
*
4
)
+
p1
-
q1
+
4
)
>>
3
,
-
tc
,
tc
);
if
(
!
no_p
)
if
(
!
no_p
)
P0
=
av_clip_pixel
(
p0
+
delta0
);
P0
=
av_clip_pixel
(
p0
+
delta0
);
if
(
!
no_q
)
if
(
!
no_q
)
...
...
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