aboutsummaryrefslogtreecommitdiff
path: root/libavfilter/dnn/dnn_backend_native.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/dnn/dnn_backend_native.h')
-rw-r--r--libavfilter/dnn/dnn_backend_native.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavfilter/dnn/dnn_backend_native.h b/libavfilter/dnn/dnn_backend_native.h
index 554098fe76..197f557dee 100644
--- a/libavfilter/dnn/dnn_backend_native.h
+++ b/libavfilter/dnn/dnn_backend_native.h
@@ -106,8 +106,13 @@ typedef struct InputParams{
int height, width, channels;
} InputParams;
+typedef struct NativeContext {
+ const AVClass *class;
+} NativeContext;
+
// Represents simple feed-forward convolutional network.
typedef struct NativeModel{
+ NativeContext ctx;
Layer *layers;
int32_t layers_num;
DnnOperand *operands;