X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fdnn%2Fdnn_backend_native_layer_mathunary.h;h=151a73200a67dd2fd8b7163e1ed06a98491006e7;hb=b9fff6e15e73dc995695db9be8db084238cca14c;hp=8076356ba4b9adae27436154aa716d615c1d4f86;hpb=c0cdeea0ee2c4af9fb4948fe3e33b857cf6d2771;p=ffmpeg diff --git a/libavfilter/dnn/dnn_backend_native_layer_mathunary.h b/libavfilter/dnn/dnn_backend_native_layer_mathunary.h index 8076356ba4b..151a73200a6 100644 --- a/libavfilter/dnn/dnn_backend_native_layer_mathunary.h +++ b/libavfilter/dnn/dnn_backend_native_layer_mathunary.h @@ -43,6 +43,10 @@ typedef enum { DMUO_ASINH = 10, DMUO_ACOSH = 11, DMUO_ATANH = 12, + DMUO_CEIL = 13, + DMUO_FLOOR = 14, + DMUO_ROUND = 15, + DMUO_EXP = 16, DMUO_COUNT } DNNMathUnaryOperation; @@ -50,8 +54,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