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

📄 action.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: ACTION.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/ACTION.H $
 * 
 * 2     12/30/03 11:26a 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 __ACTION_H
#define __ACTION_H

#include "Playcore\Nav_DVD\Header\nvgation.h"


#define nc_CmdID_1( ncp ) ((CmdID)( (ncp->st.buffer[ 0 ] & 0xE0) >> 5))
#define nc_CmdID_2( ncp ) ((ncp->st.buffer[ 0 ] & 0x10) >> 4)
#define nc_I_flagSet( ncp ) ((ncp->st.buffer[ 0 ] & 0x10) >> 4)
#define nc_SetField( ncp ) ((CmdOpt) (ncp->st.buffer[ 0 ] & 0x0F))
#define nc_I_flagCmp( ncp ) ((ncp->st.buffer[ 1 ] & 0x80) >> 7)
#define nc_CompField( ncp ) ((CmdOpt)((ncp->st.buffer[ 1 ] & 0x70) >> 4))
#define nc_BranchFld( ncp ) ((CmdOpt)((ncp->st.buffer[ 1 ] & 0x0F)     ))
#define nc_SCG( ncp ) ( ncp->st.buffer[ 1 ] & 0x0F)
#define nc_SDG( ncp, offset ) ( (int) (ncp->st.buffer[ offset ] & 0x0F))


BOOL TemporaryParentalLevelChange( void );

// OK to inherit these non-exportable classes because they are
// completely defined inline.
BOOL act_is_nothing( S_Action *ap );
char *act_name( CmdID ci ) ;
void act_Set2( S_Action *ap, CmdID ci, BYTE *rawcmd );
void act_Set1( S_Action *ap, CmdID ci, CmdOpt co, DWORD a );
void act_Init( S_Action *ap, CmdID ci, CmdOpt co, DWORD a );

char* ema_GetErrorMessage( S_EmitAction *eap);
CmdOpt ema_GetLastErrorCode( S_EmitAction *eap );
CmdOpt ema_ResetLastError( S_EmitAction *eap );
BOOL ema_report_error( S_EmitAction *eap, CmdOpt co );
BOOL ema_init2 ( S_EmitAction *eap, CmdID ci, BYTE *rawcmd );
BOOL ema_init1( S_EmitAction *eap, CmdID ci, CmdOpt co, DWORD a );

BOOL nc_compare( S_NavigationCommand *ncp, int l_arg, int r_arg );
BOOL nc_jump( S_NavigationCommand *ncp );
BOOL nc_link( S_NavigationCommand *ncp, CmdOpt branch_field );
BOOL nc_go_to( S_NavigationCommand *ncp );
BOOL nc_Decode( S_NavigationCommand *ncp, BYTE *cmd, S_Action *action );
void nc_set( S_NavigationCommand *ncp, int l_arg, int r_arg );
void nc_set_system( S_NavigationCommand *ncp );

#endif //__ACTION_H

⌨️ 快捷键说明

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