Interpolation
Public / Methods
CatmullRom_4x4_Float32
Perform cubic interpolation on the given 4x4 matrix of 32-bit floating point values.
Interpolation occurs between (1,1), (2,1), (1,2) and (2,2):
(0,0)--(1,0)--(2,0)--(3,0) | | | | | | | | (0,1)--(1,1)--(2,1)--(3,1) | | | | | | | | (0,2)--(1,2)--(2,2)--(3,2) | | | | | | | | (0,3)--(1,3)--(2,3)--(3,3)
The interpolation factors are mapped as follows:
- 
(fx = 0, fy = 0)=>(1,1)
- 
(fx = 65536, fy = 0)=>(2,1)
- 
(fx = 0, fy = 65536)=>(1,2)
- 
(fx = 65536, fy = 65536)=>(2,2)
CatmullRom_4x4_Int16
Perform cubic interpolation on the given 4x4 matrix of signed 16-bit integer values.
Interpolation occurs between (1,1), (2,1), (1,2) and (2,2):
(0,0)--(1,0)--(2,0)--(3,0) | | | | | | | | (0,1)--(1,1)--(2,1)--(3,1) | | | | | | | | (0,2)--(1,2)--(2,2)--(3,2) | | | | | | | | (0,3)--(1,3)--(2,3)--(3,3)
The interpolation factors are mapped as follows:
- 
(fx = 0, fy = 0)=>(1,1)
- 
(fx = 65536, fy = 0)=>(2,1)
- 
(fx = 0, fy = 65536)=>(1,2)
- 
(fx = 65536, fy = 65536)=>(2,2)
CatmullRom_4x4_Int32
Perform cubic interpolation on the given 4x4 matrix of unsigned 32-bit integer values.
Interpolation occurs between (1,1), (2,1), (1,2) and (2,2):
(0,0)--(1,0)--(2,0)--(3,0) | | | | | | | | (0,1)--(1,1)--(2,1)--(3,1) | | | | | | | | (0,2)--(1,2)--(2,2)--(3,2) | | | | | | | | (0,3)--(1,3)--(2,3)--(3,3)
The interpolation factors are mapped as follows:
- 
(fx = 0, fy = 0)=>(1,1)
- 
(fx = 65536, fy = 0)=>(2,1)
- 
(fx = 0, fy = 65536)=>(1,2)
- 
(fx = 65536, fy = 65536)=>(2,2)
CatmullRom_4x4_UInt16x4
Perform cubic interpolation on the given 4x4 matrix of four-component 8-bit unsigned integer vectors.
Interpolation occurs between (1,1), (2,1), (1,2) and (2,2):
(0,0)--(1,0)--(2,0)--(3,0) | | | | | | | | (0,1)--(1,1)--(2,1)--(3,1) | | | | | | | | (0,2)--(1,2)--(2,2)--(3,2) | | | | | | | | (0,3)--(1,3)--(2,3)--(3,3)
The interpolation factors are mapped as follows:
- 
(fx = 0, fy = 0)=>(1,1)
- 
(fx = 65536, fy = 0)=>(2,1)
- 
(fx = 0, fy = 65536)=>(1,2)
- 
(fx = 65536, fy = 65536)=>(2,2)
CatmullRom_Int32
Perform cubic interpolation on the given signed 32-bit integer values.
Interpolation occurs between (b) and (c):
(a)--(b)--(c)--(d)
The interpolation factors are mapped as follows:
- 
(fx = 0)=>b
- 
(fx = 65536)=>c
CatmullRom_UInt16x4
Perform cubic interpolation on the given four-component 16-bit unsigned integer vectors.
Interpolation occurs between (b) and (c):
(a)--(b)--(c)--(d)
The interpolation factors are mapped as follows:
- 
(fx = 0)=>b
- 
(fx = 65536)=>c
Linear_Int32
Perform linear interpolation on the given signed 32-bit integer values.
Interpolation occurs between (b) and (c):
(b)--(c)
The interpolation factors are mapped as follows:
- 
(fx = 0)=>b
- 
(fx = 65536)=>c
Point_Int32
Perform nearest-point interpolation on the given signed 32-bit integer values.
Interpolation occurs between (b) and (c):
(b)--(c)
The interpolation factors are mapped as follows:
- 
(fx <= 32768)=>b
- 
(fx > 32768)=>c
UniformB_4x4_Float32
Perform cubic interpolation on the given 4x4 matrix of 32-bit floating point values.
Interpolation occurs between (1,1), (2,1), (1,2) and (2,2):
(0,0)--(1,0)--(2,0)--(3,0) | | | | | | | | (0,1)--(1,1)--(2,1)--(3,1) | | | | | | | | (0,2)--(1,2)--(2,2)--(3,2) | | | | | | | | (0,3)--(1,3)--(2,3)--(3,3)
The interpolation factors are mapped as follows:
- 
(fx = 0, fy = 0)=>(1,1)
- 
(fx = 65536, fy = 0)=>(2,1)
- 
(fx = 0, fy = 65536)=>(1,2)
- 
(fx = 65536, fy = 65536)=>(2,2)
UniformB_4x4_Int16
Perform cubic interpolation on the given 4x4 matrix of signed 16-bit integer values.
Interpolation occurs between (1,1), (2,1), (1,2) and (2,2):
(0,0)--(1,0)--(2,0)--(3,0) | | | | | | | | (0,1)--(1,1)--(2,1)--(3,1) | | | | | | | | (0,2)--(1,2)--(2,2)--(3,2) | | | | | | | | (0,3)--(1,3)--(2,3)--(3,3)
The interpolation factors are mapped as follows:
- 
(fx = 0, fy = 0)=>(1,1)
- 
(fx = 65536, fy = 0)=>(2,1)
- 
(fx = 0, fy = 65536)=>(1,2)
- 
(fx = 65536, fy = 65536)=>(2,2)
UniformB_4x4_Int32
Perform cubic interpolation on the given 4x4 matrix of unsigned 32-bit integer values.
Interpolation occurs between (1,1), (2,1), (1,2) and (2,2):
(0,0)--(1,0)--(2,0)--(3,0) | | | | | | | | (0,1)--(1,1)--(2,1)--(3,1) | | | | | | | | (0,2)--(1,2)--(2,2)--(3,2) | | | | | | | | (0,3)--(1,3)--(2,3)--(3,3)
The interpolation factors are mapped as follows:
- 
(fx = 0, fy = 0)=>(1,1)
- 
(fx = 65536, fy = 0)=>(2,1)
- 
(fx = 0, fy = 65536)=>(1,2)
- 
(fx = 65536, fy = 65536)=>(2,2)
UniformB_4x4_UInt16x4
Perform cubic interpolation on the given 4x4 matrix of four-component 16-bit unsigned integer vectors.
Interpolation occurs between (1,1), (2,1), (1,2) and (2,2):
(0,0)--(1,0)--(2,0)--(3,0) | | | | | | | | (0,1)--(1,1)--(2,1)--(3,1) | | | | | | | | (0,2)--(1,2)--(2,2)--(3,2) | | | | | | | | (0,3)--(1,3)--(2,3)--(3,3)
The interpolation factors are mapped as follows:
- 
(fx = 0, fy = 0)=>(1,1)
- 
(fx = 65536, fy = 0)=>(2,1)
- 
(fx = 0, fy = 65536)=>(1,2)
- 
(fx = 65536, fy = 65536)=>(2,2)