FAST/Data/Image.cpp file

Contents

Namespaces

namespace fast
FAST namespace - All FAST code lives in this namespace.

Functions

auto allocatePixelArray(std::size_t size, DataType type) -> unique_pixel_ptr
template<class T>
auto padData(T* data, unsigned int size, unsigned int nrOfChannels) -> void*
auto adaptDataToImage(const void*const data, cl_channel_order order, unsigned int size, DataType type, unsigned int nrOfChannels) -> const void*const
template<class T>
auto removePadding(T* data, unsigned int size, unsigned int nrOfChannels) -> void*
auto adaptImageDataToHostData(unique_pixel_ptr data, cl_channel_order order, unsigned int size, DataType type, unsigned int nrOfChannels) -> unique_pixel_ptr