FFmpeg
|
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, DNNInputData *input, const char *input_name, const char **output_names, uint32_t nb_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, DNNData *outputs, uint32_t nb_output) |
void | ff_dnn_free_model_native (DNNModel **model) |
DNN native backend implementation.
Definition in file dnn_backend_native.c.
Definition at line 229 of file dnn_backend_native.c.
|
static |
Definition at line 29 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 103 of file dnn_backend_native.c.
Referenced by ff_get_dnn_module(), and load_native_model().
|
static |
Definition at line 231 of file dnn_backend_native.c.
Referenced by ff_dnn_execute_model_native().
|
static |
Definition at line 286 of file dnn_backend_native.c.
Referenced by ff_dnn_execute_model_native().
DNNReturnType ff_dnn_execute_model_native | ( | const DNNModel * | model, |
DNNData * | outputs, | ||
uint32_t | nb_output | ||
) |
Definition at line 309 of file dnn_backend_native.c.
Referenced by ff_get_dnn_module().
void ff_dnn_free_model_native | ( | DNNModel ** | model | ) |
Definition at line 367 of file dnn_backend_native.c.
Referenced by ff_dnn_load_model_native(), ff_get_dnn_module(), and load_native_model().