I am attempting to make an application, which allows user to do
freehand drawing on paused video surface.Or using mouse cursor to
simulate pen or brush movement on video frames. Currently my approcah is
to grab the paused frame as a bitmap and draw on this bitmap, then paste
it back to the video window.This method works fine for my Desktop PC, which
is AMD Athlon 64*2 Dual Core 4200+, 2,20GHz. However, when I tried using
a release build on a TabletPC with Centrino Duo 1.83Hz, the drawing speed
suffers quite a bit.
I want to find out if there is any better approach to do this type of drawing
on video surface. Or is there a way to create a transparent video overlay on top of the
paused frame and draw on this layer?
Thanks.
Environment:
Windows XP. windows SDK 6.0, Visual Studio 2008, C++, MFC, GDI+ for graphics
I also used double buffering for GDI+