G
Guest
Hi all
In my application I am displaying bipmap image
I am using the log10() function, but it takes very
long time to display the image, the pixel array size is
1272x1003 pixels.
I am looking for a some tricks thats helpme to
improve the speed of this function
below find a pice of code that I am using
for (i=0;i<iDepth;i++)
{
for (j=0;j<aLength;j++)
{
lpBmpValue = lpBmp1 + j + i*(iDepth+2);
*lpBmpValue =dContrast*(10*log10(S[j])+dBrightness);
}
}
this part of the code takes 200mSec
Is it possible to improbe?
Thanks
In my application I am displaying bipmap image
I am using the log10() function, but it takes very
long time to display the image, the pixel array size is
1272x1003 pixels.
I am looking for a some tricks thats helpme to
improve the speed of this function
below find a pice of code that I am using
for (i=0;i<iDepth;i++)
{
for (j=0;j<aLength;j++)
{
lpBmpValue = lpBmp1 + j + i*(iDepth+2);
*lpBmpValue =dContrast*(10*log10(S[j])+dBrightness);
}
}
this part of the code takes 200mSec
Is it possible to improbe?
Thanks