Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
6c5cfc70
Commit
6c5cfc70
authored
Oct 02, 2017
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packetizer: hevc_nal: add poc initializer helper
parent
3121eb4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
modules/packetizer/hevc_nal.h
modules/packetizer/hevc_nal.h
+7
-0
No files found.
modules/packetizer/hevc_nal.h
View file @
6c5cfc70
...
...
@@ -209,6 +209,13 @@ typedef struct
bool
first_picture
;
/* Must be set on start or on NAL_EOS */
}
hevc_poc_ctx_t
;
static
inline
void
hevc_poc_cxt_init
(
hevc_poc_ctx_t
*
p_ctx
)
{
p_ctx
->
prevPicOrderCnt
.
lsb
=
0
;
p_ctx
->
prevPicOrderCnt
.
msb
=
0
;
p_ctx
->
first_picture
=
true
;
}
int
hevc_compute_picture_order_count
(
const
hevc_sequence_parameter_set_t
*
p_sps
,
const
hevc_slice_segment_header_t
*
slice
,
hevc_poc_ctx_t
*
ctx
);
...
...
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