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

📄 nmi.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: NMI.H $             
 *
 * Description: 
 * ============
 * 
 * 
 * Log:
 * ====
 * $Revision: 2 $
 * Last Modified by $Author: Leonh $ at $Modtime: 12/30/03 11:16a $ 
 ****************************************************************************************
 * Updates:
 ****************************************************************************************
 * $Log: /I76/I76_Common/I76_Reference/Playcore/Nav_DVD/Header/NMI.H $
 * 
 * 2     12/30/03 11:28a Leonh
 * Angieh:Change for DVD AUDIO navigator header.
 * 
 * 1     03-04-28 11:15 Fwang
 * Initial for DVDA
 * 
 * 2     23/04/02 9:34 Nirm
 * - Added dependency in "Config.h".
 * 
 * 1     2/17/02 12:12 Rinata
 * 
 * 1     2/17/02 11:38 Rinata
 * 
 * 2     9/01/02 16:40 Nirm
 * Corrected Include-Paths.
 ****************************************************************************************/

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

#ifndef __NMI_H
#define __NMI_H

#include "Playcore\Nav_DVD\Header\nvdvgdef.h"
#include "Playcore\Nav_DVD\Header\nvgaprot.h"

/* Navigator calling Interface used by navigator client*/
void	NMI_Init( void );
void	NMI_End( void );
void	NMI_DSIpackReady( BYTE buffer_num );
BOOL NMI_PCIpackReady( BYTE buffer_num );  // returns FALSE if PCI buffer full

#define NMI_NotifyScheduledEvent( client)		{ schop_NotifyEvent( (S_ScheduledOp *) client); nm_check_auto_notification();}
#define NMI_NotifyEmptyStreamPump()							nm_client_NotifyEvent( DVD_EVENT_EMPTY_STREAM_PUMP )
#define NMI_NotifyOneSecondEvent()							{ rtpb_NotifyEvent(); nm_check_auto_notification();}
#define NMI_GetInfo( type, value, presult )					nm_GetInfo( type, value, presult )	
#define NMI_UserOperation( UOP , arg1 , arg2 )				{ nm_UserOperation( UOP, arg1, arg2); nm_check_auto_notification();}
#define NMI_Refresh_PlayerSettings()						nm_Refresh_PlayerSettings()

/* Navigator internal functions mapped to Navigator calling I/F */
extern long nm_client_NotifyEvent( int event);
extern long rtpb_NotifyEvent( void );
extern void nm_StatusChanged( long n, long m);
extern long schop_NotifyEvent( S_ScheduledOp *client);
extern long nm_GetInfo( long type, long value, void *result );
extern void nm_Refresh_PlayerSettings( void );
extern BOOL nm_UserOperation( long UOP, long arg1, long arg2 );
extern long nm_check_auto_notification( void );


/* UI calling I/F for Navigator */
extern void UI_StatusChanged( long info_ID, long specifier ); /* must be provided by navigator client */
extern void UI_RequestParentalLevelChange( WORD old_val, WORD *new_val );

#define nm_StatusChanged( n, m)		UI_StatusChanged( n, m )  /* mapping to internal navigator status update function, used by navigator */

#endif // __NMI_H

⌨️ 快捷键说明

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