diff options
author | Mark Thompson <sw@jkqxz.net> | 2021-01-21 21:39:55 +0000 |
---|---|---|
committer | Guo, Yejun <yejun.guo@intel.com> | 2021-01-22 15:03:09 +0800 |
commit | bb96824510aad2ac4cf0bff545c85af7a256ff92 (patch) | |
tree | 82f3c909445b317f48d930d27f1ccd6408ff6ffe /libavfilter/dnn/dnn_backend_native_layer_maximum.c | |
parent | 2c424d963039a7d50b5b93f0db5efd70101d8e44 (diff) |
dnn: Add ff_ prefix to unnamespaced globals
Reviewed-By: Guo, Yejun <yejun.guo@intel.com>
Diffstat (limited to 'libavfilter/dnn/dnn_backend_native_layer_maximum.c')
-rw-r--r-- | libavfilter/dnn/dnn_backend_native_layer_maximum.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavfilter/dnn/dnn_backend_native_layer_maximum.c b/libavfilter/dnn/dnn_backend_native_layer_maximum.c index 7ad5a22969..baae889755 100644 --- a/libavfilter/dnn/dnn_backend_native_layer_maximum.c +++ b/libavfilter/dnn/dnn_backend_native_layer_maximum.c @@ -27,7 +27,7 @@ #include "libavutil/avassert.h" #include "dnn_backend_native_layer_maximum.h" -int dnn_load_layer_maximum(Layer *layer, AVIOContext *model_file_context, int file_size, int operands_num) +int ff_dnn_load_layer_maximum(Layer *layer, AVIOContext *model_file_context, int file_size, int operands_num) { DnnLayerMaximumParams *params; int dnn_size = 0; @@ -49,8 +49,8 @@ int dnn_load_layer_maximum(Layer *layer, AVIOContext *model_file_context, int fi return dnn_size; } -int dnn_execute_layer_maximum(DnnOperand *operands, const int32_t *input_operand_indexes, - int32_t output_operand_index, const void *parameters, NativeContext *ctx) +int ff_dnn_execute_layer_maximum(DnnOperand *operands, const int32_t *input_operand_indexes, + int32_t output_operand_index, const void *parameters, NativeContext *ctx) { const DnnOperand *input = &operands[input_operand_indexes[0]]; DnnOperand *output = &operands[output_operand_index]; @@ -63,7 +63,7 @@ int dnn_execute_layer_maximum(DnnOperand *operands, const int32_t *input_operand output->dims[i] = input->dims[i]; output->data_type = input->data_type; - output->length = calculate_operand_data_length(output); + output->length = ff_calculate_operand_data_length(output); if (output->length <= 0) { av_log(ctx, AV_LOG_ERROR, "The output data length overflow\n"); return DNN_ERROR; @@ -74,7 +74,7 @@ int dnn_execute_layer_maximum(DnnOperand *operands, const int32_t *input_operand return DNN_ERROR; } - dims_count = calculate_operand_dims_count(output); + dims_count = ff_calculate_operand_dims_count(output); src = input->data; dst = output->data; for (int i = 0; i < dims_count; ++i) |