/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | BurstHolder.java | 38 * @param requests a {@link List} of {@link CaptureRequest}s in this burst. 41 public BurstHolder(int requestId, boolean repeating, List<CaptureRequest> requests, argument 45 for (CaptureRequest r : requests) { 69 * Return the number of requests in this burst sequence. 76 * Create a list of {@link RequestHolder} objects encapsulating the requests in this burst.
|
H A D | RequestQueue.java | 27 * A queue of bursts of requests. 112 * @param requests the burst of requests to add to the queue. 120 public synchronized int submit(List<CaptureRequest> requests, boolean repeating, argument 123 BurstHolder burst = new BurstHolder(requestId, repeating, requests, mJpegSurfaceIds);
|
H A D | RequestThreadManager.java | 49 * This class executes requests to the {@link Camera}. 53 * - A message queue of requests to the {@link Camera}. 54 * - A thread that consumes requests to the {@link Camera} and executes them. 686 Log.e(TAG, "Interrupted while waiting for requests to complete."); 706 // If there are no further requests queued, wait for any currently executing 707 // requests to complete, then switch to idle state. 713 "Timed out while waiting for prior requests to complete."); 717 Log.e(TAG, "Interrupted while waiting for requests to complete: ", e); 727 // If we still have no queued requests, go idle. 741 List<RequestHolder> requests 1017 submitCaptureRequests(List<CaptureRequest> requests, boolean repeating, LongParcelable frameNumber) argument [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | CaptureSequencer.cpp | 705 Vector<CameraMetadata> requests; local 706 requests.push(mCaptureRequest); 707 res = mBurstCapture->start(requests, mCaptureId);
|
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | CameraCaptureSession.java | 53 * <p>Any capture requests (repeating or non-repeating) submitted before the session is ready will 56 * capture requests are discarded.</p> 63 * <p>A closed session clears any repeating requests (as if {@link #stopRepeating} had been called), 64 * but will still complete all of its in-progress capture requests as normal, before a newly 88 * any requests targeting the Surface are actually submitted to the device. Large buffers 89 * may take some time to allocate, which can result in delays in submitting requests until 192 * <p>Multiple regular and reprocess requests can be in progress at once. If there are only 193 * regular requests or reprocess requests in progress, they are processed in first-in, 194 * first-out order. If there are both regular and reprocess requests i 309 captureBurst(@onNull List<CaptureRequest> requests, @Nullable CaptureCallback listener, @Nullable Handler handler) argument 448 setRepeatingBurst(@onNull List<CaptureRequest> requests, @Nullable CaptureCallback listener, @Nullable Handler handler) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraCaptureSessionImpl.java | 87 * (e.g. no pending captures, no repeating requests, no flush).</p> 160 "requests"); 179 public synchronized int captureBurst(List<CaptureRequest> requests, CaptureCallback callback, argument 181 if (requests == null) { 183 } else if (requests.isEmpty()) { 187 for (CaptureRequest request : requests) { 191 "reprocess requests"); 204 CaptureRequest[] requestArray = requests.toArray(new CaptureRequest[0]); 205 Log.v(TAG, mIdString + "captureBurst - requests " + Arrays.toString(requestArray) + 209 return addPendingSequence(mDeviceImpl.captureBurst(requests, 236 setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback callback, Handler handler) argument [all...] |
H A D | CameraConstrainedHighSpeedCaptureSessionImpl.java | 58 * (e.g. no pending captures, no repeating requests, no flush).</p> 184 public int captureBurst(List<CaptureRequest> requests, CaptureCallback listener, argument 186 if (!isConstrainedHighSpeedRequestList(requests)) { 191 return mSessionImpl.captureBurst(requests, listener, handler); 202 public int setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback listener, argument 204 if (!isConstrainedHighSpeedRequestList(requests)) { 209 return mSessionImpl.setRepeatingBurst(requests, listener, handler);
|
H A D | CameraDeviceImpl.java | 717 public int captureBurst(List<CaptureRequest> requests, CaptureCallback callback, argument 719 if (requests == null || requests.isEmpty()) { 722 return submitCaptureRequest(requests, callback, handler, /*streaming*/false); 802 // Make sure that there all requests have at least 1 surface; all surfaces are non-null 875 public int setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback callback, argument 877 if (requests == null || requests.isEmpty()) { 880 return submitCaptureRequest(requests, callback, handler, /*streaming*/true); 892 // Queue for deletion after in-flight requests finis [all...] |
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.cpp | 110 status_t CameraDeviceClient::submitRequestList(List<sp<CaptureRequest> > requests, argument 113 ALOGV("%s-start of function. Request list size %zu", __FUNCTION__, requests.size()); 122 if (requests.empty()) { 132 for (List<sp<CaptureRequest> >::iterator it = requests.begin(); it != requests.end(); ++it) { 143 ALOGE("%s: Camera %d: streaming reprocess requests not supported.", __FUNCTION__, 202 __FUNCTION__, mCameraId, requestId, loopCounter, requests.size()); 255 "requests", __FUNCTION__, mCameraId, requestId); 666 ALOGE("%s: Camera %d: Try to waitUntilIdle when there are active streaming requests", 779 // TODO: print dynamic/request section from most recent requests [all...] |
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | CameraOps.java | 229 * @param readyListener listener for notifying when camera is ready for requests 360 throw new IllegalStateException("Can't get requests when no camera is open"); 386 public void setRepeatingBurst(final List<CaptureRequest> requests, argument 392 mCameraSession.setRepeatingBurst(requests, listener, handler); 539 // Ready to send requests in, so set them up 597 * Simple listener for main code to know the camera is ready for requests, or failed to
|
/frameworks/av/services/camera/libcameraservice/device2/ |
H A D | Camera2Device.cpp | 139 ALOGW("%s: Closing camera device %d with %d requests in flight!", 211 status_t Camera2Device::captureList(const List<const CameraMetadata> &requests, argument 226 status_t Camera2Device::setStreamingRequestList(const List<const CameraMetadata> &requests, argument 460 ALOGE("%s: Waited %d us, %d requests still in flight", __FUNCTION__, 667 // Connect to camera2 HAL as consumer (input requests/reprocessing)
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Device.cpp | 462 lines = String8(" In-flight requests:\n"); 566 List<const CameraMetadata> requests; local 567 requests.push_back(request); 568 return captureList(requests, /*lastFrameNumber*/NULL); 572 const List<const CameraMetadata> &requests, bool repeating, 587 res = convertMetadataListToRequestListLocked(requests, /*out*/&requestList); 615 status_t Camera3Device::captureList(const List<const CameraMetadata> &requests, argument 619 return submitRequestsHelper(requests, /*repeating*/false, lastFrameNumber); 626 List<const CameraMetadata> requests; local 627 requests 571 submitRequestsHelper( const List<const CameraMetadata> &requests, bool repeating, int64_t *lastFrameNumber) argument 631 setStreamingRequestList(const List<const CameraMetadata> &requests, int64_t *lastFrameNumber) argument 2594 queueRequestList( List<sp<CaptureRequest> > &requests, int64_t *lastFrameNumber) argument 2672 setRepeatingRequests( const RequestList &requests, int64_t *lastFrameNumber) argument 3126 const RequestList &requests = mRepeatingRequests; local [all...] |