drmadphelper.h

来自「Zoran V966 DVD 解码 Soc芯片的源程序」· C头文件 代码 · 共 37 行

H
37
字号
// $Header: /I76/I76_Common/I76_Reference/Playcore/Nav_Clips/AviDrm/libDrmDecrypt/DrmAdpHelper.h 2     2/15/04 7:41p Lotan $
// Copyright (c) 2003 DivXNetworks, Inc. http://www.divxnetworks.com
// All rights reserved.
//
// This software is the confidential and proprietary information of DivXNetworks
// Inc. ("Confidential Information").  You shall not disclose such Confidential
// Information and shall use it only in accordance with the terms of the license
// agreement you entered into with DivXNetworks, Inc.

#ifndef DRM_ADP_HELPER_H
#define DRM_ADP_HELPER_H

#include "Config.h"		// Global Configuration - do not remove!

#ifdef AVI_DRM_SUPPORT

#include "Playcore\Nav_Clips\AviDrm\LibDrmCommon\Portable.h" /* uint8_t, uint16_t */
#include "Playcore\Nav_Clips\AviDrm\LibDrmCommon\DrmTypes.h"

#ifdef __cplusplus
extern "C" {
#endif

uint8_t getRandomByte(uint8_t *randomByte);
void drmHelperSetRandomSample(void);
uint32_t drmHelperGetRandomSampleCounter(void);

uint8_t getSessionKey(DrmAdpTargetHeader fileInfo, uint8_t *sessionKey);  /* Increments use counter if appropriate. */


#ifdef __cplusplus
};
#endif

#endif // AVI_DRM_SUPPORT

#endif // DRM_ADP_HELPER_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?