NVGAPROT.H
上传用户:super_houu
上传日期:2008-09-21
资源大小:4099k
文件大小:4k
- /****************************************************************************************
- * 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( int );
- BOOL gprm_IsCounter( int );
- void gprm_SetCounter( int );
- void gprm_SetRegister( int );
- void gprm_Set( int , WORD );
- #ifdef NO_SCPAD
- void gprm_SetAll( WORD *);
- void gprm_GetAll( WORD *);
- #else
- void gprm_SetAll( WORD );
- void gprm_GetAll( WORD );
- #endif
- /*********** 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 ************/
- #ifdef NO_SCPAD
- void pcipkt_Get_GI( BYTE *pPCI_SA, S_PCI_GI *buffer);
- #else
- void pcipkt_Get_GI( WORD sc_handle, S_PCI_GI *buffer);
- #endif
- 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 );
- /************* misc function library *****************/
- DWORD fn_TIME_DECOD(char hTime,char mTime,char sTime,char fTime);
- DWORD fn_DWORD_SWAP( void* data);
- WORD fn_WORD_SWAP( void* data);
- 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