/external/libxcam/modules/ocl/ |
cl_3d_denoise_handler.cpp | 90 CLImageDesc cl_desc_in, cl_desc_out; local 102 cl_desc_out.format.image_channel_order = CL_RGBA; 104 cl_desc_out.format.image_channel_data_type = CL_UNSIGNED_INT16; 105 cl_desc_out.width = XCAM_ALIGN_UP (video_info_out.width, 8) / 8; 107 cl_desc_out.format.image_channel_data_type = CL_UNORM_INT8; 108 cl_desc_out.width = XCAM_ALIGN_UP (video_info_out.width, 4) / 4; 110 cl_desc_out.height = video_info_out.height >> info_index; 111 cl_desc_out.row_pitch = video_info_out.strides[info_index]; 118 SmartPtr<CLImage> image_out = convert_to_climage (context, output, cl_desc_out, video_info_out.offsets[info_index]);
|
cl_gauss_handler.cpp | 134 CLImageDesc cl_desc_in, cl_desc_out; local 143 cl_desc_out.format.image_channel_data_type = CL_UNORM_INT8; 144 cl_desc_out.format.image_channel_order = CL_RGBA; 145 cl_desc_out.width = video_info_out.width / 4; 146 cl_desc_out.height = video_info_out.height; 147 cl_desc_out.row_pitch = video_info_out.strides[0]; 148 SmartPtr<CLImage> image_out = convert_to_climage (context, output, cl_desc_out, video_info_out.offsets[0]); 162 work_size.global[0] = XCAM_ALIGN_UP(cl_desc_out.width, 8); 163 work_size.global[1] = XCAM_ALIGN_UP (cl_desc_out.height / 2, 4);
|
cl_image_warp_handler.cpp | 72 CLImageDesc cl_desc_in, cl_desc_out; local 80 cl_desc_out.format.image_channel_data_type = info_index == 0 ? CL_UNSIGNED_INT16 : CL_UNSIGNED_INT32; 81 cl_desc_out.format.image_channel_order = CL_RGBA; 82 cl_desc_out.width = XCAM_ALIGN_DOWN (video_info_out.width >> info_index, 8) / 8; 83 cl_desc_out.height = video_info_out.height >> info_index; 85 cl_desc_out.format.image_channel_order = info_index == 0 ? CL_R : CL_RG; 86 cl_desc_out.format.image_channel_data_type = CL_UNORM_INT8; 87 cl_desc_out.width = video_info_out.width >> info_index; 88 cl_desc_out.height = video_info_out.height >> info_index; 91 cl_desc_out.row_pitch = video_info_out.strides[info_index] [all...] |
cl_retinex_handler.cpp | 122 CLImageDesc cl_desc_in, cl_desc_out, cl_desc_ga; local 135 cl_desc_out.format.image_channel_data_type = CL_UNORM_INT8; //CL_UNSIGNED_INT32; 136 cl_desc_out.format.image_channel_order = CL_RGBA; 137 cl_desc_out.width = video_info_out.width / 4; // 16; 138 cl_desc_out.height = video_info_out.height; 139 cl_desc_out.row_pitch = video_info_out.strides[0]; 140 image_out = convert_to_climage (context, output, cl_desc_out, video_info_out.offsets[0]); 142 cl_desc_out.height = video_info_out.height / 2; 143 cl_desc_out.row_pitch = video_info_out.strides[1]; 144 image_out_uv = convert_to_climage (context, output, cl_desc_out, video_info_out.offsets[1]) [all...] |
cl_wire_frame_handler.cpp | 155 CLImageDesc cl_desc_out; local 157 cl_desc_out.format.image_channel_data_type = CL_UNORM_INT8; 158 cl_desc_out.format.image_channel_order = CL_RG; 159 cl_desc_out.width = video_info_out.width / 2; 160 cl_desc_out.height = video_info_out.height; 161 cl_desc_out.row_pitch = video_info_out.strides [0]; 162 SmartPtr<CLImage> image_out = convert_to_climage (context, output, cl_desc_out, video_info_out.offsets [0]); 164 cl_desc_out.height = video_info_out.height / 2; 165 cl_desc_out.row_pitch = video_info_out.strides [1]; 166 SmartPtr<CLImage> image_out_uv = convert_to_climage (context, output, cl_desc_out, video_info_out.offsets [1]) [all...] |
cl_defog_dcp_handler.cpp | 264 CLImageDesc cl_desc_out; local 265 cl_desc_out.format.image_channel_data_type = CL_UNSIGNED_INT16; 266 cl_desc_out.format.image_channel_order = CL_RGBA; 267 cl_desc_out.width = video_info_out.width / 8; 268 cl_desc_out.height = video_info_out.height; 269 cl_desc_out.row_pitch = video_info_out.strides[0]; 270 SmartPtr<CLImage> image_out_y = convert_to_climage (context, output, cl_desc_out, video_info_out.offsets[0]); 272 cl_desc_out.height = video_info_out.height / 2; 273 cl_desc_out.row_pitch = video_info_out.strides[1]; 274 SmartPtr<CLImage> image_out_uv = convert_to_climage (context, output, cl_desc_out, video_info_out.offsets[1]) [all...] |
cl_newwavelet_denoise_handler.cpp | 405 CLImageDesc cl_desc_in, cl_desc_out; local 412 cl_desc_out.format.image_channel_data_type = CL_UNORM_INT8; 413 cl_desc_out.format.image_channel_order = CL_RGBA; 414 cl_desc_out.width = XCAM_ALIGN_UP (video_info_out.width, 4) / 4; 415 cl_desc_out.height = video_info_out.height; 416 cl_desc_out.row_pitch = video_info_out.strides[0]; 419 SmartPtr<CLImage> image_out = convert_to_climage (context, output, cl_desc_out, video_info_out.offsets[0]); 424 cl_desc_out.height = XCAM_ALIGN_UP (video_info_out.height, 2) / 2; 425 cl_desc_out.row_pitch = video_info_out.strides[1]; 428 SmartPtr<CLImage> image_out_uv = convert_to_climage (context, output, cl_desc_out, video_info_out.offsets[1]) [all...] |
cl_pyramid_blender.cpp | 861 const CLImageDesc &cl_desc_out = image_out->get_image_desc (); 871 work_size.global[0] = XCAM_ALIGN_UP (cl_desc_out.width, work_size.local[0]); 872 work_size.global[1] = XCAM_ALIGN_UP (cl_desc_out.height, work_size.local[1]); [all...] |