Shaka Packager SDK
|
Public Member Functions | |
VideoSliceHeaderParser implementation overrides. | |
bool | Initialize (const std::vector< uint8_t > &decoder_configuration) override |
bool | ProcessNalu (const Nalu &nalu) override |
int64_t | GetHeaderSize (const Nalu &nalu) override |
Gets the header size of the given NALU. Returns < 0 on error. | |
Definition at line 44 of file video_slice_header_parser.h.
|
overridevirtual |
Adds decoder configuration from the given data. This must be called once before any calls to GetHeaderSize.
Implements shaka::media::VideoSliceHeaderParser.
Definition at line 31 of file video_slice_header_parser.cc.
|
overridevirtual |
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.
Implements shaka::media::VideoSliceHeaderParser.
Definition at line 49 of file video_slice_header_parser.cc.