/device/lge/mako/camera/QCamera/HAL/core/src/ |
D | QCameraHWI_Preview.cpp | 838 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 …]
|
D | QCameraStream.cpp | 134 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()
|
D | QCameraHWI_Still.cpp | 475 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, ®_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/ |
D | QCameraHWI_Preview.cpp | 666 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 …]
|
D | QCameraStream.cpp | 135 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()
|
D | QCameraHWI_Preview_7x27A.cpp | 542 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 …]
|
D | QCameraHWI_Still.cpp | 553 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, ®_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/ |
D | mm_qcamera_snapshot.c | 157 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/ |
D | mm_camera_channel.c | 141 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()
|
D | mm_camera_interface2.h | 132 mm_camera_image_fmt_t def; member 200 mm_camera_buf_def_t def; member 333 mm_camera_notify_frame_t def; member
|
D | mm_camera_notify.c | 69 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/ |
D | device.mk | 206 ro.ril.def.agps.mode=1 \
|
/device/generic/goldfish/camera/ |
D | EmulatedFakeCamera2.cpp | 1599 #define READ_IF_OK(res, what, def) \ in processRequest() argument 1600 (((res) == OK) ? (what) : (uint8_t)(def)) in processRequest()
|