Home
last modified time | relevance | path

Searched refs:frame_offset_info (Results 1 – 2 of 2) sorted by relevance

/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c293 cam_frame_len_offset_t *frame_offset_info, in mm_app_alloc_bufs() argument
307 size_t m = frame_offset_info->frame_len / multipleOf; in mm_app_alloc_bufs()
308 if ( ( frame_offset_info->frame_len % multipleOf ) != 0 ) { in mm_app_alloc_bufs()
313 app_bufs[i].mem_info.size = frame_offset_info->frame_len; in mm_app_alloc_bufs()
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()
329 app_bufs[i].buf.planes_buf.planes[0].data_offset = frame_offset_info->mp[0].offset; in mm_app_alloc_bufs()
331 for (j = 1; j < (uint8_t)frame_offset_info->num_planes; j++) { 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()
335 app_bufs[i].buf.planes_buf.planes[j].data_offset = frame_offset_info->mp[j].offset; in mm_app_alloc_bufs()
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h367 cam_frame_len_offset_t *frame_offset_info,
373 extern int mm_app_stream_initbuf(cam_frame_len_offset_t *frame_offset_info,