Microsoft DirectX 9.0 |
The VMR9AlphaBitmap structure is used in the VMR-9's IVMRMixerBitmap9 methods when the application is providing a static alpha-blended bitmap to be displayed on the composited video frame.
Syntax
typedef struct VMR9AlphaBitmap{
DWORD dwFlags;
HDC hdc;
IDirect3DSurface9* pDDS;
RECT rSrc;
VMR9NormalizedRect rDest;
FLOAT fAlpha;
COLORREF clrSrcKey;
DWORD dwFilterMode;
};
Members
dwFlags
Bitwise combination of flags from the VMR9AlphaBitmapFlags enumeration type.
hdc
Specifies the handle to the device context for the bitmap. Specify NULL if the bitmap is located in a Direct3D surface.
pDDS
Direct3D surface to copy.
rSrc
Specifies the source rectangle in either the GDI device context or the DirectDraw surface.
rDest
Specifies the destination rectangle in composition space.
fAlpha
Specifies the alpha blending value; must be a value from 0.0 to 1.0 (inclusive).
clrSrcKey
Specifies the source color key.
dwFilterMode
Specifies flags from the VMRMixerPrefs enumeration, which control how the VMR mixes the image. The MixerPref_PointFiltering flag is particularly useful for images that contain text and do not need to be stretched prior to mixing.
See Also