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