26 #ifndef AVFILTER_DNN_INTERFACE_H 27 #define AVFILTER_DNN_INTERFACE_H 29 typedef enum {DNN_SUCCESS, DNN_ERROR} DNNReturnType;
31 typedef enum {DNN_NATIVE, DNN_TF} DNNBackendType;
35 int width, height, channels;
43 DNNReturnType (*set_input_output)(
void *model,
DNNData *input,
DNNData *output);
49 DNNModel *(*load_model)(
const char *model_filename);
51 DNNReturnType (*execute_model)(
const DNNModel *model);
53 void (*free_model)(
DNNModel **model);
57 DNNModule *ff_get_dnn_module(DNNBackendType backend_type);
Definition: dnn_interface.h:33
Definition: dnn_interface.h:47
Definition: dnn_interface.h:38