Lines Matching refs:m_ctlInfo
1060 m_ctlInfo.flash.i_flashMode = AA_AEMODE_ON; in ExynosCameraHWInterface2()
1061 m_ctlInfo.flash.m_afFlashDoneFlg= false; in ExynosCameraHWInterface2()
1062 m_ctlInfo.flash.m_flashEnableFlg = false; in ExynosCameraHWInterface2()
1063 m_ctlInfo.flash.m_flashFrameCount = 0; in ExynosCameraHWInterface2()
1064 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_NONE; in ExynosCameraHWInterface2()
1065 m_ctlInfo.flash.m_flashTimeOut = 0; in ExynosCameraHWInterface2()
1066 m_ctlInfo.flash.m_flashDecisionResult = false; in ExynosCameraHWInterface2()
1067 m_ctlInfo.flash.m_flashTorchMode = false; in ExynosCameraHWInterface2()
1068 m_ctlInfo.flash.m_precaptureState = 0; in ExynosCameraHWInterface2()
1069 m_ctlInfo.flash.m_precaptureTriggerId = 0; in ExynosCameraHWInterface2()
1071 m_ctlInfo.ae.aeStateNoti = AE_STATE_INACTIVE; in ExynosCameraHWInterface2()
1073 m_ctlInfo.af.m_afTriggerTimeOut = 0; in ExynosCameraHWInterface2()
1075 m_ctlInfo.scene.prevSceneMode = AA_SCENE_MODE_MAX; in ExynosCameraHWInterface2()
2893 switch (m_ctlInfo.flash.m_flashCnt) { in m_preCaptureSetter()
2897 if (m_ctlInfo.flash.m_precaptureTriggerId > 0) { in m_preCaptureSetter()
2898 if (m_ctlInfo.flash.m_flashTimeOut == 0) { in m_preCaptureSetter()
2899 if (m_ctlInfo.flash.i_flashMode == AA_AEMODE_ON_ALWAYS_FLASH) { in m_preCaptureSetter()
2901 m_ctlInfo.flash.m_flashTimeOut = 5; in m_preCaptureSetter()
2904 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_ON_WAIT; in m_preCaptureSetter()
2906 m_ctlInfo.flash.m_flashTimeOut--; in m_preCaptureSetter()
2909 if (m_ctlInfo.flash.i_flashMode == AA_AEMODE_ON_ALWAYS_FLASH) { in m_preCaptureSetter()
2911 m_ctlInfo.flash.m_flashTimeOut = 5; in m_preCaptureSetter()
2914 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_ON_WAIT; in m_preCaptureSetter()
2920 if (!m_ctlInfo.flash.m_afFlashDoneFlg) in m_preCaptureSetter()
2922 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_AUTO_AE_AWB_LOCK; in m_preCaptureSetter()
2929 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_AE_AWB_LOCK_WAIT; in m_preCaptureSetter()
2943 m_ctlInfo.flash.m_flashEnableFlg = false; in m_preCaptureSetter()
2947 m_ctlInfo.flash.m_flashTimeOut = FLASH_STABLE_WAIT_TIMEOUT; in m_preCaptureSetter()
2951 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_CAPTURE_WAIT; // auto transition in m_preCaptureSetter()
2958 …h] Flash Capture (%d)!!!!!", __FUNCTION__, (FLASH_STABLE_WAIT_TIMEOUT -m_ctlInfo.flash.m_flashTim… in m_preCaptureSetter()
2961 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_CAPTURE_END; // auto transition in m_preCaptureSetter()
2968 m_ctlInfo.flash.m_flashEnableFlg = false; in m_preCaptureSetter()
2969 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_NONE; in m_preCaptureSetter()
2970 m_ctlInfo.flash.m_afFlashDoneFlg= false; in m_preCaptureSetter()
2975 ALOGE("(%s): [Flash] flash state error!! (%d)", __FUNCTION__, m_ctlInfo.flash.m_flashCnt); in m_preCaptureSetter()
2982 switch (m_ctlInfo.flash.m_flashCnt) { in m_preCaptureListenerSensor()
2984 if (m_ctlInfo.flash.m_flashDecisionResult) { in m_preCaptureListenerSensor()
2986 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_AUTO_DONE; in m_preCaptureListenerSensor()
2993 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_AUTO_DONE; in m_preCaptureListenerSensor()
3003 switch (m_ctlInfo.flash.m_flashCnt) { in m_preCaptureListenerISP()
3009 m_ctlInfo.flash.m_flashDecisionResult = false; in m_preCaptureListenerISP()
3011 m_ctlInfo.flash.m_flashDecisionResult = true; in m_preCaptureListenerISP()
3012 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_ON_DONE; in m_preCaptureListenerISP()
3014 if (m_ctlInfo.flash.m_flashTimeOut == 0) { in m_preCaptureListenerISP()
3016 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_ON_DONE; in m_preCaptureListenerISP()
3017 m_ctlInfo.flash.m_flashDecisionResult = false; in m_preCaptureListenerISP()
3019 m_ctlInfo.flash.m_flashTimeOut--; in m_preCaptureListenerISP()
3026 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_AUTO_WAIT; in m_preCaptureListenerISP()
3032 if (m_ctlInfo.flash.m_flashDecisionResult) { in m_preCaptureListenerISP()
3034 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_CAPTURE_JPEG; in m_preCaptureListenerISP()
3036 if (m_ctlInfo.flash.m_flashTimeOut == 0) { in m_preCaptureListenerISP()
3038 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_CAPTURE_JPEG; in m_preCaptureListenerISP()
3040 … ALOGV("(%s): [Flash] Wait firingStable - %d", __FUNCTION__, m_ctlInfo.flash.m_flashTimeOut); in m_preCaptureListenerISP()
3041 m_ctlInfo.flash.m_flashTimeOut--; in m_preCaptureListenerISP()
3045 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_CAPTURE_JPEG; in m_preCaptureListenerISP()
3053 switch (m_ctlInfo.flash.i_flashMode) { in m_preCaptureAeState()
3060 if (m_ctlInfo.flash.m_flashDecisionResult && m_ctlInfo.flash.m_afFlashDoneFlg) in m_preCaptureAeState()
3162 } else if (m_ctlInfo.flash.m_flashCnt >= IS_FLASH_STATE_CAPTURE) { in m_sensorThreadFunc()
3163 matchedFrameCnt = m_ctlInfo.flash.m_flashFrameCount; in m_sensorThreadFunc()
3177 m_requestManager->UpdateIspParameters(shot_ext, matchedFrameCnt, &m_ctlInfo); in m_sensorThreadFunc()
3183 if (m_ctlInfo.scene.prevSceneMode != shot_ext->shot.ctl.aa.sceneMode) { in m_sensorThreadFunc()
3185 m_ctlInfo.scene.prevSceneMode = shot_ext->shot.ctl.aa.sceneMode; in m_sensorThreadFunc()
3219 if (m_IsAfModeUpdateRequired && (m_ctlInfo.flash.m_precaptureTriggerId == 0)) { in m_sensorThreadFunc()
3227 if ((m_ctlInfo.scene.prevSceneMode == AA_SCENE_MODE_UNSUPPORTED) || in m_sensorThreadFunc()
3228 (m_ctlInfo.scene.prevSceneMode == AA_SCENE_MODE_FACE_PRIORITY)) { in m_sensorThreadFunc()
3239 if (m_ctlInfo.flash.m_afFlashDoneFlg) { in m_sensorThreadFunc()
3240 m_ctlInfo.flash.m_flashEnableFlg = false; in m_sensorThreadFunc()
3241 m_ctlInfo.flash.m_afFlashDoneFlg = false; in m_sensorThreadFunc()
3242 m_ctlInfo.flash.m_flashDecisionResult = false; in m_sensorThreadFunc()
3243 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_NONE; in m_sensorThreadFunc()
3245 m_ctlInfo.af.m_afTriggerTimeOut = 1; in m_sensorThreadFunc()
3265 if (m_ctlInfo.flash.m_flashEnableFlg && m_ctlInfo.flash.m_afFlashDoneFlg) { in m_sensorThreadFunc()
3267 if (m_ctlInfo.flash.m_flashCnt == IS_FLASH_STATE_ON_DONE) { in m_sensorThreadFunc()
3373 if ((m_ctlInfo.flash.i_flashMode >= AA_AEMODE_ON_AUTO_FLASH) in m_sensorThreadFunc()
3376 if (!m_ctlInfo.flash.m_flashDecisionResult) { in m_sensorThreadFunc()
3377 m_ctlInfo.flash.m_flashEnableFlg = false; in m_sensorThreadFunc()
3378 m_ctlInfo.flash.m_afFlashDoneFlg = false; in m_sensorThreadFunc()
3379 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_NONE; in m_sensorThreadFunc()
3380 } else if ((m_ctlInfo.flash.m_flashCnt == IS_FLASH_STATE_AUTO_DONE) || in m_sensorThreadFunc()
3381 (m_ctlInfo.flash.m_flashCnt == IS_FLASH_STATE_AUTO_OFF)) { in m_sensorThreadFunc()
3384 m_ctlInfo.flash.m_flashFrameCount = matchedFrameCnt; in m_sensorThreadFunc()
3385 m_ctlInfo.flash.m_flashEnableFlg = true; in m_sensorThreadFunc()
3386 m_ctlInfo.flash.m_afFlashDoneFlg = false; in m_sensorThreadFunc()
3387 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_CAPTURE; in m_sensorThreadFunc()
3388 } else if (m_ctlInfo.flash.m_flashCnt < IS_FLASH_STATE_AUTO_DONE) { in m_sensorThreadFunc()
3389 …): [Flash] Flash capture Error- wrong state !!!!!! (%d)", __FUNCTION__, m_ctlInfo.flash.m_flashCnt… in m_sensorThreadFunc()
3391 m_ctlInfo.flash.m_flashEnableFlg = false; in m_sensorThreadFunc()
3392 m_ctlInfo.flash.m_afFlashDoneFlg= false; in m_sensorThreadFunc()
3393 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_NONE; in m_sensorThreadFunc()
3396 m_ctlInfo.flash.m_flashDecisionResult = false; in m_sensorThreadFunc()
3400 if (m_ctlInfo.flash.m_flashTorchMode == false) { in m_sensorThreadFunc()
3401 m_ctlInfo.flash.m_flashTorchMode = true; in m_sensorThreadFunc()
3404 if (m_ctlInfo.flash.m_flashTorchMode == true) { in m_sensorThreadFunc()
3407 m_ctlInfo.flash.m_flashTorchMode = false; in m_sensorThreadFunc()
3419 m_ctlInfo.flash.m_flashDecisionResult = false; in m_sensorThreadFunc()
3429 m_ctlInfo.flash.m_flashEnableFlg = false; in m_sensorThreadFunc()
3432 if (m_ctlInfo.flash.m_flashEnableFlg) { in m_sensorThreadFunc()
3469 if (m_ctlInfo.flash.m_flashEnableFlg) in m_sensorThreadFunc()
3518 …if (matchedFrameCnt != -1 && m_nightCaptureCnt == 0 && (m_ctlInfo.flash.m_flashCnt < IS_FLASH_STAT… in m_sensorThreadFunc()
3531 if (m_ctlInfo.flash.m_flashCnt < IS_FLASH_STATE_CAPTURE) { in m_sensorThreadFunc()
4804 m_ctlInfo.flash.m_precaptureTriggerId = id; in OnPrecaptureMeteringTriggerStart()
4805 m_ctlInfo.ae.aeStateNoti = AE_STATE_INACTIVE; in OnPrecaptureMeteringTriggerStart()
4806 if ((m_ctlInfo.flash.i_flashMode >= AA_AEMODE_ON_AUTO_FLASH) && (m_cameraId == 0)) { in OnPrecaptureMeteringTriggerStart()
4808 switch (m_ctlInfo.flash.m_flashCnt) { in OnPrecaptureMeteringTriggerStart()
4815 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_ON; in OnPrecaptureMeteringTriggerStart()
4816 m_ctlInfo.flash.m_flashEnableFlg = true; in OnPrecaptureMeteringTriggerStart()
4817 m_ctlInfo.flash.m_flashTimeOut = 0; in OnPrecaptureMeteringTriggerStart()
4822 m_ctlInfo.flash.m_flashEnableFlg = false; in OnPrecaptureMeteringTriggerStart()
4823 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_NONE; in OnPrecaptureMeteringTriggerStart()
4825 …eringTriggerStart (ID %d) (flag : %d) (cnt : %d)", id, m_ctlInfo.flash.m_flashEnableFlg, m_ctlInfo… in OnPrecaptureMeteringTriggerStart()
4839 if ((m_ctlInfo.flash.i_flashMode >= AA_AEMODE_ON_AUTO_FLASH) in OnAfTrigger()
4840 && (m_ctlInfo.flash.m_flashEnableFlg == false) in OnAfTrigger()
4843 m_ctlInfo.flash.m_flashEnableFlg = true; in OnAfTrigger()
4844 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_ON; in OnAfTrigger()
4845 m_ctlInfo.flash.m_flashDecisionResult = false; in OnAfTrigger()
4846 m_ctlInfo.flash.m_afFlashDoneFlg = true; in OnAfTrigger()
4918 if ((m_ctlInfo.flash.i_flashMode >= AA_AEMODE_ON_AUTO_FLASH) in OnAfTriggerCAFPicture()
4919 && (m_ctlInfo.flash.m_flashEnableFlg == false) in OnAfTriggerCAFPicture()
4922 m_ctlInfo.flash.m_flashEnableFlg = true; in OnAfTriggerCAFPicture()
4923 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_ON; in OnAfTriggerCAFPicture()
4924 m_ctlInfo.flash.m_flashDecisionResult = false; in OnAfTriggerCAFPicture()
4925 m_ctlInfo.flash.m_afFlashDoneFlg = true; in OnAfTriggerCAFPicture()
5006 if (m_ctlInfo.flash.m_precaptureTriggerId > 0) { in OnPrecaptureMeteringNotificationSensor()
5008 if (m_ctlInfo.ae.aeStateNoti != AE_STATE_PRECAPTURE) { in OnPrecaptureMeteringNotificationSensor()
5011 m_ctlInfo.flash.m_precaptureTriggerId, 0, m_callbackCookie); in OnPrecaptureMeteringNotificationSensor()
5012 … ALOGV("(%s) ANDROID_CONTROL_AE_STATE_PRECAPTURE (%d)", __FUNCTION__, m_ctlInfo.flash.m_flashCnt); in OnPrecaptureMeteringNotificationSensor()
5015 m_ctlInfo.flash.m_precaptureTriggerId, 0, m_callbackCookie); in OnPrecaptureMeteringNotificationSensor()
5016 m_ctlInfo.ae.aeStateNoti = AE_STATE_PRECAPTURE; in OnPrecaptureMeteringNotificationSensor()
5023 if (m_ctlInfo.flash.m_precaptureTriggerId > 0) { in OnPrecaptureMeteringNotificationISP()
5024 if (m_ctlInfo.flash.m_flashEnableFlg) { in OnPrecaptureMeteringNotificationISP()
5026 switch (m_ctlInfo.flash.m_flashCnt) { in OnPrecaptureMeteringNotificationISP()
5029 if (m_ctlInfo.ae.aeStateNoti == AE_STATE_PRECAPTURE) { in OnPrecaptureMeteringNotificationISP()
5033 m_ctlInfo.flash.m_precaptureTriggerId, 0, m_callbackCookie); in OnPrecaptureMeteringNotificationISP()
5034 … ALOGV("(%s) ANDROID_CONTROL_AE_STATE_CONVERGED (%d)", __FUNCTION__, m_ctlInfo.flash.m_flashCnt); in OnPrecaptureMeteringNotificationISP()
5037 m_ctlInfo.flash.m_precaptureTriggerId, 0, m_callbackCookie); in OnPrecaptureMeteringNotificationISP()
5038 m_ctlInfo.flash.m_precaptureTriggerId = 0; in OnPrecaptureMeteringNotificationISP()
5042 m_ctlInfo.flash.m_precaptureTriggerId, 0, m_callbackCookie); in OnPrecaptureMeteringNotificationISP()
5043 … ALOGV("(%s) ANDROID_CONTROL_AE_STATE_PRECAPTURE (%d)", __FUNCTION__, m_ctlInfo.flash.m_flashCnt); in OnPrecaptureMeteringNotificationISP()
5046 m_ctlInfo.flash.m_precaptureTriggerId, 0, m_callbackCookie); in OnPrecaptureMeteringNotificationISP()
5047 m_ctlInfo.ae.aeStateNoti = AE_STATE_PRECAPTURE; in OnPrecaptureMeteringNotificationISP()
5054 … ALOGV("(%s) INVALID flash state count. (%d)", __FUNCTION__, (int)m_ctlInfo.flash.m_flashCnt); in OnPrecaptureMeteringNotificationISP()
5055 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_AUTO_DONE; in OnPrecaptureMeteringNotificationISP()
5058 m_ctlInfo.flash.m_precaptureTriggerId, 0, m_callbackCookie); in OnPrecaptureMeteringNotificationISP()
5061 m_ctlInfo.flash.m_precaptureTriggerId, 0, m_callbackCookie); in OnPrecaptureMeteringNotificationISP()
5062 m_ctlInfo.flash.m_precaptureTriggerId = 0; in OnPrecaptureMeteringNotificationISP()
5067 if (m_ctlInfo.ae.aeStateNoti == AE_STATE_PRECAPTURE) { in OnPrecaptureMeteringNotificationISP()
5070 m_ctlInfo.flash.m_precaptureTriggerId, 0, m_callbackCookie); in OnPrecaptureMeteringNotificationISP()
5071 … ALOGV("(%s) ANDROID_CONTROL_AE_STATE_CONVERGED (%d)", __FUNCTION__, m_ctlInfo.flash.m_flashCnt); in OnPrecaptureMeteringNotificationISP()
5074 m_ctlInfo.flash.m_precaptureTriggerId, 0, m_callbackCookie); in OnPrecaptureMeteringNotificationISP()
5075 m_ctlInfo.flash.m_precaptureTriggerId = 0; in OnPrecaptureMeteringNotificationISP()
5146 if (m_ctlInfo.flash.m_flashEnableFlg && m_ctlInfo.flash.m_afFlashDoneFlg) { in OnAfNotificationAutoMacro()
5147 switch (m_ctlInfo.flash.m_flashCnt) { in OnAfNotificationAutoMacro()
5149 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_AUTO_AE_AWB_LOCK; in OnAfNotificationAutoMacro()
5153 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_AUTO_OFF; in OnAfNotificationAutoMacro()
5167 if (m_ctlInfo.flash.m_flashEnableFlg && m_ctlInfo.flash.m_afFlashDoneFlg) { in OnAfNotificationAutoMacro()
5168 switch (m_ctlInfo.flash.m_flashCnt) { in OnAfNotificationAutoMacro()
5170 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_AUTO_AE_AWB_LOCK; in OnAfNotificationAutoMacro()
5174 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_AUTO_OFF; in OnAfNotificationAutoMacro()
5246 if (m_ctlInfo.af.m_afTriggerTimeOut > 0) { in OnAfNotificationCAFPicture()
5247 if (m_ctlInfo.af.m_afTriggerTimeOut > 5) { in OnAfNotificationCAFPicture()
5251 m_ctlInfo.af.m_afTriggerTimeOut = 0; in OnAfNotificationCAFPicture()
5253 m_ctlInfo.af.m_afTriggerTimeOut++; in OnAfNotificationCAFPicture()
5265 m_ctlInfo.af.m_afTriggerTimeOut = 0; in OnAfNotificationCAFPicture()
5270 m_ctlInfo.af.m_afTriggerTimeOut = 0; in OnAfNotificationCAFPicture()
5331 if (m_ctlInfo.flash.m_flashEnableFlg && m_ctlInfo.flash.m_afFlashDoneFlg) { in OnAfNotificationCAFPicture()
5332 if (m_ctlInfo.flash.m_flashCnt < IS_FLASH_STATE_ON_DONE) in OnAfNotificationCAFPicture()
5344 if (m_ctlInfo.flash.m_flashEnableFlg && m_ctlInfo.flash.m_afFlashDoneFlg) { in OnAfNotificationCAFPicture()
5345 switch (m_ctlInfo.flash.m_flashCnt) { in OnAfNotificationCAFPicture()
5348 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_AUTO_AE_AWB_LOCK; in OnAfNotificationCAFPicture()
5353 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_AUTO_OFF; in OnAfNotificationCAFPicture()
5369 if (m_ctlInfo.flash.m_flashEnableFlg && m_ctlInfo.flash.m_afFlashDoneFlg) { in OnAfNotificationCAFPicture()
5370 switch (m_ctlInfo.flash.m_flashCnt) { in OnAfNotificationCAFPicture()
5373 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_AUTO_AE_AWB_LOCK; in OnAfNotificationCAFPicture()
5378 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_AUTO_OFF; in OnAfNotificationCAFPicture()
5611 if (m_ctlInfo.flash.m_flashEnableFlg && m_ctlInfo.flash.m_afFlashDoneFlg) { in OnAfCancelAutoMacro()
5612 m_ctlInfo.flash.m_flashCnt = IS_FLASH_STATE_AUTO_OFF; in OnAfCancelAutoMacro()
5887 if (m_ctlInfo.flash.m_flashDecisionResult) in m_setExifChangedAttribute()