Lines Matching refs:SoftBlender
39 DECLARE_WORK_CALLBACK (CbGaussDownScale, SoftBlender, gauss_scale_done);
40 DECLARE_WORK_CALLBACK (CbBlendTask, SoftBlender, blend_task_done);
41 DECLARE_WORK_CALLBACK (CbReconstructTask, SoftBlender, reconstruct_done);
42 DECLARE_WORK_CALLBACK (CbLapTask, SoftBlender, lap_done);
51 SmartPtr<GaussDownScale> scale_task[SoftBlender::BufIdxCount];
52 SmartPtr<LaplaceTask> lap_task[SoftBlender::BufIdxCount];
82 SoftBlender *_blender;
85 BlenderPrivConfig (SoftBlender *blender, uint32_t level) in BlenderPrivConfig()
96 const uint32_t level, const SoftBlender::BufIdx idx);
100 const uint32_t level, const SoftBlender::BufIdx idx,
105 const SoftBlender::BufIdx idx);
110 const uint32_t level, const SoftBlender::BufIdx idx);
170 SoftBlender::SoftBlender (const char *name) in SoftBlender() function in XCam::SoftBlender
178 SoftBlender::~SoftBlender () in ~SoftBlender()
183 SoftBlender::set_pyr_levels (uint32_t num) in set_pyr_levels()
195 SoftBlender::terminate () in terminate()
202 SoftBlender::blend ( in blend()
219 if (pyr_layer[i].scale_task[SoftBlender::Idx0].ptr ()) { in stop()
220 pyr_layer[i].scale_task[SoftBlender::Idx0]->stop (); in stop()
221 pyr_layer[i].scale_task[SoftBlender::Idx0].release (); in stop()
223 if (pyr_layer[i].scale_task[SoftBlender::Idx1].ptr ()) { in stop()
224 pyr_layer[i].scale_task[SoftBlender::Idx1]->stop (); in stop()
225 pyr_layer[i].scale_task[SoftBlender::Idx1].release (); in stop()
227 if (pyr_layer[i].lap_task[SoftBlender::Idx0].ptr ()) { in stop()
228 pyr_layer[i].lap_task[SoftBlender::Idx0]->stop (); in stop()
229 pyr_layer[i].lap_task[SoftBlender::Idx0].release (); in stop()
231 if (pyr_layer[i].lap_task[SoftBlender::Idx1].ptr ()) { in stop()
232 pyr_layer[i].lap_task[SoftBlender::Idx1]->stop (); in stop()
233 pyr_layer[i].lap_task[SoftBlender::Idx0].release (); in stop()
326 const uint32_t level, const SoftBlender::BufIdx idx) in start_scaler()
329 XCAM_ASSERT (idx < SoftBlender::BufIdxCount); in start_scaler()
383 const uint32_t level, const SoftBlender::BufIdx idx, in start_lap_task()
387 XCAM_ASSERT (idx < SoftBlender::BufIdxCount); in start_lap_task()
435 const SoftBlender::BufIdx idx) in start_blend_task()
456 if (!args->in_luma[SoftBlender::Idx0].ptr () || !args->in_luma[SoftBlender::Idx1].ptr ()) in start_blend_task()
463 …XCAM_ASSERT (args->in_luma[SoftBlender::Idx0]->get_width () == args->in_luma[SoftBlender::Idx1]->g… in start_blend_task()
499 …XCAM_ASSERT (args->lap_luma[SoftBlender::Idx0].ptr () && args->lap_luma[SoftBlender::Idx1].ptr () … in start_reconstruct_task()
500 …XCAM_ASSERT (args->lap_luma[SoftBlender::Idx0]->get_width () == args->lap_luma[SoftBlender::Idx1]-… in start_reconstruct_task()
573 if (!args->lap_luma[SoftBlender::Idx0].ptr () || !args->lap_luma[SoftBlender::Idx1].ptr ()) in start_reconstruct_task_by_gauss()
587 const SoftBlender::BufIdx idx) in start_reconstruct_task_by_lap()
605 if (!args->gauss_luma.ptr () || !args->lap_luma[SoftBlender::Idx0].ptr () || in start_reconstruct_task_by_lap()
606 !args->lap_luma[SoftBlender::Idx1].ptr ()) in start_reconstruct_task_by_lap()
616 SoftBlender::start_work (const SmartPtr<ImageHandler::Parameters> &base) in start_work()
645 SoftBlender::configure_resource (const SmartPtr<Parameters> ¶m) in configure_resource()
718 … _priv_config->pyr_layer[i].scale_task[SoftBlender::Idx0] = new GaussDownScale (gauss_scale_cb); in configure_resource()
719 XCAM_ASSERT (_priv_config->pyr_layer[i].scale_task[SoftBlender::Idx0].ptr ()); in configure_resource()
720 … _priv_config->pyr_layer[i].scale_task[SoftBlender::Idx1] = new GaussDownScale (gauss_scale_cb); in configure_resource()
721 XCAM_ASSERT (_priv_config->pyr_layer[i].scale_task[SoftBlender::Idx1].ptr ()); in configure_resource()
722 _priv_config->pyr_layer[i].lap_task[SoftBlender::Idx0] = new LaplaceTask (lap_cb); in configure_resource()
723 XCAM_ASSERT (_priv_config->pyr_layer[i].lap_task[SoftBlender::Idx0].ptr ()); in configure_resource()
724 _priv_config->pyr_layer[i].lap_task[SoftBlender::Idx1] = new LaplaceTask (lap_cb); in configure_resource()
725 XCAM_ASSERT (_priv_config->pyr_layer[i].lap_task[SoftBlender::Idx1].ptr ()); in configure_resource()
737 SoftBlender::gauss_scale_done ( in gauss_scale_done()
775 SoftBlender::lap_done ( in lap_done()
802 SoftBlender::blend_task_done ( in blend_task_done()
825 SoftBlender::reconstruct_done ( in reconstruct_done()
857 SmartPtr<SoftBlender> blender = new SoftBlender(); in create_soft_blender()