]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/dnn/dnn_backend_native_layers.h
avcodec/packet: deprecate av_init_packet()
[ffmpeg] / libavfilter / dnn / dnn_backend_native_layers.h
index 2df0ce99532479555c18aec459aa182a3418f57c..bbd02927c2a94c2d1f761d3bb07d2051d372ff0f 100644 (file)
 #include "dnn_backend_native.h"
 
 typedef int (*LAYER_EXEC_FUNC)(DnnOperand *operands, const int32_t *input_operand_indexes,
-                               int32_t output_operand_index, const void *parameters);
-typedef int (*LAYER_LOAD_FUNC)(Layer *layer, AVIOContext *model_file_context, int file_size);
+                               int32_t output_operand_index, const void *parameters, NativeContext *ctx);
+typedef int (*LAYER_LOAD_FUNC)(Layer *layer, AVIOContext *model_file_context, int file_size, int operands_num);
 
 typedef struct LayerFunc {
     LAYER_EXEC_FUNC pf_exec;
     LAYER_LOAD_FUNC pf_load;
 }LayerFunc;
 
-extern LayerFunc layer_funcs[DLT_COUNT];
+extern const LayerFunc ff_layer_funcs[DLT_COUNT];
 
 #endif