diff options
author | Sergey Lavrushkin <dualfal@gmail.com> | 2018-09-06 14:33:06 +0300 |
---|---|---|
committer | Pedro Arthur <bygrandao@gmail.com> | 2018-09-17 19:44:42 -0300 |
commit | bd10c1e9a86c9e5f1593f7b178ea060ea965f81c (patch) | |
tree | 303b36bbebdfad173a410e70a34938b9e2ef9a4f /libavfilter/dnn_interface.h | |
parent | bc1097a2bf4f595c6e391457ec6a44519b5330ae (diff) |
libavfilter: Removes stored DNN models. Adds support for native backend model file format in tf backend.
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
Diffstat (limited to 'libavfilter/dnn_interface.h')
-rw-r--r-- | libavfilter/dnn_interface.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavfilter/dnn_interface.h b/libavfilter/dnn_interface.h index a69717ae62..e3673438b6 100644 --- a/libavfilter/dnn_interface.h +++ b/libavfilter/dnn_interface.h @@ -30,8 +30,6 @@ typedef enum {DNN_SUCCESS, DNN_ERROR} DNNReturnType; typedef enum {DNN_NATIVE, DNN_TF} DNNBackendType; -typedef enum {DNN_SRCNN, DNN_ESPCN} DNNDefaultModel; - typedef struct DNNData{ float *data; int width, height, channels; @@ -49,8 +47,6 @@ typedef struct DNNModel{ typedef struct DNNModule{ // Loads model and parameters from given file. Returns NULL if it is not possible. DNNModel *(*load_model)(const char *model_filename); - // Loads one of the default models - DNNModel *(*load_default_model)(DNNDefaultModel model_type); // Executes model with specified input and output. Returns DNN_ERROR otherwise. DNNReturnType (*execute_model)(const DNNModel *model); // Frees memory allocated for model. |