Home
last modified time | relevance | path

Searched refs:dnn_size (Results 1 – 9 of 9) sorted by relevance

/third_party/ffmpeg/libavfilter/dnn/
Ddnn_backend_native_layer_mathbinary.c103 int dnn_size = 0; in ff_dnn_load_layer_math_binary() local
107 dnn_size += 4; in ff_dnn_load_layer_math_binary()
110 dnn_size += 4; in ff_dnn_load_layer_math_binary()
120 dnn_size += 4; in ff_dnn_load_layer_math_binary()
123 dnn_size += 4; in ff_dnn_load_layer_math_binary()
133 dnn_size += 4; in ff_dnn_load_layer_math_binary()
136 dnn_size += 4; in ff_dnn_load_layer_math_binary()
145 return dnn_size; in ff_dnn_load_layer_math_binary()
Ddnn_backend_native_layer_dense.c28 int dnn_size = 0; in ff_dnn_load_layer_dense() local
37 dnn_size += 16; in ff_dnn_load_layer_dense()
40 dnn_size += kernel_size * 4; in ff_dnn_load_layer_dense()
42 dnn_size += dense_params->output_num * 4; in ff_dnn_load_layer_dense()
44 if (dnn_size > file_size || dense_params->input_num <= 0 || in ff_dnn_load_layer_dense()
76 dnn_size += 8; in ff_dnn_load_layer_dense()
82 return dnn_size; in ff_dnn_load_layer_dense()
Ddnn_backend_native.c148 int file_size, dnn_size, parsed_size; in ff_dnn_load_model_native() local
168 dnn_size = sizeof(buf); in ff_dnn_load_model_native()
171 dnn_size += 4; in ff_dnn_load_model_native()
178 dnn_size += 4; in ff_dnn_load_model_native()
179 header_size = dnn_size; in ff_dnn_load_model_native()
208 dnn_size += 8; in ff_dnn_load_model_native()
233 dnn_size += 4; in ff_dnn_load_model_native()
244 dnn_size += parsed_size; in ff_dnn_load_model_native()
251 dnn_size += 4; in ff_dnn_load_model_native()
259 dnn_size += 4; in ff_dnn_load_model_native()
[all …]
Ddnn_backend_native_layer_maximum.c32 int dnn_size = 0; in ff_dnn_load_layer_maximum() local
38 dnn_size += 4; in ff_dnn_load_layer_maximum()
42 dnn_size += 8; in ff_dnn_load_layer_maximum()
48 return dnn_size; in ff_dnn_load_layer_maximum()
Ddnn_backend_native_layer_avgpool.c32 int dnn_size = 0; in ff_dnn_load_layer_avg_pool() local
40 dnn_size += 12; in ff_dnn_load_layer_avg_pool()
42 if (dnn_size > file_size || avgpool_params->kernel_size <= 0 || avgpool_params->strides <=0){ in ff_dnn_load_layer_avg_pool()
50 dnn_size += 8; in ff_dnn_load_layer_avg_pool()
55 return dnn_size; in ff_dnn_load_layer_avg_pool()
Ddnn_backend_native_layer_conv2d.c50 int dnn_size = 0; in ff_dnn_load_layer_conv2d() local
62 dnn_size += 28; in ff_dnn_load_layer_conv2d()
66 dnn_size += kernel_size * 4; in ff_dnn_load_layer_conv2d()
68 dnn_size += conv_params->output_num * 4; in ff_dnn_load_layer_conv2d()
70 if (dnn_size > file_size || conv_params->input_num <= 0 || in ff_dnn_load_layer_conv2d()
102 dnn_size += 8; in ff_dnn_load_layer_conv2d()
108 return dnn_size; in ff_dnn_load_layer_conv2d()
Ddnn_backend_native_layer_depth2space.c32 int dnn_size = 0; in ff_dnn_load_layer_depth2space() local
38 dnn_size += 4; in ff_dnn_load_layer_depth2space()
41 dnn_size += 8; in ff_dnn_load_layer_depth2space()
48 return dnn_size; in ff_dnn_load_layer_depth2space()
Ddnn_backend_native_layer_mathunary.c34 int dnn_size = 0; in ff_dnn_load_layer_math_unary() local
40 dnn_size += 4; in ff_dnn_load_layer_math_unary()
44 dnn_size += 8; in ff_dnn_load_layer_math_unary()
50 return dnn_size; in ff_dnn_load_layer_math_unary()
Ddnn_backend_native_layer_pad.c28 int dnn_size = 0; in ff_dnn_load_layer_pad() local
34 dnn_size += 4; in ff_dnn_load_layer_pad()
38 dnn_size += 8; in ff_dnn_load_layer_pad()
42 dnn_size += 8; in ff_dnn_load_layer_pad()
49 return dnn_size; in ff_dnn_load_layer_pad()