Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Single image resizing pass
for (yy = 0; yy < imOut->ysize; yy++) {
// Counting the coefficients
if (imIn->image8) {
// A single 8-bit channel loop
} else {
switch(imIn->type) {
case IMAGING_TYPE_UINT8:
// Loop, multiple 8-bit channels
case IMAGING_TYPE_INT32:
// Loop, single 32-bit channel
case IMAGING_TYPE_FLOAT32:
// Loop, single float channel
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.