I am working on a video processing library in C# and would like to display videos on Windows XP up. For this purpose, I currently use a custom double-buffered UserControl
with overridden OnPaint
that uses Graphics.DrawImageUnscaled
. This works okay, but is not ideal.
Therefore I would like to implement a video display using hardware overlay, like so many other video players.
How do I do this? In C#? Or C/C++?
Any help is appreciated.