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
GSoC
GSoC2018
macOS
vlc
Commits
38723d04
Commit
38723d04
authored
Dec 14, 2017
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packetizer: hevc: add poc debug
parent
d6c05044
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
modules/packetizer/hevc_nal.c
modules/packetizer/hevc_nal.c
+13
-0
No files found.
modules/packetizer/hevc_nal.c
View file @
38723d04
...
...
@@ -29,6 +29,8 @@
#include <limits.h>
//#define HEVC_POC_DEBUG
typedef
uint8_t
nal_u1_t
;
typedef
uint8_t
nal_u2_t
;
typedef
uint8_t
nal_u3_t
;
...
...
@@ -1480,6 +1482,13 @@ int hevc_compute_picture_order_count( const hevc_sequence_parameter_set_t *p_sps
NoRaslOutputFlag
=
false
;
}
#ifdef HEVC_POC_DEBUG
printf
(
"slice lsb=%"
PRIu32
" irap=%d norasl=%d tid=%d msb=%d lsb=%d"
,
p_slice
->
pic_order_cnt_lsb
,
IsIRAP
,
NoRaslOutputFlag
,
p_slice
->
temporal_id_plus1
,
p_ctx
->
prevTid0PicOrderCnt
.
msb
,
p_ctx
->
prevTid0PicOrderCnt
.
lsb
);
#endif
if
(
p_slice
->
nal_type
==
HEVC_NAL_IDR_N_LP
||
p_slice
->
nal_type
==
HEVC_NAL_IDR_W_RADL
)
{
...
...
@@ -1519,6 +1528,10 @@ int hevc_compute_picture_order_count( const hevc_sequence_parameter_set_t *p_sps
p_ctx
->
first_picture
=
false
;
#ifdef HEVC_POC_DEBUG
printf
(
" POC=%"
PRIu32
"
\n
"
,
pocMSB
+
p_slice
->
pic_order_cnt_lsb
);
#endif
return
pocMSB
+
p_slice
->
pic_order_cnt_lsb
;
}
...
...
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