#include "media/base/decrypt_config.h"
#include <stddef.h>
#include <ostream>
#include "base/check_op.h"
#include "base/memory/ptr_util.h"
#include "base/strings/string_number_conversions.h"
#include "media/media_buildflags.h"
namespace media {
std::unique_ptr<DecryptConfig> DecryptConfig::CreateCencConfig(
const std::string& key_id,
const std::string& iv,
const std::vector<SubsampleEntry>& subsamples) { … }
std::unique_ptr<DecryptConfig> DecryptConfig::CreateCbcsConfig(
const std::string& key_id,
const std::string& iv,
const std::vector<SubsampleEntry>& subsamples,
std::optional<EncryptionPattern> encryption_pattern) { … }
DecryptConfig::DecryptConfig(
EncryptionScheme encryption_scheme,
const std::string& key_id,
const std::string& iv,
const std::vector<SubsampleEntry>& subsamples,
std::optional<EncryptionPattern> encryption_pattern)
: … { … }
DecryptConfig::~DecryptConfig() = default;
std::unique_ptr<DecryptConfig> DecryptConfig::Clone() const { … }
std::unique_ptr<DecryptConfig> DecryptConfig::CopyNewSubsamplesIV(
const std::vector<SubsampleEntry>& subsamples,
const std::string& iv) const { … }
bool DecryptConfig::HasPattern() const { … }
bool DecryptConfig::Matches(const DecryptConfig& config) const { … }
std::ostream& DecryptConfig::Print(std::ostream& os) const { … }
DecryptConfig::DecryptConfig(const DecryptConfig& other) = default;
}