Home | History | Annotate | Download | only in ndk

Lines Matching full:session

54  * The definition of camera capture session state callback.
58 * @param session The camera capture session whose state is changing.
60 typedef void (*ACameraCaptureSession_stateCallback)(void* context, ACameraCaptureSession *session);
67 * This callback is called when the session is closed and deleted from memory.
69 * <p>A session is closed when {@link ACameraCaptureSession_close} is called, a new session
80 * This callback is called every time the session has no more capture requests to process.
82 * <p>This callback will be invoked any time the session finishes processing
88 * This callback is called when the session starts actively processing capture requests.
90 * <p>If the session runs out of capture requests to process and calls {@link onReady},
99 * The capture session has dropped this frame due to an
105 * The capture session has dropped this frame due to an error in the framework.
157 * @param session The camera capture session of interest.
167 void* context, ACameraCaptureSession* session,
175 * @param session The camera capture session of interest.
184 void* context, ACameraCaptureSession* session,
192 * @param session The camera capture session of interest.
202 void* context, ACameraCaptureSession* session,
210 * @param session The camera capture session of interest.
215 void* context, ACameraCaptureSession* session,
223 * @param session The camera capture session of interest.
227 void* context, ACameraCaptureSession* session,
235 * @param session The camera capture session of interest.
244 void* context, ACameraCaptureSession* session,
388 * Close this capture session.
390 * <p>Closing a session frees up the target output Surfaces of the session for reuse with either
391 * a new session, or to other APIs that can draw to Surfaces.</p>
393 * <p>Note that creating a new capture session with {@link ACameraDevice_createCaptureSession}
394 * will close any existing capture session automatically, and call the older session listener's
397 * for quickly switching to a new session, since unchanged target outputs can be reused more
400 * <p>After a session is closed and before {@link ACameraCaptureSession_stateCallbacks#onClosed}
401 * is called, all methods invoked on the session will return {@link ACAMERA_ERROR_SESSION_CLOSED},
403 * called). However, any in-progress capture requests submitted to the session will be completed as
404 * normal; once all captures have completed and the session has been torn down,
408 * <p>Closing a session is idempotent; closing more than once has no effect.</p>
410 * @param session the capture session of interest
412 void ACameraCaptureSession_close(ACameraCaptureSession* session);
418 * Get the ACameraDevice pointer associated with this capture session in the device argument
421 * @param session the capture session of interest
422 * @param device the {@link ACameraDevice} associated with session. Will be set to NULL
423 * if the session is closed or this method fails.
427 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if session or device is NULL</li>
428 * <li>{@link ACAMERA_ERROR_SESSION_CLOSED} if the capture session has been closed</li>
433 ACameraCaptureSession* session, /*out*/ACameraDevice** device);
444 * this capture session was created.</p>
446 * @param session the capture session of interest
459 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if session or requests is NULL, or
461 * <li>{@link ACAMERA_ERROR_SESSION_CLOSED} if the capture session has been closed</li>
468 ACameraCaptureSession* session,
474 * Request endlessly repeating capture of a sequence of images by this capture session.
500 * @param session the capture session of interest
513 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if session or requests is NULL, or
515 * <li>{@link ACAMERA_ERROR_SESSION_CLOSED} if the capture session has been closed</li>
522 ACameraCaptureSession* session,
536 * @param session the capture session of interest
541 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if session is NULL.</li>
542 * <li>{@link ACAMERA_ERROR_SESSION_CLOSED} if the capture session has been closed</li>
548 camera_status_t ACameraCaptureSession_stopRepeating(ACameraCaptureSession* session);
559 * <p>This method is the fastest way to switch the camera device to a new session with
561 * work. It must be called before the new session is created. Once all pending requests are
563 * callback will be called, if the session has not been closed. Otherwise, the
565 * callback will be fired when a new session is created by the camera device and the previous
566 * session is being removed from memory.</p>
576 * @param session the capture session of interest
581 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if session is NULL.</li>
582 * <li>{@link ACAMERA_ERROR_SESSION_CLOSED} if the capture session has been closed</li>
588 camera_status_t ACameraCaptureSession_abortCaptures(ACameraCaptureSession* session);