Lines Matching refs:m_parent

114     m_parent = ctrl;  in QCameraStateMachine()
190 rc = m_parent->enableMsgType(m_DelayedMsgs); in applyDelayedMsgs()
348 rc = m_parent->setPreviewWindow((struct preview_stream_ops *)payload); in procEvtPreviewStoppedState()
352 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
359 rc = m_parent->setCallBacks(setcbs->notify_cb, in procEvtPreviewStoppedState()
367 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
372 rc = m_parent->enableMsgType(*((int32_t *)payload)); in procEvtPreviewStoppedState()
376 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
381 rc = m_parent->disableMsgType(*((int32_t *)payload)); in procEvtPreviewStoppedState()
385 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
390 int enabled = m_parent->msgTypeEnabled(*((int32_t *)payload)); in procEvtPreviewStoppedState()
395 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
401 rc = m_parent->updateParameters((char*)payload, needRestart); in procEvtPreviewStoppedState()
404 m_parent->m_memoryPool.clear(); in procEvtPreviewStoppedState()
407 rc = m_parent->commitParameterChanges(); in procEvtPreviewStoppedState()
412 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
417 result.params = m_parent->getParameters(); in procEvtPreviewStoppedState()
422 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
427 rc = m_parent->putParameters((char*)payload); in procEvtPreviewStoppedState()
431 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
436 if (m_parent->mPreviewWindow == NULL) { in procEvtPreviewStoppedState()
437 rc = m_parent->preparePreview(); in procEvtPreviewStoppedState()
445 rc = m_parent->preparePreview(); in procEvtPreviewStoppedState()
448 rc = m_parent->startPreview(); in procEvtPreviewStoppedState()
450 m_parent->unpreparePreview(); in procEvtPreviewStoppedState()
460 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
465 rc = m_parent->preparePreview(); in procEvtPreviewStoppedState()
468 rc = m_parent->startPreview(); in procEvtPreviewStoppedState()
470 m_parent->unpreparePreview(); in procEvtPreviewStoppedState()
478 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
488 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
498 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
503 rc = m_parent->release(); in procEvtPreviewStoppedState()
507 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
512 rc = m_parent->storeMetaDataInBuffers(*((int *)payload)); in procEvtPreviewStoppedState()
516 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
521 rc = m_parent->dump(*((int *)payload)); in procEvtPreviewStoppedState()
525 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
532 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtPreviewStoppedState()
538 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
552 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
563 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
568 rc = m_parent->cancelAutoFocus(); in procEvtPreviewStoppedState()
572 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
580 rc = m_parent->registerFaceImage(reg_payload->img_ptr, in procEvtPreviewStoppedState()
587 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
592 rc = m_parent->updateThermalLevel(payload); in procEvtPreviewStoppedState()
602 mm_camera_vtbl_t* handle = m_parent->mCameraHandle; in procEvtPreviewStoppedState()
609 m_parent->sendEvtNotify(CAMERA_MSG_ERROR, in procEvtPreviewStoppedState()
628 m_parent->signalEvtResult(&result); in procEvtPreviewStoppedState()
637 rc = m_parent->mParameters.updateFlashMode(internal_evt->led_data); in procEvtPreviewStoppedState()
679 m_parent->setPreviewWindow((struct preview_stream_ops *)payload); in procEvtPreviewReadyState()
680 if (m_parent->mPreviewWindow != NULL) { in procEvtPreviewReadyState()
682 rc = m_parent->startPreview(); in procEvtPreviewReadyState()
684 m_parent->unpreparePreview(); in procEvtPreviewReadyState()
694 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
701 rc = m_parent->setCallBacks(setcbs->notify_cb, in procEvtPreviewReadyState()
709 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
714 rc = m_parent->enableMsgType(*((int32_t *)payload)); in procEvtPreviewReadyState()
718 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
723 rc = m_parent->disableMsgType(*((int32_t *)payload)); in procEvtPreviewReadyState()
727 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
732 int enabled = m_parent->msgTypeEnabled(*((int32_t *)payload)); in procEvtPreviewReadyState()
737 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
743 rc = m_parent->updateParameters((char*)payload, needRestart); in procEvtPreviewReadyState()
747 m_parent->unpreparePreview(); in procEvtPreviewReadyState()
749 m_parent->m_memoryPool.clear(); in procEvtPreviewReadyState()
751 m_parent->commitParameterChanges(); in procEvtPreviewReadyState()
753 rc = m_parent->preparePreview(); in procEvtPreviewReadyState()
758 rc = m_parent->commitParameterChanges(); in procEvtPreviewReadyState()
765 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
770 result.params = m_parent->getParameters(); in procEvtPreviewReadyState()
775 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
780 rc = m_parent->putParameters((char*)payload); in procEvtPreviewReadyState()
784 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
794 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
799 m_parent->unpreparePreview(); in procEvtPreviewReadyState()
805 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
815 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
825 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
830 rc = m_parent->storeMetaDataInBuffers(*((int *)payload)); in procEvtPreviewReadyState()
834 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
839 rc = m_parent->dump(*((int *)payload)); in procEvtPreviewReadyState()
843 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
848 rc = m_parent->autoFocus(); in procEvtPreviewReadyState()
852 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
857 rc = m_parent->cancelAutoFocus(); in procEvtPreviewReadyState()
861 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
868 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtPreviewReadyState()
874 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
882 rc = m_parent->registerFaceImage(reg_payload->img_ptr, in procEvtPreviewReadyState()
889 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
906 m_parent->signalAPIResult(&result); in procEvtPreviewReadyState()
916 mm_camera_vtbl_t* handle = m_parent->mCameraHandle; in procEvtPreviewReadyState()
923 m_parent->sendEvtNotify(CAMERA_MSG_ERROR, in procEvtPreviewReadyState()
942 m_parent->signalEvtResult(&result); in procEvtPreviewReadyState()
951 rc = m_parent->mParameters.updateFlashMode(internal_evt->led_data); in procEvtPreviewReadyState()
1000 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1007 rc = m_parent->setCallBacks(setcbs->notify_cb, in procEvtPreviewingState()
1015 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1026 rc = m_parent->enableMsgType(enable_msgs); in procEvtPreviewingState()
1030 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1042 rc = m_parent->disableMsgType(disable_msgs); in procEvtPreviewingState()
1046 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1052 int enabled = m_parent->msgTypeEnabled(msgs); in procEvtPreviewingState()
1060 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1066 rc = m_parent->updateParameters((char*)payload, needRestart); in procEvtPreviewingState()
1071 m_parent->stopPreview(); in procEvtPreviewingState()
1073 m_parent->m_memoryPool.clear(); in procEvtPreviewingState()
1075 m_parent->commitParameterChanges(); in procEvtPreviewingState()
1077 rc = m_parent->preparePreview(); in procEvtPreviewingState()
1080 rc = m_parent->startPreview(); in procEvtPreviewingState()
1082 m_parent->unpreparePreview(); in procEvtPreviewingState()
1089 rc = m_parent->commitParameterChanges(); in procEvtPreviewingState()
1095 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1100 result.params = m_parent->getParameters(); in procEvtPreviewingState()
1105 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1110 rc = m_parent->putParameters((char*)payload); in procEvtPreviewingState()
1114 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1127 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1132 rc = m_parent->stopPreview(); in procEvtPreviewingState()
1138 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1149 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1159 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1164 rc = m_parent->storeMetaDataInBuffers(*((int *)payload)); in procEvtPreviewingState()
1168 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1173 rc = m_parent->dump(*((int *)payload)); in procEvtPreviewingState()
1177 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1182 rc = m_parent->autoFocus(); in procEvtPreviewingState()
1186 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1191 rc = m_parent->cancelAutoFocus(); in procEvtPreviewingState()
1195 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1200 rc = m_parent->startRecording(); in procEvtPreviewingState()
1209 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1214 rc = m_parent->prepareHardwareForSnapshot(FALSE); in procEvtPreviewingState()
1228 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1236 if ( m_parent->mParameters.getRecordingHintValue() == false) { in procEvtPreviewingState()
1237 if (m_parent->isZSLMode() || m_parent->isLongshotEnabled()) { in procEvtPreviewingState()
1240 rc = m_parent->takePicture(); in procEvtPreviewingState()
1245 if (!(m_parent->isRetroPicture()) || (rc != NO_ERROR)) { in procEvtPreviewingState()
1251 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1255 rc = m_parent->takePicture(); in procEvtPreviewingState()
1264 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1268 rc = m_parent->takeLiveSnapshot(); in procEvtPreviewingState()
1275 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1283 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtPreviewingState()
1289 m_parent->stopPreview(); in procEvtPreviewingState()
1291 m_parent->m_memoryPool.clear(); in procEvtPreviewingState()
1293 rc = m_parent->preparePreview(); in procEvtPreviewingState()
1296 rc = m_parent->startPreview(); in procEvtPreviewingState()
1298 m_parent->unpreparePreview(); in procEvtPreviewingState()
1307 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1315 rc = m_parent->registerFaceImage(reg_payload->img_ptr, in procEvtPreviewingState()
1322 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1335 m_parent->signalAPIResult(&result); in procEvtPreviewingState()
1344 rc = m_parent->processAutoFocusEvent(internal_evt->focus_data); in procEvtPreviewingState()
1349 rc = m_parent->processFaceDetectionResult(&internal_evt->faces_data); in procEvtPreviewingState()
1352 rc = m_parent->processHistogramStats(internal_evt->stats_data); in procEvtPreviewingState()
1355 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtPreviewingState()
1358 rc = m_parent->processASDUpdate(internal_evt->asd_data); in procEvtPreviewingState()
1361 rc = m_parent->mParameters.updateFlashMode(internal_evt->led_data); in procEvtPreviewingState()
1364 rc = m_parent->transAwbMetaToParams(internal_evt->awb_data); in procEvtPreviewingState()
1367 rc = m_parent->processAEInfo(internal_evt->ae_data); in procEvtPreviewingState()
1370 rc = m_parent->processFocusPositionInfo(internal_evt->focus_pos); in procEvtPreviewingState()
1373 rc = m_parent->processHDRData(internal_evt->hdr_data); in procEvtPreviewingState()
1376 rc = m_parent->processRetroAECUnlock(); in procEvtPreviewingState()
1379 rc = m_parent->processZSLCaptureDone(); in procEvtPreviewingState()
1395 mm_camera_vtbl_t* handle = m_parent->mCameraHandle; in procEvtPreviewingState()
1402 m_parent->sendEvtNotify(CAMERA_MSG_ERROR, in procEvtPreviewingState()
1416 rc = m_parent->updateThermalLevel(payload); in procEvtPreviewingState()
1426 m_parent->signalEvtResult(&result); in procEvtPreviewingState()
1492 m_parent->signalAPIResult(&result); in procEvtPrepareSnapshotState()
1501 rc = m_parent->processAutoFocusEvent(internal_evt->focus_data); in procEvtPrepareSnapshotState()
1506 m_parent->processPrepSnapshotDoneEvent(internal_evt->prep_snapshot_state); in procEvtPrepareSnapshotState()
1512 m_parent->signalAPIResult(&result); in procEvtPrepareSnapshotState()
1515 rc = m_parent->processFaceDetectionResult(&internal_evt->faces_data); in procEvtPrepareSnapshotState()
1518 rc = m_parent->processHistogramStats(internal_evt->stats_data); in procEvtPrepareSnapshotState()
1521 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtPrepareSnapshotState()
1524 rc = m_parent->processASDUpdate(internal_evt->asd_data); in procEvtPrepareSnapshotState()
1530 rc = m_parent->transAwbMetaToParams(internal_evt->awb_data); in procEvtPrepareSnapshotState()
1533 rc = m_parent->processAEInfo(internal_evt->ae_data); in procEvtPrepareSnapshotState()
1536 rc = m_parent->processFocusPositionInfo(internal_evt->focus_pos); in procEvtPrepareSnapshotState()
1539 rc = m_parent->processHDRData(internal_evt->hdr_data); in procEvtPrepareSnapshotState()
1542 rc = m_parent->processRetroAECUnlock(); in procEvtPrepareSnapshotState()
1545 rc = m_parent->processZSLCaptureDone(); in procEvtPrepareSnapshotState()
1561 mm_camera_vtbl_t* handle = m_parent->mCameraHandle; in procEvtPrepareSnapshotState()
1568 m_parent->sendEvtNotify(CAMERA_MSG_ERROR, in procEvtPrepareSnapshotState()
1587 m_parent->signalEvtResult(&result); in procEvtPrepareSnapshotState()
1592 rc = m_parent->updateThermalLevel(payload); in procEvtPrepareSnapshotState()
1635 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1642 rc = m_parent->setCallBacks(setcbs->notify_cb, in procEvtPicTakingState()
1650 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1655 rc = m_parent->enableMsgType(*((int32_t *)payload)); in procEvtPicTakingState()
1659 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1664 rc = m_parent->disableMsgType(*((int32_t *)payload)); in procEvtPicTakingState()
1668 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1673 int enabled = m_parent->msgTypeEnabled(*((int32_t *)payload)); in procEvtPicTakingState()
1678 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1684 rc = m_parent->updateParameters((char*)payload, needRestart); in procEvtPicTakingState()
1686 rc = m_parent->commitParameterChanges(); in procEvtPicTakingState()
1691 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1696 result.params = m_parent->getParameters(); in procEvtPicTakingState()
1701 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1706 rc = m_parent->putParameters((char*)payload); in procEvtPicTakingState()
1710 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1716 rc = m_parent->cancelPicture(); in procEvtPicTakingState()
1722 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1732 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1742 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1747 rc = m_parent->storeMetaDataInBuffers(*((int *)payload)); in procEvtPicTakingState()
1751 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1756 rc = m_parent->dump(*((int *)payload)); in procEvtPicTakingState()
1760 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1765 rc = m_parent->autoFocus(); in procEvtPicTakingState()
1769 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1774 rc = m_parent->cancelAutoFocus(); in procEvtPicTakingState()
1778 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1785 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtPicTakingState()
1797 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1802 rc = m_parent->cancelPicture(); in procEvtPicTakingState()
1807 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1815 rc = m_parent->registerFaceImage(reg_payload->img_ptr, in procEvtPicTakingState()
1822 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1827 if ( m_parent->isLongshotEnabled() ) { in procEvtPicTakingState()
1828 rc = m_parent->longShot(); in procEvtPicTakingState()
1837 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1853 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1862 rc = m_parent->processAutoFocusEvent(internal_evt->focus_data); in procEvtPicTakingState()
1871 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtPicTakingState()
1874 rc = m_parent->processASDUpdate(internal_evt->asd_data); in procEvtPicTakingState()
1880 rc = m_parent->transAwbMetaToParams(internal_evt->awb_data); in procEvtPicTakingState()
1883 rc = m_parent->processAEInfo(internal_evt->ae_data); in procEvtPicTakingState()
1886 rc = m_parent->processFocusPositionInfo(internal_evt->focus_pos); in procEvtPicTakingState()
1889 rc = m_parent->processHDRData(internal_evt->hdr_data); in procEvtPicTakingState()
1892 rc = m_parent->processRetroAECUnlock(); in procEvtPicTakingState()
1895 rc = m_parent->processZSLCaptureDone(); in procEvtPicTakingState()
1913 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1918 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1921 mm_camera_vtbl_t* handle = m_parent->mCameraHandle; in procEvtPicTakingState()
1928 m_parent->sendEvtNotify(CAMERA_MSG_ERROR, in procEvtPicTakingState()
1944 rc = m_parent->processJpegNotify(jpeg_job); in procEvtPicTakingState()
1949 bool restartPreview = m_parent->isPreviewRestartEnabled(); in procEvtPicTakingState()
1950 rc = m_parent->stopCaptureChannel(restartPreview); in procEvtPicTakingState()
1953 rc = m_parent->preparePreview(); in procEvtPicTakingState()
1955 m_parent->m_bPreviewStarted = true; in procEvtPicTakingState()
1957 rc = m_parent->startPreview(); in procEvtPicTakingState()
1964 m_parent->signalAPIResult(&result); in procEvtPicTakingState()
1969 rc = m_parent->cancelPicture(); in procEvtPicTakingState()
1971 bool restartPreview = m_parent->isPreviewRestartEnabled(); in procEvtPicTakingState()
1981 m_parent->signalEvtResult(&result); in procEvtPicTakingState()
1986 rc = m_parent->updateThermalLevel(payload); in procEvtPicTakingState()
2030 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2037 rc = m_parent->setCallBacks(setcbs->notify_cb, in procEvtRecordingState()
2045 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2050 rc = m_parent->enableMsgType(*((int32_t *)payload)); in procEvtRecordingState()
2054 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2059 rc = m_parent->disableMsgType(*((int32_t *)payload)); in procEvtRecordingState()
2063 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2068 int enabled = m_parent->msgTypeEnabled(*((int32_t *)payload)); in procEvtRecordingState()
2073 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2079 rc = m_parent->updateParameters((char*)payload, needRestart); in procEvtRecordingState()
2087 rc = m_parent->commitParameterChanges(); in procEvtRecordingState()
2093 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2098 result.params = m_parent->getParameters(); in procEvtRecordingState()
2103 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2108 rc = m_parent->putParameters((char*)payload); in procEvtRecordingState()
2112 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2122 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2132 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2137 rc = m_parent->storeMetaDataInBuffers(*((int *)payload)); in procEvtRecordingState()
2141 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2146 rc = m_parent->dump(*((int *)payload)); in procEvtRecordingState()
2150 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2155 rc = m_parent->autoFocus(); in procEvtRecordingState()
2159 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2164 rc = m_parent->cancelAutoFocus(); in procEvtRecordingState()
2168 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2175 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtRecordingState()
2181 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2187 rc = m_parent->takeLiveSnapshot(); in procEvtRecordingState()
2194 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2205 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2210 rc = m_parent->stopRecording(); in procEvtRecordingState()
2215 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2220 rc = m_parent->stopRecording(); in procEvtRecordingState()
2223 rc = m_parent->stopPreview(); in procEvtRecordingState()
2229 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2234 rc = m_parent->releaseRecordingFrame((const void *)payload); in procEvtRecordingState()
2238 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2246 rc = m_parent->registerFaceImage(reg_payload->img_ptr, in procEvtRecordingState()
2253 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2262 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2274 m_parent->signalAPIResult(&result); in procEvtRecordingState()
2283 rc = m_parent->processAutoFocusEvent(internal_evt->focus_data); in procEvtRecordingState()
2288 rc = m_parent->processFaceDetectionResult(&internal_evt->faces_data); in procEvtRecordingState()
2291 rc = m_parent->processHistogramStats(internal_evt->stats_data); in procEvtRecordingState()
2294 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtRecordingState()
2297 rc = m_parent->processASDUpdate(internal_evt->asd_data); in procEvtRecordingState()
2303 rc = m_parent->transAwbMetaToParams(internal_evt->awb_data); in procEvtRecordingState()
2306 rc = m_parent->processAEInfo(internal_evt->ae_data); in procEvtRecordingState()
2309 rc = m_parent->processFocusPositionInfo(internal_evt->focus_pos); in procEvtRecordingState()
2312 rc = m_parent->processHDRData(internal_evt->hdr_data); in procEvtRecordingState()
2315 rc = m_parent->processRetroAECUnlock(); in procEvtRecordingState()
2318 rc = m_parent->processZSLCaptureDone(); in procEvtRecordingState()
2332 mm_camera_vtbl_t* handle = m_parent->mCameraHandle; in procEvtRecordingState()
2339 m_parent->sendEvtNotify(CAMERA_MSG_ERROR, in procEvtRecordingState()
2353 rc = m_parent->updateThermalLevel(payload); in procEvtRecordingState()
2363 m_parent->signalEvtResult(&result); in procEvtRecordingState()
2406 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2413 rc = m_parent->setCallBacks(setcbs->notify_cb, in procEvtVideoPicTakingState()
2421 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2426 rc = m_parent->enableMsgType(*((int32_t *)payload)); in procEvtVideoPicTakingState()
2430 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2435 rc = m_parent->disableMsgType(*((int32_t *)payload)); in procEvtVideoPicTakingState()
2439 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2444 int enabled = m_parent->msgTypeEnabled(*((int32_t *)payload)); in procEvtVideoPicTakingState()
2449 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2455 rc = m_parent->updateParameters((char*)payload, needRestart); in procEvtVideoPicTakingState()
2463 rc = m_parent->commitParameterChanges(); in procEvtVideoPicTakingState()
2469 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2474 result.params = m_parent->getParameters(); in procEvtVideoPicTakingState()
2479 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2484 rc = m_parent->putParameters((char*)payload); in procEvtVideoPicTakingState()
2488 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2498 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2508 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2513 rc = m_parent->storeMetaDataInBuffers(*((int *)payload)); in procEvtVideoPicTakingState()
2517 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2522 rc = m_parent->dump(*((int *)payload)); in procEvtVideoPicTakingState()
2526 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2531 rc = m_parent->autoFocus(); in procEvtVideoPicTakingState()
2535 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2540 rc = m_parent->cancelAutoFocus(); in procEvtVideoPicTakingState()
2544 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2551 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtVideoPicTakingState()
2557 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2562 rc = m_parent->cancelLiveSnapshot(); in procEvtVideoPicTakingState()
2565 rc = m_parent->stopRecording(); in procEvtVideoPicTakingState()
2571 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2576 rc = m_parent->releaseRecordingFrame((const void *)payload); in procEvtVideoPicTakingState()
2580 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2585 rc = m_parent->cancelLiveSnapshot(); in procEvtVideoPicTakingState()
2590 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2598 rc = m_parent->registerFaceImage(reg_payload->img_ptr, in procEvtVideoPicTakingState()
2605 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2610 rc = m_parent->cancelLiveSnapshot(); in procEvtVideoPicTakingState()
2613 rc = m_parent->stopRecording(); in procEvtVideoPicTakingState()
2616 rc = m_parent->stopPreview(); in procEvtVideoPicTakingState()
2622 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2637 m_parent->signalAPIResult(&result); in procEvtVideoPicTakingState()
2646 rc = m_parent->processAutoFocusEvent(internal_evt->focus_data); in procEvtVideoPicTakingState()
2651 rc = m_parent->processFaceDetectionResult(&internal_evt->faces_data); in procEvtVideoPicTakingState()
2654 rc = m_parent->processHistogramStats(internal_evt->stats_data); in procEvtVideoPicTakingState()
2657 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtVideoPicTakingState()
2660 rc = m_parent->processASDUpdate(internal_evt->asd_data); in procEvtVideoPicTakingState()
2666 rc = m_parent->transAwbMetaToParams(internal_evt->awb_data); in procEvtVideoPicTakingState()
2669 rc = m_parent->processAEInfo(internal_evt->ae_data); in procEvtVideoPicTakingState()
2672 rc = m_parent->processFocusPositionInfo(internal_evt->focus_pos); in procEvtVideoPicTakingState()
2675 rc = m_parent->processHDRData(internal_evt->hdr_data); in procEvtVideoPicTakingState()
2678 rc = m_parent->processRetroAECUnlock(); in procEvtVideoPicTakingState()
2681 rc = m_parent->processZSLCaptureDone(); in procEvtVideoPicTakingState()
2695 mm_camera_vtbl_t* handle = m_parent->mCameraHandle; in procEvtVideoPicTakingState()
2702 m_parent->sendEvtNotify(CAMERA_MSG_ERROR, in procEvtVideoPicTakingState()
2718 rc = m_parent->processJpegNotify(jpeg_job); in procEvtVideoPicTakingState()
2723 rc = m_parent->cancelLiveSnapshot(); in procEvtVideoPicTakingState()
2728 m_parent->signalEvtResult(&result); in procEvtVideoPicTakingState()
2733 rc = m_parent->updateThermalLevel(payload); in procEvtVideoPicTakingState()
2771 rc = m_parent->setCallBacks(setcbs->notify_cb, in procEvtPreviewPicTakingState()
2779 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
2784 rc = m_parent->enableMsgType(*((int32_t *)payload)); in procEvtPreviewPicTakingState()
2788 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
2793 rc = m_parent->disableMsgType(*((int32_t *)payload)); in procEvtPreviewPicTakingState()
2797 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
2802 int enabled = m_parent->msgTypeEnabled(*((int32_t *)payload)); in procEvtPreviewPicTakingState()
2807 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
2813 rc = m_parent->updateParameters((char*)payload, needRestart); in procEvtPreviewPicTakingState()
2818 m_parent->stopPreview(); in procEvtPreviewPicTakingState()
2820 m_parent->m_memoryPool.clear(); in procEvtPreviewPicTakingState()
2822 m_parent->commitParameterChanges(); in procEvtPreviewPicTakingState()
2824 rc = m_parent->preparePreview(); in procEvtPreviewPicTakingState()
2827 rc = m_parent->startPreview(); in procEvtPreviewPicTakingState()
2829 m_parent->unpreparePreview(); in procEvtPreviewPicTakingState()
2836 rc = m_parent->commitParameterChanges(); in procEvtPreviewPicTakingState()
2842 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
2847 result.params = m_parent->getParameters(); in procEvtPreviewPicTakingState()
2852 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
2857 rc = m_parent->putParameters((char*)payload); in procEvtPreviewPicTakingState()
2861 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
2871 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
2881 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
2886 rc = m_parent->storeMetaDataInBuffers(*((int *)payload)); in procEvtPreviewPicTakingState()
2890 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
2895 rc = m_parent->dump(*((int *)payload)); in procEvtPreviewPicTakingState()
2899 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
2904 rc = m_parent->autoFocus(); in procEvtPreviewPicTakingState()
2908 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
2913 rc = m_parent->cancelAutoFocus(); in procEvtPreviewPicTakingState()
2917 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
2924 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtPreviewPicTakingState()
2936 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
2941 rc = m_parent->releaseRecordingFrame((const void *)payload); in procEvtPreviewPicTakingState()
2945 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
2950 if (m_parent->isZSLMode() || m_parent->isLongshotEnabled()) { in procEvtPreviewPicTakingState()
2951 rc = m_parent->cancelPicture(); in procEvtPreviewPicTakingState()
2953 rc = m_parent->cancelLiveSnapshot(); in procEvtPreviewPicTakingState()
2959 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
2964 if (m_parent->isZSLMode()) { in procEvtPreviewPicTakingState()
2966 rc = m_parent->cancelPicture(); in procEvtPreviewPicTakingState()
2967 m_parent->stopChannel(QCAMERA_CH_TYPE_ZSL); in procEvtPreviewPicTakingState()
2968 } else if (m_parent->isLongshotEnabled()) { in procEvtPreviewPicTakingState()
2970 rc = m_parent->cancelPicture(); in procEvtPreviewPicTakingState()
2972 rc = m_parent->cancelLiveSnapshot(); in procEvtPreviewPicTakingState()
2973 m_parent->stopChannel(QCAMERA_CH_TYPE_PREVIEW); in procEvtPreviewPicTakingState()
2976 m_parent->unpreparePreview(); in procEvtPreviewPicTakingState()
2981 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
2986 if (m_parent->isZSLMode()) { in procEvtPreviewPicTakingState()
2990 } else if (m_parent->isLongshotEnabled()) { in procEvtPreviewPicTakingState()
2995 rc = m_parent->startRecording(); in procEvtPreviewPicTakingState()
3003 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3011 rc = m_parent->registerFaceImage(reg_payload->img_ptr, in procEvtPreviewPicTakingState()
3018 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3023 if ( m_parent->isLongshotEnabled() ) { in procEvtPreviewPicTakingState()
3024 rc = m_parent->longShot(); in procEvtPreviewPicTakingState()
3033 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3040 if (m_parent->isRetroPicture()) { in procEvtPreviewPicTakingState()
3042 rc = m_parent->prepareHardwareForSnapshot(FALSE); in procEvtPreviewPicTakingState()
3049 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3059 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3074 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3083 rc = m_parent->processAutoFocusEvent(internal_evt->focus_data); in procEvtPreviewPicTakingState()
3088 if (m_parent->isRetroPicture()) { in procEvtPreviewPicTakingState()
3089 m_parent->processPrepSnapshotDoneEvent(internal_evt->prep_snapshot_state); in procEvtPreviewPicTakingState()
3094 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3102 rc = m_parent->processFaceDetectionResult(&internal_evt->faces_data); in procEvtPreviewPicTakingState()
3106 if (m_parent->isRetroPicture()) { in procEvtPreviewPicTakingState()
3112 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3120 rc = m_parent->processHistogramStats(internal_evt->stats_data); in procEvtPreviewPicTakingState()
3123 rc = m_parent->processZoomEvent(internal_evt->crop_data); in procEvtPreviewPicTakingState()
3126 rc = m_parent->processASDUpdate(internal_evt->asd_data); in procEvtPreviewPicTakingState()
3132 rc = m_parent->transAwbMetaToParams(internal_evt->awb_data); in procEvtPreviewPicTakingState()
3135 rc = m_parent->processAEInfo(internal_evt->ae_data); in procEvtPreviewPicTakingState()
3138 rc = m_parent->processFocusPositionInfo(internal_evt->focus_pos); in procEvtPreviewPicTakingState()
3141 rc = m_parent->processHDRData(internal_evt->hdr_data); in procEvtPreviewPicTakingState()
3144 rc = m_parent->processRetroAECUnlock(); in procEvtPreviewPicTakingState()
3147 rc = m_parent->processZSLCaptureDone(); in procEvtPreviewPicTakingState()
3161 mm_camera_vtbl_t* handle = m_parent->mCameraHandle; in procEvtPreviewPicTakingState()
3168 m_parent->sendEvtNotify(CAMERA_MSG_ERROR, in procEvtPreviewPicTakingState()
3186 rc = m_parent->processJpegNotify(jpeg_job); in procEvtPreviewPicTakingState()
3192 if (m_parent->isZSLMode() || m_parent->isLongshotEnabled()) { in procEvtPreviewPicTakingState()
3193 rc = m_parent->cancelPicture(); in procEvtPreviewPicTakingState()
3195 rc = m_parent->cancelLiveSnapshot(); in procEvtPreviewPicTakingState()
3198 if (m_parent->isRetroPicture()){ in procEvtPreviewPicTakingState()
3203 m_parent->signalAPIResult(&result); in procEvtPreviewPicTakingState()
3209 m_parent->signalEvtResult(&result); in procEvtPreviewPicTakingState()
3214 rc = m_parent->updateThermalLevel(payload); in procEvtPreviewPicTakingState()