Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Dvf_convolution_opencl.c45 cl_int matrix_sizes[4]; member
117 while (ctx->matrix_sizes[i] < 49) { in convolution_opencl_make_filter_params()
123 sscanf_err = sscanf(arg, "%f", &input_matrix[i][ctx->matrix_sizes[i]]); in convolution_opencl_make_filter_params()
128 ctx->matrix_sizes[i]++; in convolution_opencl_make_filter_params()
130 if (ctx->matrix_sizes[i] == 9) { in convolution_opencl_make_filter_params()
132 } else if (ctx->matrix_sizes[i] == 25) { in convolution_opencl_make_filter_params()
134 } else if (ctx->matrix_sizes[i] == 49) { in convolution_opencl_make_filter_params()
137 av_log(ctx, AV_LOG_ERROR, "Invalid matrix size:%d\n", ctx->matrix_sizes[i]); in convolution_opencl_make_filter_params()
144 matrix_bytes = sizeof(float)*ctx->matrix_sizes[j]; in convolution_opencl_make_filter_params()
151 for (i = 0; i < ctx->matrix_sizes[j]; i++) in convolution_opencl_make_filter_params()