Insert bitmap in Directshow filter
Hi all I want to be able to load a bitmap and insert it into a video stream using a filter i have created. In other words i want create a filter which passes the video signal but transforms it by inserting a loaded bitmap into the stream for a second then revert back to the video frame. I do not wish to use dirext9 i want to use directx 8 or 7 thankyou for your help
Cheers
Damian
[391 byte] By [
dnorric] at [2007-11-18 13:32:19]

# 1 Re: Insert bitmap in Directshow filter
Probably one of the more direct ways would be to write your own allocator-presenter to implement your own IVMRImagePresenter interface and configure for renderless mode. The DirectX 7 version draws on to a DirectDraw7 surface (as opposed to 9's use of Direct3D), so it should be pretty simple to alter what is rendered to the surface based on whatever criteria you supply.