Searched defs:outputs (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/
H A DCameraDevice.java138 * or a only some of the outputs. Once the CameraCaptureSession is created, requests can be
215 * <p>Using larger resolution outputs, or more outputs, can result in slower
223 * combination of sizes, formats, and targets when multiple outputs are configured at once. The
249 * <p>To use these tables, determine the number and the formats/targets of outputs needed, and
361 * @param outputs The new set of Surfaces that should be made available as
379 public abstract void createCaptureSession(List<Surface> outputs, argument
555 * to active outputs.</p>
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraCaptureSessionImpl.java49 /** User-specified set of surfaces used as the configuration outputs */
90 CameraCaptureSessionImpl(int id, List<Surface> outputs, argument
94 if (outputs == null || outputs.isEmpty()) {
95 throw new IllegalArgumentException("outputs must be a non-null, non-empty list");
103 // TODO: extra verification of outputs
104 mOutputs = outputs;
645 * It's now safe to unconfigure the outputs and after it's done invoke #onClosed.
667 Log.e(TAG, mIdString + "Exception while configuring outputs: ", e);
H A DCameraDeviceImpl.java315 public void configureOutputs(List<Surface> outputs) throws CameraAccessException { argument
317 configureOutputsChecked(outputs);
321 * Attempt to configure the outputs; the device goes to idle and then configures the
322 * new outputs if possible.
324 * <p>The configuration may gracefully fail, if there are too many outputs, if the formats
328 * <p>If the configuration succeeds (with 1 or more outputs), then the idle callback is fired.
331 * @param outputs a list of one or more surfaces, or {@code null} to unconfigure
336 public boolean configureOutputsChecked(List<Surface> outputs) throws CameraAccessException { argument
338 if (outputs == null) {
339 outputs
417 createCaptureSession(List<Surface> outputs, CameraCaptureSession.StateCallback callback, Handler handler) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyCameraDevice.java279 * <p>Using empty or {@code null} {@code outputs} is the same as unconfiguring.</p>
281 * <p>Every surface in {@code outputs} must be non-{@code null}.</p>
283 * @param outputs a list of surfaces to set.
287 public int configureOutputs(List<Surface> outputs) { argument
289 if (outputs != null) {
290 for (Surface output : outputs) {
292 Log.e(TAG, "configureOutputs - null outputs are not allowed");
349 mConfiguredSurfaces = outputs != null ? new ArrayList<>(outputs) : null;
H A DRequestThreadManager.java325 private void configureOutputs(Collection<Pair<Surface, Size>> outputs) { argument
327 String outputsStr = outputs == null ? "null" : (outputs.size() + " surfaces");
372 if (outputs != null) {
373 for (Pair<Surface, Size> outPair : outputs) {
454 Log.d(TAG, "No Intermediate buffer selected, no preview outputs were configured");
514 * than all of the configured {@code JPEG} outputs (by both width and height).
520 * to upscale any of the outputs. If only one {@code JPEG} surface is used,
527 * @return a size large enough to fit all of the configured {@code JPEG} outputs, or
534 * Find the largest JPEG size (if any), from the configured outputs
1034 configure(Collection<Pair<Surface, Size>> outputs) argument
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyManager.cpp33 // A device mask for all audio input and output devices where matching inputs/outputs on device
235 SortedVector <audio_io_handle_t> outputs; local
268 if (checkOutputsForDevice(devDesc, state, outputs, devDesc->mAddress) != NO_ERROR) {
272 // outputs should never be empty here
273 ALOG_ASSERT(outputs.size() != 0, "setDeviceConnectionState():"
274 "checkOutputsForDevice() returned no outputs but status OK");
275 ALOGV("setDeviceConnectionState() checkOutputsForDevice() returned %zu outputs",
276 outputs.size());
302 checkOutputsForDevice(devDesc, state, outputs, devDesc->mAddress);
314 // outputs mus
535 SortedVector<audio_io_handle_t> outputs = local
576 SortedVector<audio_io_handle_t> outputs = local
1164 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(device, mOutputs); local
1178 selectOutput(const SortedVector<audio_io_handle_t>& outputs, audio_output_flags_t flags, audio_format_t format) argument
1889 selectOutputForEffects( const SortedVector<audio_io_handle_t>& outputs) argument
2756 SortedVector<audio_io_handle_t> outputs = local
3495 checkOutputsForDevice(const sp<DeviceDescriptor> devDesc, audio_policy_dev_state_t state, SortedVector<audio_io_handle_t>& outputs, const String8 address) argument
4066 SortedVector<audio_io_handle_t> outputs; local
4333 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(devices, mOutputs); local
[all...]

Completed in 480 milliseconds