1 | #ifndef _DVDEVCOD_H
|
---|
2 | #define _DVDEVCOD_H
|
---|
3 | #if __GNUC__ >=3
|
---|
4 | #pragma GCC system_header
|
---|
5 | #endif
|
---|
6 |
|
---|
7 | #ifdef __cplusplus
|
---|
8 | extern "C" {
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | #define EC_DVD_ANGLE_CHANGE 0x0106
|
---|
12 | #define EC_DVD_ANGLES_AVAILABLE 0x0113
|
---|
13 | #define EC_DVD_AUDIO_STREAM_CHANGE 0x0104
|
---|
14 | #define EC_DVD_BUTTON_AUTO_ACTIVATED 0x0115
|
---|
15 | #define EC_DVD_BUTTON_CHANGE 0x0107
|
---|
16 | #define EC_DVD_CHAPTER_AUTOSTOP 0x010E
|
---|
17 | #define EC_DVD_CHAPTER_START 0x0103
|
---|
18 | #define EC_DVD_CMD_START 0x0116
|
---|
19 | #define EC_DVD_CMD_END 0x0117
|
---|
20 | #define EC_DVD_CURRENT_HMSF_TIME 0x011A
|
---|
21 | #define EC_DVD_CURRENT_TIME 0x010B
|
---|
22 | #define EC_DVD_DISC_EJECTED 0x0118
|
---|
23 | #define EC_DVD_DISC_INSERTED 0x0119
|
---|
24 | #define EC_DVD_DOMAIN_CHANGE 0x0101
|
---|
25 | #define EC_DVD_ERROR 0x010C
|
---|
26 | #define EC_DVD_KARAOKE_MODE 0x011B
|
---|
27 | #define EC_DVD_NO_FP_PGC 0x010F
|
---|
28 | #define EC_DVD_PARENTAL_LEVEL_CHANGE 0x0111
|
---|
29 | #define EC_DVD_PLAYBACK_RATE_CHANGE 0x0110
|
---|
30 | #define EC_DVD_PLAYBACK_STOPPED 0x0112
|
---|
31 | #define EC_DVD_PLAYPERIOD_AUTOSTOP 0x0114
|
---|
32 | #define EC_DVD_STILL_OFF 0x010A
|
---|
33 | #define EC_DVD_STILL_ON 0x0109
|
---|
34 | #define EC_DVD_SUBPICTURE_STREAM_CHANGE 0x0105
|
---|
35 | #define EC_DVD_TITLE_CHANGE 0x0102
|
---|
36 | #define EC_DVD_VALID_UOPS_CHANGE 0x0108
|
---|
37 | #define EC_DVD_WARNING 0x010D
|
---|
38 | typedef enum _tagDVD_ERROR {
|
---|
39 | DVD_ERROR_Unexpected = 1,
|
---|
40 | DVD_ERROR_CopyProtectFail = 2,
|
---|
41 | DVD_ERROR_InvalidDVD1_0Disc = 3,
|
---|
42 | DVD_ERROR_InvalidDiscRegion = 4,
|
---|
43 | DVD_ERROR_LowParentalLevel = 5,
|
---|
44 | DVD_ERROR_MacrovisionFail = 6,
|
---|
45 | DVD_ERROR_IncompatibleSystemAndDecoderRegions = 7,
|
---|
46 | DVD_ERROR_IncompatibleDiscAndDecoderRegions = 8
|
---|
47 | } DVD_ERROR;
|
---|
48 | typedef enum _tagDVD_PB_STOPPED {
|
---|
49 | DVD_PB_STOPPED_Other = 0,
|
---|
50 | DVD_PB_STOPPED_NoBranch = 1,
|
---|
51 | DVD_PB_STOPPED_NoFirstPlayDomain = 2,
|
---|
52 | DVD_PB_STOPPED_StopCommand = 3,
|
---|
53 | DVD_PB_STOPPED_Reset = 4,
|
---|
54 | DVD_PB_STOPPED_DiscEjected = 5,
|
---|
55 | DVD_PB_STOPPED_IllegalNavCommand = 6,
|
---|
56 | DVD_PB_STOPPED_PlayPeriodAutoStop = 7,
|
---|
57 | DVD_PB_STOPPED_PlayChapterAutoStop = 8,
|
---|
58 | DVD_PB_STOPPED_ParentalFailure = 9,
|
---|
59 | DVD_PB_STOPPED_RegionFailure = 10,
|
---|
60 | DVD_PB_STOPPED_MacrovisionFailure = 11,
|
---|
61 | DVD_PB_STOPPED_DiscReadError = 12,
|
---|
62 | DVD_PB_STOPPED_CopyProtectFailure = 13
|
---|
63 | } DVD_PB_STOPPED;
|
---|
64 | typedef enum _tagDVD_WARNING {
|
---|
65 | DVD_WARNING_InvalidDVD1_0Disc = 1,
|
---|
66 | DVD_WARNING_FormatNotSupported = 2,
|
---|
67 | DVD_WARNING_IllegalNavCommand = 3,
|
---|
68 | DVD_WARNING_Open = 4,
|
---|
69 | DVD_WARNING_Seek = 5,
|
---|
70 | DVD_WARNING_Read = 6
|
---|
71 | } DVD_WARNING;
|
---|
72 |
|
---|
73 | #ifdef __cplusplus
|
---|
74 | }
|
---|
75 | #endif
|
---|
76 | #endif
|
---|