pbc_register.h

来自「这是DVD中伺服部分的核心代码」· C头文件 代码 · 共 56 行

H
56
字号
/*****************************************************************************
******************************************************************************
**                                                                          **
**  Copyright (c) 2005-2006 Videon Central, Inc.                            **
**  All rights reserved.                                                    **
**                                                                          **
**  The computer program contained herein contains proprietary information  **
**  which is the property of Videon Central, Inc.  The program may be used  **
**  and/or copied only with the written permission of Videon Central, Inc.  **
**  or in accordance with the terms and conditions stipulated in the        **
**  agreement/contract under which the programs have been supplied.         **
**                                                                          **
******************************************************************************
*****************************************************************************/
/**
 * @file pbc_register.h
 *
 * Defines the API to the Playback Control Engine player registers.
 * This API is intended to be private and used by other Playback
 * Control Engine modules only.
 *
 * $Id: pbc_register.h,v 1.9 2006/10/25 23:50:09 rbehe Exp $
 */

#ifndef PBC_REGISTER_H
#define PBC_REGISTER_H

#ifdef __cplusplus
extern "C" {
#endif

#include "vdvd_types.h"
#include "playctrl.h"

/**
 * Procedures for player register access
 */
void            PbcRegInitialize(void);
PLAYCTRL_STATUS PbcRegSetPSR(uint32 register_number, uint32 uiValue);
PLAYCTRL_STATUS PbcRegGetPSR(uint32 register_number, uint32 *puiValue);
PLAYCTRL_STATUS PbcRegSetGPR(uint32 register_number, uint32 uiValue);
PLAYCTRL_STATUS PbcRegGetGPR(uint32 register_number, uint32 *puiValue);
void            PbcRegStoreBackup(void);
void            PbcRegLoadBackup(void);
void            PbcRegResetBackup(void);
PLAYCTRL_STATUS PbcRegCopyGPR(uint32 *pBuffer, uint32 size);
PLAYCTRL_STATUS PbcRegCopyPSR(uint32 *pBuffer, uint32 size);
PLAYCTRL_STATUS PbcRegLoadGPR(uint32 *pBuffer, uint32 size);
PLAYCTRL_STATUS PbcRegLoadPSR(uint32 *pBuffer, uint32 size);

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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