Blender V5.0
image.h File Reference
#include "kernel/globals.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_tex_image_interp_bicubic (const ccl_global TextureInfo &info, float x, float y)
ccl_device float4 kernel_tex_image_interp (KernelGlobals kg, const int id, const float x, float y)

Function Documentation

◆ cubic_g0()

ccl_device float cubic_g0 ( const float a)

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

References ccl_device, cubic_w0(), and cubic_w1().

Referenced by cubic_h0(), and kernel_tex_image_interp_bicubic().

◆ cubic_g1()

ccl_device float cubic_g1 ( const float a)

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

References ccl_device, cubic_w2(), and cubic_w3().

Referenced by cubic_h1(), and kernel_tex_image_interp_bicubic().

◆ cubic_h0()

ccl_device float cubic_h0 ( const float a)

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

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

Referenced by kernel_tex_image_interp_bicubic().

◆ cubic_h1()

ccl_device float cubic_h1 ( const float a)

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

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

Referenced by kernel_tex_image_interp_bicubic().

◆ cubic_w0()

ccl_device float cubic_w0 ( const float a)

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

References ccl_device.

Referenced by cubic_g0().

◆ cubic_w1()

ccl_device float cubic_w1 ( const float a)

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

References ccl_device.

Referenced by cubic_g0(), and cubic_h0().

◆ cubic_w2()

ccl_device float cubic_w2 ( const float a)

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

References ccl_device.

Referenced by cubic_g1().

◆ cubic_w3()

ccl_device float cubic_w3 ( const float a)

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

References ccl_device.

Referenced by cubic_g1(), and cubic_h1().

◆ frac()

◆ kernel_tex_image_interp()

◆ kernel_tex_image_interp_bicubic()

template<typename T>
ccl_device_noinline T kernel_tex_image_interp_bicubic ( const ccl_global TextureInfo & info,
float x,
float y )