Example of C-routin

Hi there all QC users

I have used and programmed my QC color2 for some weeks and I use 
ordinary C-code while programming. 
Though I dont get very much speed out of it - About one pic every other 
I use Million of color mode- 320x240 pixels- 12bit handling...

It would be great if someone could list there C-code or give me some 
usefull tip on how to increase speed.