7 #ifndef MEDIA_FILTERS_AVC_DECODER_CONFIGURATION_H_
8 #define MEDIA_FILTERS_AVC_DECODER_CONFIGURATION_H_
14 #include "packager/base/macros.h"
16 namespace edash_packager {
27 bool Parse(
const std::vector<uint8_t>& data);
32 uint8_t version()
const {
return version_; }
33 uint8_t profile_indication()
const {
return profile_indication_; }
34 uint8_t profile_compatibility()
const {
return profile_compatibility_; }
35 uint8_t avc_level()
const {
return avc_level_; }
36 uint8_t length_size()
const {
return length_size_; }
37 uint32_t coded_width()
const {
return coded_width_; }
38 uint32_t coded_height()
const {
return coded_height_; }
39 uint32_t pixel_width()
const {
return pixel_width_; }
40 uint32_t pixel_height()
const {
return pixel_height_; }
45 uint8_t profile_compatibility,
50 uint8_t profile_indication_;
51 uint8_t profile_compatibility_;
56 uint32_t coded_width_;
57 uint32_t coded_height_;
58 uint32_t pixel_width_;
59 uint32_t pixel_height_;
67 #endif // MEDIA_FILTERS_AVC_DECODER_CONFIGURATION_H_