Home
last modified time | relevance | path

Searched refs:preview (Results 1 – 14 of 14) sorted by relevance

/device/lge/mako/camera/QCamera/HAL/core/src/
DQCameraHWI_Preview.cpp293 if (mDisplayBuf.preview.buf.mp != NULL) { in putBufferToSurface()
294 delete[] mDisplayBuf.preview.buf.mp; in putBufferToSurface()
295 mDisplayBuf.preview.buf.mp = NULL; in putBufferToSurface()
378 if (mDisplayBuf.preview.buf.mp != NULL) { in freeBufferNoDisplay()
379 delete[] mDisplayBuf.preview.buf.mp; in freeBufferNoDisplay()
380 mDisplayBuf.preview.buf.mp = NULL; in freeBufferNoDisplay()
557 mDisplayBuf.preview.buf.mp = new mm_camera_mp_buf_t[mDisplayStreamBuf.num]; in initDisplayBuffers()
558 if (!mDisplayBuf.preview.buf.mp) { in initDisplayBuffers()
563 memset(mDisplayBuf.preview.buf.mp, 0, in initDisplayBuffers()
600 mDisplayBuf.preview.buf.mp[i].frame = mDisplayStreamBuf.frame[i]; in initDisplayBuffers()
[all …]
/device/lge/mako/camera/
DQCameraHWI_Preview_7x27A.cpp398 mDisplayBuf.preview.buf.mp = new mm_camera_mp_buf_t[mDisplayStreamBuf.num]; in initDisplayBuffers()
399 if (!mDisplayBuf.preview.buf.mp) { in initDisplayBuffers()
402 memset(mDisplayBuf.preview.buf.mp, 0, in initDisplayBuffers()
429 mDisplayBuf.preview.buf.mp[i].frame = mDisplayStreamBuf.frame[i]; in initDisplayBuffers()
430 mDisplayBuf.preview.buf.mp[i].frame_offset = mHalCamCtrl->mPreviewMemory.addr_offset[i]; in initDisplayBuffers()
431 mDisplayBuf.preview.buf.mp[i].num_planes = num_planes; in initDisplayBuffers()
435 mDisplayBuf.preview.buf.mp[i].planes[0].length = planes[0]; in initDisplayBuffers()
436 mDisplayBuf.preview.buf.mp[i].planes[0].m.userptr = mDisplayStreamBuf.frame[i].fd; in initDisplayBuffers()
437 mDisplayBuf.preview.buf.mp[i].planes[0].data_offset = 0; in initDisplayBuffers()
438 mDisplayBuf.preview.buf.mp[i].planes[0].reserved[0] = in initDisplayBuffers()
[all …]
DQCameraHWI_Preview.cpp307 if (mDisplayBuf.preview.buf.mp != NULL) { in putBufferToSurface()
308 delete[] mDisplayBuf.preview.buf.mp; in putBufferToSurface()
309 mDisplayBuf.preview.buf.mp = NULL; in putBufferToSurface()
494 mDisplayBuf.preview.buf.mp = new mm_camera_mp_buf_t[mDisplayStreamBuf.num]; in initDisplayBuffers()
495 if (!mDisplayBuf.preview.buf.mp) { in initDisplayBuffers()
500 memset(mDisplayBuf.preview.buf.mp, 0, in initDisplayBuffers()
549 mDisplayBuf.preview.buf.mp[i].frame = mDisplayStreamBuf.frame[i]; in initDisplayBuffers()
550 mDisplayBuf.preview.buf.mp[i].frame_offset = mHalCamCtrl->mPreviewMemory.addr_offset[i]; in initDisplayBuffers()
551 mDisplayBuf.preview.buf.mp[i].num_planes = num_planes; in initDisplayBuffers()
555 mDisplayBuf.preview.buf.mp[i].planes[0].length = planes[0]; in initDisplayBuffers()
[all …]
/device/lge/mako/camera/mm-camera-interface/
Dmm_camera_channel.c110 *stream1 = &my_obj->ch[ch_type].preview.stream; in mm_camera_ch_util_get_stream_objs()
144 stream1 = &my_obj->ch[ch_type].preview.stream; in mm_camera_ch_util_set_fmt()
199 stream1 = &my_obj->ch[ch_type].preview.stream; in mm_camera_ch_util_acquire()
261 rc = mm_camera_stream_fsm_fn_vtbl(my_obj, &my_obj->ch[ch_type].preview.stream, in mm_camera_ch_util_stream_null_val()
304 &my_obj->ch[ch_type].preview.stream, evt, in mm_camera_ch_util_reg_buf()
415 &my_obj->ch[ch_type].preview.stream, evt, in mm_camera_ch_util_qbuf()
448 stream = &my_obj->ch[MM_CAMERA_CH_PREVIEW].preview.stream; in mm_camera_ch_util_qbuf()
511 &my_obj->ch[ch_type].preview.stream, evt, in mm_camera_ch_util_get_crop()
615 stream2 = &my_obj->ch[MM_CAMERA_CH_PREVIEW].preview.stream; in mm_camera_dispatch_buffered_frames()
Dmm_camera_notify.c114 peerstream = &my_obj->ch[MM_CAMERA_CH_PREVIEW].preview.stream; in mm_camera_zsl_frame_cmp_and_enq()
340 …peer_frame = mm_camera_stream_frame_deq_no_lock(&my_obj->ch[MM_CAMERA_CH_PREVIEW].preview.stream.f… in mm_camera_zsl_frame_cmp_and_enq()
402 stream = &my_obj->ch[MM_CAMERA_CH_PREVIEW].preview.stream; 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()
418 my_obj->ch[MM_CAMERA_CH_PREVIEW].preview.stream.frame.ref_count[idx] = 2; in mm_camera_read_preview_frame()
420 my_obj->ch[MM_CAMERA_CH_PREVIEW].preview.stream.frame.ref_count[idx] = 1; in mm_camera_read_preview_frame()
438 &my_obj->ch[MM_CAMERA_CH_PREVIEW].preview.stream.frame.frame[idx], in mm_camera_read_preview_frame()
Dmm_camera.h174 mm_camera_ch_preview_t preview; member
Dmm_camera_interface2.h201 mm_camera_buf_def_t preview; member
Dmm_camera.c688 MM_CAMERA_STATE_EVT_REQUEST_BUF, (void *)&buf->preview); in mm_camera_request_buf()
696 MM_CAMERA_STATE_EVT_REG_BUF, (void *)&buf->preview); in mm_camera_prepare_buf()
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_dual_test.c73 uint16_t preview; member
766 for (j = 0; j < params.preview; j++) { in front_thread()
823 for (j = 0; j < params.preview; j++) { in back_thread()
886 params.preview = 5; in mm_app_dtc_7()
921 bparams.preview = 5; in mm_app_dtc_8()
924 fparams.preview = 5; in mm_app_dtc_8()
958 bparams.preview = 5; in mm_app_dtc_9()
961 fparams.preview = 5; in mm_app_dtc_9()
997 bparams.preview = 5; in mm_app_dtc_10()
1000 fparams.preview = 5; in mm_app_dtc_10()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_dual_test.c73 uint16_t preview; member
766 for (j = 0; j < params.preview; j++) { in front_thread()
823 for (j = 0; j < params.preview; j++) { in back_thread()
886 params.preview = 5; in mm_app_dtc_7()
921 bparams.preview = 5; in mm_app_dtc_8()
924 fparams.preview = 5; in mm_app_dtc_8()
958 bparams.preview = 5; in mm_app_dtc_9()
961 fparams.preview = 5; in mm_app_dtc_9()
997 bparams.preview = 5; in mm_app_dtc_10()
1000 fparams.preview = 5; in mm_app_dtc_10()
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_dual_test.c73 uint16_t preview; member
766 for (j = 0; j < params.preview; j++) { in front_thread()
823 for (j = 0; j < params.preview; j++) { in back_thread()
886 params.preview = 5; in mm_app_dtc_7()
921 bparams.preview = 5; in mm_app_dtc_8()
924 fparams.preview = 5; in mm_app_dtc_8()
958 bparams.preview = 5; in mm_app_dtc_9()
961 fparams.preview = 5; in mm_app_dtc_9()
997 bparams.preview = 5; in mm_app_dtc_10()
1000 fparams.preview = 5; in mm_app_dtc_10()
[all …]
Dmm_qcamera_snapshot.c1020 preview: in mm_app_take_picture_raw()
1071 preview: in mm_app_take_picture_yuv()
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_dual_test.c73 uint16_t preview; member
766 for (j = 0; j < params.preview; j++) { in front_thread()
823 for (j = 0; j < params.preview; j++) { in back_thread()
886 params.preview = 5; in mm_app_dtc_7()
921 bparams.preview = 5; in mm_app_dtc_8()
924 fparams.preview = 5; in mm_app_dtc_8()
958 bparams.preview = 5; in mm_app_dtc_9()
961 fparams.preview = 5; in mm_app_dtc_9()
997 bparams.preview = 5; in mm_app_dtc_10()
1000 fparams.preview = 5; in mm_app_dtc_10()
[all …]
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c1271 preview: in mm_app_take_picture_yuv()
1390 goto preview; in mm_app_take_raw_picture()
1395 preview: in mm_app_take_raw_picture()