108 |
|
csTimingFlags = 16 |
109 |
|
}; |
110 |
|
|
111 |
< |
enum { // VDPageInfo struct |
112 |
< |
csPageMode = 0, |
113 |
< |
csPageData = 2, |
114 |
< |
csPagePage = 6, |
115 |
< |
csPageBaseAddr = 8 |
111 |
> |
enum { // VDResolutionInfo struct |
112 |
> |
csPreviousDisplayModeID = 0, |
113 |
> |
csRIDisplayModeID = 4, |
114 |
> |
csHorizontalPixels = 8, |
115 |
> |
csVerticalLines = 12, |
116 |
> |
csRefreshRate = 16, |
117 |
> |
csMaxDepthMode = 20, |
118 |
> |
csResolutionFlags = 22 |
119 |
> |
}; |
120 |
> |
|
121 |
> |
enum { // VDVideoParametersInfo struct |
122 |
> |
csDisplayModeID = 0, |
123 |
> |
csDepthMode = 4, |
124 |
> |
csVPBlockPtr = 6, |
125 |
> |
csPageCount = 10, |
126 |
> |
csDeviceType = 14 |
127 |
> |
}; |
128 |
|
|
129 |
+ |
enum { // VPBlock struct |
130 |
+ |
vpBaseOffset = 0, |
131 |
+ |
vpRowBytes = 4, |
132 |
+ |
vpBounds = 6, |
133 |
+ |
vpVersion = 14, |
134 |
+ |
vpPackType = 16, |
135 |
+ |
vpPackSize = 18, |
136 |
+ |
vpHRes = 22, |
137 |
+ |
vpVRes = 26, |
138 |
+ |
vpPixelType = 30, |
139 |
+ |
vpPixelSize = 32, |
140 |
+ |
vpCmpCount = 34, |
141 |
+ |
vpCmpSize = 36, |
142 |
+ |
vpPlaneBytes = 38 |
143 |
|
}; |
144 |
|
|
145 |
|
#endif |