DrmAdpModelId.c
上传用户:super_houu
上传日期:2008-09-21
资源大小:4099k
文件大小:1k
- /*
- // $Header: /I76/I76_Common/I76_Reference/Playcore/Nav_Clips/AviDrm/libDrmDecrypt/DrmAdpModelId.c 1 2/10/04 10:24p Lotan $
- // Copyright (c) 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.
- */
- /*
- This model number is assigned to each product by DivXNetworks.
- Value 0x31, 0x30 is a TEST value only. The 12 bits of your
- model number will be part of your local implementation of the DRM.
- */
- #include "Config.h" // Global Configuration - do not remove!
- #include "IncludeSysDefs.h"
- #ifdef AVI_DRM_SUPPORT
- #include "PlaycoreNav_ClipsAviDrmlibDrmDecryptDrmAdpModelId.h"
- void drmGetModelId(uint8_t* modelId)
- {
- #ifdef A_SD340E
- modelId[0] = 0xE9;
- modelId[1] = 0x10 & 0xF0;
- #else
- modelId[0] = 0x31;
- modelId[1] = 0x30 & 0xF0;
- #endif
- }
- #endif