|
| | StillPictureTaker (GlobalRef &captureSessionToUse, GlobalRef &captureRequestBuilderToUse, GlobalRef &previewCaptureRequestToUse, GlobalRef &handlerToUse, int autoFocusModeToUse) |
| |
| void | takePicture (const LocalRef< jobject > &stillPictureCaptureRequestToUse) |
| |
|
| void | cameraCaptureSessionCaptureCompleted (bool isPreview, jobject session, jobject request, jobject result) |
| |
| void | cameraCaptureSessionCaptureFailed (bool isPreview, jobject session, jobject request, jobject failure) |
| |
| void | cameraCaptureSessionCaptureProgressed (bool isPreview, jobject session, jobject request, jobject partialResult) |
| |
| void | cameraCaptureSessionCaptureSequenceAborted (bool isPreview, jobject session, int sequenceId) |
| |
| void | cameraCaptureSessionCaptureSequenceCompleted (bool isPreview, jobject session, int sequenceId, int64 frameNumber) |
| |
| void | cameraCaptureSessionCaptureStarted (bool isPreview, jobject session, jobject request, int64 timestamp, int64 frameNumber) |
| |
| void | captureStillPicture () |
| |
| void | captureStillPictureDelayed () |
| |
| LocalRef< jobject > | createCaptureSessionCallback (bool createPreviewSession) |
| |
| void | lockFocus () |
| |
| void | run () override |
| |
| void | runPrecaptureSequence () |
| |
| void | unlockFocus () |
| |
| void | updateState (jobject captureResult) |
| |
|
| static bool | autoFocusHasFinished (const LocalRef< jobject > &controlAfStateValue) |
| |
| static void | cameraCaptureSessionCaptureCompletedCallback (JNIEnv *env, StillPictureTaker &t, jboolean isPreview, jobject rawSession, jobject rawRequest, jobject rawResult) |
| |
| static void | cameraCaptureSessionCaptureFailedCallback (JNIEnv *env, StillPictureTaker &t, jboolean isPreview, jobject rawSession, jobject rawRequest, jobject rawResult) |
| |
| static void | cameraCaptureSessionCaptureProgressedCallback (JNIEnv *env, StillPictureTaker &t, jboolean isPreview, jobject rawSession, jobject rawRequest, jobject rawResult) |
| |
| static void | cameraCaptureSessionCaptureSequenceAbortedCallback (JNIEnv *env, StillPictureTaker &t, jboolean isPreview, jobject rawSession, jint sequenceId) |
| |
| static void | cameraCaptureSessionCaptureSequenceCompletedCallback (JNIEnv *env, StillPictureTaker &t, jboolean isPreview, jobject rawSession, jint sequenceId, jlong frameNumber) |
| |
| static void | cameraCaptureSessionCaptureStartedCallback (JNIEnv *env, StillPictureTaker &t, jboolean isPreview, jobject rawSession, jobject rawRequest, jlong timestamp, jlong frameNumber) |
| |
| static LocalRef< jobject > | getCaptureResultIntegerKeyValue (jfieldID key, jobject captureResult) |
| |
| static int | getControlAEState (jobject captureResult) |
| |
◆ State
| Enumerator |
|---|
| idle | |
| pendingFocusLock | |
| pendingExposurePrecapture | |
| pendingExposurePostPrecapture | |
| pictureTaken | |
◆ StillPictureTaker()
| CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::StillPictureTaker |
( |
GlobalRef & |
captureSessionToUse, |
|
|
GlobalRef & |
captureRequestBuilderToUse, |
|
|
GlobalRef & |
previewCaptureRequestToUse, |
|
|
GlobalRef & |
handlerToUse, |
|
|
int |
autoFocusModeToUse |
|
) |
| |
|
inline |
◆ autoFocusHasFinished()
| static bool CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::autoFocusHasFinished |
( |
const LocalRef< jobject > & |
controlAfStateValue | ) |
|
|
inlinestaticprivate |
◆ cameraCaptureSessionCaptureCompleted()
| void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureCompleted |
( |
bool |
isPreview, |
|
|
jobject |
session, |
|
|
jobject |
request, |
|
|
jobject |
result |
|
) |
| |
|
inlineprivate |
◆ cameraCaptureSessionCaptureCompletedCallback()
| static void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureCompletedCallback |
( |
JNIEnv * |
env, |
|
|
StillPictureTaker & |
t, |
|
|
jboolean |
isPreview, |
|
|
jobject |
rawSession, |
|
|
jobject |
rawRequest, |
|
|
jobject |
rawResult |
|
) |
| |
|
inlinestaticprivate |
◆ cameraCaptureSessionCaptureFailed()
| void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureFailed |
( |
bool |
isPreview, |
|
|
jobject |
session, |
|
|
jobject |
request, |
|
|
jobject |
failure |
|
) |
| |
|
inlineprivate |
◆ cameraCaptureSessionCaptureFailedCallback()
| static void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureFailedCallback |
( |
JNIEnv * |
env, |
|
|
StillPictureTaker & |
t, |
|
|
jboolean |
isPreview, |
|
|
jobject |
rawSession, |
|
|
jobject |
rawRequest, |
|
|
jobject |
rawResult |
|
) |
| |
|
inlinestaticprivate |
◆ cameraCaptureSessionCaptureProgressed()
| void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureProgressed |
( |
bool |
isPreview, |
|
|
jobject |
session, |
|
|
jobject |
request, |
|
|
jobject |
partialResult |
|
) |
| |
|
inlineprivate |
◆ cameraCaptureSessionCaptureProgressedCallback()
| static void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureProgressedCallback |
( |
JNIEnv * |
env, |
|
|
StillPictureTaker & |
t, |
|
|
jboolean |
isPreview, |
|
|
jobject |
rawSession, |
|
|
jobject |
rawRequest, |
|
|
jobject |
rawResult |
|
) |
| |
|
inlinestaticprivate |
◆ cameraCaptureSessionCaptureSequenceAborted()
| void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureSequenceAborted |
( |
bool |
isPreview, |
|
|
jobject |
session, |
|
|
int |
sequenceId |
|
) |
| |
|
inlineprivate |
◆ cameraCaptureSessionCaptureSequenceAbortedCallback()
| static void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureSequenceAbortedCallback |
( |
JNIEnv * |
env, |
|
|
StillPictureTaker & |
t, |
|
|
jboolean |
isPreview, |
|
|
jobject |
rawSession, |
|
|
jint |
sequenceId |
|
) |
| |
|
inlinestaticprivate |
◆ cameraCaptureSessionCaptureSequenceCompleted()
| void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureSequenceCompleted |
( |
bool |
isPreview, |
|
|
jobject |
session, |
|
|
int |
sequenceId, |
|
|
int64 |
frameNumber |
|
) |
| |
|
inlineprivate |
◆ cameraCaptureSessionCaptureSequenceCompletedCallback()
| static void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureSequenceCompletedCallback |
( |
JNIEnv * |
env, |
|
|
StillPictureTaker & |
t, |
|
|
jboolean |
isPreview, |
|
|
jobject |
rawSession, |
|
|
jint |
sequenceId, |
|
|
jlong |
frameNumber |
|
) |
| |
|
inlinestaticprivate |
◆ cameraCaptureSessionCaptureStarted()
| void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureStarted |
( |
bool |
isPreview, |
|
|
jobject |
session, |
|
|
jobject |
request, |
|
|
int64 |
timestamp, |
|
|
int64 |
frameNumber |
|
) |
| |
|
inlineprivate |
◆ cameraCaptureSessionCaptureStartedCallback()
| static void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureStartedCallback |
( |
JNIEnv * |
env, |
|
|
StillPictureTaker & |
t, |
|
|
jboolean |
isPreview, |
|
|
jobject |
rawSession, |
|
|
jobject |
rawRequest, |
|
|
jlong |
timestamp, |
|
|
jlong |
frameNumber |
|
) |
| |
|
inlinestaticprivate |
◆ captureStillPicture()
| void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::captureStillPicture |
( |
| ) |
|
|
inlineprivate |
◆ captureStillPictureDelayed()
| void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::captureStillPictureDelayed |
( |
| ) |
|
|
inlineprivate |
◆ createCaptureSessionCallback()
| LocalRef< jobject > CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::createCaptureSessionCallback |
( |
bool |
createPreviewSession | ) |
|
|
inlineprivate |
◆ getCaptureResultIntegerKeyValue()
| static LocalRef< jobject > CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::getCaptureResultIntegerKeyValue |
( |
jfieldID |
key, |
|
|
jobject |
captureResult |
|
) |
| |
|
inlinestaticprivate |
◆ getControlAEState()
| static int CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::getControlAEState |
( |
jobject |
captureResult | ) |
|
|
inlinestaticprivate |
◆ lockFocus()
| void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::lockFocus |
( |
| ) |
|
|
inlineprivate |
◆ run()
| void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::run |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ runPrecaptureSequence()
| void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::runPrecaptureSequence |
( |
| ) |
|
|
inlineprivate |
◆ takePicture()
| void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::takePicture |
( |
const LocalRef< jobject > & |
stillPictureCaptureRequestToUse | ) |
|
|
inline |
◆ unlockFocus()
| void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::unlockFocus |
( |
| ) |
|
|
inlineprivate |
◆ updateState()
| void CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::updateState |
( |
jobject |
captureResult | ) |
|
|
inlineprivate |
References autoFocusHasFinished(), autoFocusMode, captureStillPictureDelayed(), currentState, getCaptureResultIntegerKeyValue(), getControlAEState(), idle, JUCE_CAMERA_LOG, pendingExposurePostPrecapture, pendingExposurePrecapture, pendingFocusLock, pictureTaken, and runPrecaptureSequence().
Referenced by cameraCaptureSessionCaptureCompleted(), and cameraCaptureSessionCaptureProgressed().
◆ autoFocusMode
| int CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::autoFocusMode |
|
private |
◆ captureRequestBuilder
| GlobalRef& CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::captureRequestBuilder |
|
private |
◆ captureSession
| GlobalRef& CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::captureSession |
|
private |
◆ captureSessionPreviewCaptureCallback
| GlobalRef CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::captureSessionPreviewCaptureCallback |
|
private |
◆ captureSessionStillPictureCaptureCallback
| GlobalRef CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::captureSessionStillPictureCaptureCallback |
|
private |
◆ currentState
| State CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::currentState = State::idle |
|
private |
◆ delayedCaptureRunnable
| GlobalRef CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::delayedCaptureRunnable |
|
private |
◆ handler
| GlobalRef& CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::handler |
|
private |
◆ previewCaptureRequest
| GlobalRef& CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::previewCaptureRequest |
|
private |
◆ runnable
| AndroidRunnable CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::runnable |
|
private |
◆ stillPictureCaptureRequest
| GlobalRef CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::stillPictureCaptureRequest |
|
private |
The documentation for this class was generated from the following file: