Home
last modified time | relevance | path

Searched refs:MM_CAMERA_SNAPSHOT_MAIN (Results 1 – 9 of 9) sorted by relevance

/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c247 if (pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id == recvd_frame->bufs[i]->stream_id) { in encodeData()
305 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id, in encodeData()
435 if (pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id == recvd_frame->bufs[i]->stream_id) { in snapshot_raw_cb()
472 …pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->c… in mm_app_add_snapshot_stream()
474 MM_CAMERA_SNAPSHOT_MAIN, 0); in mm_app_add_snapshot_stream()
476 CDBG("Add Snapshot main is successfull stream ID = %d",pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id); in mm_app_add_snapshot_stream()
477 if (!pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id) { in mm_app_add_snapshot_stream()
516 mm_app_set_raw_snapshot_fmt(cam_id,&pme->stream[MM_CAMERA_SNAPSHOT_MAIN].str_config.fmt); in mm_app_config_raw_format()
518 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].str_config.need_stream_on = 1; in mm_app_config_raw_format()
519 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].str_config.num_of_bufs = 1; in mm_app_config_raw_format()
[all …]
Dmm_qcamera_video.c245 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].str_config.need_stream_on = pme->fullSizeSnapshot; in mm_app_config_video()
246 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].str_config.num_of_bufs = 1; in mm_app_config_video()
248 mm_app_set_live_snapshot_fmt(cam_id,&pme->stream[MM_CAMERA_SNAPSHOT_MAIN].str_config.fmt); in mm_app_config_video()
250 …cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id, in mm_app_config_video()
251 &pme->stream[MM_CAMERA_SNAPSHOT_MAIN].str_config))) { in mm_app_config_video()
279 …pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->c… in mm_app_prepare_video()
281 MM_CAMERA_SNAPSHOT_MAIN, 0); in mm_app_prepare_video()
283 CDBG("Add Snapshot main is successfull stream ID = %d",pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id); in mm_app_prepare_video()
284 if(!pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id) { in mm_app_prepare_video()
307 …cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id))){ in mm_app_unprepare_video()
Dmm_qcamera_preview.c486 case MM_CAMERA_SNAPSHOT_MAIN:
574 case MM_CAMERA_SNAPSHOT_MAIN:
1056 …pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->c… in mm_app_prepare_preview_zsl()
1058 MM_CAMERA_SNAPSHOT_MAIN, 0); in mm_app_prepare_preview_zsl()
1060 CDBG("Add Snapshot main is successfull stream ID = %d",pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id); in mm_app_prepare_preview_zsl()
1061 if (!pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id) { in mm_app_prepare_preview_zsl()
1067 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].str_config.need_stream_on = 1; in mm_app_prepare_preview_zsl()
1068 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].str_config.num_of_bufs = 7; in mm_app_prepare_preview_zsl()
1070 mm_app_set_snapshot_fmt(cam_id,&pme->stream[MM_CAMERA_SNAPSHOT_MAIN].str_config.fmt); in mm_app_prepare_preview_zsl()
1073 …cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id, in mm_app_prepare_preview_zsl()
[all …]
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI.cpp447 QCameraStream *main_stream = mStreams[MM_CAMERA_SNAPSHOT_MAIN]; in encodeData()
899 mStreams[MM_CAMERA_SNAPSHOT_MAIN] = new QCameraStream_SnapshotMain( in createSnapshot()
907 MM_CAMERA_SNAPSHOT_MAIN, in createSnapshot()
910 if (!mStreams[MM_CAMERA_SNAPSHOT_MAIN]) { in createSnapshot()
1647 case MM_CAMERA_SNAPSHOT_MAIN: in processChannelEvent()
1895 ret = mStreams[MM_CAMERA_SNAPSHOT_MAIN]->initStream(TRUE, TRUE); in startPreview2()
1903 stream[1] = mStreams[MM_CAMERA_SNAPSHOT_MAIN]->mStreamId; in startPreview2()
1925 mStreams[MM_CAMERA_SNAPSHOT_MAIN]->deinitStream(); in startPreview2()
1933 mStreams[MM_CAMERA_SNAPSHOT_MAIN]->deinitStream(); in startPreview2()
1937 ret = mStreams[MM_CAMERA_SNAPSHOT_MAIN]->streamOn(); in startPreview2()
[all …]
DQCameraStream.cpp57 case MM_CAMERA_SNAPSHOT_MAIN: in stream_cb_routine()
235 case MM_CAMERA_SNAPSHOT_MAIN: in setFormat()
DQCameraHWI_Parm.cpp4241 if(mStreams[MM_CAMERA_SNAPSHOT_MAIN]) { in setDimension()
4242 mStreams[MM_CAMERA_SNAPSHOT_MAIN]->mFormat = dim.main_img_format; in setDimension()
4244 mStreams[MM_CAMERA_SNAPSHOT_MAIN]->mWidth = dim.picture_width; in setDimension()
4245 mStreams[MM_CAMERA_SNAPSHOT_MAIN]->mHeight = dim.picture_height; in setDimension()
4262 mStreams[MM_CAMERA_SNAPSHOT_MAIN]->mWidth = raw_res.width; in setDimension()
4263 mStreams[MM_CAMERA_SNAPSHOT_MAIN]->mHeight = raw_res.height; in setDimension()
4264 mStreams[MM_CAMERA_SNAPSHOT_MAIN]->mFormat = raw_res.format; in setDimension()
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera_interface.h423 MM_CAMERA_SNAPSHOT_MAIN, enumerator
/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraStream.cpp140 case MM_CAMERA_SNAPSHOT_MAIN: in stream_cb_routine()
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_channel.c725 case MM_CAMERA_SNAPSHOT_MAIN: in mm_channel_get_ext_mode_from_img_mode()