Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libscaler/
Dlibscaler-m2m1shot.cpp84 memset(&m_task, 0, sizeof(m_task)); in CScalerM2M1SHOT()
96 m_task.buf_out.num_planes = 3; in CScalerM2M1SHOT()
97 m_task.buf_cap.num_planes = 3; 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()
114 m_task.op.rotate)) in Run()
117 ret = ioctl(m_iFD, M2M1SHOT_IOC_PROCESS, &m_task); in Run()
226 m_task.op.rotate = rot; in SetRotate()
227 m_task.op.op &= ~(M2M1SHOT_OP_FLIP_HORI | M2M1SHOT_OP_FLIP_VIRT); in SetRotate()
229 m_task.op.op |= M2M1SHOT_OP_FLIP_HORI; in SetRotate()
[all …]
Dlibscaler-m2m1shot.h35 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()
79 m_task.op.op &= ~(M2M1SHOT_OP_CSC_WIDE | M2M1SHOT_OP_CSC_NARROW); in SetCSCWide()
80 m_task.op.op |= wide ? M2M1SHOT_OP_CSC_WIDE : M2M1SHOT_OP_CSC_NARROW; in SetCSCWide()
85 m_task.op.op &= ~(M2M1SHOT_OP_CSC_601 | M2M1SHOT_OP_CSC_709); in SetCSCEq()
[all …]