/device/google/marlin/camera/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 239 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/lge/bullhead/camera/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 232 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 …]
|
/device/huawei/angler/camera/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 232 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 …]
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 240 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 …]
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 240 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 …]
|
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 261 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 …]
|
D | mm_qcamera_rdi.c | 57 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/ |
D | QCameraMem.cpp | 282 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/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 252 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 …]
|
D | mm_qcamera_rdi.c | 51 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()
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 252 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 …]
|
D | mm_qcamera_rdi.c | 51 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()
|
/device/lge/bullhead/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 129 mm_camera_plane_buf_def_t planes_buf; member
|
/device/huawei/angler/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 129 mm_camera_plane_buf_def_t planes_buf; member
|
/device/google/marlin/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 133 mm_camera_plane_buf_def_t planes_buf; member
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 1449 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()
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 1449 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()
|
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 1768 memcpy(planes, buf->planes_buf.planes, sizeof(planes)); in mm_stream_qbuf() 1769 length = buf->planes_buf.num_planes; in mm_stream_qbuf()
|