Skip to content

Instantly share code, notes, and snippets.

@uploadcare-user
Created September 14, 2017 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uploadcare-user/e38119ee117d43ede9f2c2ff482be5e5 to your computer and use it in GitHub Desktop.
Save uploadcare-user/e38119ee117d43ede9f2c2ff482be5e5 to your computer and use it in GitHub Desktop.
Initial float iterators
for (y = (int) ymin; y < (int) ymax; y++) {
ss0 = ss0 + (UINT8) imIn->image[y][xx*4+0] * k[y-(int) ymin];
ss1 = ss1 + (UINT8) imIn->image[y][xx*4+1] * k[y-(int) ymin];
ss2 = ss2 + (UINT8) imIn->image[y][xx*4+2] * k[y-(int) ymin];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment