7 #ifndef MEDIA_FILTERS_VP_CODEC_CONFIGURATION_H_
8 #define MEDIA_FILTERS_VP_CODEC_CONFIGURATION_H_
14 #include "packager/base/macros.h"
15 #include "packager/media/base/video_stream_info.h"
17 namespace edash_packager {
28 uint8_t chroma_subsampling,
29 uint8_t transfer_function,
30 bool video_full_range_flag,
31 const std::vector<uint8_t>& codec_initialization_data);
36 bool Parse(
const std::vector<uint8_t>& data);
40 void Write(std::vector<uint8_t>* data)
const;
45 uint8_t profile()
const {
return profile_; }
46 uint8_t level()
const {
return level_; }
47 uint8_t bit_depth()
const {
return bit_depth_; }
48 uint8_t color_space()
const {
return color_space_; }
49 uint8_t chroma_subsampling()
const {
return chroma_subsampling_; }
50 uint8_t transfer_function()
const {
return transfer_function_; }
51 bool video_full_range_flag()
const {
return video_full_range_flag_; }
58 uint8_t chroma_subsampling_;
59 uint8_t transfer_function_;
60 bool video_full_range_flag_;
61 std::vector<uint8_t> codec_initialization_data_;
69 #endif // MEDIA_FILTERS_VP_CODEC_CONFIGURATION_H_