|
Blender V4.5
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device_inline float | frac (const float x, ccl_private int *ix) |
| ccl_device float | cubic_w0 (const float a) |
| ccl_device float | cubic_w1 (const float a) |
| ccl_device float | cubic_w2 (const float a) |
| ccl_device float | cubic_w3 (const float a) |
| ccl_device float | cubic_g0 (const float a) |
| ccl_device float | cubic_g1 (const float a) |
| ccl_device float | cubic_h0 (const float a) |
| ccl_device float | cubic_h1 (const float a) |
| template<typename T> | |
| ccl_device_noinline T | kernel_tex_image_interp_bicubic (const ccl_global TextureInfo &info, float x, float y) |
| template<typename T> | |
| ccl_device_noinline T | kernel_tex_image_interp_tricubic (const ccl_global TextureInfo &info, float x, float y, float z) |
| ccl_device float4 | kernel_tex_image_interp (KernelGlobals kg, const int id, const float x, float y) |
| ccl_device float4 | kernel_tex_image_interp_3d (KernelGlobals kg, const int id, float3 P, InterpolationType interp) |
| ccl_device float cubic_g0 | ( | const float | a | ) |
Definition at line 41 of file cycles/kernel/device/gpu/image.h.
References ccl_device, cubic_w0(), and cubic_w1().
Referenced by cubic_h0(), kernel_tex_image_interp_bicubic(), and kernel_tex_image_interp_tricubic().
| ccl_device float cubic_g1 | ( | const float | a | ) |
Definition at line 45 of file cycles/kernel/device/gpu/image.h.
References ccl_device, cubic_w2(), and cubic_w3().
Referenced by cubic_h1(), kernel_tex_image_interp_bicubic(), and kernel_tex_image_interp_tricubic().
| ccl_device float cubic_h0 | ( | const float | a | ) |
Definition at line 51 of file cycles/kernel/device/gpu/image.h.
References ccl_device, cubic_g0(), and cubic_w1().
Referenced by kernel_tex_image_interp_bicubic(), and kernel_tex_image_interp_tricubic().
| ccl_device float cubic_h1 | ( | const float | a | ) |
Definition at line 55 of file cycles/kernel/device/gpu/image.h.
References ccl_device, cubic_g1(), and cubic_w3().
Referenced by kernel_tex_image_interp_bicubic(), and kernel_tex_image_interp_tricubic().
| ccl_device float cubic_w0 | ( | const float | a | ) |
Definition at line 23 of file cycles/kernel/device/gpu/image.h.
References ccl_device.
Referenced by cubic_g0().
| ccl_device float cubic_w1 | ( | const float | a | ) |
Definition at line 27 of file cycles/kernel/device/gpu/image.h.
References ccl_device.
Referenced by cubic_g0(), and cubic_h0().
| ccl_device float cubic_w2 | ( | const float | a | ) |
Definition at line 31 of file cycles/kernel/device/gpu/image.h.
References ccl_device.
Referenced by cubic_g1().
| ccl_device float cubic_w3 | ( | const float | a | ) |
Definition at line 35 of file cycles/kernel/device/gpu/image.h.
References ccl_device.
Referenced by cubic_g1(), and cubic_h1().
| CCL_NAMESPACE_BEGIN ccl_device_inline float frac | ( | const float | x, |
| ccl_private int * | ix ) |
Definition at line 15 of file cycles/kernel/device/gpu/image.h.
References ccl_device_inline, ccl_private, float_to_int(), i, and x.
Referenced by BKE_where_on_path(), btCompoundCollisionAlgorithm::calculateTimeOfImpact(), fill_profile_fracs(), fill_vmesh_fracs(), CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::interp_3d_closest(), CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::interp_3d_cubic(), CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::interp_3d_linear(), CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::interp_closest(), CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::interp_cubic(), CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::interp_linear(), interp_range(), interp_vmesh(), modify_mesh(), position_tail_on_spline(), SCULPT_cache_calc_brushdata_symm(), and shutter_curve_eval().
| ccl_device float4 kernel_tex_image_interp | ( | KernelGlobals | kg, |
| const int | id, | ||
| const float | x, | ||
| float | y ) |
Definition at line 263 of file cycles/kernel/device/gpu/image.h.
References ccl_device, ccl_global, ccl_gpu_tex_object_read_2D< float >(), ccl_gpu_tex_object_read_2D< float4 >(), IMAGE_DATA_TYPE_BYTE4, IMAGE_DATA_TYPE_FLOAT4, IMAGE_DATA_TYPE_HALF4, IMAGE_DATA_TYPE_USHORT4, INTERPOLATION_CUBIC, INTERPOLATION_SMART, kernel_data_fetch, kernel_tex_image_interp_bicubic(), make_float4(), x, and y.
Referenced by rs_texture(), sky_radiance_nishita(), svm_image_texture(), and OSLRenderServices::texture().
| ccl_device float4 kernel_tex_image_interp_3d | ( | KernelGlobals | kg, |
| const int | id, | ||
| float3 | P, | ||
| InterpolationType | interp ) |
Definition at line 296 of file cycles/kernel/device/gpu/image.h.
References ccl_device, ccl_global, ccl_gpu_tex_object_read_3D< float >(), ccl_gpu_tex_object_read_3D< float4 >(), IMAGE_DATA_TYPE_BYTE4, IMAGE_DATA_TYPE_FLOAT4, IMAGE_DATA_TYPE_HALF4, IMAGE_DATA_TYPE_NANOVDB_FLOAT, IMAGE_DATA_TYPE_NANOVDB_FLOAT3, IMAGE_DATA_TYPE_NANOVDB_FP16, IMAGE_DATA_TYPE_NANOVDB_FPN, IMAGE_DATA_TYPE_USHORT4, interp(), INTERPOLATION_CUBIC, INTERPOLATION_NONE, INTERPOLATION_SMART, kernel_data_fetch, kernel_tex_image_interp_tricubic(), make_float4(), P, transform_point(), x, y, and z().
Referenced by rs_texture3d(), svm_node_tex_voxel(), and OSLRenderServices::texture3d().
| ccl_device_noinline T kernel_tex_image_interp_bicubic | ( | const ccl_global TextureInfo & | info, |
| float | x, | ||
| float | y ) |
Definition at line 62 of file cycles/kernel/device/gpu/image.h.
References ccl_device_noinline, ccl_global, ccl_gpu_tex_object_read_2D(), cubic_g0(), cubic_g1(), cubic_h0(), cubic_h1(), floorf, T, x, and y.
Referenced by kernel_tex_image_interp().
| ccl_device_noinline T kernel_tex_image_interp_tricubic | ( | const ccl_global TextureInfo & | info, |
| float | x, | ||
| float | y, | ||
| float | z ) |
Definition at line 93 of file cycles/kernel/device/gpu/image.h.
References ccl_global, ccl_gpu_tex_object_read_3D(), cubic_g0(), cubic_g1(), cubic_h0(), cubic_h1(), floorf, x, y, and z().
Referenced by kernel_tex_image_interp_3d().