Home
last modified time | relevance | path

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

/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraHWI.cpp189 mm_camera_frame_len_offset *frame_offset_info, in get_buffer_hook() argument
196 user_data, frame_offset_info, in get_buffer_hook()
216 mm_camera_frame_len_offset *frame_offset_info, in getBuf() argument
228 frame_offset_info->frame_len, in getBuf()
229 frame_offset_info->mp[0].len, in getBuf()
230 frame_offset_info->mp[1].len, in getBuf()
231 num_bufs,frame_offset_info->num_planes, in getBuf()
235 stream->mFrameOffsetInfo=*frame_offset_info; in getBuf()
/device/moto/shamu/camera/QCamera/HAL/core/inc/
DQCameraStream.h97 virtual int getBuf(mm_camera_frame_len_offset *frame_offset_info,
146 int getBuf(mm_camera_frame_len_offset *frame_offset_info,
190 int getBuf(mm_camera_frame_len_offset *frame_offset_info,
242 int getBuf(mm_camera_frame_len_offset *frame_offset_info,
268 int getBuf(mm_camera_frame_len_offset *frame_offset_info,
296 int getBuf(mm_camera_frame_len_offset *frame_offset_info,
DQCameraHWI.h566 mm_camera_frame_len_offset *frame_offset_info,
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Still.cpp91 int QCameraStream_SnapshotMain::getBuf(mm_camera_frame_len_offset *frame_offset_info, in getBuf() argument
109 memcpy(&mFrameOffsetInfo, frame_offset_info, sizeof(mFrameOffsetInfo)); in getBuf()
194 status_t QCameraStream_SnapshotThumbnail::getBuf(mm_camera_frame_len_offset *frame_offset_info, in getBuf() argument
211 memcpy(&mFrameOffsetInfo, frame_offset_info, sizeof(mFrameOffsetInfo)); in getBuf()
DQCameraHWI_Rdi.cpp55 int QCameraStream_Rdi::getBuf(mm_camera_frame_len_offset *frame_offset_info, in getBuf() argument
73 memcpy(&mFrameOffsetInfo, frame_offset_info, sizeof(mFrameOffsetInfo)); in getBuf()
DQCameraHWI_Record.cpp186 status_t QCameraStream_record::getBuf(mm_camera_frame_len_offset *frame_offset_info, in getBuf() argument
203 memcpy(&mFrameOffsetInfo, frame_offset_info, sizeof(mFrameOffsetInfo)); in getBuf()
DQCameraHWI.cpp968 mm_camera_frame_len_offset *frame_offset_info, in get_buffer_hook() argument
975 user_data, frame_offset_info, in get_buffer_hook()
997 mm_camera_frame_len_offset *frame_offset_info, in getBuf() argument
1005 frame_offset_info->frame_len, in getBuf()
1006 frame_offset_info->mp[0].len, in getBuf()
1007 frame_offset_info->mp[1].len, in getBuf()
1008 num_bufs,frame_offset_info->num_planes, in getBuf()
1013 ret = mStreams[i]->getBuf(frame_offset_info, num_bufs, initial_reg_flag, bufs); in getBuf()
DQCameraHWI_Preview.cpp958 int QCameraStream_preview::getBuf(mm_camera_frame_len_offset *frame_offset_info, in getBuf() argument
975 memcpy(&mFrameOffsetInfo, frame_offset_info, sizeof(mFrameOffsetInfo)); in getBuf()
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_video.c117 mm_camera_frame_len_offset *frame_offset_info,
128 num_planes = frame_offset_info->num_planes;
130 planes[i] = frame_offset_info->mp[i].len;
133 frame_len = frame_offset_info->frame_len;
134 y_off = frame_offset_info->mp[0].offset;
135 cbcr_off = frame_offset_info->mp[1].offset;
137 …CDBG("Allocating video Memory for %d buffers frame_len = %d",num_bufs,frame_offset_info->frame_len…
Dmm_qcamera_preview.c49 mm_camera_frame_len_offset *frame_offset_info,
320 mm_camera_frame_len_offset *frame_offset_info,
331 num_planes = frame_offset_info->num_planes;
333 planes[i] = frame_offset_info->mp[i].len;
336 frame_len = frame_offset_info->frame_len;
337 y_off = frame_offset_info->mp[0].offset;
338 cbcr_off = frame_offset_info->mp[1].offset;
340 …CDBG("Allocating Preview Memory for %d buffers frame_len = %d",num_bufs,frame_offset_info->frame_l…
395 mm_camera_frame_len_offset *frame_offset_info, in mm_stream_initbuf() argument
422 __func__, stream_id, frame_offset_info->frame_len); in mm_stream_initbuf()
[all …]
Dmm_qcamera_app.c557 mm_camera_frame_len_offset *frame_offset_info, in mm_stream_alloc_bufs() argument
562 num_planes = frame_offset_info->num_planes; in mm_stream_alloc_bufs()
569 app_bufs->alloc[i].len = frame_offset_info->frame_len; in mm_stream_alloc_bufs()
587 app_bufs->bufs[i].planes[0].length = frame_offset_info->mp[0].len; in mm_stream_alloc_bufs()
589 app_bufs->bufs[i].planes[0].data_offset = frame_offset_info->mp[0].offset; in mm_stream_alloc_bufs()
592 app_bufs->bufs[i].planes[j].length = frame_offset_info->mp[j].len; in mm_stream_alloc_bufs()
594 app_bufs->bufs[i].planes[j].data_offset = frame_offset_info->mp[j].offset; in mm_stream_alloc_bufs()
Dmm_qcamera_snapshot.c60 mm_camera_frame_len_offset *frame_offset_info,
685 mm_camera_frame_len_offset frame_offset_info; in mm_app_start_snapshot() local
721 &frame_offset_info); in mm_app_start_snapshot()
722 CDBG_ERROR("%s : alloc jpeg buf (len=%d)",__func__, frame_offset_info.frame_len); in mm_app_start_snapshot()
725 &frame_offset_info, in mm_app_start_snapshot()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c284 cam_frame_len_offset_t *frame_offset_info, in mm_app_alloc_bufs() argument
298 size_t m = frame_offset_info->frame_len / multipleOf; in mm_app_alloc_bufs()
299 if ( ( frame_offset_info->frame_len % multipleOf ) != 0 ) { in mm_app_alloc_bufs()
304 app_bufs[i].mem_info.size = frame_offset_info->frame_len; in mm_app_alloc_bufs()
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()
320 app_bufs[i].buf.planes_buf.planes[0].data_offset = frame_offset_info->mp[0].offset; in mm_app_alloc_bufs()
322 for (j = 1; j < (uint8_t)frame_offset_info->num_planes; j++) { 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()
326 app_bufs[i].buf.planes_buf.planes[j].data_offset = frame_offset_info->mp[j].offset; in mm_app_alloc_bufs()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c284 cam_frame_len_offset_t *frame_offset_info, in mm_app_alloc_bufs() argument
298 size_t m = frame_offset_info->frame_len / multipleOf; in mm_app_alloc_bufs()
299 if ( ( frame_offset_info->frame_len % multipleOf ) != 0 ) { in mm_app_alloc_bufs()
304 app_bufs[i].mem_info.size = frame_offset_info->frame_len; in mm_app_alloc_bufs()
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()
320 app_bufs[i].buf.planes_buf.planes[0].data_offset = frame_offset_info->mp[0].offset; in mm_app_alloc_bufs()
322 for (j = 1; j < (uint8_t)frame_offset_info->num_planes; j++) { 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()
326 app_bufs[i].buf.planes_buf.planes[j].data_offset = frame_offset_info->mp[j].offset; in mm_app_alloc_bufs()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c280 cam_frame_len_offset_t *frame_offset_info, in mm_app_alloc_bufs() argument
294 size_t m = frame_offset_info->frame_len / multipleOf; in mm_app_alloc_bufs()
295 if ( ( frame_offset_info->frame_len % multipleOf ) != 0 ) { in mm_app_alloc_bufs()
300 app_bufs[i].mem_info.size = frame_offset_info->frame_len; in mm_app_alloc_bufs()
305 app_bufs[i].buf.num_planes = frame_offset_info->num_planes; in mm_app_alloc_bufs()
313 app_bufs[i].buf.planes[0].length = frame_offset_info->mp[0].len; in mm_app_alloc_bufs()
315 app_bufs[i].buf.planes[0].data_offset = frame_offset_info->mp[0].offset; in mm_app_alloc_bufs()
317 for (j = 1; j < frame_offset_info->num_planes; j++) { in mm_app_alloc_bufs()
318 app_bufs[i].buf.planes[j].length = frame_offset_info->mp[j].len; in mm_app_alloc_bufs()
320 app_bufs[i].buf.planes[j].data_offset = frame_offset_info->mp[j].offset; in mm_app_alloc_bufs()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h364 cam_frame_len_offset_t *frame_offset_info,
370 extern int mm_app_stream_initbuf(cam_frame_len_offset_t *frame_offset_info,
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/inc/
Dmm_qcamera_app.h221 mm_camera_frame_len_offset *frame_offset_info,
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h364 cam_frame_len_offset_t *frame_offset_info,
370 extern int mm_app_stream_initbuf(cam_frame_len_offset_t *frame_offset_info,
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h364 cam_frame_len_offset_t *frame_offset_info,
370 extern int mm_app_stream_initbuf(cam_frame_len_offset_t *frame_offset_info,
/device/moto/shamu/camera/QCamera/HAL2/core/inc/
DQCameraHWI.h236 mm_camera_frame_len_offset *frame_offset_info,
507 mm_camera_frame_len_offset *frame_offset_info,
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera_interface.h225 mm_camera_frame_len_offset *frame_offset_info,