Searched refs:CaptureMode (Results 1 – 2 of 2) sorted by relevance
64 mCaptureMode = callback ? CaptureMode::CallbackAPI : CaptureMode::None; in setPictureCapturedCallback()80 bool isCapturingSkp() const { return mCaptureMode != CaptureMode::None; } in isCapturingSkp()111 enum class CaptureMode { enum123 CaptureMode mCaptureMode = CaptureMode::None;
147 if (mCaptureMode != CaptureMode::None) { return false; } in shouldStartNewFileCapture()161 mCaptureMode = CaptureMode::SingleFrameSKP; in shouldStartNewFileCapture()163 mCaptureMode = CaptureMode::MultiFrameSKP; in shouldStartNewFileCapture()196 mCaptureMode = CaptureMode::None; in setupMultiFrameCapture()251 if (shouldStartNewFileCapture() && mCaptureMode == CaptureMode::MultiFrameSKP) { in tryCapture()263 case CaptureMode::CallbackAPI: in tryCapture()264 case CaptureMode::SingleFrameSKP: in tryCapture()268 case CaptureMode::MultiFrameSKP: in tryCapture()273 case CaptureMode::None: in tryCapture()301 if (CC_LIKELY(mCaptureMode == CaptureMode::None)) { return; } in endCapture()[all …]