Shaka Packager SDK
|
Public Member Functions | |
virtual bool | Initialize (const std::vector< uint8_t > &decoder_configuration)=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.
|
pure virtual |
Adds decoder configuration from the given data. This must be called once before any calls to GetHeaderSize.
Implemented in shaka::media::H265VideoSliceHeaderParser, and shaka::media::H264VideoSliceHeaderParser.