Changeset 20243 in vbox for trunk/include/VBox
- Timestamp:
- Jun 4, 2009 12:06:23 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxVideo.h
r20009 r20243 258 258 { 259 259 VBOXVHWACMD_TYPE_SURF_CREATE = 1, 260 VBOXVHWACMD_TYPE_SURF_DESTROY 260 VBOXVHWACMD_TYPE_SURF_DESTROY, 261 VBOXVHWACMD_TYPE_SURF_LOCK, 262 VBOXVHWACMD_TYPE_SURF_UNLOCK, 263 VBOXVHWACMD_TYPE_SURF_BLT 261 264 } VBOXVHWACMD_TYPE; 262 265 … … 289 292 #define VBOXVHWASURF_OVERLAY 0x00000002 290 293 294 typedef struct _VBOXVHWA_COLORKEY 295 { 296 uint32_t low; 297 uint32_t high; 298 } VBOXVHWA_COLORKEY; 299 300 typedef struct _VBOXVHWA_PIXELFORMAT 301 { 302 uint32_t flags; 303 uint32_t fourCC; 304 union 305 { 306 uint32_t rgbBitCount; 307 uint32_t yuvBitCount; 308 } c; 309 310 union 311 { 312 uint32_t rgbRBitMask; 313 uint32_t yuvYBitMask; 314 } m1; 315 316 union 317 { 318 uint32_t rgbGBitMask; 319 uint32_t yuvUBitMask; 320 } m2; 321 322 union 323 { 324 uint32_t rgbBBitMask; 325 uint32_t yuvVBitMask; 326 } m3; 327 } VBOXVHWA_PIXELFORMAT; 328 291 329 typedef struct _VBOXVHWA_SURFINFO 292 330 { 293 uint32_t surfChars; 294 VBOXVHWA_RECTL rectl; 331 uint32_t height; 332 uint32_t width; 333 VBOXVHWA_COLORKEY DstOverlayCK; 334 VBOXVHWA_COLORKEY DstBltCK; 335 VBOXVHWA_COLORKEY SrcOverlayCK; 336 VBOXVHWA_COLORKEY SrcBltCK; 337 VBOXVHWA_PIXELFORMAT PixelFormat; 338 uint32_t surfCaps; 339 uint32_t Reserved; 295 340 } VBOXVHWA_SURFINFO; 296 341 … … 321 366 } u; 322 367 } VBOXVHWACMD_SURF_DESTROY; 368 369 typedef struct _VBOXVHWACMD_SURF_LOCK 370 { 371 union 372 { 373 struct 374 { 375 VBOXVHWA_SURFHANDLE hSurf; 376 uint32_t flags; 377 uint32_t Reserved; 378 VBOXVHWA_RECTL rect; 379 } in; 380 } u; 381 } VBOXVHWACMD_SURF_LOCK; 382 383 typedef struct _VBOXVHWACMD_SURF_UNLOCK 384 { 385 union 386 { 387 struct 388 { 389 VBOXVHWA_SURFHANDLE hSurf; 390 } in; 391 } u; 392 } VBOXVHWACMD_SURF_UNLOCK; 393 394 typedef struct _VBOXVHWACMD_SURF_BLT 395 { 396 union 397 { 398 struct 399 { 400 VBOXVHWA_SURFHANDLE hDstSurf; 401 VBOXVHWA_RECTL dstRect; 402 VBOXVHWA_SURFHANDLE hSrcSurf; 403 VBOXVHWA_RECTL srcRect; 404 uint32_t flags; 405 uint32_t reserved; 406 } in; 407 } u; 408 } VBOXVHWACMD_SURF_BLT; 409 323 410 #pragma pack() 324 411 # endif /* #ifdef VBOX_WITH_VIDEOHWACCEL */
Note:
See TracChangeset
for help on using the changeset viewer.