DASH Media Packaging SDK
|
Class for parsing or writing VP codec configuration data. More...
#include <vp_codec_configuration.h>
Public Member Functions | |
VPCodecConfiguration (uint8_t profile, uint8_t level, uint8_t bit_depth, uint8_t color_space, uint8_t chroma_subsampling, uint8_t transfer_function, bool video_full_range_flag, const std::vector< uint8_t > &codec_initialization_data) | |
bool | Parse (const std::vector< uint8_t > &data) |
void | Write (std::vector< uint8_t > *data) const |
std::string | GetCodecString (VideoCodec codec) const |
void | set_profile (uint8_t profile) |
void | set_level (uint8_t level) |
void | set_bit_depth (uint8_t bit_depth) |
void | set_color_space (uint8_t color_space) |
void | set_chroma_subsampling (uint8_t chroma_subsampling) |
void | set_transfer_function (uint8_t transfer_function) |
void | set_video_full_range_flag (bool video_full_range_flag) |
uint8_t | profile () const |
uint8_t | level () const |
uint8_t | bit_depth () const |
uint8_t | color_space () const |
uint8_t | chroma_subsampling () const |
uint8_t | transfer_function () const |
bool | video_full_range_flag () const |
Class for parsing or writing VP codec configuration data.
Definition at line 21 of file vp_codec_configuration.h.
std::string shaka::media::VPCodecConfiguration::GetCodecString | ( | VideoCodec | codec | ) | const |
Definition at line 99 of file vp_codec_configuration.cc.
bool shaka::media::VPCodecConfiguration::Parse | ( | const std::vector< uint8_t > & | data | ) |
Parses input to extract VP codec configuration data.
Definition at line 65 of file vp_codec_configuration.cc.
void shaka::media::VPCodecConfiguration::Write | ( | std::vector< uint8_t > * | data | ) | const |
data | should not be null. Writes VP codec configuration data to buffer. |
Definition at line 84 of file vp_codec_configuration.cc.