Home
last modified time | relevance | path

Searched refs:planes_buf (Results 1 – 6 of 6) sorted by relevance

/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3Mem.cpp239 bufDef.planes_buf.num_planes = (int8_t)offset.num_planes; in getBufDef()
243 bufDef.planes_buf.planes[0].length = offset.mp[0].len; in getBufDef()
244 bufDef.planes_buf.planes[0].m.userptr = (long unsigned int)mMemInfo[index].fd; in getBufDef()
245 bufDef.planes_buf.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
246 bufDef.planes_buf.planes[0].reserved[0] = 0; in getBufDef()
247 for (int i = 1; i < bufDef.planes_buf.num_planes; i++) { in getBufDef()
248 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef()
249 bufDef.planes_buf.planes[i].m.userptr = (long unsigned int)mMemInfo[i].fd; in getBufDef()
250 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
251 bufDef.planes_buf.planes[i].reserved[0] = in getBufDef()
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c261 for (i = 0; i < frame->planes_buf.num_planes; i++) { in mm_app_dump_frame()
264 frame->planes_buf.planes[i].data_offset, frame->planes_buf.planes[i].length); in mm_app_dump_frame()
267 frame->planes_buf.planes[i].length); in mm_app_dump_frame()
268 offset += (int)frame->planes_buf.planes[i].length; in mm_app_dump_frame()
318 app_bufs[i].buf.planes_buf.num_planes = (int8_t)frame_offset_info->num_planes; in mm_app_alloc_bufs()
326 app_bufs[i].buf.planes_buf.planes[0].length = frame_offset_info->mp[0].len; in mm_app_alloc_bufs()
327 app_bufs[i].buf.planes_buf.planes[0].m.userptr = in mm_app_alloc_bufs()
329 app_bufs[i].buf.planes_buf.planes[0].data_offset = frame_offset_info->mp[0].offset; in mm_app_alloc_bufs()
330 app_bufs[i].buf.planes_buf.planes[0].reserved[0] = 0; in mm_app_alloc_bufs()
332 app_bufs[i].buf.planes_buf.planes[j].length = frame_offset_info->mp[j].len; in mm_app_alloc_bufs()
[all …]
Dmm_qcamera_rdi.c57 for (i = 0; i < frame->planes_buf.num_planes; i++) { in mm_app_rdi_dump_frame()
59 (uint8_t *)frame->buffer + frame->planes_buf.planes[i].data_offset, in mm_app_rdi_dump_frame()
/device/google/marlin/camera/QCamera2/HAL/
DQCameraMem.cpp282 bufDef.planes_buf.num_planes = (int8_t)offset.num_planes; in getBufDef()
287 bufDef.planes_buf.planes[0].length = offset.mp[0].len; in getBufDef()
288 bufDef.planes_buf.planes[0].m.userptr = (long unsigned int)mMemInfo[index].fd; in getBufDef()
289 bufDef.planes_buf.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
290 bufDef.planes_buf.planes[0].reserved[0] = 0; in getBufDef()
291 for (int i = 1; i < bufDef.planes_buf.num_planes; i++) { in getBufDef()
292 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef()
293 bufDef.planes_buf.planes[i].m.userptr = (long unsigned int)mMemInfo[i].fd; in getBufDef()
294 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
295 bufDef.planes_buf.planes[i].reserved[0] = in getBufDef()
[all …]
/device/google/marlin/camera/QCamera2/stack/common/
Dmm_camera_interface.h134 mm_camera_plane_buf_def_t planes_buf; member
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1768 memcpy(planes, buf->planes_buf.planes, sizeof(planes)); in mm_stream_qbuf()
1769 length = buf->planes_buf.num_planes; in mm_stream_qbuf()