ACameraCaptureSession_logicalCamera_captureCallbacksV2
This has the same functionality as ACameraCaptureSession_logicalCamera_captureCallbacks, with the exception that an captureCallback_startV2 callback is used, instead of captureCallback_start, to support retrieving frame number.
Summary
Public attributes |
|
---|---|
context
|
void *
|
onCaptureBufferLost
|
|
onCaptureProgressed
|
|
onCaptureSequenceAborted
|
|
onCaptureSequenceCompleted
|
|
onCaptureStarted
|
Same as ACameraCaptureSession_captureCallbacks#onCaptureStarted, except that it has the frame number of the capture added in the parameter list.
|
onLogicalCameraCaptureCompleted
|
|
onLogicalCameraCaptureFailed
|
This callback is called instead of onLogicalCameraCaptureCompleted when the camera device failed to produce a capture result for the request.
|
Public attributes
context
Declared incamera/NdkCameraCaptureSession.h
void * ACameraCaptureSession_logicalCamera_captureCallbacksV2::context
onCaptureBufferLost
Declared incamera/NdkCameraCaptureSession.h
ACameraCaptureSession_captureCallback_bufferLost ACameraCaptureSession_logicalCamera_captureCallbacksV2::onCaptureBufferLost
onCaptureProgressed
Declared incamera/NdkCameraCaptureSession.h
ACameraCaptureSession_captureCallback_result ACameraCaptureSession_logicalCamera_captureCallbacksV2::onCaptureProgressed
onCaptureSequenceAborted
Declared incamera/NdkCameraCaptureSession.h
ACameraCaptureSession_captureCallback_sequenceAbort ACameraCaptureSession_logicalCamera_captureCallbacksV2::onCaptureSequenceAborted
onCaptureSequenceCompleted
Declared incamera/NdkCameraCaptureSession.h
ACameraCaptureSession_captureCallback_sequenceEnd ACameraCaptureSession_logicalCamera_captureCallbacksV2::onCaptureSequenceCompleted
onCaptureStarted
Declared incamera/NdkCameraCaptureSession.h
ACameraCaptureSession_captureCallback_startV2 ACameraCaptureSession_logicalCamera_captureCallbacksV2::onCaptureStarted
Same as ACameraCaptureSession_captureCallbacks#onCaptureStarted, except that it has the frame number of the capture added in the parameter list.
onLogicalCameraCaptureCompleted
Declared incamera/NdkCameraCaptureSession.h
ACameraCaptureSession_logicalCamera_captureCallback_result ACameraCaptureSession_logicalCamera_captureCallbacksV2::onLogicalCameraCaptureCompleted
onLogicalCameraCaptureFailed
Declared incamera/NdkCameraCaptureSession.h
ACameraCaptureSession_logicalCamera_captureCallback_failed ACameraCaptureSession_logicalCamera_captureCallbacksV2::onLogicalCameraCaptureFailed
This callback is called instead of onLogicalCameraCaptureCompleted when the camera device failed to produce a capture result for the request.
Other requests are unaffected, and some or all image buffers from the capture may have been pushed to their respective output streams.
Note that the ACaptureRequest pointer in the callback will not match what application has submitted, but the contents the ACaptureRequest will match what application submitted.
See also: ALogicalCameraCaptureFailure