DM6437 OSD0 window's consumption of CPU cycles

Hello everyone.

I am using DM6437 to display some overlay on the real time video using OSD0 window.

When I use the 16 bit RGB565  image of size 620 x 545 the CPU load is about 22%. and  for the 8 bit bitmap image of size 620 x 545 the CPU load is 16%. The OSD window is using queue( ) and dequeue( ) commands to perform its operation which normally doesn't consume that much high percentage of CPU cycles. What's the reason for this high percentage of consumed CPU cycles and how this could be optimized ???

 

Regards

SAIRA