Home
last modified time | relevance | path

Searched refs:cle (Results 1 – 25 of 56) sorted by relevance

123

/third_party/ffmpeg/libavfilter/
Dopencl.h62 cle = clSetKernelArg(kernel, arg_num, sizeof(type), arg); \
63 if (cle != CL_SUCCESS) { \
65 "argument %d: error %d.\n", arg_num, cle); \
75 if (cle != CL_SUCCESS) { \
94 ctx->kernel_ ## kernel_name = clCreateKernel(ctx->ocf.program, #kernel_name, &cle); \
95 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to create %s kernel: %d.\n", #kernel_name, cle); \
104 cle = clReleaseKernel(k); \
105 if (cle != CL_SUCCESS) \
107 "OpenCL kernel: %d.\n", cle); \
117 cle = clReleaseMemObject(m); \
[all …]
Dvf_nlmeans_opencl.c77 cl_int cle; in nlmeans_opencl_init() local
107 0, &cle); in nlmeans_opencl_init()
109 "command queue %d.\n", cle); in nlmeans_opencl_init()
112 "vert_sum", &cle); in nlmeans_opencl_init()
114 "vert_sum kernel %d.\n", cle); in nlmeans_opencl_init()
117 "horiz_sum", &cle); in nlmeans_opencl_init()
119 "horiz_sum kernel %d.\n", cle); in nlmeans_opencl_init()
122 "weight_accum", &cle); in nlmeans_opencl_init()
124 "accum kernel %d.\n", cle); in nlmeans_opencl_init()
127 "average", &cle); in nlmeans_opencl_init()
[all …]
Dvf_colorkey_opencl.c52 cl_int cle; in colorkey_opencl_init() local
63 &cle in colorkey_opencl_init()
66 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to create OpenCL command queue %d.\n", cle); in colorkey_opencl_init()
69 ctx->kernel_colorkey = clCreateKernel(ctx->ocf.program, "colorkey_blend", &cle); in colorkey_opencl_init()
70 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to create colorkey_blend kernel: %d.\n", cle); in colorkey_opencl_init()
72 ctx->kernel_colorkey = clCreateKernel(ctx->ocf.program, "colorkey", &cle); in colorkey_opencl_init()
73 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to create colorkey kernel: %d.\n", cle); in colorkey_opencl_init()
98 cl_int cle; in filter_frame() local
147 cle = clEnqueueNDRangeKernel( in filter_frame()
159 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to enqueue colorkey kernel: %d.\n", cle); in filter_frame()
[all …]
Dvf_program_opencl.c53 cl_int cle; in program_opencl_load() local
62 0, &cle); in program_opencl_load()
65 "command queue: %d.\n", cle); in program_opencl_load()
69 ctx->kernel = clCreateKernel(ctx->ocf.program, ctx->kernel_name, &cle); in program_opencl_load()
71 if (cle == CL_INVALID_KERNEL_NAME) { in program_opencl_load()
75 av_log(avctx, AV_LOG_ERROR, "Failed to create kernel: %d.\n", cle); in program_opencl_load()
89 cl_int cle; in program_opencl_run() local
111 cle = clSetKernelArg(ctx->kernel, 0, sizeof(cl_mem), &dst); in program_opencl_run()
112 if (cle != CL_SUCCESS) { in program_opencl_run()
114 "destination image argument: %d.\n", cle); in program_opencl_run()
[all …]
Dopencl.c159 cl_int cle; in ff_opencl_filter_uninit() local
162 cle = clReleaseProgram(ctx->program); in ff_opencl_filter_uninit()
163 if (cle != CL_SUCCESS) in ff_opencl_filter_uninit()
165 "program: %d.\n", cle); in ff_opencl_filter_uninit()
176 cl_int cle; in ff_opencl_filter_load_program() local
180 NULL, &cle); in ff_opencl_filter_load_program()
182 av_log(avctx, AV_LOG_ERROR, "Failed to create program: %d.\n", cle); in ff_opencl_filter_load_program()
186 cle = clBuildProgram(ctx->program, 1, &ctx->hwctx->device_id, in ff_opencl_filter_load_program()
188 if (cle != CL_SUCCESS) { in ff_opencl_filter_load_program()
189 av_log(avctx, AV_LOG_ERROR, "Failed to build program: %d.\n", cle); in ff_opencl_filter_load_program()
[all …]
Dvf_neighbor_opencl.c54 cl_int cle; in neighbor_opencl_init() local
63 0, &cle); in neighbor_opencl_init()
65 "command queue %d.\n", cle); in neighbor_opencl_init()
72 ctx->kernel = clCreateKernel(ctx->ocf.program, kernel_name, &cle); in neighbor_opencl_init()
74 "kernel %d.\n", cle); in neighbor_opencl_init()
92 cl_int cle; in neighbor_opencl_make_filter_params() local
109 9 * sizeof(cl_int), matrix, &cle); in neighbor_opencl_make_filter_params()
112 "%d.\n", cle); in neighbor_opencl_make_filter_params()
127 cl_int cle; in neighbor_opencl_filter_frame() local
170 cle = clEnqueueCopyImage(ctx->command_queue, src, dst, in neighbor_opencl_filter_frame()
[all …]
Dvf_avgblur_opencl.c57 cl_int cle; in avgblur_opencl_init() local
66 0, &cle); in avgblur_opencl_init()
68 "command queue %d.\n", cle); in avgblur_opencl_init()
70 ctx->kernel_horiz = clCreateKernel(ctx->ocf.program,"avgblur_horiz", &cle); in avgblur_opencl_init()
72 "kernel %d.\n", cle); in avgblur_opencl_init()
74 ctx->kernel_vert = clCreateKernel(ctx->ocf.program,"avgblur_vert", &cle); in avgblur_opencl_init()
76 "kernel %d.\n", cle); in avgblur_opencl_init()
152 cl_int cle; in avgblur_opencl_filter_frame() local
226 cle = clEnqueueNDRangeKernel(ctx->command_queue, ctx->kernel_horiz, 2, NULL, in avgblur_opencl_filter_frame()
230 "kernel: %d.\n", cle); in avgblur_opencl_filter_frame()
[all …]
Dvf_convolution_opencl.c60 cl_int cle; in convolution_opencl_init() local
69 0, &cle); in convolution_opencl_init()
71 "command queue %d.\n", cle); in convolution_opencl_init()
82 ctx->kernel = clCreateKernel(ctx->ocf.program, kernel_name, &cle); in convolution_opencl_init()
84 "kernel %d.\n", cle); in convolution_opencl_init()
105 cl_int cle; in convolution_opencl_make_filter_params() local
158 matrix_bytes, matrix, &cle); in convolution_opencl_make_filter_params()
161 "%d.\n", cle); in convolution_opencl_make_filter_params()
178 cl_int cle; in convolution_opencl_filter_frame() local
236 cle = clEnqueueNDRangeKernel(ctx->command_queue, ctx->kernel, 2, NULL, in convolution_opencl_filter_frame()
[all …]
Dvf_unsharp_opencl.c69 cl_int cle; in unsharp_opencl_init() local
78 0, &cle); in unsharp_opencl_init()
80 "command queue %d.\n", cle); in unsharp_opencl_init()
90 : "unsharp_local", &cle); in unsharp_opencl_init()
91 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to create kernel %d.\n", cle); in unsharp_opencl_init()
110 cl_int cle; in unsharp_opencl_make_filter_params() local
170 matrix_bytes, matrix, &cle); in unsharp_opencl_make_filter_params()
172 "%d.\n", cle); in unsharp_opencl_make_filter_params()
180 ctx->plane[p].blur_x, &cle); in unsharp_opencl_make_filter_params()
182 "%d.\n", cle); in unsharp_opencl_make_filter_params()
[all …]
Dvf_transpose_opencl.c46 cl_int cle; in transpose_opencl_init() local
55 0, &cle); in transpose_opencl_init()
57 "command queue %d.\n", cle); in transpose_opencl_init()
59 ctx->kernel = clCreateKernel(ctx->ocf.program, "transpose", &cle); in transpose_opencl_init()
60 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to create kernel %d.\n", cle); in transpose_opencl_init()
143 cl_int cle; in transpose_opencl_filter_frame() local
192 cle = clEnqueueNDRangeKernel(ctx->command_queue, ctx->kernel, 2, NULL, in transpose_opencl_filter_frame()
195 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to enqueue kernel: %d.\n", cle); in transpose_opencl_filter_frame()
197 cle = clFinish(ctx->command_queue); in transpose_opencl_filter_frame()
198 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to finish command queue: %d.\n", cle); in transpose_opencl_filter_frame()
[all …]
Dvf_overlay_opencl.c54 cl_int cle; in overlay_opencl_load() local
102 0, &cle); in overlay_opencl_load()
104 "command queue %d.\n", cle); in overlay_opencl_load()
106 ctx->kernel = clCreateKernel(ctx->ocf.program, kernel, &cle); in overlay_opencl_load()
107 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to create kernel %d.\n", cle); in overlay_opencl_load()
128 cl_int cle, x, y; in overlay_opencl_blend() local
202 cle = clEnqueueNDRangeKernel(ctx->command_queue, ctx->kernel, 2, NULL, in overlay_opencl_blend()
205 "for plane %d: %d.\n", plane, cle); in overlay_opencl_blend()
208 cle = clFinish(ctx->command_queue); in overlay_opencl_blend()
209 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to finish command queue: %d.\n", cle); in overlay_opencl_blend()
[all …]
Dvf_tonemap_opencl.c125 cl_int cle; in tonemap_opencl_init() local
255 0, &cle); in tonemap_opencl_init()
257 "command queue %d.\n", cle); in tonemap_opencl_init()
259 ctx->kernel = clCreateKernel(ctx->ocf.program, "tonemap", &cle); in tonemap_opencl_init()
260 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to create kernel %d.\n", cle); in tonemap_opencl_init()
265 NULL, &cle); in tonemap_opencl_init()
266 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to create util buffer: %d.\n", cle); in tonemap_opencl_init()
312 cl_int cle; in launch_kernel() local
329 cle = clEnqueueNDRangeKernel(ctx->command_queue, kernel, 2, NULL, in launch_kernel()
332 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to enqueue kernel: %d.\n", cle); in launch_kernel()
[all …]
Dvf_xfade_opencl.c76 cl_int cle; in xfade_opencl_load() local
104 0, &cle); in xfade_opencl_load()
106 "command queue %d.\n", cle); in xfade_opencl_load()
124 ctx->kernel = clCreateKernel(ctx->ocf.program, kernel_name, &cle); in xfade_opencl_load()
125 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to create kernel %d.\n", cle); in xfade_opencl_load()
144 cl_int cle; in xfade_frame() local
192 cle = clEnqueueNDRangeKernel(ctx->command_queue, ctx->kernel, 2, NULL, in xfade_frame()
195 "for plane %d: %d.\n", plane, cle); in xfade_frame()
198 cle = clFinish(ctx->command_queue); in xfade_frame()
199 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to finish command queue: %d.\n", cle); in xfade_frame()
[all …]
Dvf_pad_opencl.c87 cl_int cle; in pad_opencl_init() local
104 &cle in pad_opencl_init()
119 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to create OpenCL command queue %d.\n", cle); in pad_opencl_init()
121 ctx->kernel_pad = clCreateKernel(ctx->ocf.program, "pad", &cle); in pad_opencl_init()
122 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to create pad kernel: %d.\n", cle); in pad_opencl_init()
149 cl_int cle; in filter_frame() local
202 cle = clEnqueueNDRangeKernel(pad_ctx->command_queue, pad_ctx->kernel_pad, 2, NULL, in filter_frame()
205 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to enqueue pad kernel: %d.\n", cle); in filter_frame()
209 cle = clFinish(pad_ctx->command_queue); in filter_frame()
210 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to finish command queue: %d.\n", cle); in filter_frame()
[all …]
Dvf_deshake_opencl.c1069 cl_int cle; in deshake_opencl_uninit() local
1133 cl_int cle; in deshake_opencl_init() local
1283 &cle in deshake_opencl_init()
1285 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to create OpenCL command queue %d.\n", cle); in deshake_opencl_init()
1320 &cle in deshake_opencl_init()
1322 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to create grayscale image: %d.\n", cle); in deshake_opencl_init()
1392 cl_int cle; in filter_frame() local
1756 cl_int cle; in queue_frame() local
1865 cle = clEnqueueReadBuffer( in queue_frame()
1876 CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to read matches to host: %d.\n", cle); in queue_frame()
/third_party/ffmpeg/libavutil/
Dhwcontext_opencl.c158 cl_int cle; in opencl_device_free() local
160 cle = clReleaseContext(hwctx->context); in opencl_device_free()
161 if (cle != CL_SUCCESS) { in opencl_device_free()
163 "context: %d.\n", cle); in opencl_device_free()
207 cl_int cle; in opencl_get_platform_string() local
208 cle = clGetPlatformInfo(platform_id, key, 0, NULL, &size); in opencl_get_platform_string()
209 if (cle != CL_SUCCESS) in opencl_get_platform_string()
214 cle = clGetPlatformInfo(platform_id, key, size, str, &size); in opencl_get_platform_string()
215 if (cle != CL_SUCCESS) { in opencl_get_platform_string()
228 cl_int cle; in opencl_get_device_string() local
[all …]
/third_party/mesa3d/src/broadcom/
Dmeson.build21 inc_broadcom = include_directories('.', 'cle')
23 subdir('cle') subdir
/third_party/mesa3d/docs/relnotes/
D18.1.9.rst128 - android: broadcom/cle: add gallium include path
129 - android: broadcom/cle: export the broadcom top level path headers
D18.2.1.rst162 - android: broadcom/cle: add gallium include path
163 - android: broadcom/cle: export the broadcom top level path headers
/third_party/mesa3d/src/broadcom/cle/
Dmeson.build21 # [version, cle XML version]
/third_party/flutter/skia/third_party/externals/icu/source/data/misc/
DkeyTypeData.txt229 cle{""}
/third_party/skia/third_party/externals/icu/source/data/misc/
DkeyTypeData.txt232 cle{""}
/third_party/icu/icu4c/source/data/misc/
DkeyTypeData.txt232 cle{""}
/third_party/flutter/skia/third_party/externals/icu/source/data/unit/
Dfr.txt226 one{"{0} siècle"}
1470 one{"{0} siècle"}
/third_party/icu/icu4c/source/data/unit/
Dfr.txt317 one{"{0} siècle"}
1799 one{"{0} siècle"}

123