/external/libxcam/modules/ocl/intel/ |
D | cl_va_memory.cpp | 70 CLImageDesc cl_desc; in CLVaImage() local 73 if (!video_info_2_cl_image_desc (video_info, cl_desc)) { in CLVaImage() 78 cl_desc.array_size = 0; in CLVaImage() 79 cl_desc.slice_pitch = 0; in CLVaImage() 80 } else if (!merge_multi_plane (video_info, cl_desc)) { in CLVaImage() 85 init_va_image (context, bo, cl_desc, offset); in CLVaImage() 102 CLImageDesc &cl_desc) in merge_multi_plane() argument 104 if (cl_desc.array_size <= 1) in merge_multi_plane() 109 cl_desc.height = video_info.aligned_height + video_info.height / 2; in merge_multi_plane() 114 cl_desc.height = video_info.aligned_height * 3; in merge_multi_plane() [all …]
|
D | cl_va_memory.h | 66 const CLImageDesc &cl_desc, uint32_t offset); 69 CLImageDesc &cl_desc);
|
/external/libxcam/modules/ocl/ |
D | cl_memory.cpp | 545 CLImageDesc cl_desc; in CLImage2D() local 547 if (!video_info_2_cl_image_desc (video_info, cl_desc)) { in CLImage2D() 552 init_image_2d (context, cl_desc, flags); in CLImage2D() 557 const CLImageDesc &cl_desc, in CLImage2D() argument 563 init_image_2d (context, cl_desc, flags); in CLImage2D() 572 cl_image_desc cl_desc; in init_image_2d() local 574 xcam_mem_clear (cl_desc); in init_image_2d() 575 cl_desc.image_type = CL_MEM_OBJECT_IMAGE2D; in init_image_2d() 576 cl_desc.image_width = desc.width; in init_image_2d() 577 cl_desc.image_height = desc.height; in init_image_2d() [all …]
|
D | cl_fisheye_handler.cpp | 243 CLImageDesc cl_desc; in prepare_parameters() local 244 cl_desc.format.image_channel_data_type = CL_UNORM_INT8; in prepare_parameters() 245 cl_desc.format.image_channel_order = CL_R; in prepare_parameters() 246 cl_desc.width = input_image_w; in prepare_parameters() 247 cl_desc.height = input_image_h; in prepare_parameters() 248 cl_desc.row_pitch = in_info.strides[NV12PlaneYIdx]; in prepare_parameters() 249 …_input[NV12PlaneYIdx] = convert_to_climage (context, input, cl_desc, in_info.offsets[NV12PlaneYIdx… in prepare_parameters() 251 cl_desc.format.image_channel_data_type = CL_UNORM_INT8; in prepare_parameters() 252 cl_desc.format.image_channel_order = CL_RG; in prepare_parameters() 253 cl_desc.width = input_image_w / 2; in prepare_parameters() [all …]
|
D | cl_newwavelet_denoise_handler.cpp | 143 CLImageDesc cl_desc = image_in->get_image_desc (); in prepare_arguments() local 144 uint32_t cl_width = XCAM_ALIGN_UP (cl_desc.width, 2); in prepare_arguments() 145 uint32_t cl_height = XCAM_ALIGN_UP (cl_desc.height, 2); in prepare_arguments() 175 CLImageDesc cl_desc = image->get_image_desc (); in estimate_noise_variance() local 176 uint32_t cl_width = XCAM_ALIGN_UP (cl_desc.width, 2); in estimate_noise_variance() 177 uint32_t cl_height = XCAM_ALIGN_UP (cl_desc.height, 2); in estimate_noise_variance() 183 size_t row_pitch = cl_desc.row_pitch; in estimate_noise_variance() 317 CLImageDesc cl_desc = buffer->ll->get_image_desc (); in prepare_arguments() local 359 uint32_t cl_width = XCAM_ALIGN_UP (cl_desc.width, 2); in prepare_arguments() 360 uint32_t cl_height = XCAM_ALIGN_UP (cl_desc.height, 2); in prepare_arguments() [all …]
|
D | cl_geo_map_handler.cpp | 253 CLImageDesc cl_desc; in prepare_parameters() local 254 cl_desc.format.image_channel_data_type = CL_UNORM_INT8; in prepare_parameters() 255 cl_desc.format.image_channel_order = CL_R; in prepare_parameters() 256 cl_desc.width = input_image_w; in prepare_parameters() 257 cl_desc.height = input_image_h; in prepare_parameters() 258 cl_desc.row_pitch = in_info.strides[NV12PlaneYIdx]; in prepare_parameters() 259 …_input[NV12PlaneYIdx] = convert_to_climage (context, input, cl_desc, in_info.offsets[NV12PlaneYIdx… in prepare_parameters() 261 cl_desc.format.image_channel_data_type = CL_UNORM_INT8; in prepare_parameters() 262 cl_desc.format.image_channel_order = CL_RG; in prepare_parameters() 263 cl_desc.width = input_image_w / 2; in prepare_parameters() [all …]
|
D | cl_pyramid_blender.cpp | 329 CLImageDesc cl_desc; in bind_buf_to_layer0() local 330 cl_desc.format.image_channel_data_type = CL_UNSIGNED_INT16; in bind_buf_to_layer0() 331 cl_desc.format.image_channel_order = CL_RGBA; in bind_buf_to_layer0() 334 cl_desc.width = in0_info.width / 8; in bind_buf_to_layer0() 335 cl_desc.height = in0_info.height / divider_vert[i_plane]; in bind_buf_to_layer0() 336 cl_desc.row_pitch = in0_info.strides[i_plane]; in bind_buf_to_layer0() 337 …this->gauss_image[i_plane][0] = convert_to_climage (context, input0, cl_desc, in0_info.offsets[i_p… in bind_buf_to_layer0() 340 cl_desc.width = in1_info.width / 8; in bind_buf_to_layer0() 341 cl_desc.height = in1_info.height / divider_vert[i_plane]; in bind_buf_to_layer0() 342 cl_desc.row_pitch = in1_info.strides[i_plane]; in bind_buf_to_layer0() [all …]
|
D | cl_image_360_stitch.cpp | 49 CLImageDesc cl_desc; in get_input_image() local 53 cl_desc.format.image_channel_data_type = CL_UNORM_INT8; in get_input_image() 55 cl_desc.format.image_channel_order = CL_RG; in get_input_image() 56 cl_desc.width = buf_info.width / 2; in get_input_image() 57 cl_desc.height = buf_info.height / 2; in get_input_image() 58 cl_desc.row_pitch = buf_info.strides[1]; in get_input_image() 59 cl_image = convert_to_climage (context, input, cl_desc, buf_info.offsets[1]); in get_input_image() 61 cl_desc.format.image_channel_order = CL_R; in get_input_image() 62 cl_desc.width = buf_info.width; in get_input_image() 63 cl_desc.height = buf_info.height; in get_input_image() [all …]
|
D | cl_memory.h | 185 CLImageDesc &cl_desc); 219 const CLImageDesc &cl_desc, 232 const CLImageDesc &cl_desc, 256 const CLImageDesc &cl_desc,
|
D | cl_defog_dcp_handler.cpp | 128 const CLImageDesc &cl_desc = dark_channel_in->get_image_desc (); in prepare_arguments() local 134 work_size.global[0] = XCAM_ALIGN_UP (cl_desc.width, work_size.local[0]); in prepare_arguments() 135 work_size.global[1] = XCAM_ALIGN_UP (cl_desc.height / 2, work_size.local[1]); in prepare_arguments() 139 work_size.global[0] = XCAM_ALIGN_UP (cl_desc.width, work_size.local[0]); in prepare_arguments() 140 work_size.global[1] = XCAM_ALIGN_UP (cl_desc.height, work_size.local[1]); in prepare_arguments()
|