September 7th, 1999, 11:38 AM
I using WIN 32 API to perform live video capture. My code is shown below. What I would be really grateful to know is how to create and display as a bitmap on a window ( hWnd in my code ) a frame of captured video aquired using the callback function ( VideoStreamCallback in my code ) and then how to perform some simple image processing ( such as changing the colour of some of the pixels within it ) upon that bitmap for demonstration purposes. I believe
the code may involve using the StretchDIBits function within the VideoStreamCallback function but I am unsure as to how to set the arguments for this correctly especially the arguments for the address of bitmap bits and the address of bitmap data.I am also unsure as to how to set
the code may involve using the StretchDIBits function within the VideoStreamCallback function but I am unsure as to how to set the arguments for this correctly especially the arguments for the address of bitmap bits and the address of bitmap data.I am also unsure as to how to set