-
-
Save uploadcare-user/e995a337d6d85fe67b45b1bd042e87f3 to your computer and use it in GitHub Desktop.
Single image resizing pass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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