SHARE
TWEET

Untitled

a guest Jun 25th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void ConvertFromUint8(float* mO, unsigned char* mI, int numElements, float scalingFctr)
  2. {
  3.     int ii;
  4.     for (ii = 0; ii < numElements; ii++) {
  5.         mO[ii] = (float)(mI[ii]) * scalingFctr;
  6.     }
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top