DVDDEF.H
上传用户:super_houu
上传日期:2008-09-21
资源大小:4099k
文件大小:24k
- /***********************************************************************/
- /* File: */
- /* ===== */
- /* Descripton: */
- /* =========== */
- /* */
- /* Log: */
- /* ===== */
- /*
- $Name: $
- $Header: /I76/I76_Common/I76_Reference/Playcore/Nav_DVD/Header/DVDDEF.H 4 04-03-31 20:26 Angieh $
- $Log: /I76/I76_Common/I76_Reference/Playcore/Nav_DVD/Header/DVDDEF.H $
- *
- * 4 04-03-31 20:26 Angieh
- * Add support for index and page search.
- *
- * 3 12/30/03 11:27a Leonh
- * Angieh:Change for DVD AUDIO navigator header.
- *
- * 5 12/21/03 4:46p Leonh
- * Angieh:Support for the Bookmark Play.
- *
- * 4 03-05-12 15:58 Fwang
- *
- * 3 03-05-09 11:23 Fwang
- *
- * 2 03-04-30 17:59 Fwang
- * DVDA UOP define
- *
- * 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 8/01/02 16:24 Nirm
- * Corrected Include-Paths.
- Revision 1.11 2001/08/14 17:50:23Z lyncolnc
- Merge code from ZCH.
- Revision 1.11 2001/08/13 06:57:37 leslie
- Revision 1.11 2001/07/11 08:44:57 leslie
- Revision 1.2 2001/07/11 02:44:07 leslie
- Revision 1.1 2001/07/05 03:32:48 leslie
- Initial revision
- Revision 1.2 2001/06/27 08:28:06 leslie
- Revision 1.10 2001/03/09 23:11:16 bhupeshv
- Added resumevobu to DVDBookmark structure.
- Revision 1.9 2000/12/30 02:19:06 tia
- Save 2 more WORD in GPRM storage for SPRM timer information.
- Revision 1.8 2000/06/23 19:00:13 leslie
- Replace UINT with WORD
- Revision 1.7 2000/06/14 02:46:11 tia
- Revision 1.6 2000/06/06 20:59:36 tia
- Revision 1.5 2000/05/19 03:48:19 tia
- Revision 1.4 2000/05/17 02:41:27 tia
- Revision 1.3 2000/05/05 02:36:10 tia
- Revision 1.2 2000/04/27 02:47:10 tia
- Revision 1.1 2000/04/14 02:02:04 tia
- Initial revision
- */
- /***********************************************************************/
- #include "Config.h" // Global Configuration - do not remove!
- #ifndef DVDDEF_h
- #define DVDDEF_h 1
- #include <stdlib.h>
- #include "Includesysdefs.h"
- #define DVD_UOP__ 0L // always non-prohibited
- #define DVD_UOP00 1L
- #define DVD_UOP01 ( 1L << 1 )
- #define DVD_UOP02 ( 1L << 2 )
- #define DVD_UOP03 ( 1L << 3 )
- #define DVD_UOP04 ( 1L << 4 )
- #define DVD_UOP05 ( 1L << 5 )
- #define DVD_UOP06 ( 1L << 6 )
- #define DVD_UOP07 ( 1L << 7 )
- #define DVD_UOP08 ( 1L << 8 )
- #define DVD_UOP09 ( 1L << 9 )
- #define DVD_UOP10 ( 1L << 10 )
- #define DVD_UOP11 ( 1L << 11 )
- #define DVD_UOP12 ( 1L << 12 )
- #define DVD_UOP13 ( 1L << 13 )
- #define DVD_UOP14 ( 1L << 14 )
- #define DVD_UOP15 ( 1L << 15 )
- #define DVD_UOP16 ( 1L << 16 )
- #define DVD_UOP17 ( 1L << 17 )
- #define DVD_UOP18 ( 1L << 18 )
- #define DVD_UOP19 ( 1L << 19 )
- #define DVD_UOP20 ( 1L << 20 )
- #define DVD_UOP21 ( 1L << 21 )
- #define DVD_UOP22 ( 1L << 22 )
- #define DVD_UOP23 ( 1L << 23 )
- #define DVD_UOP24 ( 1L << 24 )
- #define DVD_UOP25 ( 1L << 25 )
- // ****************************************************************************
- // User Operations
- // ****************************************************************************
- //
- // operation UOP class(es) and class index param1 param2 Notes
- //
- // DVD-defined and CompCore (CC) specific UOPs
- //
- #define DVD_UOP_TIME_PLAY ( DVD_UOP00 ) // TTN time (sec)
- #define DVD_UOP_TIME_SEARCH ( DVD_UOP00 | DVD_UOP05 | ( 1L << 25 ) ) // time (sec) -
- #define DVD_UOP_PTT_PLAY ( DVD_UOP01 ) // TTN PTTN
- #define DVD_UOP_PTT_SEARCH ( DVD_UOP01 | DVD_UOP05 | ( 1L << 25 ) ) // PTTN -
- #define DVD_UOP_TITLE_PLAY ( DVD_UOP02 ) // TTN -
- #define DVD_UOP_STOP ( DVD_UOP03 ) // - -
- #define DVD_UOP_GOUP ( DVD_UOP04 ) // - -
- #define DVD_UOP_PREVPG_SEARCH ( DVD_UOP06 ) // - -
- #define DVD_UOP_TOPPG_SEARCH ( DVD_UOP06 | ( 1L << 25 ) ) // - -
- #ifdef DVD_AUDIO_INDEX
- #define DVD_UOP_PREVINDEX_SEARCH (DVD_UOP06 | (2L<<25))
- #define DVD_UOP_NEXTINDEX_SEARCH (DVD_UOP07 | (1L<<25))
- #endif
- #define DVD_UOP_NEXTPG_SEARCH ( DVD_UOP07 ) // - -
- #define DVD_UOP_FORWARD_SCAN ( DVD_UOP08 ) // speedx100 - speed=1 - normal play
- #define DVD_UOP_BACKWARD_SCAN ( DVD_UOP09 ) // speedx100 -
- #define DVD_UOP_TITLE_MENU ( DVD_UOP10 ) // - -
- #define DVD_UOP_ROOT_MENU ( DVD_UOP11 ) // - -
- #define DVD_UOP_SUBPICTURE_MENU ( DVD_UOP12 ) // - -
- #define DVD_UOP_AUDIO_MENU ( DVD_UOP13 ) // - -
- #define DVD_UOP_ANGLE_MENU ( DVD_UOP14 ) // - -
- #define DVD_UOP_PTT_MENU ( DVD_UOP15 ) // - -
- #define DVD_UOP_RESUME ( DVD_UOP16 ) // - -
- #define DVD_UOP_UPPER_BUTTON_SELECT ( DVD_UOP17 ) // - -
- #define DVD_UOP_LOWER_BUTTON_SELECT ( DVD_UOP17 | ( 1L << 25 ) ) // - -
- #define DVD_UOP_LEFT_BUTTON_SELECT ( DVD_UOP17 | ( 2L << 25 ) ) // - -
- #define DVD_UOP_RIGHT_BUTTON_SELECT ( DVD_UOP17 | ( 3L << 25 ) ) // - -
- #define DVD_UOP_BUTTON_ACTIVATE ( DVD_UOP17 | ( 4L << 25 ) ) // - -
- #define DVD_UOP_BUTTON_SELECT_AND_ACTIVATE ( DVD_UOP17 | ( 5L << 25 ) ) // button # -
- #define DVD_UOP_CC_BUTTON_SELECT ( DVD_UOP17 | ( 6L << 25 ) ) // button # -
- #define DVD_UOP_STILL_OFF ( DVD_UOP18 ) // - -
- #define DVD_UOP_PAUSE_ON ( DVD_UOP19 ) // - -
- #define DVD_UOP_AUDIO_STREAM_CHANGE ( DVD_UOP20 ) // stream # -
- #define DVD_UOP_SUBPICTURE_STREAM_CHANGE ( DVD_UOP21 ) // stream # Display On/Off (1/0) flag
- #define DVD_UOP_ANGLE_CHANGE ( DVD_UOP22 ) // angle # -
- #define DVD_UOP_KARAOKE_AUDIO_MODE_CHANGE ( DVD_UOP23 ) // mode -
- #define DVD_UOP_VIDEO_MODE_CHANGE ( DVD_UOP24 ) // mode -
- #define DVD_UOP_PAUSE_OFF ( DVD_UOP__ ) // - -
- #define DVD_UOP_MENU_LANGUAGE_SELECT ( DVD_UOP__ | ( 1L << 25 ) ) // language -
- #define DVD_UOP_PARENTAL_LEVEL_SELECT ( DVD_UOP__ | ( 2L << 25 ) ) // level -
- #define DVD_UOP_PARENTAL_COUNTRY_SELECT ( DVD_UOP__ | ( 3L << 25 ) ) // level -
- #define DVD_UOP_CC_CONFIGURE ( DVD_UOP__ | ( 4L << 25 ) ) // config type -
- #define DVD_UOP_CC_OPEN_DISK ( DVD_UOP__ | ( 5L << 25 ) ) // path -
- #define DVD_UOP_CC_INITIAL_ACCESS ( DVD_UOP__ | ( 6L << 25 ) ) // path -
- #define DVD_UOP_CC_PLAYBACK_STEP ( DVD_UOP__ | ( 7L << 25 ) ) // - -
- #define DVD_UOP_CC_EJECT ( DVD_UOP__ | ( 8L << 25 ) ) // - -
- #define DVD_UOP_CC_AUDIO ( DVD_UOP__ | ( 9L << 25 ) ) // On/Off -
- #define DVD_UOP_CC_VOLUME ( DVD_UOP__ | (10L << 25 ) ) // Relative T/F- Volume
- #define DVD_UOP_VALIDATE ( DVD_UOP__ | (11L << 25 ) )
- #define DVD_UOP_CC_SINGLE_STEP ( DVD_UOP__ | (12L << 25 ) )
- #define DVD_UOP_CC_REPEAT ( DVD_UOP__ | (13L << 25 ) )
- #define DVD_UOP_CC_BOOKMARK_SET ( DVD_UOP__ | (14L << 25 ) )
- #define DVD_UOP_CC_BOOKMARK_PLAY ( DVD_UOP__ | (15L << 25 ) )
- #define DVD_UOP_MOUSE_ACTIVATE ( DVD_UOP__ | (16L << 25 ) )
- #define DVD_UOP_MOUSE_SELECT ( DVD_UOP__ | (17L << 25 ) )
- #define DVD_UOP_CC_FPS ( DVD_UOP__ | (18L << 25 ) )
- #define DVD_UOP_CC_MUTE ( DVD_UOP__ | (19L << 25 ) )
- #define VCD_UOP_CC_HI_LO_RES ( DVD_UOP__ | (20L << 25 ) ) // Hi res on/off - Selects hi/lo res still
- #define DVD_UOP_PLAYMODE_CHANGE ( DVD_UOP__ | (21L << 25 ) )
- #define DVD_UOP_GROUP_TRACK_SEARCH ( DVD_UOP__ | (22L << 25) )
- #ifdef LANGUAGE_LEARNING_SUPPORT
- #define DVD_UOP_LEARNING_SUB_SELECT ( DVD_UOP__ | (23L << 25 ) )
- #define DVD_UOP_JMP_GRAMMER_PGC ( DVD_UOP__ | (24L << 25 ) )
- #endif
- //
- // Button location used in DVD_INFO_BUTTON_LOC
- //
- typedef struct {
- BYTE flags;
- BYTE button_number;
- WORD startX, endX;
- WORD startY, endY;
- } BUTTON_LOC;
- //
- // BUTTON_LOC's flags
- //
- #define AUTO_ACTION_BUTTON 0x0001
- #define INITIAL_SELECTED_BUTTON 0x0002
- //
- // Volume ID
- //
- typedef struct {
- WORD number_of_volumes;
- WORD volume_number;
- BYTE disc_side;
- } VOLUME_ID;
- //
- // Title Structure
- //
- typedef struct {
- BYTE tty_pb; // title playback type
- BYTE agl_ns; // number of angles
- WORD ptt_ns; // number of PTTs
- WORD ptl_id; // for compatibility with GUI and DS nav filter
- // to be removed soon
- WORD ptl_ls; // valid parental levels (bitwise or-ed):
- // 0x0100 is level 1, ..., 0x8000 is level 8
- BYTE vtsn; // VTS number
- BYTE vts_ttn; // VTS title number
- } TITLE_INFO;
- //
- // Language Units
- //
- #define MAX__LANGUAGE_UNITS 16
- typedef struct {
- WORD units;
- WORD code[ MAX__LANGUAGE_UNITS ];
- } LANGUAGE_UNITS;
- typedef struct {
- LANGUAGE_UNITS vmgm;
- LANGUAGE_UNITS vtsm;
- } MENU_LANGUAGES;
- //
- // Audio Attributes
- //
- typedef struct {
- BYTE coding_mode; // Audio coding mode
- BYTE multich_ext; // Multichannel extension
- BYTE atype; // audio type
- BYTE app_mode; // audio application mode
- BYTE quantization;
- BYTE fs;
- BYTE down_mix_flag;
- BYTE n_chan; // number of channels from (1 to 8)
- WORD spec_code; //specific code
- BYTE spec_code_ext; //specific code extension
- BYTE appi; // application information
- } AUDIO_ATTRIBUTES;
- typedef struct {
- BYTE CodingMode; // Audio coding mode
- BYTE Q_G1; // Quantization of group 1
- BYTE Q_G2; // Quantization of group 2
- BYTE Fs_G1; // Sampling frequency of group 1
- BYTE Fs_G2; // Sampling frequency of group 2
- BYTE MultiChannelType;
- BYTE ChannelAssignment;
- } DVDA_AUDIO_ATTRIBUTES;
- //
- // Bookmark structure
- //
- // IMPORTANT : IF YOU MODIFY THIS STRUCTURE, MAKE SURE TO MODIFY SIZE OF _PonDVDBookmark IN COREMAINCORENVG.C
- // OTHERWISE POWERON RESUME MAY NOT WORK ....ZORAN BMV0308
- typedef struct {
- DWORD vobu;
- WORD ptt;
- WORD pgcn;
- WORD pgn;
- WORD pgc_time;
- WORD cell_time;
- #ifdef NO_SCPAD
- WORD gprm[ 16 ];
- #else
- WORD gprm_sc_handle;
- #endif
- BYTE domain;
- BYTE vtsn;
- BYTE vtsttn;
- BYTE att_grn; // Group number for DVD-A
- BYTE tkn; // Track number for DVD-A
- BYTE dlist; //dlist number for DVD-A
- BYTE pgct; // PGC type
- BYTE title;
- BYTE angle;
- BYTE audio;
- BYTE spict;
- BYTE hbttn;
- DWORD resume_vobu; // [FFM] (SN:060) add resume vobu
- } DVD_BOOKMARK;
- /*<<<< ZORAN TC1228: Increase GPRMs array saved by 2 to store SPRM TIMER information */
- #define GPRM_SIZE (18*sizeof(WORD)) /* 16 GPRM + 2 SPRM (Timer information) */
- /* ZORAN TC1228 >>>> */
- /* Ilie's fix - commented out because can be confusing with rest of system
- //
- // Media Types: bug #309
- //
- typedef enum {DVD, VCD, FLAT} MEDIA_TYPE;
- */
- //
- // Language/Country code generator
- //
- // usage: MAKE_DVD_CODE('e','n') for English
- //
- #define MAKE_DVD_LANGUAGE_CODE(a,b) ((WORD)(a*256 + b))
- #define MAKE_DVD_COUNTRY_CODE(a,b) ((WORD)(a*256 + b))
- //
- // Audio Presentation modes
- //
- #define DVD_AUDIO_MODE_MONO 0
- #define DVD_AUDIO_MODE_STEREO 1
- #define DVD_AUDIO_MODE_SURROUND 2
- #define DVD_AUDIO_MODE_THREE_D 3
- #define DVD_AUDIO_SPDIF_OFF 4
- #define DVD_AUDIO_SPDIF_ON 5
- //
- // Video Presentation modes
- //
- #define DVD_VIDEO_MODE_WIDE 0
- #define DVD_VIDEO_MODE_LETTERBOX 1
- #define DVD_VIDEO_MODE_PANSCAN 2
- #define DVD_VIDEO_MODE_DEFAULT DVD_VIDEO_MODE_WIDE
- //
- // Karaoke Presentation modes
- //
- #define DVD_KARAOKE_AUDIO_MODE_DEFAULT 0
- #define DVD_KARAOKE_AUDIO_MODE_VOCALS_OFF DVD_KARAOKE_AUDIO_MODE_DEFAULT
- #define DVD_KARAOKE_AUDIO_MODE_VOCAL1 1
- #define DVD_KARAOKE_AUDIO_MODE_VOCAL2 2
- #define DVD_KARAOKE_AUDIO_MODE_VOCALS_ON 3
- //Audio Quality modes
- #define DVD_AUDIO_QUALITY_CD 1
- #define DVD_AUDIO_QUALITY_FM 2
- //Audio Mute settings
- #define DVD_AUDIO_MUTE_OFF 0
- #define DVD_AUDIO_MUTE_ON 1
- //
- // Repeat modes
- //
- #define DVD_NO_REPEAT 0
- #define DVD_CELL_REPEAT 1
- #define DVD_CELL_NOTIFY 2
- #define DVD_PROGRAM_REPEAT 3
- #define DVD_PROGRAM_NOTIFY 4
- #define DVD_PGC_REPEAT 5
- #define DVD_PGC_NOTIFY 6
- #define DVD_PGC_SHUFFLE 7
- #define DVD_DISK_REPEAT 8
- #define DVD_DISK_SHUFFLE 9
- #define DVD_BMRK_REPEAT 10
- #define DVD_BMRK_BNOTIFY 11
- /*
- //
- // Repeat modes
- //
- #define DVD_NO_REPEAT 0
- #define DVD_CELL_REPEAT 2
- #define DVD_CELL_NOTIFY 3
- #define DVD_PROGRAM_REPEAT 4
- #define DVD_PROGRAM_NOTIFY 5
- #define DVD_PGC_REPEAT 6
- #define DVD_PGC_NOTIFY 7
- #define DVD_PGC_SHUFFLE 8
- #define DVD_DISK_REPEAT 9
- #define DVD_DISK_NOTIFY 10
- #define DVD_DISK_SHUFFLE 11
- #define DVD_BMRK_REPEAT 12
- #define DVD_BMRK_BNOTIFY 13
- */
- //
- // Configuration parameters:
- // Bug #82 (DS dbase)
- #define DVD_CONFIGURE_AUDIO 0
- #define DVD_CONFIGURE_VIDEO 1
- // ****************************************************************************
- // DVD Information
- // ****************************************************************************
- //
- // information specifier detail output result
- //
- //- #define DVD_INFO_TITLE_NAME 2 // TTN - textual name name length
- //- #define DVD_INFO_PTT_NAME 4 // TTN PTTN textual name name length
- //- #define DVD_INFO_LANGUAGES 5 // - - - # of languages
- //- #define DVD_INFO_LANGUAGE_NAME 6 // lng index - textual name name length
- //- #define DVD_INFO_AUDIO_STREAM_NAME 8 // strm index - textual name name length
- //- #define DVD_INFO_SPU_STREAM_NAME 10 // strm index - textual name name length
- //- #define DVD_INFO_ANGLE_NAME 12 // strm index - textual name name length
- //- #define DVD_INFO_VIDEO_MODE_EXISTS 14 // mode - - TRUE/FALSE
- //- #define DVD_INFO_AUDIO_IS_KARAOKE 15 // - - - TRUE/FALSE
- #define DVD_INFO_AUDIO_ATTRIBUTES 17 // strm index - AUDIO_ATTRIBUTES
- #define DVD_INFO_SPU_LANGUAGE 18 // strm index - 4-byte value: hi word = language code, low byte = lang code extension
- #define DVD_INFO_ERROR_MESSAGE 32 // - - - Error Text Message
- #define DVD_INFO_BUTTON_LOC 34 // button # - BUTTON_LOC TRUE/FALSE
- #define DVD_INFO_PTTS 35 // TTN - - # of PTTs
- #define DVD_INFO_ANGLES 36 // TTN - - # of angles
- #define DVD_INFO_MENU_STRUCTURE 37 // - - - bit mask
- //- #define DVD_INFO_MEDIA_PRESENT 38 // drive ltr - - TRUE if no media in DVD drive
- #define DVD_INFO_TITLE_STRUCTURE 39 // TTN - TITLE_INFO TRUE/FALSE
- //- #define DVD_INFO_VOLUME_LEVEL 40 // - - - volume level
- #define DVD_INFO_STILL_DURATION 41 // - - - still duration (in seconds)
- #define DVD_INFO_REPEAT_MODE 42 // - - - current repeat mode
- //- #define DVD_INFO_FPS 43 // - - FPS(float) TRUE/FALSE
- //- #define DVD_INFO_MUTE 44 // - - DVD_AUDIO_MUTE_ON/DVD_AUDIO_MUTE_OFF(DWORD) TRUE/FALSE
- //- #define DVD_INFO_TOTAL_TITLE_TIME 45 // - current - time(long)(sec)TRUE/FALSE
- #define DVD_INFO_VOLUME_ID 46 // - - VOLUME_ID
- // information specific to DVD-Audio
- #define DVDA_INFO_AUDIO_ATTRIBUTES 47
- //
- // Menu mask used in DVD_INFO_MENU_STRUCTURE
- //
- #define DVD_TITLE_MENU 0x0001
- #define DVD_ROOT_MENU 0x0002
- #define DVD_SUBPICTURE_MENU 0x0004
- #define DVD_AUDIO_MENU 0x0008
- #define DVD_ANGLE_MENU 0x0010
- #define DVD_PTT_MENU 0x0020
- //
- // Specific Warning and Error codes. The values must be kept identical with
- // those defined by DVD_ERROR and DVD_WARNING types in dvdevcod.h of the
- // Direct X SDK. All errors result in a stop condition. Warnings will not
- // necessarily stop playback.
- //
- #define DVD_ERROR_UNEXPECTED 1 // unspecified error
- #define DVD_ERROR_COPY_PROTECT_FAIL 2 // key exchange for copy protection failed
- #define DVD_ERROR_INVALID_DVD_1_0_DISC 3 // disc not authored correctly. Doesn't meet 1.0 spec
- #define DVD_ERROR_INVALID_DISC_REGION 4 // disc not approved for playback by decoders from this region
- #define DVD_ERROR_LOW_PARENTAL_LEVEL 5 // player's parental level set too low to play DVD
- #define DVD_ERROR_MACROVISION_FAIL 6 // Macrovision distribution failed.
- #define DVD_WARNING_INVALID_DVD_1_0_DISC 1 // disc authored incorrectly. Unexpected behavior may occur
- #define DVD_WARNING_FORMAT_NOT_SUPPORTED 2 // decoder doesn't support current format. Playback of stream
- // might not function. Example: stream is LPCM, but decoder doesn't support LPCM
- #define DVD_WARNING_ILLEGAL_NAV_COMMAND 3 // DVD navigator attempted to process an illegal command
- // ****************************************************************************
- // DVD Status Bits
- // ****************************************************************************
- //
- // Status Bit Mask Parameter Notes
- //
- #define DVD_STATUS_STOP 0x00000001L // UOP mask Stop
- #define DVD_STATUS_PLAY 0x00000002L // UOP mask Play
- #define DVD_STATUS_PAUSE 0x00000004L // UOP mask Paues
- #define DVD_STATUS_STILL 0x00000010L // UOP mask Still
- #define DVD_STATUS_TITLES 0x00000020L // #titles Titles info available
- #define DVD_STATUS_AUDIOS 0x00000040L // #audio Audio info available for the current title
- #define DVD_STATUS_SPUS 0x00000080L // #spu Subpicture info available for the current title
- #define DVD_STATUS_PARENTAL_CONTROL 0x00000100L // level Parental Management available if level is not 0
- // Also reports the new parental level every time is changed
- #define DVD_STATUS_WINDOW_ID 0x00000200L // hwnd New playback window handle
- #define DVD_STATUS_HLI 0x00000400L // - Highlight Information is to be activated
- #define DVD_STATUS_UOP 0x00000800L // BOOL pending UOP execution status
- #define DVD_STATUS_TITLE_CHANGE 0x00001000L // title num title changed -- title num (LSB 8 bits) is 0 outside Title Domain
- #define DVD_STATUS_ANGLE_CHANGE 0x00002000L // angle num angle changed via angle menu / UOP
- #define DVD_STATUS_AUDIO_CHANGE 0x00004000L // audio str audio stream changed via angle menu / UOP
- #define DVD_STATUS_SPU_CHANGE 0x00008000L // subpict str subpict stream changed via angle menu /UOP
- #define DVD_STATUS_PTT_CHANGE 0x00010000L // PTT num PTT changed
- #define DVD_STATUS_SCAN 0x00020000L // scan speed
- #define DVD_STATUS_REGION_MANAGEMENT 0x00040000L // RMA (see DVD VI4-4)
- #define DVD_STATUS_INIT 0x00080000L // -- After InitialAccess, no other status rcvd. Bug #606
- #define DVD_STATUS_TIME 0x00100000L // PGC / Title and Cell / Chapter elapsed time
- // (each 14 bit, in sec),
- // last (LSB) 4 bits are the tc_flag (01 for 25fps, 11 for 30fps)
- #define DVD_STATUS_PLAYBACK_TIME 0x00200000L // PGC / Title and Cell / Chapter playback time
- // (each 14 bit, in sec), last (LSB) 4 bits PGC play mode
- #define DVD_STATUS_AVAILABLE_ANGLES 0x00400000L // Available angles
- #define DVD_STATUS_LOOP 0x00800000L // Repeat mode
- #define DVD_STATUS_CURRENT_BUTTON 0x01000000L // button #
- #define DVD_STATUS_WARNING 0x02000000L // specific warning. MS Nav compatibility feature
- #define DVD_STATUS_ERROR 0x04000000L // specific error. MS Nav compatibility feature
- //* #define DVD_STATUS_MEDIA_TYPE 0x08000000 // media being played DVD, VCD, or FLAT
- //* #define VCD_STATUS_STREAM_DATA 0x10000000 // video attribs of currently selected stream.
- #define DVD_STATUS_DOMAIN_CHANGE 0x08000000L //ZORAN LX0709: Notify the UI the domain is changed
- //
- // Domain ID for DVD_STATUS_TITLE_CHANGE (MSB 8 bits)
- //
- #define DVD_FP_DOM 0
- #define DVD_VMGM_DOM 1
- #define DVD_VTSM_DOM 2
- #define DVD_TT_DOM 3
- #define DVD_STOP_DOM 4
- //
- // SUCCESS / FAILURE
- //
- #define SUCCESS 0
- #define FAILURE -1
- #define FAILURE_FILE_ENCRYPTED -2
- //## end module.additionalDeclarations
- #endif // DVDDEF_h