Home
last modified time | relevance | path

Searched refs:CLContext (Results 1 – 25 of 84) sorted by relevance

1234

/external/libxcam/modules/ocl/
Dcl_context.cpp41 CLContext::context_pfn_notify ( in context_pfn_notify()
48 CLContext *context = (CLContext*) user_data; in context_pfn_notify()
56 void CLContext::program_pfn_notify ( in program_pfn_notify()
59 CLContext *context = (CLContext*) user_data; in program_pfn_notify()
70 CLContext::event_list_2_id_array ( in event_list_2_id_array()
92 CLContext::CLContext (SmartPtr<CLDevice> &device) in CLContext() function in XCam::CLContext
103 CLContext::~CLContext () in ~CLContext()
110 CLContext::terminate () in terminate()
117 CLContext::flush () in flush()
138 CLContext::finish () in finish()
[all …]
Dcl_memory.h47 explicit CLMemory (const SmartPtr<CLContext> &context);
79 SmartPtr<CLContext> &get_context () { in get_context()
87 SmartPtr<CLContext> _context;
98 explicit CLBuffer (const SmartPtr<CLContext> &context);
102 const SmartPtr<CLContext> &context, uint32_t size,
131 const SmartPtr<CLContext> &context, uint32_t size,
145 explicit CLSubBuffer (const SmartPtr<CLContext> &context);
149 const SmartPtr<CLContext> &context,
157 const SmartPtr<CLContext> &context,
196 explicit CLImage (const SmartPtr<CLContext> &context);
[all …]
Dcl_pyramid_blender.h68 SmartPtr<CLContext> context,
71 …void init_layer0 (SmartPtr<CLContext> context, bool last_layer, bool need_uv, int mask_radius, flo…
72 void build_cl_images (SmartPtr<CLContext> context, bool need_lap, bool need_uv);
73 bool copy_mask_from_y_to_uv (SmartPtr<CLContext> &context);
87 const SmartPtr<CLContext> &context, const char *name,
120 SmartPtr<CLContext> context, SmartPtr<VideoBuffer> &input0,
124 XCamReturn init_seam_buffers (SmartPtr<CLContext> context);
153 const SmartPtr<CLContext> &context, SmartPtr<CLPyramidBlender> &blender,
190 const SmartPtr<CLContext> &context, SmartPtr<CLPyramidBlender> &blender,
221 const SmartPtr<CLContext> &context, SmartPtr<CLPyramidBlender> &blender);
[all …]
Dcl_context.h44 class CLContext {
67 virtual ~CLContext ();
84 explicit CLContext (SmartPtr<CLDevice> &device);
85 SmartPtr<CLCommandQueue> create_cmd_queue (SmartPtr<CLContext> &self);
113 bool init_cmd_queue (SmartPtr<CLContext> &self);
174 XCAM_DEAD_COPY (CLContext);
184 friend class CLContext; variable
193 explicit CLCommandQueue (SmartPtr<CLContext> &context, cl_command_queue id);
198 SmartPtr<CLContext> _context;
Dcl_memory.cpp55 CLMemory::CLMemory (const SmartPtr<CLContext> &context) in CLMemory()
109 SmartPtr<CLContext> context = get_context (); in enqueue_unmap()
141 CLBuffer::CLBuffer (const SmartPtr<CLContext> &context) in CLBuffer()
147 const SmartPtr<CLContext> &context, uint32_t size, in CLBuffer()
158 const SmartPtr<CLContext> &context, uint32_t size, in init_buffer()
174 const SmartPtr<CLContext> &context, SmartPtr<CLBuffer> main_buf, in CLSubBuffer()
186 const SmartPtr<CLContext> &context, in init_sub_buffer()
216 SmartPtr<CLContext> context = get_context (); in enqueue_read()
232 SmartPtr<CLContext> context = get_context (); in enqueue_write()
249 SmartPtr<CLContext> context = get_context (); in enqueue_map()
[all …]
Dcl_defog_dcp_handler.h51 const SmartPtr<CLContext> &context, SmartPtr<CLDefogDcpImageHandler> &defog_handler);
65 … const SmartPtr<CLContext> &context, SmartPtr<CLDefogDcpImageHandler> &defog_handler, int index);
79 const SmartPtr<CLContext> &context, SmartPtr<CLDefogDcpImageHandler> &defog_handler);
96 const SmartPtr<CLContext> &context, SmartPtr<CLDefogDcpImageHandler> &defog_handler);
119 const SmartPtr<CLContext> &context, const char *name);
146 create_cl_defog_dcp_image_handler (const SmartPtr<CLContext> &context);
Dcl_blender.h50 explicit CLBlenderScaleKernel (const SmartPtr<CLContext> &context, bool is_uv);
73 const SmartPtr<CLContext> &context, const char *name,
99 SmartPtr<CLContext> context, SmartPtr<VideoBuffer> &input0,
112 create_linear_blender (const SmartPtr<CLContext> &context, bool need_uv = true);
116 const SmartPtr<CLContext> &context, int layer = 1, bool need_uv = true,
Dcl_defog_dcp_handler.cpp59 const SmartPtr<CLContext> &context, in CLDarkChannelKernel()
69 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
109 const SmartPtr<CLContext> &context, in CLMinFilterKernel()
147 const SmartPtr<CLContext> &context, in CLBiFilterKernel()
157 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
186 const SmartPtr<CLContext> &context, SmartPtr<CLDefogDcpImageHandler> &defog_handler) in CLDefogRecoverKernel()
245 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
290 const SmartPtr<CLContext> &context, const char *name) in CLDefogDcpImageHandler()
325 SmartPtr<CLContext> context = get_context (); in allocate_transmit_bufs()
377 create_kernel_dark_channel (const SmartPtr<CLContext> &context, SmartPtr<CLDefogDcpImageHandler> ha… in create_kernel_dark_channel()
[all …]
Dcl_kernel.h54 class CLContext; variable
67 friend class CLContext; variable
69 explicit CLKernel (const SmartPtr<CLContext> &context, const char *name);
83 SmartPtr<CLContext> &get_context () { in get_context()
133 SmartPtr<CLContext> _context;
Dcl_retinex_handler.h52 const SmartPtr<CLContext> &context,
71 const SmartPtr<CLContext> &context,
89 …explicit CLRetinexImageKernel (const SmartPtr<CLContext> &context, SmartPtr<CLRetinexImageHandler>…
103 explicit CLRetinexImageHandler (const SmartPtr<CLContext> &context, const char *name);
136 create_cl_retinex_image_handler (const SmartPtr<CLContext> &context);
Dcl_retinex_handler.cpp59 const SmartPtr<CLContext> &context, in CLRetinexScalerImageKernel()
80 const SmartPtr<CLContext> &context, in CLRetinexGaussImageKernel()
102 CLRetinexImageKernel::CLRetinexImageKernel (const SmartPtr<CLContext> &context, SmartPtr<CLRetinexI… in CLRetinexImageKernel()
112 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
198 CLRetinexImageHandler::CLRetinexImageHandler (const SmartPtr<CLContext> &context, const char *name) in CLRetinexImageHandler()
230 SmartPtr<CLContext> context = get_context (); in prepare_scaler_buf()
274 const SmartPtr<CLContext> &context, SmartPtr<CLRetinexImageHandler> handler) in create_kernel_retinex_scaler()
290 const SmartPtr<CLContext> &context, in create_kernel_retinex_gaussian()
313 create_kernel_retinex (const SmartPtr<CLContext> &context, SmartPtr<CLRetinexImageHandler> handler) in create_kernel_retinex()
332 create_cl_retinex_image_handler (const SmartPtr<CLContext> &context) in create_cl_retinex_image_handler()
Dcl_newwavelet_denoise_handler.h79 const SmartPtr<CLContext> &context,
109 const SmartPtr<CLContext> &context,
131 const SmartPtr<CLContext> &context,
162 const SmartPtr<CLContext> &context, const char *name, uint32_t channel);
188 const SmartPtr<CLContext> &context, uint32_t channel, bool bayes_shrink);
Dcl_gauss_handler.cpp42 const SmartPtr<CLContext> &context, uint32_t radius, float sigma);
52 const SmartPtr<CLContext> &context, in CLGaussImageKernelImpl()
73 const SmartPtr<CLContext> &context, uint32_t radius, float sigma) in CLGaussImageKernel()
122 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
170 CLGaussImageHandler::CLGaussImageHandler (const SmartPtr<CLContext> &context, const char *name) in CLGaussImageHandler()
192 create_cl_gauss_image_handler (const SmartPtr<CLContext> &context, uint32_t radius, float sigma) in create_cl_gauss_image_handler()
Dcl_image_scaler.h47 const SmartPtr<CLContext> &context, CLImageScalerMemoryLayout mem_layout);
70 …const SmartPtr<CLContext> &context, CLImageScalerMemoryLayout mem_layout, SmartPtr<CLImageScaler> …
88 explicit CLImageScaler (const SmartPtr<CLContext> &context);
118 create_cl_image_scaler_handler (const SmartPtr<CLContext> &context, uint32_t format);
Dcl_image_handler.h42 …explicit CLImageKernel (const SmartPtr<CLContext> &context, const char *name = NULL, bool enable =…
80 explicit CLImageHandler (const SmartPtr<CLContext> &context, const char *name);
85 SmartPtr<CLContext> &get_context () { in get_context()
158 SmartPtr<CLContext> _context;
179 explicit CLCloneImageHandler (const SmartPtr<CLContext> &context, const char *name);
Dcl_demo_handler.h33 explicit CLDemoImageHandler (const SmartPtr<CLContext> &context);
48 create_cl_demo_image_handler (const SmartPtr<CLContext> &context);
51 create_cl_binary_demo_image_handler (const SmartPtr<CLContext> &context, const uint8_t *binary, siz…
Dcl_rgb_pipe_handler.h42 explicit CLRgbPipeImageKernel (const SmartPtr<CLContext> &context);
50 explicit CLRgbPipeImageHandler (const SmartPtr<CLContext> &context, const char *name);
65 create_cl_rgb_pipe_image_handler (const SmartPtr<CLContext> &context);
Dcl_tonemapping_handler.h36 const SmartPtr<CLContext> &context, const char *name);
43 explicit CLTonemappingImageHandler (const SmartPtr<CLContext> &context, const char *name);
61 create_cl_tonemapping_image_handler (const SmartPtr<CLContext> &context);
Dcl_newtonemapping_handler.h35 const SmartPtr<CLContext> &context, const char *name);
47 explicit CLNewTonemappingImageHandler (const SmartPtr<CLContext> &context, const char *name);
66 create_cl_newtonemapping_image_handler (const SmartPtr<CLContext> &context);
Dcl_pyramid_blender.cpp202 const SmartPtr<CLContext> &context, const char *name, in CLPyramidBlender()
313 SmartPtr<CLContext> context, in bind_buf_to_layer0()
372 PyramidLayer::init_layer0 (SmartPtr<CLContext> context, bool last_layer, bool need_uv, int mask_rad… in init_layer0()
426 PyramidLayer::build_cl_images (SmartPtr<CLContext> context, bool last_layer, bool need_uv) in build_cl_images()
485 PyramidLayer::copy_mask_from_y_to_uv (SmartPtr<CLContext> &context) in copy_mask_from_y_to_uv()
555 SmartPtr<CLContext> context, PyramidLayer &prev, PyramidLayer &to, bool need_uv, in gauss_fill_mask()
596 SmartPtr<CLContext> context, in allocate_cl_buffers()
647 CLPyramidBlender::init_seam_buffers (SmartPtr<CLContext> context) in init_seam_buffers()
836 const SmartPtr<CLContext> &context, SmartPtr<CLPyramidBlender> &blender, in CLPyramidBlendKernel()
849 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
[all …]
Dcl_blender.cpp26 CLBlenderScaleKernel::CLBlenderScaleKernel (const SmartPtr<CLContext> &context, bool is_uv) in CLBlenderScaleKernel()
35 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
60 const SmartPtr<CLContext> &context, const char *name, in CLBlender()
127 SmartPtr<CLContext> context = get_context (); in prepare_parameters()
173 SmartPtr<CLContext> context = CLDevice::instance ()->get_context (); in create_ocl_blender()
Dcl_device.h30 class CLContext; variable
72 SmartPtr<CLContext> get_context ();
94 SmartPtr<CLContext> _default_context;
Dcl_gauss_handler.h39 const SmartPtr<CLContext> &context, uint32_t radius, float sigma);
60 explicit CLGaussImageHandler (const SmartPtr<CLContext> &context, const char *name);
70 const SmartPtr<CLContext> &context,
/external/libxcam/capi/
Dcontext_priv.h87 virtual SmartPtr<CLImageHandler> create_handler (SmartPtr<CLContext> &context) = 0;
112 virtual SmartPtr<CLImageHandler> create_handler (SmartPtr<CLContext> &context);
123 virtual SmartPtr<CLImageHandler> create_handler (SmartPtr<CLContext> &context);
134 virtual SmartPtr<CLImageHandler> create_handler (SmartPtr<CLContext> &context);
145 virtual SmartPtr<CLImageHandler> create_handler (SmartPtr<CLContext> &context);
156 virtual SmartPtr<CLImageHandler> create_handler (SmartPtr<CLContext> &context);
173 virtual SmartPtr<CLImageHandler> create_handler (SmartPtr<CLContext> &context);
Dcontext_priv.cpp128 SmartPtr<CLContext> cl_context = CLDevice::instance()->get_context (); in init_handler()
172 NR3DContext::create_handler (SmartPtr<CLContext> &context) in create_handler()
179 NRWaveletContext::create_handler (SmartPtr<CLContext> &context) in create_handler()
186 FisheyeContext::create_handler (SmartPtr<CLContext> &context) in create_handler()
192 DefogContext::create_handler (SmartPtr<CLContext> &context) in create_handler()
198 DVSContext::create_handler (SmartPtr<CLContext> &context) in create_handler()
204 StitchContext::create_handler (SmartPtr<CLContext> &context) in create_handler()

1234