|
Blender V4.3
|
#include <cmath>#include <cstring>#include "BLI_math_base.h"#include "BLI_math_base.hh"#include "BLI_math_interp.hh"#include "BLI_math_vector.h"#include "BLI_math_vector_types.hh"#include "BLI_simd.hh"#include "BLI_strict_flags.h"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::math |
Macros | |
| #define | EWA_MAXIDX 255 |
Enumerations | |
| enum class | blender::math::eCubicFilter { blender::math::BSpline , blender::math::Mitchell } |
Variables | |
| const float | EWA_WTS [EWA_MAXIDX+1] |
| #define EWA_MAXIDX 255 |
Definition at line 628 of file math_interp.cc.
Referenced by BLI_ewa_filter().
| 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] ) |
TODO(sergey): Consider making this function inlined, so the pixel read callback could also be inlined in order to avoid per-pixel function calls.
Definition at line 710 of file math_interp.cc.
References A, B, b, BLI_ewa_imp2radangle(), C, ceilf, EWA_MAXIDX, EWA_WTS, float, floorf, int, madd_v3_v3fl(), mul_v3_fl(), radangle2imp(), sqrtf, U, UNUSED_VARS, V, v, v2, and zero_v4().
Referenced by ewa_eval(), and blender::compositor::MemoryBuffer::read_elem_filtered().
| void BLI_ewa_imp2radangle | ( | float | A, |
| float | B, | ||
| float | C, | ||
| float | F, | ||
| float * | a, | ||
| float * | b, | ||
| float * | th, | ||
| float * | ecc ) |
Definition at line 680 of file math_interp.cc.
References atan2f, B, b, C, float, M_PI, and sqrtf.
Referenced by BLI_ewa_filter(), and imagewraposa_aniso().
|
static |
Definition at line 669 of file math_interp.cc.
Referenced by BLI_ewa_filter().
| const float EWA_WTS[EWA_MAXIDX+1] |
Definition at line 629 of file math_interp.cc.
Referenced by BLI_ewa_filter(), and feline_eval().