Mark Thompson
ac687add84
cbs_h264: Add support for mastering display SEI messages
7 years ago
Mark Thompson
d94dda742c
cbs_h264: Add support for pan-scan rectangle SEI messages
7 years ago
Mark Thompson
4c9741a1dd
cbs_h264: Fix handling of unknown SEI
...
The user should only interact directly with the data length, not the
payload size.
7 years ago
Haihao Xiang
65be65da37
cbs_h264: Need [] in the name when subscript is required
...
Otherwise it will hit an assert in the function
ff_cbs_trace_syntax_element() in cbs.c, line 400.
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
7 years ago
Mark Thompson
300ef25314
cbs: Add support for array subscripts in trace output
...
This makes the trace output for arrays significantly nicer.
7 years ago
Mark Thompson
315cc8c098
cbs_h2645: Simplify representation of fixed values
7 years ago
Mark Thompson
0e782661d6
cbs_h264: Fix overflow in shifts
...
The type of the result of a shift operation is unaffected by the type of
the right operand, so some existing code overflows with undefined behaviour
when the element length is 32. Add a helper macro to calculate the maximum
value correctly and then use it everywhere this pattern appears.
Found-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com>
7 years ago
Mark Thompson
eccc03c8fb
cbs_h264: Add support for filler NAL units
7 years ago
Mark Thompson
7157d95926
cbs_h264: Move slice_group_id array out of PPS structure
...
It's very large, and is only used in some FMO streams.
7 years ago
Mark Thompson
13ca5d34ba
cbs_h264: Add hack for pic_timing with no active SPS
...
If there is exactly one possible SPS but it is not yet active then just
assume that it should be the active one.
7 years ago
Mark Thompson
59b00ffea3
cbs_h264: Fix format specifier
7 years ago
Mark Thompson
b4c915f4b3
lavc: Add coded bitstream read/write support for H.264
...
(cherry picked from commit acf06f4544
)
(cherry picked from commit 768eb9182e
)
(cherry picked from commit e7f64191b2
)
8 years ago
Mark Thompson
acf06f4544
lavc: Add coded bitstream read/write support for H.264
8 years ago