Shaka Packager SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | List of all members
shaka::media::VideoSliceHeaderParser Class Referenceabstract
Inheritance diagram for shaka::media::VideoSliceHeaderParser:
shaka::media::H264VideoSliceHeaderParser shaka::media::H265VideoSliceHeaderParser

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.
 

Detailed Description

Definition at line 19 of file video_slice_header_parser.h.

Member Function Documentation

virtual bool shaka::media::VideoSliceHeaderParser::Initialize ( const std::vector< uint8_t > &  decoder_configuration)
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.


The documentation for this class was generated from the following file: