WvPL License SDK release: 16.5.0 update with cc header files.
This commit is contained in:
35
centos/cc_header/output_protection_util.h
Normal file
35
centos/cc_header/output_protection_util.h
Normal 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_
|
||||
Reference in New Issue
Block a user