Changeset 57875 in vbox
- Timestamp:
- Sep 24, 2015 9:46:27 AM (9 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Video
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/common/wddm/VBoxMPIf.h
r57601 r57875 501 501 VBOXVHWA_INFO aInfos[VBOX_VIDEO_MAX_SCREENS]; 502 502 } VBOXWDDM_QI; 503 504 /** Convert a given FourCC code to a D3DDDIFORMAT enum. */ 505 #define VBOXWDDM_D3DDDIFORMAT_FROM_FOURCC(_a, _b, _c, _d) \ 506 ((D3DDDIFORMAT)MAKEFOURCC(_a, _b, _c, _d)) 503 507 504 508 /* submit cmd func */ … … 601 605 return 16; 602 606 case D3DDDIFMT_YUY2: /* 4 bytes per 2 pixels. */ 607 case VBOXWDDM_D3DDDIFORMAT_FROM_FOURCC('Y', 'V', '1', '2'): 603 608 return 16; 604 609 default: -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3DIf.cpp
r57601 r57875 22 22 #include <iprt/assert.h> 23 23 24 /** Convert a given FourCC code to a D3DDDIFORMAT enum. */ 25 #define VBOXWDDM_D3DDDIFORMAT_FROM_FOURCC(_a, _b, _c, _d) \ 26 ((D3DDDIFORMAT)MAKEFOURCC(_a, _b, _c, _d)) 27 24 28 void VBoxDispD3DClose(VBOXDISPD3D *pD3D) 25 29 { … … 437 441 438 442 {D3DDDIFMT_YUY2, 443 0| 444 0| 445 0| 446 FORMATOP_CONVERT_TO_ARGB|FORMATOP_OFFSCREENPLAIN| 447 FORMATOP_NOFILTER| 448 FORMATOP_NOALPHABLEND| 449 FORMATOP_NOTEXCOORDWRAPNORMIP, 0, 0, 0}, 450 451 {VBOXWDDM_D3DDDIFORMAT_FROM_FOURCC('Y', 'V', '1', '2'), 439 452 0| 440 453 0|
Note:
See TracChangeset
for help on using the changeset viewer.