Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
99f8c9e4
Commit
99f8c9e4
authored
Dec 18, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/hevc: move qp_block_mask to where its used
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
00d7555f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
hevc.c
libavcodec/hevc.c
+1
-1
No files found.
libavcodec/hevc.c
View file @
99f8c9e4
...
...
@@ -2102,7 +2102,6 @@ static int hls_coding_quadtree(HEVCContext *s, int x0, int y0,
HEVCLocalContext
*
lc
=
s
->
HEVClc
;
const
int
cb_size
=
1
<<
log2_cb_size
;
int
ret
;
int
qp_block_mask
=
(
1
<<
(
s
->
sps
->
log2_ctb_size
-
s
->
pps
->
diff_cu_qp_delta_depth
))
-
1
;
int
split_cu
;
lc
->
ct_depth
=
cb_depth
;
...
...
@@ -2125,6 +2124,7 @@ static int hls_coding_quadtree(HEVCContext *s, int x0, int y0,
}
if
(
split_cu
)
{
int
qp_block_mask
=
(
1
<<
(
s
->
sps
->
log2_ctb_size
-
s
->
pps
->
diff_cu_qp_delta_depth
))
-
1
;
const
int
cb_size_split
=
cb_size
>>
1
;
const
int
x1
=
x0
+
cb_size_split
;
const
int
y1
=
y0
+
cb_size_split
;
...
...
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