IMVVMRMixerBitmap
IMVVMRMixerBitmap Interface wraps the IVMRMixerBitmap and IVMRMixerBitmap9 interface from the VMR-7 and VMR-9 direct show filter.
Look at the DirectShow SDK documentation for more details about the VMRs and these interfaces and methods.
| GetAlphaBitmapParameters | The GetAlphaBitmapParameters method retrieves a copy of the current image and related blending parameters. |
| SetAlphaBitmap | The SetAlphaBitmap method specifies a new bitmap image and the source location of the bitmap and how and where it should be rendered on the destination rectangle. |
| UpdateAlphaBitmapParameters | The UpdateAlphaBitmapParameters method changes the bitmap location, size and blending value. |
Method IMVVMRMixerBitmap::GetAlphaBitmapParameters
Declaration: Sub GetAlphaBitmapParameters(Flags As Long, hDC As Long, SrcLeft As Long, SrcTop As Long, SrcRight As Long, SrcBottom As Long, DestLeft As Single, DestTop As Single, DestRight As Single, DestBottom As Single, Alpha As Single, SrcKey As Long, FilterMode As Long)The GetAlphaBitmapParameters method retrieves a copy of the current image and related blending parameters.
Parameter:
Prototype:
Flags hDC SrcLeft SrcTop SrcRight SrcBottom DestLeft DestTop DestRight DestBottom Alpha SrcKey FilterMode HRESULT GetAlphaBitmapParameters(LONG Flags, LONG hDC, LONG SrcLeft, LONG SrcTop, LONG SrcRight, LONG SrcBottom, SINGLE DestLeft, SINGLE DestTop, SINGLE DestRight, SINGLE DestBottom, SINGLE Alpha, LONG SrcKey, LONG FilterMode);
Method IMVVMRMixerBitmap::SetAlphaBitmap
Declaration: Sub SetAlphaBitmap(Flags As Long, hDC As Long, SrcLeft As Long, SrcTop As Long, SrcRight As Long, SrcBottom As Long, DestLeft As Single, DestTop As Single, DestRight As Single, DestBottom As Single, Alpha As Single, SrcKey As Long, FilterMode As Long)The SetAlphaBitmap method specifies a new bitmap image and the source location of the bitmap and how and where it should be rendered on the destination rectangle.
Parameter:
Prototype:
Flags hDC SrcLeft SrcTop SrcRight SrcBottom DestLeft DestTop DestRight DestBottom Alpha SrcKey FilterMode HRESULT SetAlphaBitmap(LONG Flags, LONG hDC, LONG SrcLeft, LONG SrcTop, LONG SrcRight, LONG SrcBottom, SINGLE DestLeft, SINGLE DestTop, SINGLE DestRight, SINGLE DestBottom, SINGLE Alpha, LONG SrcKey, LONG FilterMode);
Method IMVVMRMixerBitmap::UpdateAlphaBitmapParameters
Declaration: Sub UpdateAlphaBitmapParameters(Flags As Long, SrcLeft As Long, SrcTop As Long, SrcRight As Long, SrcBottom As Long, DestLeft As Single, DestTop As Single, DestRight As Single, DestBottom As Single, Alpha As Single, SrcKey As Long, FilterMode As Long)The UpdateAlphaBitmapParameters method changes the bitmap location, size and blending value.
Parameter:
Prototype:
Flags SrcLeft SrcTop SrcRight SrcBottom DestLeft DestTop DestRight DestBottom Alpha SrcKey FilterMode HRESULT UpdateAlphaBitmapParameters(LONG Flags, LONG SrcLeft, LONG SrcTop, LONG SrcRight, LONG SrcBottom, SINGLE DestLeft, SINGLE DestTop, SINGLE DestRight, SINGLE DestBottom, SINGLE Alpha, LONG SrcKey, LONG FilterMode);