Home
last modified time | relevance | path

Searched refs:cam_state (Results 1 – 6 of 6) sorted by relevance

/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_video.c191 if(pme->cam_state == CAMERA_STATE_RECORD) { in video_cb_signal()
335 pme->cam_state = CAMERA_STATE_RECORD; in mm_app_streamon_video()
354 pme->cam_state = CAMERA_STATE_PREVIEW; in mm_app_streamoff_video()
456 CDBG("%s: Start Recording mode = %d state = %d",__func__,pme->cam_mode,pme->cam_state); in startRecording()
459 switch(pme->cam_state) { in startRecording()
474 CDBG("%s : startRecording : mode = %d state = %d",__func__,pme->cam_mode,pme->cam_state); in startRecording()
475 if(pme->cam_mode == RECORDER_MODE && pme->cam_state == CAMERA_STATE_PREVIEW){ in startRecording()
491 if(pme->cam_mode != RECORDER_MODE || pme->cam_state != CAMERA_STATE_RECORD) { in stopRecording()
Dmm_qcamera_rdi.c250 pme->cam_state = CAMERA_STATE_RDI; in mm_app_streamon_rdi()
266 if (pme->cam_state == CAMERA_STATE_RDI) { in mm_app_start_rdi()
327 pme->cam_state = CAMERA_STATE_OPEN; in mm_app_streamoff_rdi()
356 pme->cam_state = CAMERA_STATE_OPEN; in mm_app_streamdel_rdi()
373 switch (pme->cam_state) { in startRdi()
Dmm_qcamera_snapshot.c598 pme->cam_state = CAMERA_STATE_SNAPSHOT; in mm_app_streamon_snapshot()
636 pme->cam_state = CAMERA_STATE_SNAPSHOT; in mm_app_streamon_raw()
807 pme->cam_state = CAMERA_STATE_OPEN; in mm_app_stop_snapshot()
845 pme->cam_state = CAMERA_STATE_OPEN; in mm_app_stop_raw()
976 pme->cam_state == CAMERA_STATE_RECORD) { in mm_app_take_live_snapshot()
1089 switch (pme->cam_state) { in mm_app_take_zsl()
1107 switch (pme->cam_state) { in mm_app_take_zsl()
1120 if (pme->cam_mode == ZSL_MODE && pme->cam_state == CAMERA_STATE_PREVIEW) { in mm_app_take_zsl()
1135 switch (pme->cam_state) { in mm_app_take_picture()
1153 switch (pme->cam_state) { in mm_app_take_picture()
[all …]
Dmm_qcamera_preview.c598 if (pme->cam_state == CAMERA_STATE_PREVIEW && pme->cam_mode == CAMERA_MODE) { in preview_cb_signal()
605 if (pme->cam_state == CAMERA_STATE_PREVIEW && pme->cam_mode == ZSL_MODE) { in previewzsl_cb_signal()
1013 pme->cam_state = CAMERA_STATE_PREVIEW; in mm_app_streamon_preview()
1114 pme->cam_state = CAMERA_STATE_PREVIEW; in mm_app_streamon_preview_zsl()
1151 if (pme->cam_state == CAMERA_STATE_PREVIEW) { in mm_app_start_preview()
1186 if (pme->cam_state == CAMERA_STATE_PREVIEW) { in mm_app_start_preview_stats()
1350 pme->cam_state = CAMERA_STATE_OPEN; in mm_app_streamoff_preview()
1387 pme->cam_state = CAMERA_STATE_OPEN; in mm_app_streamoff_preview_zsl()
1403 switch (pme->cam_state) { in startPreview()
1419 } else if (pme->cam_mode == CAMERA_MODE && pme->cam_state == CAMERA_STATE_OPEN) { in startPreview()
[all …]
Dmm_qcamera_app.c262 pme->cam_state = CAMERA_STATE_OPEN; in mm_app_open()
329 switch(pme->cam_state) { in switchRes()
355 switch(pme->cam_state) { in switchCamera()
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/inc/
Dmm_qcamera_app.h119 camera_state cam_state; member