Lines Matching refs:SmartPtr
50 SmartPtr<CLImage> gauss_image[CLBlenderPlaneMax][XCAM_BLENDER_IMAGE_NUM];
52 SmartPtr<CLImage> lap_image[CLBlenderPlaneMax][XCAM_BLENDER_IMAGE_NUM];
54 …SmartPtr<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,
69 SmartPtr<VideoBuffer> &input0, SmartPtr<VideoBuffer> &input1, SmartPtr<VideoBuffer> &output,
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,
92 SmartPtr<CLImage> get_gauss_image (uint32_t layer, uint32_t buf_index, bool is_uv);
93 SmartPtr<CLImage> get_lap_image (uint32_t layer, uint32_t buf_index, bool is_uv);
94 SmartPtr<CLImage> get_blend_image (uint32_t layer, bool is_uv);
95 SmartPtr<CLImage> get_reconstruct_image (uint32_t layer, bool is_uv);
96 SmartPtr<CLImage> get_scale_image (bool is_uv);
97 SmartPtr<CLBuffer> get_blend_mask (uint32_t layer, bool is_uv);
98 SmartPtr<CLImage> get_seam_mask (uint32_t layer);
100 const SmartPtr<CLImage> &get_image_diff () const;
103 SmartPtr<CLBuffer> &get_seam_pos_buf () { in get_seam_pos_buf()
106 SmartPtr<CLBuffer> &get_seam_sum_buf () { in get_seam_sum_buf()
116 virtual XCamReturn execute_done (SmartPtr<VideoBuffer> &output);
120 SmartPtr<CLContext> context, SmartPtr<VideoBuffer> &input0,
121 SmartPtr<VideoBuffer> &input1, SmartPtr<VideoBuffer> &output);
124 XCamReturn init_seam_buffers (SmartPtr<CLContext> context);
138 SmartPtr<CLImage> _image_diff; // image difference in blending area, only Y
142 SmartPtr<CLBuffer> _seam_pos_buf; // width = _seam_width; height = _seam_height;
143 SmartPtr<CLBuffer> _seam_sum_buf; // size = _seam_width
153 const SmartPtr<CLContext> &context, SmartPtr<CLPyramidBlender> &blender,
159 SmartPtr<CLImage> get_input_0 () { in get_input_0()
162 SmartPtr<CLImage> get_input_1 () { in get_input_1()
165 SmartPtr<CLImage> get_output () { in get_output()
168 SmartPtr<CLBuffer> get_blend_mask () { in get_blend_mask()
171 SmartPtr<CLImage> get_seam_mask () { in get_seam_mask()
178 SmartPtr<CLPyramidBlender> _blender;
190 const SmartPtr<CLContext> &context, SmartPtr<CLPyramidBlender> &blender,
197 SmartPtr<CLImage> get_input_gauss () { in get_input_gauss()
201 SmartPtr<CLImage> get_output_gauss () { in get_output_gauss()
210 SmartPtr<CLPyramidBlender> _blender;
221 const SmartPtr<CLContext> &context, SmartPtr<CLPyramidBlender> &blender);
227 SmartPtr<CLPyramidBlender> _blender;
236 const SmartPtr<CLContext> &context, SmartPtr<CLPyramidBlender> &blender);
242 SmartPtr<CLPyramidBlender> _blender;
253 const SmartPtr<CLContext> &context, SmartPtr<CLPyramidBlender> &blender,
260 SmartPtr<CLPyramidBlender> _blender;
271 const SmartPtr<CLContext> &context, SmartPtr<CLPyramidBlender> &blender,
278 SmartPtr<CLImage> get_current_gauss () { in get_current_gauss()
281 SmartPtr<CLImage> get_next_gauss () { in get_next_gauss()
287 SmartPtr<CLImage> get_output_lap () { in get_output_lap()
294 SmartPtr<CLPyramidBlender> _blender;
305 const SmartPtr<CLContext> &context, SmartPtr<CLPyramidBlender> &blender,
312 SmartPtr<CLImage> get_input_reconstruct () { in get_input_reconstruct()
315 SmartPtr<CLImage> get_input_lap () { in get_input_lap()
318 SmartPtr<CLImage> get_output_reconstruct () { in get_output_reconstruct()
328 SmartPtr<CLPyramidBlender> _blender;
338 const SmartPtr<CLContext> &context, SmartPtr<CLPyramidBlender> &blender, bool is_uv);
341 virtual SmartPtr<CLImage> get_input_image ();
342 virtual SmartPtr<CLImage> get_output_image ();
350 SmartPtr<CLPyramidBlender> _blender;
351 SmartPtr<CLImage> _image_in;
359 const SmartPtr<CLContext> &context, SmartPtr<CLPyramidBlender> &blender,
366 SmartPtr<CLImage> get_input () { in get_input()
369 SmartPtr<CLImage> get_output () { in get_output()
379 SmartPtr<CLPyramidBlender> _blender;