Home
last modified time | relevance | path

Searched refs:work_size (Results 1 – 25 of 50) sorted by relevance

12

/external/skqp/src/compute/skc/platforms/cl_12/kernels/devices/gen9/
Ddevice_cl_12.c281 typedef size_t * (*skc_grid_shaper)(size_t const work_size,
339 skc_device_shaper_block_pool_init_ids(size_t const work_size, in skc_device_shaper_block_pool_init_ids() argument
345 work_global[0] = work_size; in skc_device_shaper_block_pool_init_ids()
352 skc_device_shaper_block_pool_init_atomics(size_t const work_size, in skc_device_shaper_block_pool_init_atomics() argument
365 skc_device_shaper_paths_alloc(size_t const work_size, in skc_device_shaper_paths_alloc() argument
379 skc_device_shaper_paths_copy(size_t const work_size, in skc_device_shaper_paths_copy() argument
385 work_global[0] = SKC_PATHS_COPY_SUBGROUP_SIZE * work_size; in skc_device_shaper_paths_copy()
397 skc_device_shaper_fills_expand(size_t const work_size, in skc_device_shaper_fills_expand() argument
403 work_global[0] = SKC_FILLS_EXPAND_SUBGROUP_SIZE * work_size; in skc_device_shaper_fills_expand()
411 skc_device_shaper_rasterize(size_t const work_size, in skc_device_shaper_rasterize() argument
[all …]
/external/skia/src/compute/skc/platforms/cl_12/kernels/devices/gen9/
Ddevice_cl_12.c281 typedef size_t * (*skc_grid_shaper)(size_t const work_size,
339 skc_device_shaper_block_pool_init_ids(size_t const work_size, in skc_device_shaper_block_pool_init_ids() argument
345 work_global[0] = work_size; in skc_device_shaper_block_pool_init_ids()
352 skc_device_shaper_block_pool_init_atomics(size_t const work_size, in skc_device_shaper_block_pool_init_atomics() argument
365 skc_device_shaper_paths_alloc(size_t const work_size, in skc_device_shaper_paths_alloc() argument
379 skc_device_shaper_paths_copy(size_t const work_size, in skc_device_shaper_paths_copy() argument
385 work_global[0] = SKC_PATHS_COPY_SUBGROUP_SIZE * work_size; in skc_device_shaper_paths_copy()
397 skc_device_shaper_fills_expand(size_t const work_size, in skc_device_shaper_fills_expand() argument
403 work_global[0] = SKC_FILLS_EXPAND_SUBGROUP_SIZE * work_size; in skc_device_shaper_fills_expand()
411 skc_device_shaper_rasterize(size_t const work_size, in skc_device_shaper_rasterize() argument
[all …]
/external/libxcam/modules/ocl/
Dcl_defog_dcp_handler.cpp67 CLDarkChannelKernel::prepare_arguments (CLArgList &args, CLWorkSize &work_size) in prepare_arguments() argument
99 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_arguments()
100 work_size.local[0] = 16; in prepare_arguments()
101 work_size.local[1] = 2; in prepare_arguments()
102 work_size.global[0] = XCAM_ALIGN_UP (cl_desc_in.width, work_size.local[0]); in prepare_arguments()
103 work_size.global[1] = XCAM_ALIGN_UP (cl_desc_in.height, work_size.local[1]); in prepare_arguments()
120 CLMinFilterKernel::prepare_arguments (CLArgList &args, CLWorkSize &work_size) in prepare_arguments() argument
130 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_arguments()
132 work_size.local[0] = 16; in prepare_arguments()
133 work_size.local[1] = 4; in prepare_arguments()
[all …]
Dcl_3d_denoise_handler.cpp73 CLArgList &args, CLWorkSize &work_size) in prepare_arguments() argument
156 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_arguments()
158 work_size.local[0] = CL_3D_DENOISE_WG_WIDTH; in prepare_arguments()
159 work_size.local[1] = CL_3D_DENOISE_WG_HEIGHT; in prepare_arguments()
160 work_size.global[0] = XCAM_ALIGN_UP (cl_desc_in.width, work_size.local[0]); in prepare_arguments()
161work_size.global[1] = (cl_desc_in.height + work_size.local[1] - 1) / work_size.local[1] * work_si… in prepare_arguments()
163 work_size.local[0] = 8; in prepare_arguments()
164 work_size.local[1] = 1; in prepare_arguments()
165 work_size.global[0] = XCAM_ALIGN_UP (cl_desc_in.width, work_size.local[0]); in prepare_arguments()
166 work_size.global[1] = XCAM_ALIGN_UP(cl_desc_in.height / 8, 8 * work_size.local[1]); in prepare_arguments()
Dcl_fisheye_handler.cpp78 CLFisheye2GPSKernel::prepare_arguments (CLArgList &args, CLWorkSize &work_size) in prepare_arguments() argument
122 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_arguments()
123 work_size.local[0] = 16; in prepare_arguments()
124 work_size.local[1] = 4; in prepare_arguments()
125 work_size.global[0] = XCAM_ALIGN_UP (outuv_desc.width, work_size.local[0]); in prepare_arguments()
126 work_size.global[1] = XCAM_ALIGN_UP (outuv_desc.height, work_size.local[1]); in prepare_arguments()
407 CLWorkSize work_size; in generate_fisheye_table() local
430 work_size.dim = 2; in generate_fisheye_table()
431 work_size.local[0] = 8; in generate_fisheye_table()
432 work_size.local[1] = 4; in generate_fisheye_table()
[all …]
Dcl_csc_handler.cpp161 CLWorkSize work_size; in prepare_parameters() local
184 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_parameters()
185 work_size.local[0] = 4; in prepare_parameters()
186 work_size.local[1] = 4; in prepare_parameters()
195 work_size.global[0] = out_video_info.width; in prepare_parameters()
196 work_size.global[1] = out_video_info.height; in prepare_parameters()
206 work_size.global[0] = out_video_info.width / 2; in prepare_parameters()
207 work_size.global[1] = out_video_info.height / 2; in prepare_parameters()
217 work_size.global[0] = out_video_info.width / 2; in prepare_parameters()
218 work_size.global[1] = out_video_info.height / 2; in prepare_parameters()
[all …]
Dcl_pyramid_blender.cpp847 CLPyramidBlendKernel::prepare_arguments (CLArgList &args, CLWorkSize &work_size) in prepare_arguments() argument
868 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_arguments()
869 work_size.local[0] = 8; in prepare_arguments()
870 work_size.local[1] = 8; in prepare_arguments()
871 work_size.global[0] = XCAM_ALIGN_UP (cl_desc_out.width, work_size.local[0]); in prepare_arguments()
872 work_size.global[1] = XCAM_ALIGN_UP (cl_desc_out.height, work_size.local[1]); in prepare_arguments()
917 CLPyramidTransformKernel::prepare_arguments (CLArgList &args, CLWorkSize &work_size) in prepare_arguments() argument
958 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_arguments()
959 work_size.local[0] = 16; in prepare_arguments()
960 work_size.local[1] = 4; in prepare_arguments()
[all …]
Dcl_kernel.cpp325 CLKernel::set_arguments (const CLArgList &args, const CLWorkSize &work_size) in set_arguments() argument
349 ret = set_work_size (work_size); in set_arguments()
354 (int)work_size.global[0], (int)work_size.global[1], (int)work_size.global[2], in set_arguments()
355 (int)work_size.local[0], (int)work_size.local[1], (int)work_size.local[2]); in set_arguments()
373 CLKernel::set_work_size (const CLWorkSize &work_size) in set_work_size() argument
381 work_size.dim <= dev_info.max_work_item_dims, in set_work_size()
384 _name, work_size.dim, dev_info.max_work_item_dims); in set_work_size()
386 for (i = 0; i < work_size.dim; ++i) { in set_work_size()
387 work_group_size *= work_size.local [i]; in set_work_size()
391 work_size.local [i] <= dev_info.max_work_item_sizes [i], in set_work_size()
[all …]
Dcl_demo_handler.cpp57 CLWorkSize work_size; in prepare_parameters() local
76 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_parameters()
77 work_size.global[0] = desc.width; in prepare_parameters()
78 work_size.global[1] = desc.height; in prepare_parameters()
79 work_size.local[0] = 8; in prepare_parameters()
80 work_size.local[1] = 4; in prepare_parameters()
82 _copy_kernel->set_arguments (args, work_size); in prepare_parameters()
Dcl_bayer_pipe_handler.cpp149 CLWorkSize work_size; in prepare_parameters() local
199 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_parameters()
200 work_size.local[0] = BAYER_LOCAL_X_SIZE; in prepare_parameters()
201 work_size.local[1] = BAYER_LOCAL_Y_SIZE; in prepare_parameters()
202work_size.global[0] = (XCAM_ALIGN_UP(out_video_info.width, WORKGROUP_PIXEL_WIDTH) / WORKGROUP_PIXE… in prepare_parameters()
203 work_size.local[0]; in prepare_parameters()
204work_size.global[1] = (XCAM_ALIGN_UP(out_video_info.height, WORKGROUP_PIXEL_HEIGHT) / WORKGROUP_PI… in prepare_parameters()
205 work_size.local[1]; in prepare_parameters()
208 XCamReturn ret = _bayer_kernel->set_arguments (args, work_size); in prepare_parameters()
Dcl_rgb_pipe_handler.cpp81 CLWorkSize work_size; in prepare_parameters() local
118 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_parameters()
119 work_size.global[0] = XCAM_ALIGN_UP(video_info.width, 16); in prepare_parameters()
120 work_size.global[1] = XCAM_ALIGN_UP(video_info.height, 16); in prepare_parameters()
121 work_size.local[0] = 8; in prepare_parameters()
122 work_size.local[1] = 4; in prepare_parameters()
125 XCamReturn ret = _rgb_pipe_kernel->set_arguments (args, work_size); in prepare_parameters()
Dcl_blender.cpp33 CLBlenderScaleKernel::prepare_arguments (CLArgList &args, CLWorkSize &work_size) in prepare_arguments() argument
50 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_arguments()
51 work_size.local[0] = 8; in prepare_arguments()
52 work_size.local[1] = 4; in prepare_arguments()
53 work_size.global[0] = XCAM_ALIGN_UP (output_width, work_size.local[0]); in prepare_arguments()
54 work_size.global[1] = XCAM_ALIGN_UP (output_height, work_size.local[1]); in prepare_arguments()
Dcl_wavelet_denoise_handler.cpp51 CLArgList &args, CLWorkSize &work_size) in prepare_arguments() argument
83 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_arguments()
84 work_size.local[0] = 8; in prepare_arguments()
85 work_size.local[1] = 4; in prepare_arguments()
106 work_size.global[0] = video_info_in.width / 16; in prepare_arguments()
107 work_size.global[1] = video_info_in.height / 2; in prepare_arguments()
109 work_size.global[0] = video_info_in.width / 16; in prepare_arguments()
110 work_size.global[1] = video_info_in.height; in prepare_arguments()
Dcl_newwavelet_denoise_handler.cpp136 CLArgList &args, CLWorkSize &work_size) in prepare_arguments() argument
158 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_arguments()
159 work_size.local[0] = 8; in prepare_arguments()
160 work_size.local[1] = 8; in prepare_arguments()
161 work_size.global[0] = XCAM_ALIGN_UP (cl_width, work_size.local[0]); in prepare_arguments()
162 work_size.global[1] = XCAM_ALIGN_UP (cl_height, work_size.local[1]); in prepare_arguments()
303 CLArgList &args, CLWorkSize &work_size) in prepare_arguments() argument
363 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_arguments()
364 work_size.local[0] = 8; in prepare_arguments()
365 work_size.local[1] = 4; in prepare_arguments()
[all …]
Dcl_tonemapping_handler.cpp93 CLWorkSize work_size; in prepare_parameters() local
194 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_parameters()
195 work_size.global[0] = out_info.width; in prepare_parameters()
196 work_size.global[1] = out_info.height / 4; in prepare_parameters()
197 work_size.local[0] = 8; in prepare_parameters()
198 work_size.local[1] = 8; in prepare_parameters()
201 XCamReturn ret = _tonemapping_kernel->set_arguments (args, work_size); in prepare_parameters()
Dcl_yuv_pipe_handler.cpp112 CLWorkSize work_size; in prepare_parameters() local
191 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_parameters()
192 work_size.global[0] = video_info_out.width / 8 ; in prepare_parameters()
193 work_size.global[1] = video_info_out.aligned_height / 2 ; in prepare_parameters()
194 work_size.local[0] = 8; in prepare_parameters()
195 work_size.local[1] = 4; in prepare_parameters()
198 XCamReturn ret = _yuv_pipe_kernel->set_arguments (args, work_size); in prepare_parameters()
Dcl_image_warp_handler.cpp56 CLArgList &args, CLWorkSize &work_size) in prepare_arguments() argument
158 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_arguments()
159 work_size.local[0] = CL_IMAGE_WARP_WG_WIDTH; in prepare_arguments()
160 work_size.local[1] = CL_IMAGE_WARP_WG_HEIGHT; in prepare_arguments()
161 work_size.global[0] = XCAM_ALIGN_UP (cl_desc_out.width, work_size.local[0]); in prepare_arguments()
162 work_size.global[1] = XCAM_ALIGN_UP(cl_desc_out.height, work_size.local[1]); in prepare_arguments()
Dcl_gauss_handler.cpp120 CLGaussImageKernel::prepare_arguments (CLArgList &args, CLWorkSize &work_size) in prepare_arguments() argument
161 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_arguments()
162 work_size.global[0] = XCAM_ALIGN_UP(cl_desc_out.width, 8); in prepare_arguments()
163 work_size.global[1] = XCAM_ALIGN_UP (cl_desc_out.height / 2, 4); in prepare_arguments()
164 work_size.local[0] = 8; in prepare_arguments()
165 work_size.local[1] = 4; in prepare_arguments()
Dcl_bayer_basic_handler.cpp289 CLWorkSize work_size; in prepare_parameters() local
362 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_parameters()
363 work_size.local[0] = 16; in prepare_parameters()
364 work_size.local[1] = 2; in prepare_parameters()
365work_size.global[0] = XCAM_ALIGN_UP(out_video_info.width, GROUP_CELL_X_SIZE) / GROUP_CELL_X_SIZE *… in prepare_parameters()
366work_size.global[1] = XCAM_ALIGN_UP(out_video_info.aligned_height, GROUP_CELL_Y_SIZE) / GROUP_CELL… in prepare_parameters()
370 XCamReturn ret = _bayer_kernel->set_arguments (args, work_size); in prepare_parameters()
Dcl_geo_map_handler.cpp46 CLGeoMapKernel::prepare_arguments (CLArgList &args, CLWorkSize &work_size) in prepare_arguments() argument
80 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_arguments()
81 work_size.local[0] = 16; in prepare_arguments()
82 work_size.local[1] = 4; in prepare_arguments()
83 work_size.global[0] = XCAM_ALIGN_UP (outuv_desc.width, work_size.local[0]); in prepare_arguments()
84 work_size.global[1] = XCAM_ALIGN_UP (outuv_desc.height, work_size.local[1]); in prepare_arguments()
Dcl_pyramid_blender.h157 virtual XCamReturn prepare_arguments (CLArgList &args, CLWorkSize &work_size);
194 virtual XCamReturn prepare_arguments (CLArgList &args, CLWorkSize &work_size);
224 virtual XCamReturn prepare_arguments (CLArgList &args, CLWorkSize &work_size);
239 virtual XCamReturn prepare_arguments (CLArgList &args, CLWorkSize &work_size);
257 virtual XCamReturn prepare_arguments (CLArgList &args, CLWorkSize &work_size);
275 virtual XCamReturn prepare_arguments (CLArgList &args, CLWorkSize &work_size);
309 virtual XCamReturn prepare_arguments (CLArgList &args, CLWorkSize &work_size);
363 virtual XCamReturn prepare_arguments (CLArgList &args, CLWorkSize &work_size);
Dcl_tnr_handler.cpp341 CLWorkSize work_size; in prepare_parameters() local
395 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_parameters()
396 work_size.local[0] = 8; in prepare_parameters()
397 work_size.local[1] = 4; in prepare_parameters()
408 work_size.global[0] = video_info.width / 2; in prepare_parameters()
409 work_size.global[1] = video_info.height / 2; in prepare_parameters()
413 work_size.global[0] = out_info.width; in prepare_parameters()
414 work_size.global[1] = out_info.height; in prepare_parameters()
429 ret = _tnr_kernel->set_arguments (args, work_size); in prepare_parameters()
Dcl_defog_dcp_handler.h54 virtual XCamReturn prepare_arguments (CLArgList &args, CLWorkSize &work_size);
68 virtual XCamReturn prepare_arguments (CLArgList &args, CLWorkSize &work_size);
82 virtual XCamReturn prepare_arguments (CLArgList &args, CLWorkSize &work_size);
99 virtual XCamReturn prepare_arguments (CLArgList &args, CLWorkSize &work_size);
Dcl_wire_frame_handler.cpp150 CLArgList &args, CLWorkSize &work_size) in prepare_arguments() argument
199 work_size.dim = 1; in prepare_arguments()
200 work_size.local [0] = 16; in prepare_arguments()
201work_size.global [0] = _wire_frames_coords_num ? XCAM_ALIGN_UP (_wire_frames_coords_num, work_size in prepare_arguments()
Dcl_image_scaler.cpp42 CLScalerKernel::prepare_arguments (CLArgList &args, CLWorkSize &work_size) in prepare_arguments() argument
118 work_size.dim = XCAM_DEFAULT_IMAGE_DIM; in prepare_arguments()
119work_size.global[0] = XCAM_ALIGN_UP (output_width, XCAM_CL_IMAGE_SCALER_KERNEL_LOCAL_WORK_SIZE0); in prepare_arguments()
120work_size.global[1] = XCAM_ALIGN_UP (output_height, XCAM_CL_IMAGE_SCALER_KERNEL_LOCAL_WORK_SIZE1); in prepare_arguments()
121 work_size.local[0] = XCAM_CL_IMAGE_SCALER_KERNEL_LOCAL_WORK_SIZE0; in prepare_arguments()
122 work_size.local[1] = XCAM_CL_IMAGE_SCALER_KERNEL_LOCAL_WORK_SIZE1; in prepare_arguments()

12