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

Class for parsing AV1 codec configuration record. More...

#include <av1_codec_configuration_record.h>

Public Member Functions

bool Parse (const std::vector< uint8_t > &data)
 
bool Parse (const uint8_t *data, size_t data_size)
 
std::string GetCodecString () const
 
std::string GetCodecString (uint16_t color_primaries, uint16_t transfer_characteristics, uint16_t matrix_coefficients, uint8_t video_full_range_flag) const
 

Detailed Description

Class for parsing AV1 codec configuration record.

Definition at line 18 of file av1_codec_configuration_record.h.

Member Function Documentation

◆ GetCodecString()

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

Definition at line 88 of file av1_codec_configuration_record.cc.

◆ Parse() [1/2]

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

Parses input to extract codec configuration record.

Returns
false if there are parsing errors.

Definition at line 25 of file av1_codec_configuration_record.h.

◆ Parse() [2/2]

bool shaka::media::AV1CodecConfigurationRecord::Parse ( const uint8_t *  data,
size_t  data_size 
)

Parses input to extract decoder configuration record.

Returns
false if there are parsing errors.

Definition at line 45 of file av1_codec_configuration_record.cc.


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