⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nvgaprot.h

📁 Zoran V966 DVD 解码 Soc芯片的源程序
💻 H
字号:

/****************************************************************************************
 *  Copyright (c) 2002 ZORAN Corporation, All Rights Reserved
 *  THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
 *
 *  File: $Workfile: NVGAPROT.H $             
 *
 * Description: 
 * ============
 * 
 * 
 * Log:
 * ====
 * $Revision: 6 $
 * Last Modified by $Author: Leonh $ at $Modtime: 12/30/03 11:17a $ 
 ****************************************************************************************
 * Updates:
 ****************************************************************************************
 * $Log: /I76/I76_Common/I76_Reference/Playcore/Nav_DVD/Header/NVGAPROT.H $
 * 
 * 6     12/30/03 11:28a Leonh
 * Angieh:Change for DVD AUDIO navigator header.
 * 
 * 1     03-04-28 11:15 Fwang
 * Initial for DVDA
 * 
 * 3     4/26/02 12:47p Leslie
 * Change definition of np_info_push and np_info_pop
 * 
 * 2     23/04/02 9:34 Nirm
 * - Added dependency in "Config.h".
 * 
 * 1     2/17/02 12:12 Rinata
 * 
 * 2     9/01/02 16:40 Nirm
 * Corrected Include-Paths.
 ****************************************************************************************/

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

#ifndef _NVGAPROT_H
#define _NVGAPROT_H

/************ C_SPRM class translation - code *****************/

void sprm_SPRM( void );
WORD sprm_Get( WORD );
void sprm_GetAll( WORD *); /* C_SPRM::Get(WORD *) */
BOOL sprm_Set( int, WORD );
void sprm_Init( void );
//BOOL sprm_OneSecondTick( void );
//LX: use sprm_200msTick instead of sprm_OneSecondTick
void sprm_200msTick(void);

/************ C_GPRM class translation - code *****************/

void gprm_Init( void );
void gprm_OneSecondTick( void );
WORD gprm_Get(WORD n);
BOOL gprm_IsCounter( int );
void gprm_SetCounter( int );
void gprm_SetRegister( int );
void gprm_Set( int n,  WORD val  );

void gprm_SetAll( BYTE* sc_handle );
void gprm_GetAll( BYTE* sc_handle );

/*********** C_DSI_PKT class translation - code ************/
void dsipkt_Get_GI(S_DSI_GI *buffer);
void dsipkt_SEARCH_Fwd(int n, S_VOBU_SRI *buffer);
void dsipkt_SEARCH_Bwd(int n, S_VOBU_SRI *buffer);
void dsipkt_SML_Get_PBI(S_SML_PBI *buffer);
DWORD dsipkt_SYNC_Get_SP_PKA( int stream );
DWORD dsipkt_SML_Get_AGL_Destination_LBN(int AGL_C );
WORD dsipkt_SML_Get_AGL_Destination_Size_LBN(int AGL_C );

#ifdef LANGUAGE_LEARNING_SUPPORT
BOOL dsi_Get_Grammer_Cmd(void);
BOOL dsi_SC_Get_Grammer_Cmd(BYTE index, BYTE * cmdbuf);
#endif

DWORD pcipkt_Get_NSML_AGL_Destination_LBN(int AGL_C );

/*********** C_PCI_PKT class translation - code ************/

void pcipkt_Get_GI( BYTE *pPCI_SA, S_PCI_GI *buffer);
void pcipkt_Get_HL_GI(S_HL_GI *buffer);
BOOL pcipkt_SetDisplayMode( WORD mode );
void pcipkt_Get_Button_Color(int set, int info_type, S_COLI *buffer);
BOOL pcipkt_Get_Button_Position(int button, S_POSI *buffer);
BOOL pcipkt_Get_Button_Links(int button, S_AJBTN *buffer);
BOOL pcipkt_Get_Button_CMD(int button, BYTE *buffer);
 
/*********** C_DSI class translation - code ***************/
void dsi_C_DSI( void );
void dsi_SetE_STD( BOOL mode );
void dsi_ReceiveContainer( void );
DWORD dsi_GetScanDestination( void );
DWORD dsi_GetAngleDestination( void );
DWORD dsi_GetAngleScanVobu(DWORD dwAngle);//LX0703
BOOL dsi_SetCell( S_C_PBI* c_pbi, DWORD VOBUaddress );
BOOL dsi_GetCellPiece( S_CP *cp );
BOOL dsi_GetVOBU( S_CP *cp );
BOOL dsi_PositionUpdate( S_CP *vb, S_CP *cp );
void dsi_Reset( void ) ;
long dsi_EmptyStreamPump( void ); 

BOOL np_info_push( DWORD npi_stc_offset, DWORD npi_resume_lbn );//LX042602
BOOL np_info_pop( DWORD *p_npi_stc_offset, DWORD *p_npi_resume_lbn );//LX042602
void np_info_flush( void );

#endif //_NVGAPROT_H

⌨️ 快捷键说明

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