Lines Matching refs:SmartPtr
59 const SmartPtr<CLContext> &context, in CLDarkChannelKernel()
60 SmartPtr<CLDefogDcpImageHandler> &defog_handler) in CLDarkChannelKernel()
69 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
70 SmartPtr<VideoBuffer> &input = _defog_handler->get_input_buf (); in prepare_arguments()
81 …SmartPtr<CLImage> image_in_y = convert_to_climage (context, input, cl_desc_in, video_info_in.offse… in prepare_arguments()
85 …SmartPtr<CLImage> image_in_uv = convert_to_climage (context, input, cl_desc_in, video_info_in.offs… in prepare_arguments()
90 SmartPtr<CLImage> &dark_channel = _defog_handler->get_dark_map (XCAM_DEFOG_DC_ORIGINAL); in prepare_arguments()
95 SmartPtr<CLImage> &rgb_image = _defog_handler->get_rgb_channel (i); in prepare_arguments()
109 const SmartPtr<CLContext> &context, in CLMinFilterKernel()
110 SmartPtr<CLDefogDcpImageHandler> &defog_handler, in CLMinFilterKernel()
122 SmartPtr<CLImage> &dark_channel_in = _defog_handler->get_dark_map (_buf_index - 1); in prepare_arguments()
123 SmartPtr<CLImage> &dark_channel_out = _defog_handler->get_dark_map (_buf_index); in prepare_arguments()
147 const SmartPtr<CLContext> &context, in CLBiFilterKernel()
148 SmartPtr<CLDefogDcpImageHandler> &defog_handler) in CLBiFilterKernel()
157 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
158 SmartPtr<VideoBuffer> &input = _defog_handler->get_input_buf (); in prepare_arguments()
167 …SmartPtr<CLImage> image_in_y = convert_to_climage (context, input, cl_desc_in, video_info_in.offse… in prepare_arguments()
169 SmartPtr<CLImage> &dark_channel_in = _defog_handler->get_dark_map (XCAM_DEFOG_DC_ORIGINAL); in prepare_arguments()
170 SmartPtr<CLImage> &dark_channel_out = _defog_handler->get_dark_map (XCAM_DEFOG_DC_BI_FILTER); in prepare_arguments()
186 const SmartPtr<CLContext> &context, SmartPtr<CLDefogDcpImageHandler> &defog_handler) in CLDefogRecoverKernel()
197 CLDefogRecoverKernel::get_max_value (SmartPtr<VideoBuffer> &buf) in get_max_value()
202 SmartPtr<X3aStats> stats; in get_max_value()
203 SmartPtr<CLVideoBuffer> cl_buf = buf.dynamic_cast_ptr<CLVideoBuffer> (); in get_max_value()
209 SmartPtr<DrmBoBuffer> bo_buf = buf.dynamic_cast_ptr<DrmBoBuffer> (); in get_max_value()
245 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
246 SmartPtr<VideoBuffer> &input = _defog_handler->get_input_buf (); in prepare_arguments()
247 SmartPtr<VideoBuffer> &output = _defog_handler->get_output_buf (); in prepare_arguments()
248 SmartPtr<CLImage> &dark_map = _defog_handler->get_dark_map (XCAM_DEFOG_DC_BI_FILTER); in prepare_arguments()
258 SmartPtr<CLImage> &input_color = _defog_handler->get_rgb_channel (i); in prepare_arguments()
270 …SmartPtr<CLImage> image_out_y = convert_to_climage (context, output, cl_desc_out, video_info_out.o… in prepare_arguments()
274 …SmartPtr<CLImage> image_out_uv = convert_to_climage (context, output, cl_desc_out, video_info_out.… in prepare_arguments()
290 const SmartPtr<CLContext> &context, const char *name) in CLDefogDcpImageHandler()
296 CLDefogDcpImageHandler::prepare_parameters (SmartPtr<VideoBuffer> &input, SmartPtr<VideoBuffer> &ou… in prepare_parameters()
310 CLDefogDcpImageHandler::execute_done (SmartPtr<VideoBuffer> &output) in execute_done()
325 SmartPtr<CLContext> context = get_context (); in allocate_transmit_bufs()
361 SmartPtr<CLImage> image; in dump_buffer()
376 static SmartPtr<CLDarkChannelKernel>
377 create_kernel_dark_channel (const SmartPtr<CLContext> &context, SmartPtr<CLDefogDcpImageHandler> ha… in create_kernel_dark_channel()
379 SmartPtr<CLDarkChannelKernel> kernel; in create_kernel_dark_channel()
390 static SmartPtr<CLMinFilterKernel>
392 const SmartPtr<CLContext> &context, in create_kernel_min_filter()
393 SmartPtr<CLDefogDcpImageHandler> handler, in create_kernel_min_filter()
396 SmartPtr<CLMinFilterKernel> kernel; in create_kernel_min_filter()
414 static SmartPtr<CLBiFilterKernel>
416 const SmartPtr<CLContext> &context, SmartPtr<CLDefogDcpImageHandler> handler) in create_kernel_bi_filter()
418 SmartPtr<CLBiFilterKernel> kernel; in create_kernel_bi_filter()
430 static SmartPtr<CLDefogRecoverKernel>
432 const SmartPtr<CLContext> &context, SmartPtr<CLDefogDcpImageHandler> handler) in create_kernel_defog_recover()
434 SmartPtr<CLDefogRecoverKernel> kernel; in create_kernel_defog_recover()
445 SmartPtr<CLImageHandler>
446 create_cl_defog_dcp_image_handler (const SmartPtr<CLContext> &context) in create_cl_defog_dcp_image_handler()
448 SmartPtr<CLDefogDcpImageHandler> defog_handler; in create_cl_defog_dcp_image_handler()
450 SmartPtr<CLImageKernel> kernel; in create_cl_defog_dcp_image_handler()
459 SmartPtr<CLImageKernel> min_kernel; in create_cl_defog_dcp_image_handler()