]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/dnn/dnn_backend_native_layer_mathunary.h
lavfi/dnn_backend_openvino.c: fix mem leak for TaskItem upon error
[ffmpeg] / libavfilter / dnn / dnn_backend_native_layer_mathunary.h
index fbe9af5c7d724b50bd40b46d1cfddaf3a641984c..2199931e6e895763fd61cfc05b4243924ff8798d 100644 (file)
@@ -41,6 +41,11 @@ typedef enum {
     DMUO_COSH = 8,
     DMUO_TANH = 9,
     DMUO_ASINH = 10,
+    DMUO_ACOSH = 11,
+    DMUO_ATANH = 12,
+    DMUO_CEIL = 13,
+    DMUO_FLOOR = 14,
+    DMUO_ROUND = 15,
     DMUO_COUNT
 } DNNMathUnaryOperation;
 
@@ -48,8 +53,8 @@ typedef struct DnnLayerMathUnaryParams{
     DNNMathUnaryOperation un_op;
 } DnnLayerMathUnaryParams;
 
-int dnn_load_layer_math_unary(Layer *layer, AVIOContext *model_file_context, int file_size, int operands_num);
-int dnn_execute_layer_math_unary(DnnOperand *operands, const int32_t *input_operand_indexes,
-                                int32_t output_operand_index, const void *parameters);
+int ff_dnn_load_layer_math_unary(Layer *layer, AVIOContext *model_file_context, int file_size, int operands_num);
+int ff_dnn_execute_layer_math_unary(DnnOperand *operands, const int32_t *input_operand_indexes,
+                                    int32_t output_operand_index, const void *parameters, NativeContext *ctx);
 
 #endif