|
-
April 19th, 2005, 02:44 AM
#1
Directshow Vmr9 alpha blending
Hi
I using directshow 9 sdk to develop an interface for webcams. I am using VMR9, but the alpha blending don't seem to work. I did the following before adding the bitmap to the VMRbitmapmixer.
pVMR9AlphaBmp->clrSrcKey = RGB(255, 255, 255);
pVMR9AlphaBmp->dwFlags |= VMR9AlphaBitmap_SrcColorKey;
But after adding a bitmap, I do not see the desired results.(ie. white pixels should be transparent, but they are not) Please advise...
2nd issue is I tried to use the VMRBitmap_Disable flag. But it did not hide the existing bitmap.
qiren
-
April 19th, 2005, 10:02 PM
#2
Re: Directshow Vmr9 alpha blending
I took the code direct from the DirectShow sdk...WaterMark9 using VMR9.
Perhaps someone could tell me if they actually managed to get the pVMR9AlphaBmp->clrSrcKey = RGB(255, 255, 255);
pVMR9AlphaBmp->dwFlags |= VMR9AlphaBitmap_SrcColorKey;
or
VMRBitmap_Disable flag
to work.
I need to know if this is my coding error or a bug in the DirectXSdk 9 version that I am using
qiren
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|