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
f183febc
Commit
f183febc
authored
Sep 23, 2014
by
Christophe Gisquet
Committed by
Michael Niedermayer
Sep 27, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hevc: remove CodingTree
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
bfdf0f07
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
hevc.c
libavcodec/hevc.c
+2
-2
hevc.h
libavcodec/hevc.h
+1
-5
hevc_cabac.c
libavcodec/hevc_cabac.c
+1
-1
No files found.
libavcodec/hevc.c
View file @
f183febc
...
...
@@ -2103,7 +2103,7 @@ static int hls_coding_unit(HEVCContext *s, int x0, int y0, int log2_cb_size)
lc
->
qPy_pred
=
lc
->
qp_y
;
}
set_ct_depth
(
s
,
x0
,
y0
,
log2_cb_size
,
lc
->
ct
.
depth
);
set_ct_depth
(
s
,
x0
,
y0
,
log2_cb_size
,
lc
->
ct
_
depth
);
return
0
;
}
...
...
@@ -2117,7 +2117,7 @@ static int hls_coding_quadtree(HEVCContext *s, int x0, int y0,
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
;
lc
->
ct
_
depth
=
cb_depth
;
if
(
x0
+
cb_size
<=
s
->
sps
->
width
&&
y0
+
cb_size
<=
s
->
sps
->
height
&&
log2_cb_size
>
s
->
sps
->
log2_min_cb_size
)
{
...
...
libavcodec/hevc.h
View file @
f183febc
...
...
@@ -631,10 +631,6 @@ typedef struct SliceHeader {
int
slice_ctb_addr_rs
;
}
SliceHeader
;
typedef
struct
CodingTree
{
int
depth
;
///< ctDepth
}
CodingTree
;
typedef
struct
CodingUnit
{
int
x
;
int
y
;
...
...
@@ -773,7 +769,7 @@ typedef struct HEVCLocalContext {
DECLARE_ALIGNED
(
32
,
uint8_t
,
edge_emu_buffer2
)[(
MAX_PB_SIZE
+
7
)
*
EDGE_EMU_BUFFER_STRIDE
*
2
];
DECLARE_ALIGNED
(
16
,
int16_t
,
tmp
[
MAX_PB_SIZE
*
MAX_PB_SIZE
]);
CodingTree
ct
;
int
ct_depth
;
CodingUnit
cu
;
PredictionUnit
pu
;
NeighbourAvailable
na
;
...
...
libavcodec/hevc_cabac.c
View file @
f183febc
...
...
@@ -835,7 +835,7 @@ int ff_hevc_inter_pred_idc_decode(HEVCContext *s, int nPbW, int nPbH)
{
if
(
nPbW
+
nPbH
==
12
)
return
GET_CABAC
(
elem_offset
[
INTER_PRED_IDC
]
+
4
);
if
(
GET_CABAC
(
elem_offset
[
INTER_PRED_IDC
]
+
s
->
HEVClc
->
ct
.
depth
))
if
(
GET_CABAC
(
elem_offset
[
INTER_PRED_IDC
]
+
s
->
HEVClc
->
ct
_
depth
))
return
PRED_BI
;
return
GET_CABAC
(
elem_offset
[
INTER_PRED_IDC
]
+
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