Beatmup
|
Public Member Functions | |
Layer (GraphicPipeline &gpu, GL::RecycleBin &recycleBin, BitmapContentLock &lock, std::string sourceCodeTemplate, int inputZDim, int outputZDim, bool pointwise=false) | |
~Layer () | |
void | process (GraphicPipeline &gpu, GL::TextureHandler &input, InternalBitmap **outputs) |
unsigned int | process (GraphicPipeline &gpu, InternalBitmap **inputs, GL::StorageBuffer &output, int numOutputParts) |
void | processPointwise (GraphicPipeline &gpu, GL::StorageBuffer &input, unsigned int inputStridePix, InternalBitmap **outputs, int width, int height) |
void | processPointwise (GraphicPipeline &gpu, GL::StorageBuffer &inputFeatures, unsigned int inputStridePix, GL::TextureHandler &inputImage, AbstractBitmap &outputImage) |
Private Member Functions | |
void | prepare (GraphicPipeline &gpu, GL::TextureHandler *inputImage=nullptr) |
Private Attributes | |
GL::RecycleBin & | recycleBin |
GL::ComputeProgram * | program |
GL::TextureHandler::TextureFormat | inputFormat |
std::string | sourceCodeTemplate |
BitmapContentLock & | lock |
unsigned int | wgSize [3] |
const int | numInputs |
const int | numOutputs |
bool | prepared |
GLES31X2UpsamplingNetwork::Layer::Layer | ( | GraphicPipeline & | gpu, |
GL::RecycleBin & | recycleBin, | ||
BitmapContentLock & | lock, | ||
std::string | sourceCodeTemplate, | ||
int | inputZDim, | ||
int | outputZDim, | ||
bool | pointwise = false |
||
) |
Definition at line 65 of file cnn.cpp.
GLES31X2UpsamplingNetwork::Layer::~Layer | ( | ) |
Definition at line 90 of file cnn.cpp.
|
private |
Definition at line 32 of file cnn.cpp.
void GLES31X2UpsamplingNetwork::Layer::process | ( | GraphicPipeline & | gpu, |
GL::TextureHandler & | input, | ||
InternalBitmap ** | outputs | ||
) |
Definition at line 95 of file cnn.cpp.
unsigned int GLES31X2UpsamplingNetwork::Layer::process | ( | GraphicPipeline & | gpu, |
InternalBitmap ** | inputs, | ||
GL::StorageBuffer & | output, | ||
int | numOutputParts | ||
) |
Definition at line 125 of file cnn.cpp.
void GLES31X2UpsamplingNetwork::Layer::processPointwise | ( | GraphicPipeline & | gpu, |
GL::StorageBuffer & | input, | ||
unsigned int | inputStridePix, | ||
InternalBitmap ** | outputs, | ||
int | width, | ||
int | height | ||
) |
Definition at line 160 of file cnn.cpp.
void GLES31X2UpsamplingNetwork::Layer::processPointwise | ( | GraphicPipeline & | gpu, |
GL::StorageBuffer & | inputFeatures, | ||
unsigned int | inputStridePix, | ||
GL::TextureHandler & | inputImage, | ||
AbstractBitmap & | outputImage | ||
) |
Definition at line 190 of file cnn.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |