Home
last modified time | relevance | path

Searched refs:swsc (Results 1 – 2 of 2) sorted by relevance

/hardware/google/graphics/common/libscaler/
Dlibscaler-m2m1shot.cpp281 CScalerSW *swsc; in RunSWScaling() local
295 swsc = new CScalerSW_YUYV(src[0], dst[0]); in RunSWScaling()
315 swsc = new CScalerSW_NV12(src[0], src[1], dst[0], dst[1]); in RunSWScaling()
323 if (swsc == NULL) { in RunSWScaling()
330 swsc->SetSrcRect(m_task.fmt_out.crop.left, m_task.fmt_out.crop.top, in RunSWScaling()
334 swsc->SetDstRect(m_task.fmt_cap.crop.left, m_task.fmt_cap.crop.top, in RunSWScaling()
338 bool ret = swsc->Scale(); in RunSWScaling()
340 delete swsc; in RunSWScaling()
Dlibscaler-v4l2.cpp563 CScalerSW *swsc; in RunSWScaling() local
582 swsc = new CScalerSW_YUYV(src[0], dst[0]); in RunSWScaling()
601 swsc = new CScalerSW_NV12(src[0], src[1], dst[0], dst[1]); in RunSWScaling()
623 swsc = new CScalerSW_NV12(src[0], src[1], dst[0], dst[1]); in RunSWScaling()
631 if (swsc == NULL) { in RunSWScaling()
638 swsc->SetSrcRect(m_frmSrc.crop.left, m_frmSrc.crop.top, in RunSWScaling()
641 swsc->SetDstRect(m_frmDst.crop.left, m_frmDst.crop.top, in RunSWScaling()
644 bool ret = swsc->Scale(); in RunSWScaling()
646 delete swsc; in RunSWScaling()