Lines Matching refs:m_task

84     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()
231 m_task.op.op |= M2M1SHOT_OP_FLIP_VIRT; in SetRotate()
267 if (m_task.fmt_cap.fmt != m_task.fmt_out.fmt) { in RunSWScaling()
272 if (m_task.op.rotate != 0) { 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()
284 switch (m_task.fmt_cap.fmt) { in RunSWScaling()
287 if (!GetBuffer(m_task.buf_out, src)) in RunSWScaling()
290 if (!GetBuffer(m_task.buf_cap, dst)) { in RunSWScaling()
291 PutBuffer(m_task.buf_out, src); in RunSWScaling()
301 if (!GetBuffer(m_task.buf_out, src)) in RunSWScaling()
304 if (!GetBuffer(m_task.buf_cap, dst)) { in RunSWScaling()
305 PutBuffer(m_task.buf_out, src); in RunSWScaling()
309 if (m_task.buf_out.num_planes == 1) in RunSWScaling()
310 src[1] = src[0] + m_task.fmt_out.width * m_task.fmt_out.height; in RunSWScaling()
312 if (m_task.buf_cap.num_planes == 1) in RunSWScaling()
313 dst[1] = dst[0] + m_task.fmt_cap.width * m_task.fmt_cap.height; in RunSWScaling()
319 SC_LOGE("Format %x is not supported", m_task.fmt_out.fmt); in RunSWScaling()
325 PutBuffer(m_task.buf_out, src); in RunSWScaling()
326 PutBuffer(m_task.buf_cap, dst); 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()
332 m_task.fmt_out.width); in RunSWScaling()
334 swsc->SetDstRect(m_task.fmt_cap.crop.left, m_task.fmt_cap.crop.top, in RunSWScaling()
335 m_task.fmt_cap.crop.width, m_task.fmt_cap.crop.height, in RunSWScaling()
336 m_task.fmt_cap.width); in RunSWScaling()
342 PutBuffer(m_task.buf_out, src); in RunSWScaling()
343 PutBuffer(m_task.buf_cap, dst); in RunSWScaling()