Home
last modified time | relevance | path

Searched refs:SmartPtr (Results 1 – 25 of 252) sorted by relevance

1234567891011

/external/libxcam/modules/ocl/
Dcl_pyramid_blender.h50 SmartPtr<CLImage> gauss_image[CLBlenderPlaneMax][XCAM_BLENDER_IMAGE_NUM];
52 SmartPtr<CLImage> lap_image[CLBlenderPlaneMax][XCAM_BLENDER_IMAGE_NUM];
54SmartPtr<CLImage> blend_image[CLBlenderPlaneMax][BlendImageCount]; // 0 blend-image, 1 reco…
56 SmartPtr<CLBuffer> blend_mask[CLBlenderPlaneMax]; // sizeof(float) * mask_width
57 SmartPtr<CLImage> seam_mask[CLSeamMaskCount];
58 SmartPtr<CLImage> scale_image[CLBlenderPlaneMax];
61 SmartPtr<CLImage> dump_gauss_resize[CLBlenderPlaneMax];
62 SmartPtr<CLImage> dump_original[CLBlenderPlaneMax][BlendImageCount];
63 SmartPtr<CLImage> dump_final[CLBlenderPlaneMax];
68 SmartPtr<CLContext> context,
[all …]
Dcl_image_360_stitch.h34 SmartPtr<CLFisheyeHandler> handler;
35 SmartPtr<BufferPool> pool;
36 SmartPtr<VideoBuffer> buf;
50 const SmartPtr<CLContext> &context, SmartPtr<CLImage360Stitch> &stitch, bool is_uv);
53 virtual SmartPtr<CLImage> get_input_image ();
54 virtual SmartPtr<CLImage> get_output_image ();
58 SmartPtr<CLImage360Stitch> _stitch;
66 … const SmartPtr<CLContext> &context, CLBlenderScaleMode scale_mode, SurroundMode surround_mode,
76 bool set_fisheye_handler (SmartPtr<CLFisheyeHandler> fisheye, int index);
77 bool set_blender (SmartPtr<CLBlender> blender, int idx);
[all …]
Dcl_retinex_handler.h52 const SmartPtr<CLContext> &context,
54 SmartPtr<CLRetinexImageHandler> &retinex);
58 virtual SmartPtr<VideoBuffer> get_input_buffer ();
59 virtual SmartPtr<VideoBuffer> get_output_buffer ();
62 SmartPtr<CLRetinexImageHandler> _retinex;
71 const SmartPtr<CLContext> &context,
72 SmartPtr<CLRetinexImageHandler> &retinex,
75 virtual SmartPtr<VideoBuffer> get_input_buf ();
76 virtual SmartPtr<VideoBuffer> get_output_buf ();
80 SmartPtr<CLRetinexImageHandler> _retinex;
[all …]
Dcl_image_handler.h42 …explicit CLImageKernel (const SmartPtr<CLContext> &context, const char *name = NULL, bool enable =…
72 typedef std::list<SmartPtr<CLImageKernel>> KernelList;
80 explicit CLImageHandler (const SmartPtr<CLContext> &context, const char *name);
85 SmartPtr<CLContext> &get_context () { in get_context()
89 void set_3a_result (SmartPtr<X3aResult> &result);
90 SmartPtr<X3aResult> get_3a_result (XCam3aResultType type);
115 bool add_kernel (const SmartPtr<CLImageKernel> &kernel);
120 XCamReturn execute (SmartPtr<VideoBuffer> &input, SmartPtr<VideoBuffer> &output);
123 SmartPtr<VideoBuffer> &get_input_buf ();
124 SmartPtr<VideoBuffer> &get_output_buf ();
[all …]
Dcl_defog_dcp_handler.cpp59 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()
81SmartPtr<CLImage> image_in_y = convert_to_climage (context, input, cl_desc_in, video_info_in.offse… in prepare_arguments()
85SmartPtr<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()
[all …]
Dcl_newwavelet_denoise_handler.h65 SmartPtr<CLImage> ll;
66 SmartPtr<CLImage> hl[3];
67 SmartPtr<CLImage> lh[3];
68 SmartPtr<CLImage> hh[3];
79 const SmartPtr<CLContext> &context,
81 SmartPtr<CLNewWaveletDenoiseImageHandler> &handler,
84 SmartPtr<CLImage> get_input_buffer ();
85 SmartPtr<CLImage> get_output_buffer ();
87 …XCamReturn estimate_noise_variance (const VideoBufferInfo & video_info, SmartPtr<CLImage> image, f…
100 SmartPtr<CLNewWaveletDenoiseImageHandler> _handler;
[all …]
Dcl_image_scaler.h47 const SmartPtr<CLContext> &context, CLImageScalerMemoryLayout mem_layout);
58 virtual SmartPtr<VideoBuffer> get_input_buffer () = 0;
59 virtual SmartPtr<VideoBuffer> get_output_buffer () = 0;
70 …const SmartPtr<CLContext> &context, CLImageScalerMemoryLayout mem_layout, SmartPtr<CLImageScaler> …
73 virtual SmartPtr<VideoBuffer> get_input_buffer ();
74 virtual SmartPtr<VideoBuffer> get_output_buffer ();
80 SmartPtr<CLImageScaler> _scaler;
88 explicit CLImageScaler (const SmartPtr<CLContext> &context);
89 void set_buffer_callback (SmartPtr<StatsCallback> &callback) { in set_buffer_callback()
95 SmartPtr<VideoBuffer> &get_scaler_buf () { in get_scaler_buf()
[all …]
Dcl_defog_dcp_handler.h51 const SmartPtr<CLContext> &context, SmartPtr<CLDefogDcpImageHandler> &defog_handler);
57 SmartPtr<CLDefogDcpImageHandler> _defog_handler;
65 … const SmartPtr<CLContext> &context, SmartPtr<CLDefogDcpImageHandler> &defog_handler, int index);
70 SmartPtr<CLDefogDcpImageHandler> _defog_handler;
79 const SmartPtr<CLContext> &context, SmartPtr<CLDefogDcpImageHandler> &defog_handler);
88 SmartPtr<CLDefogDcpImageHandler> _defog_handler;
96 const SmartPtr<CLContext> &context, SmartPtr<CLDefogDcpImageHandler> &defog_handler);
102 float get_max_value (SmartPtr<VideoBuffer> &buf);
107 SmartPtr<CLDefogDcpImageHandler> _defog_handler;
119 const SmartPtr<CLContext> &context, const char *name);
[all …]
Dcl_retinex_handler.cpp59 const SmartPtr<CLContext> &context, in CLRetinexScalerImageKernel()
61 SmartPtr<CLRetinexImageHandler> &retinex) in CLRetinexScalerImageKernel()
67 SmartPtr<VideoBuffer>
73 SmartPtr<VideoBuffer>
80 const SmartPtr<CLContext> &context, in CLRetinexGaussImageKernel()
81 SmartPtr<CLRetinexImageHandler> &retinex, in CLRetinexGaussImageKernel()
90 SmartPtr<VideoBuffer>
96 SmartPtr<VideoBuffer>
102 CLRetinexImageKernel::CLRetinexImageKernel (const SmartPtr<CLContext> &context, SmartPtr<CLRetinexI… in CLRetinexImageKernel()
112 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
[all …]
Dcl_geo_map_handler.h46 virtual SmartPtr<CLImage> get_geo_input_image (NV12PlaneIdx index) = 0;
47 virtual SmartPtr<CLImage> get_geo_output_image (NV12PlaneIdx index) = 0;
48 virtual SmartPtr<CLImage> get_geo_map_table () = 0;
52 virtual SmartPtr<CLImage> get_lsc_table () = 0;
65 const SmartPtr<CLContext> &context,
66 const SmartPtr<GeoKernelParamCallback> handler,
73 SmartPtr<GeoKernelParamCallback> _handler;
82 explicit CLGeoMapHandler (const SmartPtr<CLContext> &context);
101 virtual SmartPtr<CLImage> get_geo_input_image (NV12PlaneIdx index) { in get_geo_input_image()
105 virtual SmartPtr<CLImage> get_geo_output_image (NV12PlaneIdx index) { in get_geo_output_image()
[all …]
Dcl_bayer_basic_handler.h57 explicit CLBayerBasicImageKernel (const SmartPtr<CLContext> &context);
65 explicit CLBayerBasicImageHandler (const SmartPtr<CLContext> &context, const char *name);
68 void set_stats_callback (SmartPtr<StatsCallback> &callback) { in set_stats_callback()
71 bool set_bayer_kernel (SmartPtr<CLBayerBasicImageKernel> &kernel);
79 XCamReturn post_stats (const SmartPtr<X3aStats> &stats);
80 XCamReturn process_stats_buffer (SmartPtr<VideoBuffer> &buffer, SmartPtr<CLBuffer> &cl_stats);
86 SmartPtr<VideoBuffer> &input, SmartPtr<VideoBuffer> &output);
87 virtual XCamReturn execute_done (SmartPtr<VideoBuffer> &output);
90 SmartPtr<CLBayerBasicImageKernel> _bayer_kernel;
96 SmartPtr<CL3AStatsCalculatorContext> _3a_stats_context;
[all …]
Dcl_memory.h47 explicit CLMemory (const SmartPtr<CLContext> &context);
67 SmartPtr<CLEvent> &event_out = CLEvent::NullEvent);
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,
109 SmartPtr<CLEvent> &event_out = CLEvent::NullEvent);
113 SmartPtr<CLEvent> &event_out = CLEvent::NullEvent);
118 SmartPtr<CLEvent> &event_out = CLEvent::NullEvent);
131 const SmartPtr<CLContext> &context, uint32_t size,
[all …]
Dcl_image_bo_buffer.h43 …explicit CLImageBoData (SmartPtr<DrmDisplay> &display, SmartPtr<CLImage> &image, drm_intel_bo *bo);
46 SmartPtr<CLImage> &get_image () { in get_image()
51 SmartPtr<CLImage> _image;
59 SmartPtr<CLImage> get_cl_image ();
62 CLImageBoBuffer (const VideoBufferInfo &info, const SmartPtr<CLImageBoData> &data);
65 virtual SmartPtr<SwappedBuffer> create_new_swap_buffer (
66 const VideoBufferInfo &info, SmartPtr<BufferData> &data);
73 explicit CLBoBufferPool (SmartPtr<DrmDisplay> &display, SmartPtr<CLContext> &context);
79 virtual SmartPtr<BufferData> allocate_data (const VideoBufferInfo &buffer_info);
80 virtual SmartPtr<BufferProxy> create_buffer_from_data (SmartPtr<BufferData> &data);
[all …]
Dcl_fisheye_handler.h37 …explicit CLFisheye2GPSKernel (const SmartPtr<CLContext> &context, SmartPtr<CLFisheyeHandler> &hand…
43 SmartPtr<CLFisheyeHandler> _handler;
52 …explicit CLFisheyeHandler (const SmartPtr<CLContext> &context, SurroundMode surround_mode, bool us…
94 …virtual XCamReturn prepare_parameters (SmartPtr<VideoBuffer> &input, SmartPtr<VideoBuffer> &output…
95 virtual XCamReturn execute_done (SmartPtr<VideoBuffer> &output);
98 virtual SmartPtr<CLImage> get_geo_input_image (NV12PlaneIdx index);
99 virtual SmartPtr<CLImage> get_geo_output_image (NV12PlaneIdx index);
100 virtual SmartPtr<CLImage> get_geo_map_table () { in get_geo_map_table()
106 virtual SmartPtr<CLImage> get_lsc_table ();
110 SmartPtr<CLImage> &get_input_image (NV12PlaneIdx index) { in get_input_image()
[all …]
Dcl_gauss_handler.cpp41 SmartPtr<CLGaussImageHandler> &handler,
42 const SmartPtr<CLContext> &context, uint32_t radius, float sigma);
44 virtual SmartPtr<VideoBuffer> get_input_buf ();
45 virtual SmartPtr<VideoBuffer> get_output_buf ();
47 SmartPtr<CLGaussImageHandler> _handler;
51 SmartPtr<CLGaussImageHandler> &handler, in CLGaussImageKernelImpl()
52 const SmartPtr<CLContext> &context, in CLGaussImageKernelImpl()
61 SmartPtr<VideoBuffer>
66 SmartPtr<VideoBuffer>
73 const SmartPtr<CLContext> &context, uint32_t radius, float sigma) in CLGaussImageKernel()
[all …]
Dcl_image_bo_buffer.cpp28 CLImageBoData::CLImageBoData (SmartPtr<DrmDisplay> &display, SmartPtr<CLImage> &image, drm_intel_bo… in CLImageBoData()
43 CLImageBoBuffer::CLImageBoBuffer (const VideoBufferInfo &info, const SmartPtr<CLImageBoData> &data) in CLImageBoBuffer()
49 SmartPtr<CLImage>
52 SmartPtr<BufferData> data = get_buffer_data (); in get_cl_image()
53 SmartPtr<CLImageBoData> image = data.dynamic_cast_ptr<CLImageBoData> (); in get_cl_image()
63 SmartPtr<SwappedBuffer>
65 const VideoBufferInfo &info, SmartPtr<BufferData> &data) in create_new_swap_buffer()
69 SmartPtr<CLImageBoData> bo = data.dynamic_cast_ptr<CLImageBoData> (); in create_new_swap_buffer()
80 CLBoBufferPool::CLBoBufferPool (SmartPtr<DrmDisplay> &display, SmartPtr<CLContext> &context) in CLBoBufferPool()
93 SmartPtr<CLImageBoData>
[all …]
/external/libxcam/xcore/
Dx3a_result_factory.h34 static SmartPtr<X3aResultFactory> instance ();
36 SmartPtr<X3aResult> create_3a_result (XCam3aResultHead *from);
38 SmartPtr<X3aWhiteBalanceResult> create_whitebalance (XCam3aResultWhiteBalance *from = NULL);
39 SmartPtr<X3aBlackLevelResult> create_blacklevel (XCam3aResultBlackLevel *from = NULL);
40SmartPtr<X3aColorMatrixResult> create_rgb2yuv_colormatrix (XCam3aResultColorMatrix *from = NULL);
41SmartPtr<X3aColorMatrixResult> create_yuv2rgb_colormatrix (XCam3aResultColorMatrix *from = NULL);
42 SmartPtr<X3aExposureResult> create_exposure (XCam3aResultExposure *from = NULL);
43 SmartPtr<X3aFocusResult> create_focus (XCam3aResultFocus *from = NULL);
44 SmartPtr<X3aDemosaicResult> create_demosaicing (XCam3aResultDemosaic *from = NULL);
45 SmartPtr<X3aDefectPixelResult> create_defectpixel (XCam3aResultDefectPixel *from = NULL);
[all …]
Ddevice_manager.h73 bool set_capture_device (SmartPtr<V4l2Device> device);
74 bool set_event_device (SmartPtr<V4l2SubDevice> device);
75 bool set_3a_analyzer (SmartPtr<X3aAnalyzer> analyzer);
76 bool set_smart_analyzer (SmartPtr<SmartAnalyzer> analyzer);
77 bool add_image_processor (SmartPtr<ImageProcessor> processor);
78 bool set_poll_thread (SmartPtr<PollThread> thread);
80 SmartPtr<V4l2Device>& get_capture_device () { in get_capture_device()
83 SmartPtr<V4l2SubDevice>& get_event_device () { in get_event_device()
86 SmartPtr<X3aAnalyzer>& get_analyzer () { in get_analyzer()
101 virtual void handle_message (const SmartPtr<XCamMessage> &msg) = 0;
[all …]
Dimage_handler.h31 private: ::XCam::SmartPtr<Next> _h; \
32 public: CbClass (const ::XCam::SmartPtr<Next> &h) { _h = h;} \
34 const ::XCam::SmartPtr<::XCam::ImageHandler> &handler, \
35 const ::XCam::SmartPtr<::XCam::ImageHandler::Parameters> &params, \
49 SmartPtr<VideoBuffer> in_buf;
50 SmartPtr<VideoBuffer> out_buf;
52 Parameters (const SmartPtr<VideoBuffer> &in = NULL, const SmartPtr<VideoBuffer> &out = NULL)
56 bool add_meta (const SmartPtr<MetaBase> &meta);
57 template <typename MType> SmartPtr<MType> find_meta ();
68 …const SmartPtr<ImageHandler> &handler, const SmartPtr<Parameters> &params, const XCamReturn error)…
[all …]
Dx3a_result_factory.cpp40 SmartPtr<X3aResultFactory> X3aResultFactory::_instance (NULL);
42 SmartPtr<X3aResultFactory>
61 SmartPtr<X3aResult>
64 SmartPtr<X3aResult> result (NULL); in create_3a_result()
150 SmartPtr<X3aWhiteBalanceResult>
156 SmartPtr<X3aBlackLevelResult>
162 SmartPtr<X3aColorMatrixResult>
168 SmartPtr<X3aColorMatrixResult>
174 SmartPtr<X3aExposureResult>
180 SmartPtr<X3aFocusResult>
[all …]
/external/libxcam/modules/soft/
Dsoft_blender_tasks_priv.h44 SmartPtr<UcharImage> in_luma, out_luma;
48 …explicit GaussScaleGray (const char *name = "GaussScaleGray", const SmartPtr<Worker::Callback> &cb…
55 virtual XCamReturn work_range (const SmartPtr<Arguments> &args, const WorkRange &range);
87 SmartPtr<Uchar2Image> in_uv, out_uv;
91 SmartPtr<VideoBuffer> in_buf;
92 SmartPtr<VideoBuffer> out_buf;
95 const SmartPtr<ImageHandler::Parameters> &param, in Args()
97 const SmartPtr<VideoBuffer> &in, in Args()
98 const SmartPtr<VideoBuffer> &out) in Args()
109 explicit GaussDownScale (const SmartPtr<Worker::Callback> &cb) in GaussDownScale()
[all …]
Dsoft_blender.h41 friend SmartPtr<SoftHandler> create_soft_blender ();
44 SmartPtr<VideoBuffer> in1_buf;
47 const SmartPtr<VideoBuffer> &in0, in BlenderParam()
48 const SmartPtr<VideoBuffer> &in1, in BlenderParam()
49 const SmartPtr<VideoBuffer> &out) in BlenderParam()
70 … const SmartPtr<Worker> &worker, const SmartPtr<Worker::Arguments> &args, const XCamReturn error);
72 … const SmartPtr<Worker> &worker, const SmartPtr<Worker::Arguments> &args, const XCamReturn error);
74 … const SmartPtr<Worker> &worker, const SmartPtr<Worker::Arguments> &args, const XCamReturn error);
76 … const SmartPtr<Worker> &worker, const SmartPtr<Worker::Arguments> &args, const XCamReturn error);
83 const SmartPtr<VideoBuffer> &in0,
[all …]
Dsoft_blender.cpp44 typedef std::map<void*, SmartPtr<BlendTask::Args>> MapBlendArgs;
45 typedef std::map<void*, SmartPtr<ReconstructTask::Args>> MapReconsArgs;
50 SmartPtr<BufferPool> overlap_pool;
51 SmartPtr<GaussDownScale> scale_task[SoftBlender::BufIdxCount];
52 SmartPtr<LaplaceTask> lap_task[SoftBlender::BufIdxCount];
53 SmartPtr<ReconstructTask> recon_task;
54 SmartPtr<UcharImage> coef_mask;
74 SmartPtr<BlendTask> last_level_blend;
75 SmartPtr<BufferPool> first_lap_pool;
76 SmartPtr<UcharImage> orig_mask;
[all …]
Dsoft_handler.h40 SmartPtr<ImageHandler::Parameters> _param;
42 explicit SoftArgs (const SmartPtr<ImageHandler::Parameters> &param = NULL) : _param (param) {} in _param()
43 inline const SmartPtr<ImageHandler::Parameters> &get_param () const { in get_param()
46 inline void set_param (const SmartPtr<ImageHandler::Parameters> &param) { in set_param()
59 bool set_threads (const SmartPtr<ThreadPool> &pool);
64 virtual XCamReturn execute_buffer (const SmartPtr<Parameters> &param, bool sync);
69 virtual XCamReturn configure_resource (const SmartPtr<Parameters> &param) = 0;
70 virtual XCamReturn start_work (const SmartPtr<Parameters> &param) = 0;
72 virtual void work_well_done (const SmartPtr<ImageHandler::Parameters> &param, XCamReturn err);
73 virtual void work_broken (const SmartPtr<ImageHandler::Parameters> &param, XCamReturn err);
[all …]
/external/libxcam/capi/
Dcontext_priv.h68 XCamReturn execute (SmartPtr<VideoBuffer> &buf_in, SmartPtr<VideoBuffer> &buf_out);
70 SmartPtr<CLImageHandler> get_handler() const { in get_handler()
73 SmartPtr<BufferPool> get_input_buffer_pool() const { in get_input_buffer_pool()
83 void set_handler (const SmartPtr<CLImageHandler> &ptr) { in set_handler()
87 virtual SmartPtr<CLImageHandler> create_handler (SmartPtr<CLContext> &context) = 0;
95 SmartPtr<CLImageHandler> _handler;
96 SmartPtr<BufferPool> _inbuf_pool;
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);
[all …]

1234567891011