vspline 1.1.0
Generic C++11 Code for Uniform B-Splines
|
buffer_handling provides services needed for interfacing with a buffer of simdized/goading data. The init() routine receives two views: one to a buffer accepting incoming data, and one to a buffer providing results. Currently, all filters used in vspline operate in-place, but the two-argument form leaves room to manoevre. get() and put() receive 'bundle' arguments which are used to transfer incoming data to the view defined in in_window, and to transfer result data from the view defined in out_window back to target memory. More...
#include <filter.h>
Public Member Functions | |
template<class tractor > | |
void | get (const tractor &src, std::ptrdiff_t offset=0, int ni=vsize) const |
fetch data from 'source' into the buffer 'in_window' More... | |
template<class tractor > | |
void | put (const tractor &trg, std::ptrdiff_t offset=0, int ni=vsize) const |
deposit result data from 'out_window' into target memory More... | |
Protected Types | |
enum | { vsize = _vsize } |
typedef _dtype | dtype |
typedef _vtype< dtype, vsize > | vtype |
Protected Member Functions | |
void | init (vigra::MultiArrayView< 1, vtype > &_in_window, vigra::MultiArrayView< 1, vtype > &_out_window) |
Protected Attributes | |
vigra::MultiArrayView< 1, vtype > | in_window |
vigra::MultiArrayView< 1, vtype > | out_window |
Static Protected Attributes | |
static const std::ptrdiff_t | bf_stride = sizeof(vtype) / sizeof(dtype) |
buffer_handling provides services needed for interfacing with a buffer of simdized/goading data. The init() routine receives two views: one to a buffer accepting incoming data, and one to a buffer providing results. Currently, all filters used in vspline operate in-place, but the two-argument form leaves room to manoevre. get() and put() receive 'bundle' arguments which are used to transfer incoming data to the view defined in in_window, and to transfer result data from the view defined in out_window back to target memory.
|
protected |
|
protected |
|
protected |
|
inline |
|
inlineprotected |
|
inline |
|
staticprotected |
|
protected |
|
protected |