NMI.H
上传用户:super_houu
上传日期:2008-09-21
资源大小:4099k
文件大小:3k
- /****************************************************************************************
- * 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 "PlaycoreNav_DVDHeadernvdvgdef.h"
- #include "PlaycoreNav_DVDHeadernvgaprot.h"
- /* Navigator calling Interface used by navigator client*/
- void NMI_Init( void );
- void NMI_End( void );
- BOOL NMI_PCIpackReady( BYTE buffer_num ); // returns FALSE if PCI buffer full
- void NMI_DSIpackReady( BYTE buffer_num );
- #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