78 const uchar *buffer,
int width,
int height,
float u,
float v)
86 const float *buffer,
float *
output,
int width,
int height,
int components,
float u,
float v)
94 for (
int i = 0;
i < components;
i++) {
100 const float *
data = buffer + (
int64_t(width) *
y +
x) * components;
101 for (
int i = 0;
i < components;
i++) {
107 const float *buffer,
int width,
int height,
float u,
float v)
139 const uchar *buffer,
int width,
int height,
float u,
float v)
147 const float *buffer,
float *
output,
int width,
int height,
int components,
float u,
float v)
153 const float *
data = buffer + (
int64_t(width) *
y +
x) * components;
154 for (
int i = 0;
i < components;
i++) {
160 const float *buffer,
int width,
int height,
float u,
float v)
189 const uchar *buffer,
int width,
int height,
float u,
float v)
197 const float *buffer,
float *
output,
int width,
int height,
int components,
float u,
float v)
206 const float *
data = buffer + (
int64_t(width) *
y +
x) * components;
207 for (
int i = 0;
i < components;
i++) {
213 const float *buffer,
int width,
int height,
float u,
float v)
245 const uchar *buffer,
int width,
int height,
float u,
float v);
248 const float *buffer,
int width,
int height,
float u,
float v);
251 const float *buffer,
float *
output,
int width,
int height,
int components,
float u,
float v);
265 const uchar *buffer,
int width,
int height,
float u,
float v);
268 const float *buffer,
int width,
int height,
float u,
float v);
271 const float *buffer,
float *
output,
int width,
int height,
int components,
float u,
float v);
279 const uchar *buffer,
int width,
int height,
float u,
float v);
282 const float *buffer,
int width,
int height,
float u,
float v);
310 const uchar *buffer,
int width,
int height,
float u,
float v);
313 const float *buffer,
int width,
int height,
float u,
float v);
316 const float *buffer,
float *
output,
int width,
int height,
int components,
float u,
float v);
341 const uchar *buffer,
int width,
int height,
float u,
float v);
344 const float *buffer,
int width,
int height,
float u,
float v);
347 const float *buffer,
float *
output,
int width,
int height,
int components,
float u,
float v);
354#define EWA_MAXIDX 255
360 float A,
float B,
float C,
float F,
float *a,
float *
b,
float *th,
float *ecc);
MINLINE float floored_fmod(float f, float n)
void(*)(void *userdata, int x, int y, float result[4]) ewa_filter_read_pixel_cb
const float EWA_WTS[EWA_MAXIDX+1]
void BLI_ewa_filter(int width, int height, bool intpol, bool use_alpha, const float uv[2], const float du[2], const float dv[2], ewa_filter_read_pixel_cb read_pixel_cb, void *userdata, float result[4])
void BLI_ewa_imp2radangle(float A, float B, float C, float F, float *a, float *b, float *th, float *ecc)
BMesh const char void * data
ATTR_WARN_UNUSED_RESULT const BMVert * v
uchar4 interpolate_cubic_mitchell_byte(const uchar *buffer, int width, int height, float u, float v)
void interpolate_nearest_wrap_fl(const float *buffer, float *output, int width, int height, int components, float u, float v)
uchar4 interpolate_bilinear_wrap_byte(const uchar *buffer, int width, int height, float u, float v)
uchar4 interpolate_bilinear_byte(const uchar *buffer, int width, int height, float u, float v)
T clamp(const T &a, const T &min, const T &max)
void interpolate_nearest_fl(const float *buffer, float *output, int width, int height, int components, float u, float v)
void interpolate_nearest_border_fl(const float *buffer, float *output, int width, int height, int components, float u, float v)
float4 interpolate_bilinear_border_fl(const float *buffer, int width, int height, float u, float v)
float4 interpolate_bilinear_wrap_fl(const float *buffer, int width, int height, float u, float v)
float4 interpolate_cubic_bspline_fl(const float *buffer, int width, int height, float u, float v)
void interpolate_nearest_wrapmode_fl(const float *buffer, float *output, int width, int height, int components, float u, float v, InterpWrapMode wrap_u, InterpWrapMode wrap_v)
void interpolate_nearest_byte(const uchar *buffer, uchar *output, int width, int height, float u, float v)
float4 interpolate_bilinear_fl(const float *buffer, int width, int height, float u, float v)
float4 interpolate_cubic_mitchell_fl(const float *buffer, int width, int height, float u, float v)
void interpolate_nearest_wrap_byte(const uchar *buffer, uchar *output, int width, int height, float u, float v)
void interpolate_bilinear_wrapmode_fl(const float *buffer, float *output, int width, int height, int components, float u, float v, InterpWrapMode wrap_u, InterpWrapMode wrap_v)
uchar4 interpolate_cubic_bspline_byte(const uchar *buffer, int width, int height, float u, float v)
uchar4 interpolate_bilinear_border_byte(const uchar *buffer, int width, int height, float u, float v)
void interpolate_nearest_border_byte(const uchar *buffer, uchar *output, int width, int height, float u, float v)
void interpolate_cubic_bspline_wrapmode_fl(const float *buffer, float *output, int width, int height, int components, float u, float v, InterpWrapMode wrap_u, InterpWrapMode wrap_v)
blender::VecBase< uint8_t, 4 > uchar4
VecBase< float, 4 > float4