Searched refs:m_task (Results 1 – 2 of 2) sorted by relevance
/aosp12/hardware/google/graphics/common/libscaler/ |
H A D | libscaler-m2m1shot.cpp | 84 memset(&m_task, 0, sizeof(m_task)); in CScalerM2M1SHOT() 112 m_task.fmt_out.crop.width, m_task.fmt_out.crop.height, in Run() 113 m_task.fmt_cap.crop.width, m_task.fmt_cap.crop.height, in Run() 267 if (m_task.fmt_cap.fmt != m_task.fmt_out.fmt) { in RunSWScaling() 278 m_task.fmt_out.crop.width, m_task.fmt_out.crop.height, in RunSWScaling() 279 m_task.fmt_cap.crop.width, m_task.fmt_cap.crop.height); in RunSWScaling() 310 src[1] = src[0] + m_task.fmt_out.width * m_task.fmt_out.height; in RunSWScaling() 330 swsc->SetSrcRect(m_task.fmt_out.crop.left, m_task.fmt_out.crop.top, in RunSWScaling() 331 m_task.fmt_out.crop.width, m_task.fmt_out.crop.height, in RunSWScaling() 334 swsc->SetDstRect(m_task.fmt_cap.crop.left, m_task.fmt_cap.crop.top, in RunSWScaling() [all …]
|
H A D | libscaler-m2m1shot.h | 35 m2m1shot m_task; variable 53 return SetFormat(m_task.fmt_out, m_task.buf_out, width, height, v4l2_fmt); in SetSrcFormat() 57 return SetFormat(m_task.fmt_cap, m_task.buf_cap, width, height, v4l2_fmt); in SetDstFormat() 61 return SetCrop(m_task.fmt_out, l, t, w, h); in SetSrcCrop() 65 return SetCrop(m_task.fmt_cap, l, t, w, h); in SetDstCrop() 69 return SetAddr(m_task.buf_out, addr, mem_type); in SetSrcAddr() 73 return SetAddr(m_task.buf_cap, addr, mem_type); in SetDstAddr() 87 m_task.op.op |= M2M1SHOT_OP_CSC_709; in SetCSCEq() 89 m_task.op.op |= M2M1SHOT_OP_CSC_601; in SetCSCEq() 93 m_task.op.op &= ~LIBSC_M2M1SHOT_OP_FILTER_MASK; in SetFilter() [all …]
|