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