WvPL License SDK release: 16.5.0 update with cc header files.

This commit is contained in:
Buildbot
2021-12-03 20:46:36 +00:00
parent 4db51c1c61
commit 0b20fb7737
66 changed files with 116360 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
// Copyright 2019 Google LLC. All rights reserved.
#ifndef VIDEO_WIDEVINE_EXPORT_COMMON_OUTPUT_PROTECTION_UTIL_H_
#define VIDEO_WIDEVINE_EXPORT_COMMON_OUTPUT_PROTECTION_UTIL_H_
#include "common/status.h"
#include "protos/public/client_identification.pb.h"
#include "protos/public/license_protocol.pb.h"
namespace video_widevine {
namespace op_util {
// Verify the device meets the provider's output requirements. Set
// |should_disable_analog_output| to true if device does not meet analog output
// requirements, otherwise |should_disable_analog_error| is false including
// error cases.
Status VerifyDeviceCapabilities(
const ClientIdentification::ClientCapabilities& device_capabilities,
const License::KeyContainer::OutputProtection& output_protection,
bool* should_disable_analog_output);
} // namespace op_util
bool operator<(ClientIdentification::ClientCapabilities::HdcpVersion lValue,
ClientIdentification::ClientCapabilities::HdcpVersion rValue);
bool operator>(ClientIdentification::ClientCapabilities::HdcpVersion lValue,
ClientIdentification::ClientCapabilities::HdcpVersion rValue);
int32_t HdcpEnumToInt(
ClientIdentification::ClientCapabilities::HdcpVersion hdcpEnum);
} // namespace video_widevine
#endif // VIDEO_WIDEVINE_EXPORT_COMMON_OUTPUT_PROTECTION_UTIL_H_