5 #ifndef MEDIA_BASE_DECRYPT_CONFIG_H_
6 #define MEDIA_BASE_DECRYPT_CONFIG_H_
13 #include "packager/base/memory/scoped_ptr.h"
15 namespace edash_packager {
29 uint32_t cipher_bytes;
49 const std::vector<uint8_t>& iv,
50 const int data_offset,
51 const std::vector<SubsampleEntry>& subsamples);
54 const std::vector<uint8_t>& key_id()
const {
return key_id_; }
55 const std::vector<uint8_t>& iv()
const {
return iv_; }
56 int data_offset()
const {
return data_offset_; }
57 const std::vector<SubsampleEntry>& subsamples()
const {
return subsamples_; }
60 const std::vector<uint8_t> key_id_;
63 const std::vector<uint8_t> iv_;
66 const int data_offset_;
70 const std::vector<SubsampleEntry> subsamples_;
78 #endif // MEDIA_BASE_DECRYPT_CONFIG_H_