NVGATION.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: NVGATION.H $
- *
- * Description:
- * ============
- *
- *
- * Log:
- * ====
- * $Revision: 2 $
- * Last Modified by $Author: Leonh $ at $Modtime: 12/30/03 11:17a $
- ****************************************************************************************
- * Updates:
- ****************************************************************************************
- * $Log: /I76/I76_Common/I76_Reference/Playcore/Nav_DVD/Header/NVGATION.H $
- *
- * 2 12/30/03 11:29a Leonh
- * Angieh:Change for DVD AUDIO navigator header.
- *
- * 5 8/20/03 2:56p Leonh
- * Merge dvd audio code with the latest nav_dvd code with reference
- * 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
- *
- * 3 2/17/02 11:41 Rinata
- * Nav DVD sources are compiled to LIB
- *
- * 2 9/01/02 16:40 Nirm
- * Corrected Include-Paths.
- ****************************************************************************************/
- #include "Config.h" // Global Configuration - do not remove!
- #ifndef __NAVIGATION_H
- #define __NAVIGATION_H
- // structure definitions
- #include "PlaycoreNav_DVDHeaderprsation.h"
- #include "PlaycoreNav_DVDHeadermapping.h"
- #include "PlaycoreNav_DVDHeaderdvddef.h"
- // ****************************************************************************
- // Events
- // ****************************************************************************
- //
- // event value result return comment
- //
- //
- #define DVD_EVENT_ANGLE_CHANGE 256 // - - SUCCESS/FAILURE synchronizes angle change in PGC
- #define DVD_EVENT_EMPTY_STREAM_PUMP 257 // - - SUCCESS/FAILURE retrieves the VOBU to play
- #define DVD_EVENT_PTM 258 // - - SUCCESS/FAILURE retrieves the VOBU to play
- #define DVD_EVENT_TIME 259 // ID - SUCCESS/FAILURE retrieves the VOBU to play
- #define DVD_EVENT_CLOCK 260 // ID - SUCCESS/FAILURE retrieves the VOBU to play
- #define DVD_EVENT_STOP_STATUS 261 // - - -
- #define THREAD_SWITCH_EVENT 1000
- enum { NO_VMG_SELECTION = 0,
- VMG_SELECTION = 1
- };
- void spc_construct( void );
- void spc_delete( void );
- BOOL spc_ProgramChainPlay ( int PGCN );
- BOOL spc_PlayInSystemSpace( DWORD JumpSSarg );
- BOOL spc_FistPlay( void );
- long spc_TimePlay ( int title, int time );
- int spc_TitlePlay( int title, int part, int VMGselection);
- BOOL spc_BookmarkPlay ( int title, int pgcn );
- BOOL spca_BookmarkPlay( int title, int pgcn ,int group,int track);
- BOOL spc_BookmarkPlaySS( int domain, int pgcn, int vtsn, int vtsttn );
- // use it to test UOP0, UOP1 in TT_SRPT
- DWORD spc_Get_UOP_CTL( int title );
- long spc_GetPTTsNumber ( int title );
- long spc_GetAnglesNumber ( int title );
- BOOL spc_GetTitleStructure( int title, TITLE_INFO *ti );
- WORD spc_GetMenuStructure( void );
- void spc_stop_state( void );
- #define spc_GetFailureStatus() (gns.dvd.ptab.status)
- void spc_DomainChange( S_DOM *domain, DOMAIN_ID domainID );
- void spc_vmg_validation( void );
- void spc_amg_validation( void );
- void spc_validation(void);
- BOOL spca_PlayAMGM( void );
- int spca_GroupTrackPlay( int group, int track, int allow_hg_play);
- int spca_TimePlay(int gr_num,int time,DWORD *pgc_time);
- //Angiehe_0705_2004_A:After setting the DVD menu language in stop mode,Apply it when resume play.
- #ifdef APPLY_DVD_MENU_LANGUAGE_SETTING
- void spc_ReConstructMenuDom();
- #endif
- #endif //__NAVIGATION_H