Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Steve Lhomme
vlc
Commits
b8e7f28a
Commit
b8e7f28a
authored
Mar 30, 2017
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packetizer: hevc: parse slices poc lsb
parent
26b4127e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
modules/packetizer/hevc_nal.c
modules/packetizer/hevc_nal.c
+10
-0
No files found.
modules/packetizer/hevc_nal.c
View file @
b8e7f28a
...
...
@@ -317,6 +317,8 @@ struct hevc_slice_segment_header_t
// slice_segment_address; read but discarded
nal_ue_t
slice_type
;
nal_u1_t
pic_output_flag
;
uint32_t
pic_order_cnt_lsb
;
/* incomplete */
};
...
...
@@ -1163,6 +1165,14 @@ static bool hevc_parse_slice_segment_header_rbsp( bs_t *p_bs,
p_sl
->
pic_output_flag
=
bs_read1
(
p_bs
);
}
if
(
p_sps
->
separate_colour_plane_flag
)
bs_skip
(
p_bs
,
2
);
/* colour_plane_id */
if
(
p_sl
->
nal_type
!=
HEVC_NAL_IDR_W_RADL
&&
p_sl
->
nal_type
!=
HEVC_NAL_IDR_N_LP
)
p_sl
->
pic_order_cnt_lsb
=
bs_read
(
p_bs
,
p_sps
->
log2_max_pic_order_cnt_lsb_minus4
+
4
);
else
p_sl
->
pic_order_cnt_lsb
=
0
;
if
(
bs_remain
(
p_bs
)
<
1
)
return
false
;
...
...
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