Lines Matching refs:SmartPtr
44 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;
94 const SmartPtr<ImageHandler::Parameters> ¶m,
95 const SmartPtr<VideoBuffer> &in_buf,
99 const SmartPtr<ImageHandler::Parameters> ¶m,
101 const SmartPtr<GaussDownScale::Args> &scale_args);
103 const SmartPtr<ImageHandler::Parameters> ¶m,
104 const SmartPtr<VideoBuffer> &buf,
108 const SmartPtr<ImageHandler::Parameters> ¶m,
109 const SmartPtr<VideoBuffer> &lap,
112 const SmartPtr<ImageHandler::Parameters> ¶m,
113 const SmartPtr<VideoBuffer> &gauss,
115 …XCamReturn start_reconstruct_task (const SmartPtr<ReconstructTask::Args> &args, const uint32_t lev…
126 dump_soft (const SmartPtr<SoftImageT> &image, const char *name, int32_t level) in dump_soft()
150 void dump_level_buf (const SmartPtr<VideoBuffer> buf, const char *name, uint32_t level, uint32_t id… in dump_level_buf()
158 static void dump_buf (const SmartPtr<VideoBuffer> buf, ...) { in dump_buf()
162 static void dump_soft (const SmartPtr<SoftImageT> &image, ...) { in dump_soft()
165 static void dump_level_buf (const SmartPtr<VideoBuffer> buf, ...) { in dump_level_buf()
203 const SmartPtr<VideoBuffer> &in0, in blend()
204 const SmartPtr<VideoBuffer> &in1, in blend()
205 SmartPtr<VideoBuffer> &out_buf) in blend()
207 SmartPtr<BlenderParam> param = new BlenderParam (in0, in1, out_buf); in blend()
305 SmartPtr<GaussScaleGray::Args> args = new GaussScaleGray::Args; in scale_down_masks()
312 SmartPtr<GaussScaleGray> worker = new GaussScaleGray; in scale_down_masks()
324 const SmartPtr<ImageHandler::Parameters> ¶m, in start_scaler()
325 const SmartPtr<VideoBuffer> &in_buf, in start_scaler()
330 SmartPtr<SoftWorker> worker = pyr_layer[level].scale_task[idx]; in start_scaler()
334 SmartPtr<VideoBuffer> out_buf = pyr_layer[level].overlap_pool->get_buffer (); in start_scaler()
340 …SmartPtr<GaussDownScale::Args> args = new GaussDownScale::Args (param, level, idx, in_buf, out_buf… in start_scaler()
382 const SmartPtr<ImageHandler::Parameters> ¶m, in start_lap_task()
384 const SmartPtr<GaussDownScale::Args> &scale_args) in start_lap_task()
388 SmartPtr<VideoBuffer> gauss = scale_args->out_buf; in start_lap_task()
390 SmartPtr<VideoBuffer> out_buf; in start_lap_task()
404 SmartPtr<LaplaceTask::Args> args = new LaplaceTask::Args (param, level, idx, out_buf); in start_lap_task()
412 SmartPtr<SoftWorker> worker = pyr_layer[level].lap_task[idx]; in start_lap_task()
433 const SmartPtr<ImageHandler::Parameters> ¶m, in start_blend_task()
434 const SmartPtr<VideoBuffer> &buf, in start_blend_task()
438 SmartPtr<BlendTask::Args> args; in start_blend_task()
466 SmartPtr<VideoBuffer> out_buf = pyr_layer[last_level].overlap_pool->get_buffer (); in start_blend_task()
476 SmartPtr<SoftWorker> worker = last_level_blend; in start_blend_task()
496 const SmartPtr<ReconstructTask::Args> &args, const uint32_t level) in start_reconstruct_task()
501 SmartPtr<VideoBuffer> out_buf; in start_reconstruct_task()
533 SmartPtr<SoftWorker> worker = pyr_layer[level].recon_task; in start_reconstruct_task()
553 const SmartPtr<ImageHandler::Parameters> ¶m, in start_reconstruct_task_by_gauss()
554 const SmartPtr<VideoBuffer> &gauss, in start_reconstruct_task_by_gauss()
557 SmartPtr<ReconstructTask::Args> args; in start_reconstruct_task_by_gauss()
584 const SmartPtr<ImageHandler::Parameters> ¶m, in start_reconstruct_task_by_lap()
585 const SmartPtr<VideoBuffer> &lap, in start_reconstruct_task_by_lap()
589 SmartPtr<ReconstructTask::Args> args; in start_reconstruct_task_by_lap()
616 SoftBlender::start_work (const SmartPtr<ImageHandler::Parameters> &base) in start_work()
619 SmartPtr<BlenderParam> param = base.dynamic_cast_ptr<BlenderParam> (); in start_work()
645 SoftBlender::configure_resource (const SmartPtr<Parameters> ¶m) in configure_resource()
691 SmartPtr<Worker::Callback> gauss_scale_cb = new CbGaussDownScale (this); in configure_resource()
692 SmartPtr<Worker::Callback> lap_cb = new CbLapTask (this); in configure_resource()
693 SmartPtr<Worker::Callback> reconst_cb = new CbReconstructTask (this); in configure_resource()
738 const SmartPtr<Worker> &worker, const SmartPtr<Worker::Arguments> &base, const XCamReturn error) in gauss_scale_done()
743 SmartPtr<GaussDownScale::Args> args = base.dynamic_cast_ptr<GaussDownScale::Args> (); in gauss_scale_done()
745 const SmartPtr<ImageHandler::Parameters> param = args->get_param (); in gauss_scale_done()
776 const SmartPtr<Worker> &worker, const SmartPtr<Worker::Arguments> &base, const XCamReturn error) in lap_done()
781 SmartPtr<LaplaceTask::Args> args = base.dynamic_cast_ptr<LaplaceTask::Args> (); in lap_done()
783 const SmartPtr<ImageHandler::Parameters> param = args->get_param (); in lap_done()
803 const SmartPtr<Worker> &worker, const SmartPtr<Worker::Arguments> &base, const XCamReturn error) in blend_task_done()
808 SmartPtr<BlendTask::Args> args = base.dynamic_cast_ptr<BlendTask::Args> (); in blend_task_done()
810 const SmartPtr<ImageHandler::Parameters> param = args->get_param (); in blend_task_done()
826 const SmartPtr<Worker> &worker, const SmartPtr<Worker::Arguments> &base, const XCamReturn error) in reconstruct_done()
831 SmartPtr<ReconstructTask::Args> args = base.dynamic_cast_ptr<ReconstructTask::Args> (); in reconstruct_done()
833 const SmartPtr<ImageHandler::Parameters> param = args->get_param (); in reconstruct_done()
854 SmartPtr<SoftHandler>
857 SmartPtr<SoftBlender> blender = new SoftBlender(); in create_soft_blender()
862 SmartPtr<Blender>
865 SmartPtr<SoftHandler> handler = XCam::create_soft_blender (); in create_soft_blender()