Home
last modified time | relevance | path

Searched refs:bufDef (Results 1 – 8 of 8) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Mem.cpp228 mm_camera_buf_def_t &bufDef, uint32_t index, bool virtualAddr) in getBufDef() argument
237 bufDef.fd = mMemInfo[index].fd; in getBufDef()
238 bufDef.frame_len = mMemInfo[index].size; in getBufDef()
239 bufDef.mem_info = (void *)this; in getBufDef()
240 bufDef.buffer = virtualAddr ? getPtrLocked(index) : nullptr; in getBufDef()
241 bufDef.planes_buf.num_planes = (int8_t)offset.num_planes; in getBufDef()
242 bufDef.buf_idx = (uint8_t)index; in getBufDef()
245 bufDef.planes_buf.planes[0].length = offset.mp[0].len; in getBufDef()
246 bufDef.planes_buf.planes[0].m.userptr = (long unsigned int)mMemInfo[index].fd; in getBufDef()
247 bufDef.planes_buf.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
[all …]
DQCamera3StreamMem.cpp236 mm_camera_buf_def_t &bufDef, uint32_t index, bool virtualAddr) in getBufDef() argument
241 ret = mHeapMem.getBufDef(offset, bufDef, index, virtualAddr); in getBufDef()
243 ret = mGrallocMem.getBufDef(offset, bufDef, index, virtualAddr); in getBufDef()
245 bufDef.mem_info = (void *)this; in getBufDef()
DQCamera3StreamMem.h62 mm_camera_buf_def_t &bufDef, uint32_t index,
DQCamera3Mem.h81 mm_camera_buf_def_t &bufDef, uint32_t index, bool virtualAddr);
DQCamera3Stream.h174 int32_t aggregateBufToBatch(mm_camera_buf_def_t& bufDef);
DQCamera3Stream.cpp1585 int32_t QCamera3Stream::aggregateBufToBatch(mm_camera_buf_def_t& bufDef) in aggregateBufToBatch() argument
1607 mCurrentBatchBufDef->user_buf.buf_idx[mBufsStaged] = bufDef.buf_idx; in aggregateBufToBatch()
1610 bufDef.buf_idx, mCurrentBatchBufDef->buf_idx); in aggregateBufToBatch()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMem.cpp274 mm_camera_buf_def_t &bufDef, uint32_t index) const in getBufDef() argument
280 bufDef.fd = mMemInfo[index].fd; in getBufDef()
281 bufDef.frame_len = mMemInfo[index].size; in getBufDef()
282 bufDef.buf_type = CAM_STREAM_BUF_TYPE_MPLANE; in getBufDef()
283 bufDef.mem_info = (void *)this; in getBufDef()
284 bufDef.planes_buf.num_planes = (int8_t)offset.num_planes; in getBufDef()
285 bufDef.buffer = getPtr(index); in getBufDef()
286 bufDef.buf_idx = index; in getBufDef()
289 bufDef.planes_buf.planes[0].length = offset.mp[0].len; in getBufDef()
290 bufDef.planes_buf.planes[0].m.userptr = (long unsigned int)mMemInfo[index].fd; in getBufDef()
[all …]
DQCameraMem.h127 mm_camera_buf_def_t &bufDef, uint32_t index) const;
130 mm_camera_buf_def_t &bufDef, uint32_t index,