Home
last modified time | relevance | path

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

/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3Mem.cpp232 bufDef.planes_buf.num_planes = (int8_t)offset.num_planes; in getBufDef()
237 bufDef.planes_buf.planes[0].length = offset.mp[0].len; in getBufDef()
238 bufDef.planes_buf.planes[0].m.userptr = (long unsigned int)mMemInfo[index].fd; in getBufDef()
239 bufDef.planes_buf.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
240 bufDef.planes_buf.planes[0].reserved[0] = 0; in getBufDef()
241 for (int i = 1; i < bufDef.planes_buf.num_planes; i++) { in getBufDef()
242 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef()
243 bufDef.planes_buf.planes[i].m.userptr = (long unsigned int)mMemInfo[i].fd; in getBufDef()
244 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
245 bufDef.planes_buf.planes[i].reserved[0] = in getBufDef()
[all …]
/hardware/qcom/camera/QCamera2/HAL/
DQCameraMem.cpp240 bufDef.planes_buf.num_planes = (int8_t)offset.num_planes; 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()
248 bufDef.planes_buf.planes[0].reserved[0] = 0; in getBufDef()
249 for (int i = 1; i < bufDef.planes_buf.num_planes; i++) { in getBufDef()
250 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef()
251 bufDef.planes_buf.planes[i].m.userptr = (long unsigned int)mMemInfo[i].fd; in getBufDef()
252 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
253 bufDef.planes_buf.planes[i].reserved[0] = in getBufDef()
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c252 for (i = 0; i < frame->planes_buf.num_planes; i++) { in mm_app_dump_frame()
255 frame->planes_buf.planes[i].data_offset, frame->planes_buf.planes[i].length); in mm_app_dump_frame()
258 frame->planes_buf.planes[i].length); in mm_app_dump_frame()
259 offset += (int)frame->planes_buf.planes[i].length; in mm_app_dump_frame()
309 app_bufs[i].buf.planes_buf.num_planes = (int8_t)frame_offset_info->num_planes; in mm_app_alloc_bufs()
317 app_bufs[i].buf.planes_buf.planes[0].length = frame_offset_info->mp[0].len; in mm_app_alloc_bufs()
318 app_bufs[i].buf.planes_buf.planes[0].m.userptr = in mm_app_alloc_bufs()
320 app_bufs[i].buf.planes_buf.planes[0].data_offset = frame_offset_info->mp[0].offset; in mm_app_alloc_bufs()
321 app_bufs[i].buf.planes_buf.planes[0].reserved[0] = 0; in mm_app_alloc_bufs()
323 app_bufs[i].buf.planes_buf.planes[j].length = frame_offset_info->mp[j].len; in mm_app_alloc_bufs()
[all …]
Dmm_qcamera_rdi.c51 for (i = 0; i < frame->planes_buf.num_planes; i++) { in mm_app_rdi_dump_frame()
53 (uint8_t *)frame->buffer + frame->planes_buf.planes[i].data_offset, in mm_app_rdi_dump_frame()
/hardware/qcom/camera/QCamera2/stack/common/
Dmm_camera_interface.h129 mm_camera_plane_buf_def_t planes_buf; member
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1449 memcpy(planes, buf->planes_buf.planes, sizeof(planes)); in mm_stream_qbuf()
1450 length = buf->planes_buf.num_planes; in mm_stream_qbuf()
1455 buf->planes_buf.planes[0].reserved[0], in mm_stream_qbuf()
1456 buf->planes_buf.planes[0].data_offset); in mm_stream_qbuf()
1460 buf->planes_buf.planes[1].reserved[0], in mm_stream_qbuf()
1461 buf->planes_buf.planes[1].data_offset); in mm_stream_qbuf()