Shaka Packager SDK
Public Member Functions | List of all members
shaka::media::DOVIDecoderConfigurationRecord Class Reference

Class for parsing Dolby Vision decoder configuration record. More...

#include <dovi_decoder_configuration_record.h>

Public Member Functions

bool Parse (const std::vector< uint8_t > &data)
 
std::string GetCodecString (FourCC codec_fourcc) const
 
FourCC GetDoViCompatibleBrand (const uint8_t transfer_characteristics) const
 

Detailed Description

Class for parsing Dolby Vision decoder configuration record.

Definition at line 25 of file dovi_decoder_configuration_record.h.

Member Function Documentation

◆ GetCodecString()

std::string shaka::media::DOVIDecoderConfigurationRecord::GetCodecString ( FourCC  codec_fourcc) const
Returns
The codec string in the format defined by RFC6381. It is used in DASH and HLS manifests.

Definition at line 32 of file dovi_decoder_configuration_record.cc.

◆ GetDoViCompatibleBrand()

FourCC shaka::media::DOVIDecoderConfigurationRecord::GetDoViCompatibleBrand ( const uint8_t  transfer_characteristics) const
Returns
The compatiable brand in the format defined by https://mp4ra.org/#/brands.

Definition at line 40 of file dovi_decoder_configuration_record.cc.

◆ Parse()

bool shaka::media::DOVIDecoderConfigurationRecord::Parse ( const std::vector< uint8_t > &  data)

Parses input to extract decoder configuration record.

Returns
false if there are parsing errors.

Definition at line 17 of file dovi_decoder_configuration_record.cc.


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