Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Mem.cpp241 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/msm8998/QCamera2/HAL/
DQCameraMem.cpp284 bufDef.planes_buf.num_planes = (int8_t)offset.num_planes; 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()
291 bufDef.planes_buf.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
292 bufDef.planes_buf.planes[0].reserved[0] = 0; in getBufDef()
293 for (int i = 1; i < bufDef.planes_buf.num_planes; i++) { in getBufDef()
294 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef()
295 bufDef.planes_buf.planes[i].m.userptr = (long unsigned int)mMemInfo[i].fd; in getBufDef()
296 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
297 bufDef.planes_buf.planes[i].reserved[0] = in getBufDef()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c262 for (i = 0; i < frame->planes_buf.num_planes; i++) { in mm_app_dump_frame()
265 frame->planes_buf.planes[i].data_offset, frame->planes_buf.planes[i].length); in mm_app_dump_frame()
268 frame->planes_buf.planes[i].length); in mm_app_dump_frame()
269 offset += (int)frame->planes_buf.planes[i].length; in mm_app_dump_frame()
319 app_bufs[i].buf.planes_buf.num_planes = (int8_t)frame_offset_info->num_planes; in mm_app_alloc_bufs()
327 app_bufs[i].buf.planes_buf.planes[0].length = frame_offset_info->mp[0].len; in mm_app_alloc_bufs()
328 app_bufs[i].buf.planes_buf.planes[0].m.userptr = in mm_app_alloc_bufs()
330 app_bufs[i].buf.planes_buf.planes[0].data_offset = frame_offset_info->mp[0].offset; in mm_app_alloc_bufs()
331 app_bufs[i].buf.planes_buf.planes[0].reserved[0] = 0; in mm_app_alloc_bufs()
333 app_bufs[i].buf.planes_buf.planes[j].length = frame_offset_info->mp[j].len; in mm_app_alloc_bufs()
[all …]
Dmm_qcamera_rdi.c56 for (i = 0; i < frame->planes_buf.num_planes; i++) { in mm_app_rdi_dump_frame()
58 (uint8_t *)frame->buffer + frame->planes_buf.planes[i].data_offset, in mm_app_rdi_dump_frame()
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dmm_camera_interface.h148 mm_camera_plane_buf_def_t planes_buf; member
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1967 memcpy(planes, buf->planes_buf.planes, sizeof(planes)); in mm_stream_qbuf()
1968 length = buf->planes_buf.num_planes; in mm_stream_qbuf()