Blender V5.3
image.h File Reference
#include "kernel/globals.h"
#include "kernel/util/image_2d.h"
#include "util/defines.h"
#include "util/types_image.h"

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_image_interp_bicubic (const ccl_global KernelImageInfo &info, const float2 uv)
ccl_device float4 kernel_image_interp (KernelGlobals kg, ccl_private ShaderData *sd, const int image_texture_id, dual2 uv, const float4 missing_rgba)
ccl_device_forceinline float4 kernel_image_interp_with_udim (KernelGlobals kg, ccl_private ShaderData *sd, const int udim_id, dual2 uv, const float4 missing_rgba)

Function Documentation

◆ cubic_g0()

ccl_device float cubic_g0 ( const float a)

◆ cubic_g1()

ccl_device float cubic_g1 ( const float a)

◆ cubic_h0()

ccl_device float cubic_h0 ( const float a)

Definition at line 50 of file cycles/kernel/device/gpu/image.h.

References ccl_device, cubic_g0(), cubic_h0(), and cubic_w1().

Referenced by cubic_h0(), and kernel_image_interp_bicubic().

◆ cubic_h1()

ccl_device float cubic_h1 ( const float a)

Definition at line 54 of file cycles/kernel/device/gpu/image.h.

References ccl_device, cubic_g1(), cubic_h1(), and cubic_w3().

Referenced by cubic_h1(), and kernel_image_interp_bicubic().

◆ cubic_w0()

ccl_device float cubic_w0 ( const float a)

Definition at line 22 of file cycles/kernel/device/gpu/image.h.

References ccl_device, and cubic_w0().

Referenced by cubic_g0(), and cubic_w0().

◆ cubic_w1()

ccl_device float cubic_w1 ( const float a)

Definition at line 26 of file cycles/kernel/device/gpu/image.h.

References ccl_device, and cubic_w1().

Referenced by cubic_g0(), cubic_h0(), and cubic_w1().

◆ cubic_w2()

ccl_device float cubic_w2 ( const float a)

Definition at line 30 of file cycles/kernel/device/gpu/image.h.

References ccl_device, and cubic_w2().

Referenced by cubic_g1(), and cubic_w2().

◆ cubic_w3()

ccl_device float cubic_w3 ( const float a)

Definition at line 34 of file cycles/kernel/device/gpu/image.h.

References ccl_device, and cubic_w3().

Referenced by cubic_g1(), cubic_h1(), and cubic_w3().

◆ frac()

◆ kernel_image_interp()

◆ kernel_image_interp_bicubic()

◆ kernel_image_interp_with_udim()