Mercurial > libdvdnav.hg
annotate nav_types.patch @ 118:48ba92648842 src
current versions of libdvdread use a nav_types.h we cannot use any more, because the
structures differ from what is actually on the disc -> provide a private copy
author | mroi |
---|---|
date | Thu, 06 Mar 2003 22:43:52 +0000 |
parents | |
children |
rev | line source |
---|---|
118
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
1 The libdvdread version of nav_types.h now differs from the actual disk |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
2 layout, which is problematic for libdvdread. We provide a patched |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
3 version of libdvdread's nav_types.h for internal use. |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
4 |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
5 --- libdvdread/dvdread/nav_types.h 2003-03-06 23:38:10.000000000 +0100 |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
6 +++ libdvdnav/src/nav_types.h 2003-03-06 23:20:24.000000000 +0100 |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
7 @@ -144,10 +144,6 @@ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
8 |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
9 /** |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
10 * Button Information |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
11 - * |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
12 - * NOTE: I've had to change the structure from the disk layout to get |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
13 - * the packing to work with Sun's Forte C compiler. |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
14 - * The 4 and 7 bytes are 'rotated' was: ABC DEF GHIJ is: ABCG DEFH IJ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
15 */ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
16 typedef struct { |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
17 #ifdef WORDS_BIGENDIAN |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
18 @@ -156,14 +152,13 @@ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
19 unsigned int zero1 : 2; /**< reserved */ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
20 unsigned int x_end : 10; /**< x end offset within the overlay */ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
21 |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
22 - unsigned int zero3 : 2; /**< reserved */ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
23 - unsigned int up : 6; /**< button index when pressing up */ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
24 - |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
25 unsigned int auto_action_mode : 2; /**< 0: no, 1: activated if selected */ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
26 unsigned int y_start : 10; /**< y start offset within the overlay */ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
27 unsigned int zero2 : 2; /**< reserved */ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
28 unsigned int y_end : 10; /**< y end offset within the overlay */ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
29 |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
30 + unsigned int zero3 : 2; /**< reserved */ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
31 + unsigned int up : 6; /**< button index when pressing up */ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
32 unsigned int zero4 : 2; /**< reserved */ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
33 unsigned int down : 6; /**< button index when pressing down */ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
34 unsigned int zero5 : 2; /**< reserved */ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
35 @@ -176,14 +171,13 @@ |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
36 unsigned int x_start : 10; |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
37 unsigned int btn_coln : 2; |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
38 |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
39 - unsigned int up : 6; |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
40 - unsigned int zero3 : 2; |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
41 - |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
42 unsigned int y_end : 10; |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
43 unsigned int zero2 : 2; |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
44 unsigned int y_start : 10; |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
45 unsigned int auto_action_mode : 2; |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
46 |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
47 + unsigned int up : 6; |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
48 + unsigned int zero3 : 2; |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
49 unsigned int down : 6; |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
50 unsigned int zero4 : 2; |
48ba92648842
current versions of libdvdread use a nav_types.h we cannot use any more, because the
mroi
parents:
diff
changeset
|
51 unsigned int left : 6; |