James Almer
e460dcc832
avcodec/cbs_h265: add support for Alpha Channel Info SEI messages
...
As defined in sections F.14.2.8 and F.14.3.8
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
James Almer
45048ece81
avcodec/cbs_h2645: use the fixed() macro for forbidden_zero_bit
...
This follows the spec definition, and removes a field from the relevant
structs.
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
James Almer
16c50abb50
avcodec/cbs_h2645: add macros to read and write fields with no custom range of values
...
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
James Almer
137c0fcad1
avcodec/cbs_h265: fix storage type for time_offset_value in Time Code SEI
...
The spec defines it as an array of signed values, inferred to 0 when not
present.
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
Andreas Rheinhardt
9f588ba5ca
cbs_h265: Fix Time Code SEI syntax
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
6 years ago
Mark Thompson
7a20656474
cbs_h265: Add a lot more SEI parsing support
...
Supports both prefix and suffix SEI, decoding all of the common SEI
types and some more obscure ones. Most of this is tested by the
existing tests in fate.
6 years ago
Mark Thompson
252e79663d
cbs_h265: Add PTL parsing for sublayers
...
With fate test using the SLPPLP_A_VIDYO_2 conformance file, which contains
two sublayers with full PTL information.
6 years ago
Mark Thompson
2dee0679e9
cbs_h265: Add PTL parsing for Main 10 Still Picture profile
...
This was added in the 2018 version of the standard.
6 years ago
Haihao Xiang
2943dd35b7
cbs_h265: read/write content light level information SEI message
...
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
7 years ago
Haihao Xiang
56ed011692
cbs_h265: read/write HEVC PREFIX SEI
...
Similar to H264, cbs_h265_{read, write}_nal_unit() can handle HEVC
prefix SEI NAL units. Currently mastering display colour volume SEI
message is added only, we may add more SEI message if needed later
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
c4eeea7633
cbs_h265: Use helper macro for maximum values of fixed-width elements
...
Apply the same logic as the previous patch to H.265. There are no cases
which currently overflow here, but this is still more consistent.
7 years ago
Mark Thompson
9b0c7aa0e4
lavc: Add coded bitstream read/write support for H.265
...
(cherry picked from commit 867381b8b5
)
(cherry picked from commit f763489364
)
(cherry picked from commit 067a9ddeb8
)
7 years ago
Mark Thompson
067a9ddeb8
cbs_h265: Fix ranges of prediction weight offsets
...
The bracketing was wrong - '-' binds before '<<'. This would
previously incorrectly reject the streams in the WP_A and WP_B
conformance tests.
7 years ago
Mark Thompson
f763489364
cbs_h265: Fix reading of unknown parameter set extension data
7 years ago
Mark Thompson
867381b8b5
lavc: Add coded bitstream read/write support for H.265
7 years ago