Beatmup
|
x2 image upsampler using a convolutional neural network. More...
#include <cnn.h>
Classes | |
class | Layer |
Public Member Functions | |
GLES20X2UpsamplingNetwork (GL::RecycleBin &recycleBin, GraphicPipeline &gpu) | |
~GLES20X2UpsamplingNetwork () | |
void | process (GraphicPipeline &gpu, GL::TextureHandler &input, AbstractBitmap &output) |
bool | usesEs31Backend () const |
Public Member Functions inherited from Beatmup::X2UpsamplingNetwork | |
virtual | ~X2UpsamplingNetwork () |
Private Member Functions | |
Layer::Storage & | nextStorage (int &i) |
Private Attributes | |
InternalBitmap * | storage [STORAGE_SIZE] |
Layer * | layer1 [L1_SIZE] |
Layer * | layer2 [L2_SIZE] |
Layer * | layer3 [L3_SIZE] |
Layer * | layer4 [L4_SIZE] |
Layer * | layer5 |
ImageShader | demux |
Static Private Attributes | |
static const int | L1_SIZE = 12 |
static const int | L2_SIZE = 8 |
static const int | L3_SIZE = 6 |
static const int | L4_SIZE = 4 |
static const int | STORAGE_SIZE = 14 |
x2 image upsampler using a convolutional neural network.
Implements a neural net inference using OpenGL ES 2.0-conformant shaders. Used by Bitmap::Resampler. Only usable inside an AbstractTask, not intended to be directly used by the application.
GLES20X2UpsamplingNetwork::GLES20X2UpsamplingNetwork | ( | GL::RecycleBin & | recycleBin, |
GraphicPipeline & | gpu | ||
) |
Definition at line 163 of file cnn.cpp.
|
inlineprivate |
|
virtual |
Implements Beatmup::X2UpsamplingNetwork.
Definition at line 87 of file cnn.cpp.
|
inlinevirtual |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
|
private |