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
772dfd5f
Commit
772dfd5f
authored
Jul 28, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/hevc: add some const to cbf arrays
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
42ffa226
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
hevc.c
libavcodec/hevc.c
+2
-2
No files found.
libavcodec/hevc.c
View file @
772dfd5f
...
...
@@ -1082,7 +1082,7 @@ static int hls_transform_tree(HEVCContext *s, int x0, int y0,
int
xBase
,
int
yBase
,
int
cb_xBase
,
int
cb_yBase
,
int
log2_cb_size
,
int
log2_trafo_size
,
int
trafo_depth
,
int
blk_idx
,
int
*
base_cbf_cb
,
int
*
base_cbf_cr
)
const
int
*
base_cbf_cb
,
const
int
*
base_cbf_cr
)
{
HEVCLocalContext
*
lc
=
s
->
HEVClc
;
uint8_t
split_transform_flag
;
...
...
@@ -2076,7 +2076,7 @@ static int hls_coding_unit(HEVCContext *s, int x0, int y0, int log2_cb_size)
lc
->
cu
.
rqt_root_cbf
=
ff_hevc_no_residual_syntax_flag_decode
(
s
);
}
if
(
lc
->
cu
.
rqt_root_cbf
)
{
int
cbf
[
2
]
=
{
0
};
const
static
int
cbf
[
2
]
=
{
0
};
lc
->
cu
.
max_trafo_depth
=
lc
->
cu
.
pred_mode
==
MODE_INTRA
?
s
->
sps
->
max_transform_hierarchy_depth_intra
+
lc
->
cu
.
intra_split_flag
:
s
->
sps
->
max_transform_hierarchy_depth_inter
;
...
...
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