Home
last modified time | relevance | path

Searched refs:def (Results 1 – 13 of 13) sorted by relevance

/device/lge/mako/camera/QCamera/HAL/core/src/
DQCameraHWI_Preview.cpp838 nsecs_t timeStamp = seconds_to_nanoseconds(frame->def.frame->ts.tv_sec) ; in processPreviewFrameWithDisplay()
839 timeStamp += frame->def.frame->ts.tv_nsec; in processPreviewFrameWithDisplay()
850 mHalCamCtrl->dumpFrameToFile(frame->def.frame, HAL_DUMP_FRM_PREVIEW); in processPreviewFrameWithDisplay()
853 mNotifyBuffer[frame->def.idx] = *frame; in processPreviewFrameWithDisplay()
856 mHalCamCtrl->mPreviewMemory.buffer_handle[frame->def.idx]); in processPreviewFrameWithDisplay()
858 if (BUFFER_LOCKED == mHalCamCtrl->mPreviewMemory.local_flag[frame->def.idx]) { in processPreviewFrameWithDisplay()
859 …nlock_buffer hdl =%p", __FUNCTION__, (*mHalCamCtrl->mPreviewMemory.buffer_handle[frame->def.idx])); in processPreviewFrameWithDisplay()
861 (*mHalCamCtrl->mPreviewMemory.buffer_handle[frame->def.idx]))) { in processPreviewFrameWithDisplay()
866 mHalCamCtrl->mPreviewMemory.local_flag[frame->def.idx] = BUFFER_UNLOCKED; in processPreviewFrameWithDisplay()
877 ion_fd = frame->def.frame->ion_dev_fd; in processPreviewFrameWithDisplay()
[all …]
DQCameraStream.cpp134 fmt.def.fmt = CAMERA_YUV_420_NV12; //dim.prev_format; in initChannel()
135 fmt.def.dim.width = dim.display_width; in initChannel()
136 fmt.def.dim.height = dim.display_height; in initChannel()
282 fmt.def.fmt = (cam_format_t)preview_format; in setFormat()
283 fmt.def.dim.width = dim.display_width; in setFormat()
284 fmt.def.dim.height = dim.display_height; in setFormat()
DQCameraHWI_Still.cpp475 fmt.def.fmt = CAMERA_BAYER_SBGGR10; in initRawSnapshotChannel()
476 fmt.def.dim.width = dim->raw_picture_width; in initRawSnapshotChannel()
477 fmt.def.dim.height = dim->raw_picture_height; in initRawSnapshotChannel()
481 fmt.def.fmt); in initRawSnapshotChannel()
618 reg_buf.def.buf.mp = new mm_camera_mp_buf_t[num_of_buf]; in initRawSnapshotBuffers()
619 if (!reg_buf.def.buf.mp) { in initRawSnapshotBuffers()
624 memset(reg_buf.def.buf.mp, 0, num_of_buf * sizeof(mm_camera_mp_buf_t)); in initRawSnapshotBuffers()
636 &mSnapshotStreamBuf, &reg_buf.def, in initRawSnapshotBuffers()
644 reg_buf.def.num = mSnapshotStreamBuf.num; in initRawSnapshotBuffers()
663 if (reg_buf.def.buf.mp) in initRawSnapshotBuffers()
[all …]
/device/lge/mako/camera/
DQCameraHWI_Preview.cpp666 nsecs_t timeStamp = seconds_to_nanoseconds(frame->def.frame->ts.tv_sec) ; in processPreviewFrameWithDisplay()
667 timeStamp += frame->def.frame->ts.tv_nsec; in processPreviewFrameWithDisplay()
678 mHalCamCtrl->dumpFrameToFile(frame->def.frame, HAL_DUMP_FRM_PREVIEW); in processPreviewFrameWithDisplay()
683 mHalCamCtrl->mPreviewMemory.buffer_handle[frame->def.idx], frame->def.idx); in processPreviewFrameWithDisplay()
686 if (BUFFER_LOCKED == mHalCamCtrl->mPreviewMemory.local_flag[frame->def.idx]) { in processPreviewFrameWithDisplay()
687 …nlock_buffer hdl =%p", __FUNCTION__, (*mHalCamCtrl->mPreviewMemory.buffer_handle[frame->def.idx])); in processPreviewFrameWithDisplay()
689 (*mHalCamCtrl->mPreviewMemory.buffer_handle[frame->def.idx]))) { in processPreviewFrameWithDisplay()
694 mHalCamCtrl->mPreviewMemory.local_flag[frame->def.idx] = BUFFER_UNLOCKED; in processPreviewFrameWithDisplay()
705 ion_fd = frame->def.frame->ion_dev_fd; in processPreviewFrameWithDisplay()
706 cache_inv_data.vaddr = (void *)frame->def.frame->buffer; in processPreviewFrameWithDisplay()
[all …]
DQCameraStream.cpp135 fmt.def.fmt = CAMERA_YUV_420_NV12; //dim.prev_format; in initChannel()
136 fmt.def.dim.width = dim.display_width; in initChannel()
137 fmt.def.dim.height = dim.display_height; in initChannel()
280 fmt.def.fmt = (cam_format_t)previewFmt; in setFormat()
281 fmt.def.dim.width = dim.display_width; in setFormat()
282 fmt.def.dim.height = dim.display_height; in setFormat()
DQCameraHWI_Preview_7x27A.cpp542 mHalCamCtrl->dumpFrameToFile(frame->def.frame, HAL_DUMP_FRM_PREVIEW); in processPreviewFrame()
547 mNotifyBuffer[frame->def.idx] = *frame; in processPreviewFrame()
551 mHalCamCtrl->mPreviewMemory.buffer_handle[frame->def.idx]); in processPreviewFrame()
553 if (BUFFER_LOCKED == mHalCamCtrl->mPreviewMemory.local_flag[frame->def.idx]) { in processPreviewFrame()
555 (*mHalCamCtrl->mPreviewMemory.buffer_handle[frame->def.idx]))) { in processPreviewFrame()
560 mHalCamCtrl->mPreviewMemory.local_flag[frame->def.idx] = BUFFER_UNLOCKED; in processPreviewFrame()
568 (buffer_handle_t *)mHalCamCtrl->mPreviewMemory.buffer_handle[frame->def.idx]); in processPreviewFrame()
599 …: error in dequeue_buffer, enqueue_buffer idx = %d, no free buffer now", __func__, frame->def.idx); in processPreviewFrame()
602 mLastQueuedFrame = &(mDisplayStreamBuf.frame[frame->def.idx]); in processPreviewFrame()
614 …data = mHalCamCtrl->mPreviewMemory.camera_memory[frame->def.idx];//mPreviewHeap->mBuffers[frame->d… in processPreviewFrame()
[all …]
DQCameraHWI_Still.cpp553 fmt.def.fmt = raw_fmt; in initRawSnapshotChannel()
554 fmt.def.dim.width = dim->raw_picture_width; in initRawSnapshotChannel()
555 fmt.def.dim.height = dim->raw_picture_height; in initRawSnapshotChannel()
559 fmt.def.fmt); in initRawSnapshotChannel()
697 reg_buf.def.buf.mp = new mm_camera_mp_buf_t[num_of_buf]; in initRawSnapshotBuffers()
698 if (!reg_buf.def.buf.mp) { in initRawSnapshotBuffers()
703 memset(reg_buf.def.buf.mp, 0, num_of_buf * sizeof(mm_camera_mp_buf_t)); in initRawSnapshotBuffers()
723 &mSnapshotStreamBuf, &reg_buf.def, in initRawSnapshotBuffers()
731 reg_buf.def.num = mSnapshotStreamBuf.num; in initRawSnapshotBuffers()
750 if (reg_buf.def.buf.mp) in initRawSnapshotBuffers()
[all …]
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c157 fmt.def.fmt = CAMERA_BAYER_SBGGR10; in mm_app_set_raw_snapshot_fmt()
158 fmt.def.dim.width = pme->dim.raw_picture_width; in mm_app_set_raw_snapshot_fmt()
159 fmt.def.dim.height = pme->dim.raw_picture_height; in mm_app_set_raw_snapshot_fmt()
184 reg_buf.def.buf.mp = malloc(sizeof(mm_camera_mp_buf_t)); in mm_app_prepare_raw_snapshot_buf()
185 if (!reg_buf.def.buf.mp) { in mm_app_prepare_raw_snapshot_buf()
221 reg_buf.def.buf.mp[0].frame = pme->raw_snapshot_buf.frame[0]; in mm_app_prepare_raw_snapshot_buf()
222 reg_buf.def.buf.mp[0].frame_offset = 0; in mm_app_prepare_raw_snapshot_buf()
223 reg_buf.def.buf.mp[0].num_planes = num_planes_main; in mm_app_prepare_raw_snapshot_buf()
225 reg_buf.def.buf.mp[0].planes[0].length = planes_main[0]; in mm_app_prepare_raw_snapshot_buf()
226 reg_buf.def.buf.mp[0].planes[0].m.userptr = pme->raw_snapshot_buf.frame[0].fd; in mm_app_prepare_raw_snapshot_buf()
[all …]
/device/lge/mako/camera/mm-camera-interface/
Dmm_camera_channel.c141 fmt1 = &fmt->def; in mm_camera_ch_util_set_fmt()
145 fmt1 = &fmt->def; in mm_camera_ch_util_set_fmt()
410 &val->def); in mm_camera_ch_util_qbuf()
411 cache_frame = val->def.frame; in mm_camera_ch_util_qbuf()
416 &val->def); in mm_camera_ch_util_qbuf()
417 cache_frame = val->def.frame; in mm_camera_ch_util_qbuf()
419 val->def.frame->fd, val->def.frame->ion_alloc.len, val->def.frame->buffer); in mm_camera_ch_util_qbuf()
Dmm_camera_interface2.h132 mm_camera_image_fmt_t def; member
200 mm_camera_buf_def_t def; member
333 mm_camera_notify_frame_t def; member
Dmm_camera_notify.c69 data[cnt].def.idx = idx; in mm_camera_read_raw_frame()
70 data[cnt].def.frame = &my_obj->ch[MM_CAMERA_CH_RAW].raw.stream.frame.frame[idx].frame; in mm_camera_read_raw_frame()
413 data[cnt].def.idx = idx; in mm_camera_read_preview_frame()
414 … data[cnt].def.frame = &my_obj->ch[MM_CAMERA_CH_PREVIEW].preview.stream.frame.frame[idx].frame; in mm_camera_read_preview_frame()
/device/htc/flounder/
Ddevice.mk206 ro.ril.def.agps.mode=1 \
/device/generic/goldfish/camera/
DEmulatedFakeCamera2.cpp1599 #define READ_IF_OK(res, what, def) \ in processRequest() argument
1600 (((res) == OK) ? (what) : (uint8_t)(def)) in processRequest()