Home
last modified time | relevance | path

Searched refs:mem_type (Results 1 – 10 of 10) sorted by relevance

/hardware/google/graphics/common/libscaler/
Dlibscaler-m2m1shot.h41 bool SetAddr(m2m1shot_buffer &buf, void *addr[SC_NUM_OF_PLANES], int mem_type);
68 inline bool SetSrcAddr(void *addr[SC_NUM_OF_PLANES], int mem_type) { in SetSrcAddr() argument
69 return SetAddr(m_task.buf_out, addr, mem_type); in SetSrcAddr()
72 inline bool SetDstAddr(void *addr[SC_NUM_OF_PLANES], int mem_type) { in SetDstAddr() argument
73 return SetAddr(m_task.buf_cap, addr, mem_type); in SetDstAddr()
Dlibscaler-v4l2.h160 inline void SetAddr(FrameInfo &frm, void *addr[SC_NUM_OF_PLANES], int mem_type, int fence) in SetAddr() argument
165 frm.memory = static_cast<v4l2_memory>(mem_type); in SetAddr()
309 inline bool SetSrcAddr(void *addr[SC_NUM_OF_PLANES], int mem_type, int fence = -1) {
310 SetAddr(m_frmSrc, addr, mem_type, fence);
314 inline bool SetDstAddr(void *addr[SC_NUM_OF_PLANES], int mem_type, int fence = -1) {
315 SetAddr(m_frmDst, addr, mem_type, fence);
Dlibscaler-m2m1shot.cpp199 m2m1shot_buffer &buf, void *addr[SC_NUM_OF_PLANES], int mem_type) { in SetAddr() argument
200 if (mem_type == V4L2_MEMORY_DMABUF) { in SetAddr()
204 } else if (mem_type == V4L2_MEMORY_USERPTR) { in SetAddr()
209 SC_LOGE("Unknown buffer type %d", mem_type); in SetAddr()
Dlibscaler.cpp399 int mem_type, in exynos_sc_set_src_addr() argument
407 return sc->SetSrcAddr(addr, mem_type) ? 0 : -1; in exynos_sc_set_src_addr()
413 int mem_type, in exynos_sc_set_dst_addr() argument
421 return sc->SetDstAddr(addr, mem_type) ? 0 : -1; in exynos_sc_set_dst_addr()
611 sc->SetSrcAddr(addr, src_img->mem_type, src_img->acquireFenceFd); in exynos_sc_run_exclusive()
616 sc->SetDstAddr(addr, dst_img->mem_type, dst_img->acquireFenceFd); in exynos_sc_run_exclusive()
/hardware/google/graphics/common/libgscaler/include/
Dexynos_gscaler.h283 int mem_type,
304 int mem_type,
/hardware/google/graphics/common/libscaler/include/
Dexynos_scaler.h87 int mem_type; member
361 int mem_type,
385 int mem_type,
/hardware/google/gchips/include/
Dcsc.h135 int mem_type; member
538 int mem_type);
561 int mem_type);
/hardware/google/graphics/common/libgscaler/
Dlibgscaler.cpp272 int mem_type, in exynos_gsc_set_src_addr() argument
287 gsc->src_info.buf.mem_type = (enum v4l2_memory)mem_type; in exynos_gsc_set_src_addr()
297 int mem_type, in exynos_gsc_set_dst_addr() argument
312 gsc->dst_info.buf.mem_type = (enum v4l2_memory)mem_type; in exynos_gsc_set_dst_addr()
Dlibgscaler_obj.h114 enum v4l2_memory mem_type; member
Dlibgscaler_obj.cpp378 req_buf.memory = gsc->src_info.buf.mem_type; in m_gsc_m2m_stop()
387 req_buf.memory = gsc->dst_info.buf.mem_type;; in m_gsc_m2m_stop()
739 req_buf.memory = info->buf.mem_type; in m_gsc_set_format()
802 info->buf.buffer.memory = info->buf.mem_type; in m_gsc_set_addr()
1442 ret = exynos_gsc_set_src_addr(handle, addr, src_img->mem_type, in m_gsc_m2m_run()
1453 ret = exynos_gsc_set_dst_addr(handle, addr, dst_img->mem_type, in m_gsc_m2m_run()