Blender  V3.3
Functions
cycles/kernel/device/gpu/image.h File Reference

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device float cubic_w0 (float a)
 
ccl_device float cubic_w1 (float a)
 
ccl_device float cubic_w2 (float a)
 
ccl_device float cubic_w3 (float a)
 
ccl_device float cubic_g0 (float a)
 
ccl_device float cubic_g1 (float a)
 
ccl_device float cubic_h0 (float a)
 
ccl_device float cubic_h1 (float a)
 
template<typename T >
ccl_device_noinline T kernel_tex_image_interp_bicubic (ccl_global const TextureInfo &info, float x, float y)
 
template<typename T >
ccl_device_noinline T kernel_tex_image_interp_tricubic (ccl_global const TextureInfo &info, float x, float y, float z)
 
ccl_device float4 kernel_tex_image_interp (KernelGlobals kg, int id, float x, float y)
 
ccl_device float4 kernel_tex_image_interp_3d (KernelGlobals kg, int id, float3 P, InterpolationType interp)
 

Function Documentation

◆ cubic_g0()

ccl_device float cubic_g0 ( float  a)

◆ cubic_g1()

ccl_device float cubic_g1 ( float  a)

◆ cubic_h0()

ccl_device float cubic_h0 ( float  a)

◆ cubic_h1()

ccl_device float cubic_h1 ( float  a)

◆ cubic_w0()

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

References Freestyle::a.

Referenced by cubic_g0().

◆ cubic_w1()

ccl_device float cubic_w1 ( float  a)

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

References Freestyle::a.

Referenced by cubic_g0(), and cubic_h0().

◆ cubic_w2()

ccl_device float cubic_w2 ( float  a)

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

References Freestyle::a.

Referenced by cubic_g1().

◆ cubic_w3()

ccl_device float cubic_w3 ( float  a)

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

References Freestyle::a.

Referenced by cubic_g1(), and cubic_h1().

◆ kernel_tex_image_interp()

ccl_device float4 kernel_tex_image_interp ( KernelGlobals  kg,
int  id,
float  x,
float  y 
)

◆ kernel_tex_image_interp_3d()

ccl_device float4 kernel_tex_image_interp_3d ( KernelGlobals  kg,
int  id,
float3  P,
InterpolationType  interp 
)

◆ kernel_tex_image_interp_bicubic()

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

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

References cubic_g0(), cubic_g1(), cubic_h0(), cubic_h1(), floorf, tex, x, y, and y1.

◆ kernel_tex_image_interp_tricubic()

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

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

References cubic_g0(), cubic_g1(), cubic_h0(), cubic_h1(), floorf, tex, x, y, y1, and z.