5 #include "packager/media/base/decrypt_config.h"
7 #include "packager/base/logging.h"
13 const std::vector<uint8_t>& iv,
14 const std::vector<SubsampleEntry>& subsamples)
18 const std::vector<uint8_t>& iv,
19 const std::vector<SubsampleEntry>& subsamples,
20 FourCC protection_scheme,
21 uint8_t crypt_byte_block,
22 uint8_t skip_byte_block)
25 subsamples_(subsamples),
26 protection_scheme_(protection_scheme),
27 crypt_byte_block_(crypt_byte_block),
28 skip_byte_block_(skip_byte_block) {
29 CHECK_GT(key_id.size(), 0u);
32 DecryptConfig::~DecryptConfig() {}
37 size += subsample.clear_bytes + subsample.cipher_bytes;
All the methods that are virtual are virtual for mocking.