DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Static Public Member Functions | List of all members
shaka::media::AVCDecoderConfiguration Class Reference

Class for parsing AVC decoder configuration. More...

#include <avc_decoder_configuration.h>

Inheritance diagram for shaka::media::AVCDecoderConfiguration:
shaka::media::DecoderConfiguration

Public Member Functions

std::string GetCodecString () const
 
uint8_t version () const
 
uint8_t profile_indication () const
 
uint8_t profile_compatibility () const
 
uint8_t avc_level () const
 
uint32_t coded_width () const
 
uint32_t coded_height () const
 
uint32_t pixel_width () const
 
uint32_t pixel_height () const
 
- Public Member Functions inherited from shaka::media::DecoderConfiguration
bool Parse (const std::vector< uint8_t > &data)
 
bool Parse (const uint8_t *data, size_t data_size)
 
uint8_t nalu_length_size () const
 
size_t nalu_count () const
 
const Nalunalu (size_t i) const
 

Static Public Member Functions

static std::string GetCodecString (uint8_t profile_indication, uint8_t profile_compatibility, uint8_t avc_level)
 

Additional Inherited Members

- Protected Member Functions inherited from shaka::media::DecoderConfiguration
void AddNalu (const Nalu &nalu)
 Adds the given Nalu to the configuration.
 
const uint8_t * data () const
 
size_t data_size () const
 
void set_nalu_length_size (uint8_t nalu_length_size)
 Sets the size of the NAL unit length field.
 

Detailed Description

Class for parsing AVC decoder configuration.

Definition at line 21 of file avc_decoder_configuration.h.

Member Function Documentation

std::string shaka::media::AVCDecoderConfiguration::GetCodecString ( ) const
Returns
The codec string.

Definition at line 91 of file avc_decoder_configuration.cc.

std::string shaka::media::AVCDecoderConfiguration::GetCodecString ( uint8_t  profile_indication,
uint8_t  profile_compatibility,
uint8_t  avc_level 
)
static

Static version of GetCodecString.

Returns
The codec string.

Definition at line 96 of file avc_decoder_configuration.cc.


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