|
Krita Source Code Documentation
|
Go to the source code of this file.
Macros | |
| #define | __USE_XOPEN2K |
| #define | _XOPEN_SOURCE 600 |
| #define __USE_XOPEN2K |
Definition at line 26 of file bspline_create.cpp.
| #define _XOPEN_SOURCE 600 |
Definition at line 23 of file bspline_create.cpp.
| UBspline_1d_c * create_UBspline_1d_c | ( | Ugrid | x_grid, |
| BCtype_c | xBC, | ||
| complex_float * | data ) |
Definition at line 588 of file bspline_create.cpp.
References ANTIPERIODIC, Ugrid::delta, Ugrid::delta_inv, Ugrid::end, find_coefs_1d_s(), init_sse_data(), BCtype_s::lCode, BCtype_c::lCode, BCtype_s::lVal, BCtype_c::lVal_i, BCtype_c::lVal_r, Ugrid::num, PERIODIC, posix_memalign(), BCtype_s::rCode, BCtype_c::rCode, restrict, BCtype_s::rVal, BCtype_c::rVal_i, BCtype_c::rVal_r, SINGLE_COMPLEX, UBspline_1d_c::spcode, Ugrid::start, and U1D.
| UBspline_1d_d * create_UBspline_1d_d | ( | Ugrid | x_grid, |
| BCtype_d | xBC, | ||
| double * | data ) |
Definition at line 1210 of file bspline_create.cpp.
References ANTIPERIODIC, Ugrid::delta, Ugrid::delta_inv, DOUBLE_REAL, Ugrid::end, find_coefs_1d_d(), init_sse_data(), BCtype_d::lCode, Ugrid::num, PERIODIC, posix_memalign(), restrict, UBspline_1d_d::spcode, Ugrid::start, and U1D.
| UBspline_1d_s * create_UBspline_1d_s | ( | Ugrid | x_grid, |
| BCtype_s | xBC, | ||
| float * | data ) |
Definition at line 335 of file bspline_create.cpp.
References ANTIPERIODIC, Ugrid::delta, Ugrid::delta_inv, Ugrid::end, find_coefs_1d_s(), init_sse_data(), BCtype_s::lCode, Ugrid::num, PERIODIC, posix_memalign(), restrict, SINGLE_REAL, UBspline_1d_s::spcode, Ugrid::start, and U1D.
| UBspline_1d_z * create_UBspline_1d_z | ( | Ugrid | x_grid, |
| BCtype_z | xBC, | ||
| complex_double * | data ) |
Definition at line 1482 of file bspline_create.cpp.
References ANTIPERIODIC, Ugrid::delta, Ugrid::delta_inv, DOUBLE_COMPLEX, Ugrid::end, find_coefs_1d_d(), init_sse_data(), BCtype_d::lCode, BCtype_z::lCode, BCtype_d::lVal, BCtype_z::lVal_i, BCtype_z::lVal_r, Ugrid::num, PERIODIC, posix_memalign(), BCtype_d::rCode, BCtype_z::rCode, restrict, BCtype_d::rVal, BCtype_z::rVal_i, BCtype_z::rVal_r, UBspline_1d_z::spcode, Ugrid::start, and U1D.
| UBspline_2d_c * create_UBspline_2d_c | ( | Ugrid | x_grid, |
| Ugrid | y_grid, | ||
| BCtype_c | xBC, | ||
| BCtype_c | yBC, | ||
| complex_float * | data ) |
Definition at line 653 of file bspline_create.cpp.
References ANTIPERIODIC, Ugrid::delta, Ugrid::delta_inv, Ugrid::end, find_coefs_1d_s(), init_sse_data(), BCtype_s::lCode, BCtype_c::lCode, BCtype_s::lVal, BCtype_c::lVal_i, BCtype_c::lVal_r, Ugrid::num, PERIODIC, posix_memalign(), BCtype_s::rCode, BCtype_c::rCode, restrict, BCtype_s::rVal, BCtype_c::rVal_i, BCtype_c::rVal_r, SINGLE_COMPLEX, UBspline_2d_c::spcode, Ugrid::start, and U2D.
| UBspline_2d_d * create_UBspline_2d_d | ( | Ugrid | x_grid, |
| Ugrid | y_grid, | ||
| BCtype_d | xBC, | ||
| BCtype_d | yBC, | ||
| double * | data ) |
Definition at line 1253 of file bspline_create.cpp.
References ANTIPERIODIC, Ugrid::delta, Ugrid::delta_inv, DOUBLE_REAL, Ugrid::end, find_coefs_1d_d(), init_sse_data(), BCtype_d::lCode, Ugrid::num, PERIODIC, posix_memalign(), restrict, UBspline_2d_d::spcode, Ugrid::start, and U2D.
| UBspline_2d_s * create_UBspline_2d_s | ( | Ugrid | x_grid, |
| Ugrid | y_grid, | ||
| BCtype_s | xBC, | ||
| BCtype_s | yBC, | ||
| float * | data ) |
Definition at line 377 of file bspline_create.cpp.
References ANTIPERIODIC, Ugrid::delta, Ugrid::delta_inv, Ugrid::end, find_coefs_1d_s(), init_sse_data(), BCtype_s::lCode, Ugrid::num, PERIODIC, posix_memalign(), restrict, SINGLE_REAL, UBspline_2d_s::spcode, Ugrid::start, and U2D.
| UBspline_2d_z * create_UBspline_2d_z | ( | Ugrid | x_grid, |
| Ugrid | y_grid, | ||
| BCtype_z | xBC, | ||
| BCtype_z | yBC, | ||
| complex_double * | data ) |
Definition at line 1554 of file bspline_create.cpp.
References ANTIPERIODIC, Ugrid::delta, Ugrid::delta_inv, DOUBLE_COMPLEX, Ugrid::end, find_coefs_1d_d(), init_sse_data(), BCtype_d::lCode, BCtype_z::lCode, BCtype_d::lVal, BCtype_z::lVal_i, BCtype_z::lVal_r, Ugrid::num, PERIODIC, posix_memalign(), BCtype_d::rCode, BCtype_z::rCode, restrict, BCtype_d::rVal, BCtype_z::rVal_i, BCtype_z::rVal_r, UBspline_2d_z::spcode, Ugrid::start, and U2D.
| UBspline_3d_c * create_UBspline_3d_c | ( | Ugrid | x_grid, |
| Ugrid | y_grid, | ||
| Ugrid | z_grid, | ||
| BCtype_c | xBC, | ||
| BCtype_c | yBC, | ||
| BCtype_c | zBC, | ||
| complex_float * | data ) |
Definition at line 777 of file bspline_create.cpp.
References ANTIPERIODIC, Ugrid::delta, Ugrid::delta_inv, Ugrid::end, find_coefs_1d_s(), init_sse_data(), BCtype_s::lCode, BCtype_c::lCode, BCtype_s::lVal, BCtype_c::lVal_i, BCtype_c::lVal_r, Ugrid::num, PERIODIC, posix_memalign(), BCtype_s::rCode, BCtype_c::rCode, restrict, BCtype_s::rVal, BCtype_c::rVal_i, BCtype_c::rVal_r, SINGLE_COMPLEX, UBspline_3d_c::spcode, Ugrid::start, and U3D.
| UBspline_3d_d * create_UBspline_3d_d | ( | Ugrid | x_grid, |
| Ugrid | y_grid, | ||
| Ugrid | z_grid, | ||
| BCtype_d | xBC, | ||
| BCtype_d | yBC, | ||
| BCtype_d | zBC, | ||
| double * | data ) |
Definition at line 1343 of file bspline_create.cpp.
References ANTIPERIODIC, Ugrid::delta, Ugrid::delta_inv, DOUBLE_REAL, Ugrid::end, find_coefs_1d_d(), init_sse_data(), BCtype_d::lCode, Ugrid::num, PERIODIC, posix_memalign(), restrict, UBspline_3d_d::spcode, Ugrid::start, and U3D.
| UBspline_3d_s * create_UBspline_3d_s | ( | Ugrid | x_grid, |
| Ugrid | y_grid, | ||
| Ugrid | z_grid, | ||
| BCtype_s | xBC, | ||
| BCtype_s | yBC, | ||
| BCtype_s | zBC, | ||
| float * | data ) |
Definition at line 459 of file bspline_create.cpp.
References ANTIPERIODIC, Ugrid::delta, Ugrid::delta_inv, Ugrid::end, find_coefs_1d_s(), init_sse_data(), BCtype_s::lCode, Ugrid::num, PERIODIC, posix_memalign(), restrict, SINGLE_REAL, UBspline_3d_s::spcode, Ugrid::start, and U3D.
| UBspline_3d_z * create_UBspline_3d_z | ( | Ugrid | x_grid, |
| Ugrid | y_grid, | ||
| Ugrid | z_grid, | ||
| BCtype_z | xBC, | ||
| BCtype_z | yBC, | ||
| BCtype_z | zBC, | ||
| complex_double * | data ) |
Definition at line 1684 of file bspline_create.cpp.
References ANTIPERIODIC, Ugrid::delta, Ugrid::delta_inv, DOUBLE_COMPLEX, Ugrid::end, find_coefs_1d_d(), init_sse_data(), BCtype_d::lCode, BCtype_z::lCode, BCtype_d::lVal, BCtype_z::lVal_i, BCtype_z::lVal_r, Ugrid::num, PERIODIC, posix_memalign(), BCtype_d::rCode, BCtype_z::rCode, restrict, BCtype_d::rVal, BCtype_z::rVal_i, BCtype_z::rVal_r, UBspline_3d_z::spcode, Ugrid::start, and U3D.
Definition at line 1872 of file bspline_create.cpp.
References destroy_multi_UBspline(), destroy_NUBspline(), destroy_UBspline(), MULTI_U3D, NU3D, Bspline::sp_code, and U3D.
Definition at line 1481 of file multi_bspline_create.cpp.
References Bspline::coefs.
Definition at line 1087 of file nubspline_create.cpp.
References Bspline::coefs, destroy_NUBasis(), MULTI_NU1D, MULTI_NU2D, MULTI_NU3D, MULTI_U1D, MULTI_U2D, MULTI_U3D, NU1D, NU2D, NU3D, Bspline::sp_code, U1D, and U2D.
Definition at line 1859 of file bspline_create.cpp.
References Bspline::coefs.
| void find_coefs_1d_d | ( | Ugrid | grid, |
| BCtype_d | bc, | ||
| double * | data, | ||
| intptr_t | dstride, | ||
| double * | coefs, | ||
| intptr_t | cstride ) |
Definition at line 1118 of file bspline_create.cpp.
References ANTIPERIODIC, Ugrid::delta_inv, DERIV1, DERIV2, FLAT, BCtype_d::lCode, BCtype_d::lVal, NATURAL, Ugrid::num, PERIODIC, BCtype_d::rCode, BCtype_d::rVal, solve_antiperiodic_interp_1d_d(), solve_deriv_interp_1d_d(), and solve_periodic_interp_1d_d().
| void find_coefs_1d_s | ( | Ugrid | grid, |
| BCtype_s | bc, | ||
| float * | data, | ||
| intptr_t | dstride, | ||
| float * | coefs, | ||
| intptr_t | cstride ) |
Definition at line 240 of file bspline_create.cpp.
References ANTIPERIODIC, Ugrid::delta_inv, DERIV1, DERIV2, FLAT, BCtype_s::lCode, BCtype_s::lVal, NATURAL, Ugrid::num, PERIODIC, BCtype_s::rCode, BCtype_s::rVal, solve_antiperiodic_interp_1d_s(), solve_deriv_interp_1d_s(), and solve_periodic_interp_1d_s().
| void init_sse_data | ( | ) |
Definition at line 62 of file bspline_data.cpp.
References posix_memalign().
| int posix_memalign | ( | void ** | memptr, |
| size_t | alignment, | ||
| size_t | size ) |
| void recompute_UBspline_1d_c | ( | UBspline_1d_c * | spline, |
| complex_float * | data ) |
Definition at line 633 of file bspline_create.cpp.
References UBspline_1d_c::coefs, find_coefs_1d_s(), BCtype_s::lCode, BCtype_c::lCode, BCtype_s::lVal, BCtype_c::lVal_i, BCtype_c::lVal_r, BCtype_s::rCode, BCtype_c::rCode, BCtype_s::rVal, BCtype_c::rVal_i, BCtype_c::rVal_r, UBspline_1d_c::x_grid, and UBspline_1d_c::xBC.
| void recompute_UBspline_1d_d | ( | UBspline_1d_d * | spline, |
| double * | data ) |
Definition at line 1246 of file bspline_create.cpp.
References UBspline_1d_d::coefs, find_coefs_1d_d(), UBspline_1d_d::x_grid, and UBspline_1d_d::xBC.
| void recompute_UBspline_1d_s | ( | UBspline_1d_s * | spline, |
| float * | data ) |
Definition at line 370 of file bspline_create.cpp.
References UBspline_1d_s::coefs, find_coefs_1d_s(), UBspline_1d_s::x_grid, and UBspline_1d_s::xBC.
| void recompute_UBspline_1d_z | ( | UBspline_1d_z * | spline, |
| complex_double * | data ) |
Definition at line 1528 of file bspline_create.cpp.
References UBspline_1d_z::coefs, find_coefs_1d_d(), BCtype_d::lCode, BCtype_z::lCode, BCtype_d::lVal, BCtype_z::lVal_i, BCtype_z::lVal_r, BCtype_d::rCode, BCtype_z::rCode, BCtype_d::rVal, BCtype_z::rVal_i, BCtype_z::rVal_r, UBspline_1d_z::x_grid, and UBspline_1d_z::xBC.
| void recompute_UBspline_2d_c | ( | UBspline_2d_c * | spline, |
| complex_float * | data ) |
Definition at line 725 of file bspline_create.cpp.
References ANTIPERIODIC, UBspline_2d_c::coefs, find_coefs_1d_s(), BCtype_s::lCode, BCtype_c::lCode, BCtype_s::lVal, BCtype_c::lVal_i, BCtype_c::lVal_r, Ugrid::num, PERIODIC, BCtype_s::rCode, BCtype_c::rCode, BCtype_s::rVal, BCtype_c::rVal_i, BCtype_c::rVal_r, UBspline_2d_c::x_grid, UBspline_2d_c::xBC, UBspline_2d_c::y_grid, and UBspline_2d_c::yBC.
| void recompute_UBspline_2d_d | ( | UBspline_2d_d * | spline, |
| double * | data ) |
Definition at line 1308 of file bspline_create.cpp.
References ANTIPERIODIC, UBspline_2d_d::coefs, find_coefs_1d_d(), BCtype_d::lCode, Ugrid::num, PERIODIC, UBspline_2d_d::x_grid, UBspline_2d_d::xBC, UBspline_2d_d::y_grid, and UBspline_2d_d::yBC.
| void recompute_UBspline_2d_s | ( | UBspline_2d_s * | spline, |
| float * | data ) |
Definition at line 429 of file bspline_create.cpp.
References ANTIPERIODIC, UBspline_2d_s::coefs, find_coefs_1d_s(), BCtype_s::lCode, Ugrid::num, PERIODIC, UBspline_2d_s::x_grid, UBspline_2d_s::xBC, UBspline_2d_s::y_grid, and UBspline_2d_s::yBC.
| void recompute_UBspline_2d_z | ( | UBspline_2d_z * | spline, |
| complex_double * | data ) |
Definition at line 1631 of file bspline_create.cpp.
References ANTIPERIODIC, UBspline_2d_z::coefs, find_coefs_1d_d(), BCtype_d::lCode, BCtype_z::lCode, BCtype_d::lVal, BCtype_z::lVal_i, BCtype_z::lVal_r, Ugrid::num, PERIODIC, BCtype_d::rCode, BCtype_z::rCode, BCtype_d::rVal, BCtype_z::rVal_i, BCtype_z::rVal_r, UBspline_2d_z::x_grid, UBspline_2d_z::xBC, UBspline_2d_z::y_grid, and UBspline_2d_z::yBC.
| void recompute_UBspline_3d_c | ( | UBspline_3d_c * | spline, |
| complex_float * | data ) |
Definition at line 877 of file bspline_create.cpp.
References ANTIPERIODIC, UBspline_3d_c::coefs, find_coefs_1d_s(), BCtype_s::lCode, BCtype_c::lCode, BCtype_s::lVal, BCtype_c::lVal_i, BCtype_c::lVal_r, Ugrid::num, PERIODIC, BCtype_s::rCode, BCtype_c::rCode, BCtype_s::rVal, BCtype_c::rVal_i, BCtype_c::rVal_r, UBspline_3d_c::x_grid, UBspline_3d_c::xBC, UBspline_3d_c::y_grid, UBspline_3d_c::yBC, UBspline_3d_c::z_grid, and UBspline_3d_c::zBC.
| void recompute_UBspline_3d_d | ( | UBspline_3d_d * | spline, |
| double * | data ) |
Definition at line 1418 of file bspline_create.cpp.
References ANTIPERIODIC, UBspline_3d_d::coefs, find_coefs_1d_d(), BCtype_d::lCode, Ugrid::num, PERIODIC, UBspline_3d_d::x_grid, UBspline_3d_d::xBC, UBspline_3d_d::y_grid, UBspline_3d_d::yBC, UBspline_3d_d::z_grid, and UBspline_3d_d::zBC.
| void recompute_UBspline_3d_s | ( | UBspline_3d_s * | spline, |
| float * | data ) |
Definition at line 532 of file bspline_create.cpp.
References ANTIPERIODIC, UBspline_3d_s::coefs, find_coefs_1d_s(), BCtype_s::lCode, Ugrid::num, PERIODIC, UBspline_3d_s::x_grid, UBspline_3d_s::xBC, UBspline_3d_s::y_grid, UBspline_3d_s::yBC, UBspline_3d_s::z_grid, and UBspline_3d_s::zBC.
| void recompute_UBspline_3d_z | ( | UBspline_3d_z * | spline, |
| complex_double * | data ) |
Definition at line 1783 of file bspline_create.cpp.
References ANTIPERIODIC, UBspline_3d_z::coefs, find_coefs_1d_d(), BCtype_d::lCode, BCtype_z::lCode, BCtype_d::lVal, BCtype_z::lVal_i, BCtype_z::lVal_r, Ugrid::num, PERIODIC, BCtype_d::rCode, BCtype_z::rCode, BCtype_d::rVal, BCtype_z::rVal_i, BCtype_z::rVal_r, UBspline_3d_z::x_grid, UBspline_3d_z::xBC, UBspline_3d_z::y_grid, UBspline_3d_z::yBC, UBspline_3d_z::z_grid, and UBspline_3d_z::zBC.
| void solve_antiperiodic_interp_1d_d | ( | double | bands[], |
| double | coefs[], | ||
| int | M, | ||
| int | cstride ) |
Definition at line 1065 of file bspline_create.cpp.
| void solve_antiperiodic_interp_1d_s | ( | float | bands[], |
| float | coefs[], | ||
| int | M, | ||
| int | cstride ) |
Definition at line 156 of file bspline_create.cpp.
| void solve_deriv_interp_1d_d | ( | double | bands[], |
| double | coefs[], | ||
| int | M, | ||
| int | cstride ) |
Definition at line 959 of file bspline_create.cpp.
| void solve_deriv_interp_1d_s | ( | float | bands[], |
| float | coefs[], | ||
| int | M, | ||
| int | cstride ) |
Definition at line 47 of file bspline_create.cpp.
| void solve_periodic_interp_1d_d | ( | double | bands[], |
| double | coefs[], | ||
| int | M, | ||
| int | cstride ) |
Definition at line 1010 of file bspline_create.cpp.
| void solve_periodic_interp_1d_s | ( | float | bands[], |
| float | coefs[], | ||
| int | M, | ||
| int | cstride ) |
Definition at line 98 of file bspline_create.cpp.