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
e4382a4a
Commit
e4382a4a
authored
Jan 11, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hevc: Eliminate pointless variable indirection
parent
5c890225
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
hevcdec.c
libavcodec/hevcdec.c
+1
-3
No files found.
libavcodec/hevcdec.c
View file @
e4382a4a
...
...
@@ -1167,9 +1167,7 @@ static void hls_residual_coding(HEVCContext *s, int x0, int y0,
trans_coeff_level
=
1
+
coeff_abs_level_greater1_flag
[
n
];
if
(
trans_coeff_level
==
((
m
<
8
)
?
((
n
==
first_greater1_coeff_idx
)
?
3
:
2
)
:
1
))
{
int
last_coeff_abs_level_remaining
=
ff_hevc_coeff_abs_level_remaining
(
s
,
trans_coeff_level
,
c_rice_param
);
trans_coeff_level
+=
last_coeff_abs_level_remaining
;
trans_coeff_level
+=
ff_hevc_coeff_abs_level_remaining
(
s
,
trans_coeff_level
,
c_rice_param
);
if
((
trans_coeff_level
)
>
(
3
*
(
1
<<
c_rice_param
)))
c_rice_param
=
FFMIN
(
c_rice_param
+
1
,
4
);
}
...
...
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