Thursday, 12 July 2007

Video Driver Speedup

I've been working recently on improving the video performance on a Samsung 2413 processor.

The platform I'm working on does not have hardware video acceleration or a hardware cursor.

Did you know that if you disable the software cursor in the driver and remove the overlap detection for emulated line and blit you can get a two fold speed increase at least with drawing polygons.

The hardware supports DMA and I've started to look at using this to accelerate line fills and various blits. Unfortunately the hardware does not support block DMA which cuts down how it could help with majority of blit operations. Another snag with this approach is the overhead it takes to setup the DMA controller and cope with odd end of line conditions.

1 comment:

invinJerry said...

I have a simple SmartDevice Application which intend to run on Windows CE machine. Now i want to display a JPG image as its background and play a video file on the same. I am able to load image file. but not able to play the video. Can you help me in this. I have downloaded Windows SDK for this purpose but DirectShow SDK is not to found in it.