|
| virtual bool | Initialize (const std::vector< uint8_t > &decoder_configuration)=0 |
| |
| virtual bool | ProcessNalu (const Nalu &nalu)=0 |
| |
| virtual int64_t | GetHeaderSize (const Nalu &nalu)=0 |
| | Gets the header size of the given NALU. Returns < 0 on error.
|
| |
Definition at line 19 of file video_slice_header_parser.h.
◆ VideoSliceHeaderParser()
| shaka::media::VideoSliceHeaderParser::VideoSliceHeaderParser |
( |
| ) |
|
|
inline |
◆ ~VideoSliceHeaderParser()
| virtual shaka::media::VideoSliceHeaderParser::~VideoSliceHeaderParser |
( |
| ) |
|
|
inlinevirtual |
◆ GetHeaderSize()
| virtual int64_t shaka::media::VideoSliceHeaderParser::GetHeaderSize |
( |
const Nalu & |
nalu | ) |
|
|
pure virtual |
◆ Initialize()
| virtual bool shaka::media::VideoSliceHeaderParser::Initialize |
( |
const std::vector< uint8_t > & |
decoder_configuration | ) |
|
|
pure virtual |
◆ ProcessNalu()
| virtual bool shaka::media::VideoSliceHeaderParser::ProcessNalu |
( |
const Nalu & |
nalu | ) |
|
|
pure virtual |
Process NAL unit, in particular parameter set NAL units. Non parameter set NAL unit is allowed but the function always returns true. Returns false if there is any problem processing the parameter set NAL unit. This function is needed to handle parameter set NAL units not in decoder configuration record, i.e. in the samples.
Implemented in shaka::media::H264VideoSliceHeaderParser, and shaka::media::H265VideoSliceHeaderParser.
The documentation for this class was generated from the following file: