|
Blender
V2.93
|
Go to the source code of this file.
Macros | |
| #define | EWA_MAXIDX 255 |
Typedefs | |
| typedef void(* | ewa_filter_read_pixel_cb) (void *userdata, int x, int y, float result[4]) |
Functions | |
| void | BLI_bicubic_interpolation_fl (const float *buffer, float *output, int width, int height, int components, float u, float v) |
| void | BLI_bicubic_interpolation_char (const unsigned char *buffer, unsigned char *output, int width, int height, int components, float u, float v) |
| void | BLI_bilinear_interpolation_fl (const float *buffer, float *output, int width, int height, int components, float u, float v) |
| void | BLI_bilinear_interpolation_char (const unsigned char *buffer, unsigned char *output, int width, int height, int components, float u, float v) |
| void | BLI_bilinear_interpolation_wrap_fl (const float *buffer, float *output, int width, int height, int components, float u, float v, bool wrap_x, bool wrap_y) |
| void | BLI_bilinear_interpolation_wrap_char (const unsigned char *buffer, unsigned char *output, int width, int height, int components, float u, float v, bool wrap_x, bool wrap_y) |
| void | BLI_ewa_imp2radangle (float A, float B, float C, float F, float *a, float *b, float *th, float *ecc) |
| void | BLI_ewa_filter (const int width, const int height, const bool intpol, const 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]) |
Variables | |
| const float | EWA_WTS [EWA_MAXIDX+1] |
| #define EWA_MAXIDX 255 |
Definition at line 72 of file BLI_math_interp.h.
Definition at line 75 of file BLI_math_interp.h.
| void BLI_bicubic_interpolation_char | ( | const unsigned char * | buffer, |
| unsigned char * | output, | ||
| int | width, | ||
| int | height, | ||
| int | components, | ||
| float | u, | ||
| float | v | ||
| ) |
Definition at line 252 of file math_interp.c.
References bicubic_interpolation(), buffer, height, NULL, output, v, and width.
Referenced by bicubic_interpolation_color().
| void BLI_bicubic_interpolation_fl | ( | const float * | buffer, |
| float * | output, | ||
| int | width, | ||
| int | height, | ||
| int | components, | ||
| float | u, | ||
| float | v | ||
| ) |
Definition at line 246 of file math_interp.c.
References bicubic_interpolation(), buffer, height, NULL, output, v, and width.
Referenced by bicubic_interpolation_color(), and blender::compositor::RenderLayersProg::doInterpolation().
| void BLI_bilinear_interpolation_char | ( | const unsigned char * | buffer, |
| unsigned char * | output, | ||
| int | width, | ||
| int | height, | ||
| int | components, | ||
| float | u, | ||
| float | v | ||
| ) |
Definition at line 468 of file math_interp.c.
References bilinear_interpolation(), buffer, height, NULL, output, v, and width.
Referenced by bilinear_interpolation_color(), and do_scale_thread().
| void BLI_bilinear_interpolation_fl | ( | const float * | buffer, |
| float * | output, | ||
| int | width, | ||
| int | height, | ||
| int | components, | ||
| float | u, | ||
| float | v | ||
| ) |
Definition at line 461 of file math_interp.c.
References bilinear_interpolation(), buffer, height, NULL, output, v, and width.
Referenced by bilinear_interpolation_color(), do_scale_thread(), and blender::compositor::RenderLayersProg::doInterpolation().
| void BLI_bilinear_interpolation_wrap_char | ( | const unsigned char * | buffer, |
| unsigned char * | output, | ||
| int | width, | ||
| int | height, | ||
| int | components, | ||
| float | u, | ||
| float | v, | ||
| bool | wrap_x, | ||
| bool | wrap_y | ||
| ) |
Definition at line 494 of file math_interp.c.
References bilinear_interpolation(), buffer, height, NULL, output, v, and width.
| void BLI_bilinear_interpolation_wrap_fl | ( | const float * | buffer, |
| float * | output, | ||
| int | width, | ||
| int | height, | ||
| int | components, | ||
| float | u, | ||
| float | v, | ||
| bool | wrap_x, | ||
| bool | wrap_y | ||
| ) |
Definition at line 480 of file math_interp.c.
References bilinear_interpolation(), buffer, height, NULL, output, v, and width.
Referenced by blender::compositor::MemoryBuffer::readBilinear().
| void BLI_ewa_filter | ( | const int | width, |
| const int | height, | ||
| const bool | intpol, | ||
| const 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] | ||
| ) |
Definition at line 599 of file math_interp.c.
References A, Freestyle::a, B, BLI_ewa_imp2radangle(), C, ceilf, EWA_MAXIDX, EWA_WTS, F, float(), floorf, height, madd_v3_v3fl(), mul_v3_fl(), radangle2imp(), result, sqrtf, U, u1, u2, V, v, v1, v2, width, and zero_v4().
Referenced by ewa_eval(), and blender::compositor::MemoryBuffer::readEWA().
| void BLI_ewa_imp2radangle | ( | float | A, |
| float | B, | ||
| float | C, | ||
| float | F, | ||
| float * | a, | ||
| float * | b, | ||
| float * | th, | ||
| float * | ecc | ||
| ) |
Definition at line 571 of file math_interp.c.
References A, Freestyle::a, atan2f, B, C, F, float(), M_PI, r, and sqrtf.
Referenced by BLI_ewa_filter(), and imagewraposa_aniso().
|
extern |
Definition at line 519 of file math_interp.c.
Referenced by BLI_ewa_filter(), and feline_eval().