/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | BurstHolder.java | 42 * @param requests a {@link List} of {@link CaptureRequest}s in this burst. 45 public BurstHolder(int requestId, boolean repeating, List<CaptureRequest> requests, argument 49 for (CaptureRequest r : requests) { 73 * Return the number of requests in this burst sequence. 80 * 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 | 52 * This class executes requests to the {@link Camera}. 56 * - A message queue of requests to the {@link Camera}. 57 * - A thread that consumes requests to the {@link Camera} and executes them. 670 Log.e(TAG, "Interrupted while waiting for requests to complete."); 690 // If there are no further requests queued, wait for any currently executing 691 // requests to complete, then switch to idle state. 697 "Timed out while waiting for prior requests to complete."); 701 Log.e(TAG, "Interrupted while waiting for requests to complete: ", e); 711 // If we still have no queued requests, go idle. 725 List<RequestHolder> requests 1001 submitCaptureRequests(List<CaptureRequest> requests, boolean repeating, LongParcelable frameNumber) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | CameraCaptureSession.java | 40 * <p>Any capture requests (repeating or non-repeating) submitted before the session is ready will 43 * capture requests are discarded.</p> 50 * <p>A closed session clears any repeating requests (as if {@link #stopRepeating} had been called), 51 * but will still complete all of its in-progress capture requests as normal, before a newly 73 * <p>Multiple requests can be in progress at once. They are processed in 110 * Submit a list of requests to be captured in sequence as a burst. The 112 * not be interleaved with requests submitted by other capture or repeat 115 * <p>The requests will be captured in order, each capture producing one {@link CaptureResult} 122 * other requests will be interspersed with the burst.</p> 124 * @param requests th 150 captureBurst(List<CaptureRequest> requests, CaptureCallback listener, Handler handler) argument 266 setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback listener, Handler handler) argument [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | CaptureSequencer.cpp | 659 Vector<CameraMetadata> requests; local 660 requests.push(mCaptureRequest); 661 res = mBurstCapture->start(requests, mCaptureId);
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraCaptureSessionImpl.java | 88 * (e.g. no pending captures, no repeating requests, no flush).</p> 166 public synchronized int captureBurst(List<CaptureRequest> requests, CaptureCallback callback, argument 168 if (requests == null) { 169 throw new IllegalArgumentException("requests must not be null"); 170 } else if (requests.isEmpty()) { 171 throw new IllegalArgumentException("requests must have at least one element"); 179 CaptureRequest[] requestArray = requests.toArray(new CaptureRequest[0]); 180 Log.v(TAG, mIdString + "captureBurst - requests " + Arrays.toString(requestArray) + 184 return addPendingSequence(mDeviceImpl.captureBurst(requests, 209 public synchronized int setRepeatingBurst(List<CaptureRequest> requests, argument [all...] |
H A D | CameraDeviceImpl.java | 506 public int captureBurst(List<CaptureRequest> requests, CaptureCallback callback, argument 508 if (requests == null || requests.isEmpty()) { 511 return submitCaptureRequest(requests, callback, handler, /*streaming*/false); 593 // Make sure that there all requests have at least 1 surface; all surfaces are non-null 666 public int setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback callback, argument 668 if (requests == null || requests.isEmpty()) { 671 return submitCaptureRequest(requests, callback, handler, /*streaming*/true); 683 // Queue for deletion after in-flight requests finis [all...] |
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.cpp | 103 status_t CameraDeviceClient::submitRequestList(List<sp<CaptureRequest> > requests, argument 106 ALOGV("%s-start of function. Request list size %zu", __FUNCTION__, requests.size()); 115 if (requests.empty()) { 125 for (List<sp<CaptureRequest> >::iterator it = requests.begin(); it != requests.end(); ++it) { 182 __FUNCTION__, mCameraId, requestId, loopCounter, requests.size()); 235 "requests", __FUNCTION__, mCameraId, requestId); 556 ALOGE("%s: Camera %d: Try to waitUntilIdle when there are active streaming requests", 601 // TODO: print dynamic/request section from most recent requests
|
/frameworks/av/services/camera/libcameraservice/device2/ |
H A D | Camera2Device.cpp | 140 ALOGW("%s: Closing camera device %d with %d requests in flight!", 212 status_t Camera2Device::captureList(const List<const CameraMetadata> &requests, argument 227 status_t Camera2Device::setStreamingRequestList(const List<const CameraMetadata> &requests, argument 458 ALOGE("%s: Waited %d us, %d requests still in flight", __FUNCTION__, 653 // Connect to camera2 HAL as consumer (input requests/reprocessing)
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Device.cpp | 421 lines = String8(" In-flight requests:\n"); 525 List<const CameraMetadata> requests; local 526 requests.push_back(request); 527 return captureList(requests, /*lastFrameNumber*/NULL); 531 const List<const CameraMetadata> &requests, bool repeating, 546 res = convertMetadataListToRequestListLocked(requests, /*out*/&requestList); 574 status_t Camera3Device::captureList(const List<const CameraMetadata> &requests, argument 578 return submitRequestsHelper(requests, /*repeating*/false, lastFrameNumber); 585 List<const CameraMetadata> requests; local 586 requests 530 submitRequestsHelper( const List<const CameraMetadata> &requests, bool repeating, int64_t *lastFrameNumber) argument 590 setStreamingRequestList(const List<const CameraMetadata> &requests, int64_t *lastFrameNumber) argument 2397 queueRequestList( List<sp<CaptureRequest> > &requests, int64_t *lastFrameNumber) argument 2475 setRepeatingRequests( const RequestList &requests, int64_t *lastFrameNumber) argument 2834 const RequestList &requests = mRepeatingRequests; local [all...] |