I have developed a C#.NET application that reads image data from a camera. The images are 1600*1200 and are 24bpp. I am trying to stream the images as fast as possible to a child window for display. My first attempt involved creating a Bitmap object and using SetPixel to create the bitmap. This is then sent to a PictureBox control in the child Window.
However its well know SetPixel is chronically slow. So I downloaded a FastBitmap class that uses unsafe mode and locks the bits and draws the bitmap faster. This speeds it up by about 80% or so but it still looks very slow to me.
Can this be done using DirectX? Has anyone tried something like this?