Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
30fcc109
Commit
30fcc109
authored
Oct 27, 2018
by
Mark Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cbs_h264: Include SEI type names in trace output
parent
793a3e7b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
cbs_h264_syntax_template.c
libavcodec/cbs_h264_syntax_template.c
+16
-0
No files found.
libavcodec/cbs_h264_syntax_template.c
View file @
30fcc109
...
...
@@ -513,6 +513,8 @@ static int FUNC(sei_buffering_period)(CodedBitstreamContext *ctx, RWContext *rw,
const
H264RawSPS
*
sps
;
int
err
,
i
,
length
;
HEADER
(
"Buffering Period"
);
ue
(
seq_parameter_set_id
,
0
,
31
);
sps
=
h264
->
sps
[
current
->
seq_parameter_set_id
];
...
...
@@ -605,6 +607,8 @@ static int FUNC(sei_pic_timing)(CodedBitstreamContext *ctx, RWContext *rw,
const
H264RawSPS
*
sps
;
int
err
;
HEADER
(
"Picture Timing"
);
sps
=
h264
->
active_sps
;
if
(
!
sps
)
{
// If there is exactly one possible SPS but it is not yet active
...
...
@@ -674,6 +678,8 @@ static int FUNC(sei_pan_scan_rect)(CodedBitstreamContext *ctx, RWContext *rw,
{
int
err
,
i
;
HEADER
(
"Pan-Scan Rectangle"
);
ue
(
pan_scan_rect_id
,
0
,
UINT32_MAX
-
1
);
flag
(
pan_scan_rect_cancel_flag
);
...
...
@@ -699,6 +705,8 @@ static int FUNC(sei_user_data_registered)(CodedBitstreamContext *ctx, RWContext
{
int
err
,
i
,
j
;
HEADER
(
"User Data Registered ITU-T T.35"
);
u
(
8
,
itu_t_t35_country_code
,
0x00
,
0xff
);
if
(
current
->
itu_t_t35_country_code
!=
0xff
)
i
=
1
;
...
...
@@ -731,6 +739,8 @@ static int FUNC(sei_user_data_unregistered)(CodedBitstreamContext *ctx, RWContex
{
int
err
,
i
;
HEADER
(
"User Data Unregistered"
);
#ifdef READ
if
(
*
payload_size
<
16
)
{
av_log
(
ctx
->
log_ctx
,
AV_LOG_ERROR
,
...
...
@@ -758,6 +768,8 @@ static int FUNC(sei_recovery_point)(CodedBitstreamContext *ctx, RWContext *rw,
{
int
err
;
HEADER
(
"Recovery Point"
);
ue
(
recovery_frame_cnt
,
0
,
65535
);
flag
(
exact_match_flag
);
flag
(
broken_link_flag
);
...
...
@@ -771,6 +783,8 @@ static int FUNC(sei_display_orientation)(CodedBitstreamContext *ctx, RWContext *
{
int
err
;
HEADER
(
"Display Orientation"
);
flag
(
display_orientation_cancel_flag
);
if
(
!
current
->
display_orientation_cancel_flag
)
{
flag
(
hor_flip
);
...
...
@@ -788,6 +802,8 @@ static int FUNC(sei_mastering_display_colour_volume)(CodedBitstreamContext *ctx,
{
int
err
,
c
;
HEADER
(
"Mastering Display Colour Volume"
);
for
(
c
=
0
;
c
<
3
;
c
++
)
{
us
(
16
,
display_primaries_x
[
c
],
0
,
50000
,
1
,
c
);
us
(
16
,
display_primaries_y
[
c
],
0
,
50000
,
1
,
c
);
...
...
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