FFmpeg
|
DNN native backend implementation. More...
#include "dnn_backend_native.h"
Go to the source code of this file.
Macros | |
#define | CLAMP_TO_EDGE(x, w) ((x) < 0 ? 0 : ((x) >= (w) ? (w - 1) : (x))) |
Functions | |
static DNNReturnType | set_input_output_native (void *model, DNNData *input, DNNData *output) |
DNNModel * | ff_dnn_load_model_native (const char *model_filename) |
static void | convolve (const float *input, float *output, const ConvolutionalParams *conv_params, int width, int height) |
static void | depth_to_space (const float *input, float *output, int block_size, int width, int height, int channels) |
DNNReturnType | ff_dnn_execute_model_native (const DNNModel *model) |
void | ff_dnn_free_model_native (DNNModel **model) |
DNN native backend implementation.
Definition in file dnn_backend_native.c.
Definition at line 220 of file dnn_backend_native.c.
Referenced by convolve().
|
static |
Definition at line 28 of file dnn_backend_native.c.
Referenced by ff_dnn_load_model_native().
DNNModel* ff_dnn_load_model_native | ( | const char * | model_filename | ) |
Definition at line 96 of file dnn_backend_native.c.
Referenced by ff_get_dnn_module(), and load_native_model().
|
static |
Definition at line 222 of file dnn_backend_native.c.
Referenced by ff_dnn_execute_model_native().
|
static |
Definition at line 260 of file dnn_backend_native.c.
Referenced by ff_dnn_execute_model_native().
DNNReturnType ff_dnn_execute_model_native | ( | const DNNModel * | model | ) |
Definition at line 283 of file dnn_backend_native.c.
Referenced by ff_get_dnn_module().
Definition at line 328 of file dnn_backend_native.c.
Referenced by ff_dnn_load_model_native(), ff_get_dnn_module(), and load_native_model().