Changeset View
Changeset View
Standalone View
Standalone View
source/blender/imbuf/intern/imageprocess.c
| Show First 20 Lines • Show All 213 Lines • ▼ Show 20 Lines | |||||
| { | { | ||||
| uchar *outI = NULL; | uchar *outI = NULL; | ||||
| float *outF = NULL; | float *outF = NULL; | ||||
| if (in == NULL || (in->rect == NULL && in->rect_float == NULL)) { | if (in == NULL || (in->rect == NULL && in->rect_float == NULL)) { | ||||
| return; | return; | ||||
| } | } | ||||
| /* gcc warns these could be uninitialized, but its ok. */ | /* GCC warns these could be uninitialized, but its ok. */ | ||||
| pixel_from_buffer(out, &outI, &outF, xout, yout); | pixel_from_buffer(out, &outI, &outF, xout, yout); | ||||
| bilinear_interpolation_color(in, outI, outF, u, v); | bilinear_interpolation_color(in, outI, outF, u, v); | ||||
| } | } | ||||
| /** \} */ | /** \} */ | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| ▲ Show 20 Lines • Show All 268 Lines • Show Last 20 Lines | |||||