SampleBuffer
Description
- Derived from
-
SampleBufferBase abstract
ISampleBufferGeneric<T> - Extended by
-
SampleBufferFloat32 abstract
SampleBufferInt32 abstract
SampleBufferInt64 abstract
Abstract base class for ISampleBuffer implementations.
Protected / Constructors
SampleBuffer
2 overloads
Creates a new instance of SampleBuffer.
A new sample buffer array will be allocated.
Creates a new instance of SampleBuffer.
This sample buffer will use the given data array.
Protected / Methods
EqualsInternal
2 overloads
Compares array elements in source in with those in target in for equality.
Compares array elements in source in with the given value in for equality.
Interpolate4
Interpolates a sample value from the given sample block.
Interpolation occurs between b in, c in:
+---+---+---+---+ | a | b | c | d | +---+---+---+---+
The interpolation factors are mapped as follows:
-
f = 0=> b in -
f = 65536=> c in
Interpolate4x4
Interpolates a sample value from the given sample block.
Interpolation occurs between f, g, j and k:
+---+---+---+---+ | a | b | c | d | +---+---+---+---+ | e | f | g | h | +---+---+---+---+ | i | j | k | l | +---+---+---+---+ | m | n | o | p | +---+---+---+---+
The interpolation factors are mapped as follows:
-
(fx = 0, fy = 0)=>f -
(fx = 65536, fy = 0)=>g -
(fx = 0, fy = 65536)=>j -
(fx = 65536, fy = 65536)=>k