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

/frameworks/base/core/java/android/hardware/camera2/
H A DCameraDevice.java170 * or only some of the outputs. Once the CameraCaptureSession is created, requests can be
250 * <p>Using larger resolution outputs, or more outputs, can result in slower
258 * combination of sizes, formats, and targets when multiple outputs are configured at once. The
284 * <p>To use these tables, determine the number and the formats/targets of outputs needed, and
396 * @param outputs The new set of Surfaces that should be made available as
414 public abstract void createCaptureSession(@NonNull List<Surface> outputs, argument
492 * ({@code PRIV}, {@code MAXIMUM}), and 3 outputs, ({@code PRIV}, {@code MAXIMUM}),
495 * {@code MAXIMUM}) and ({@code YUV}, {@code MAXIMUM}) outputs based on the table listed under
561 * @param outputs Th
584 createReprocessableCaptureSession(@onNull InputConfiguration inputConfig, @NonNull List<Surface> outputs, @NonNull CameraCaptureSession.StateCallback callback, @Nullable Handler handler) argument
668 createConstrainedHighSpeedCaptureSession(@onNull List<Surface> outputs, @NonNull CameraCaptureSession.StateCallback callback, @Nullable Handler handler) argument
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DEngine.cpp157 const SwAudioOutputCollection &outputs = mPolicyEngine->mApmObserver->getOutputs(); local
160 (outputs.isStreamActive(AUDIO_STREAM_RING) ||
161 outputs.isStreamActive(AUDIO_STREAM_ALARM))) {
169 const SwAudioOutputCollection &outputs = mPolicyEngine->mApmObserver->getOutputs(); local
183 !outputs.isStreamActiveRemotely(AUDIO_STREAM_MUSIC,
185 outputs.isStreamActive(AUDIO_STREAM_MUSIC, SONIFICATION_RESPECTFUL_AFTER_MUSIC_DELAY)) {
/frameworks/av/services/audiopolicy/enginedefault/src/
H A DEngine.cpp230 // NOTE: SYSTEM stream uses MEDIA strategy because muting music and switching outputs
247 const SwAudioOutputCollection &outputs = mApmObserver->getOutputs(); local
252 if (outputs.isStreamActive(AUDIO_STREAM_RING) ||
253 outputs.isStreamActive(AUDIO_STREAM_ALARM)) {
295 const SwAudioOutputCollection &outputs = mApmObserver->getOutputs(); local
313 } else if (outputs.isStreamActiveRemotely(AUDIO_STREAM_MUSIC,
327 } else if (outputs.isStreamActive(AUDIO_STREAM_MUSIC, SONIFICATION_RESPECTFUL_AFTER_MUSIC_DELAY)) {
359 sp<AudioOutputDescriptor> primaryOutput = outputs.getPrimaryOutput();
392 (outputs.getA2dpOutput() != 0)) {
427 (outputs
596 const SwAudioOutputCollection &outputs = mApmObserver->getOutputs(); local
[all...]
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraCaptureSessionImpl.java50 /** User-specified set of surfaces used as the configuration outputs */
89 CameraCaptureSessionImpl(int id, Surface input, List<Surface> outputs, argument
93 if (outputs == null || outputs.isEmpty()) {
94 throw new IllegalArgumentException("outputs must be a non-null, non-empty list");
102 // TODO: extra verification of outputs
103 mOutputs = outputs;
701 * It's now safe to unconfigure the outputs.
719 mDeviceImpl.configureStreamsChecked(/*inputConfig*/null, /*outputs*/null,
723 Log.e(TAG, mIdString + "Exception while unconfiguring outputs
[all...]
H A DCameraConstrainedHighSpeedCaptureSessionImpl.java60 CameraConstrainedHighSpeedCaptureSessionImpl(int id, List<Surface> outputs, argument
67 mSessionImpl = new CameraCaptureSessionImpl(id, /*input*/null, outputs, wrapperCallback,
H A DCameraDeviceImpl.java330 public void configureOutputs(List<Surface> outputs) throws CameraAccessException { argument
332 ArrayList<OutputConfiguration> outputConfigs = new ArrayList<>(outputs.size());
333 for (Surface s : outputs) {
342 * Attempt to configure the input and outputs; the device goes to idle and then configures the
343 * new input and outputs if possible.
346 * if there are too many outputs, if the formats are not supported, or if the sizes for that
350 * <p>If the configuration succeeds (with 1 or more outputs with or without an input),
354 * @param outputs a list of one or more surfaces, or {@code null} to unconfigure
361 List<OutputConfiguration> outputs, boolean isConstrainedHighSpeed)
364 if (outputs
360 configureStreamsChecked(InputConfiguration inputConfig, List<OutputConfiguration> outputs, boolean isConstrainedHighSpeed) argument
469 createCaptureSession(List<Surface> outputs, CameraCaptureSession.StateCallback callback, Handler handler) argument
494 createReprocessableCaptureSession(InputConfiguration inputConfig, List<Surface> outputs, CameraCaptureSession.StateCallback callback, Handler handler) argument
514 createConstrainedHighSpeedCaptureSession(List<Surface> outputs, android.hardware.camera2.CameraCaptureSession.StateCallback callback, Handler handler) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyCameraDevice.java282 * <p>Using empty or {@code null} {@code outputs} is the same as unconfiguring.</p>
284 * <p>Every surface in {@code outputs} must be non-{@code null}.</p>
286 * @param outputs a list of surfaces to set.
290 public int configureOutputs(List<Surface> outputs) { argument
292 if (outputs != null) {
293 for (Surface output : outputs) {
295 Log.e(TAG, "configureOutputs - null outputs are not allowed");
358 mConfiguredSurfaces = outputs != null ? new ArrayList<>(outputs) : null;
H A DRequestThreadManager.java331 private void configureOutputs(Collection<Pair<Surface, Size>> outputs) { argument
333 String outputsStr = outputs == null ? "null" : (outputs.size() + " surfaces");
378 if (outputs != null) {
379 for (Pair<Surface, Size> outPair : outputs) {
468 Log.d(TAG, "No Intermediate buffer selected, no preview outputs were configured");
530 * than all of the configured {@code JPEG} outputs (by both width and height).
536 * to upscale any of the outputs. If only one {@code JPEG} surface is used,
543 * @return a size large enough to fit all of the configured {@code JPEG} outputs, or
550 * Find the largest JPEG size (if any), from the configured outputs
1050 configure(Collection<Pair<Surface, Size>> outputs) argument
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DScriptGroup.java31 * A script group may take inputs and generate outputs, which are consumed and
33 * Inside a script group, outputs from one kernel can be passed to another kernel as inputs.
386 List<Input> inputs, Future[] outputs) {
391 mOutputs2 = outputs;
756 ArrayList<IO> outputs = new ArrayList<IO>();
782 outputs.add(new IO(kid));
814 sg.mOutputs = new IO[outputs.size()];
815 for (int ct=0; ct < outputs.size(); ct++) {
816 sg.mOutputs[ct] = outputs.get(ct);
882 * accepts an array of futures as the outputs fo
385 ScriptGroup(RenderScript rs, String name, List<Closure> closures, List<Input> inputs, Future[] outputs) argument
1004 create(String name, Future... outputs) argument
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptGroup.java34 * A script group may take inputs and generate outputs, which are consumed and
36 * Inside a script group, outputs from one kernel can be passed to another kernel as inputs.
404 List<Input> inputs, Future[] outputs) {
413 mOutputs2 = outputs;
428 * @return outputs of the script group as an array of objects
889 ArrayList<IO> outputs = new ArrayList<IO>();
915 outputs.add(new IO(kid));
951 sg.mOutputs = new IO[outputs.size()];
952 for (int ct=0; ct < outputs.size(); ct++) {
953 sg.mOutputs[ct] = outputs
403 ScriptGroup(RenderScript rs, String name, List<Closure> closures, List<Input> inputs, Future[] outputs) argument
1141 create(String name, Future... outputs) argument
[all...]
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp74 SortedVector <audio_io_handle_t> outputs; local
106 if (checkOutputsForDevice(devDesc, state, outputs, devDesc->mAddress) != NO_ERROR) {
113 // outputs should never be empty here
114 ALOG_ASSERT(outputs.size() != 0, "setDeviceConnectionState():"
115 "checkOutputsForDevice() returned no outputs but status OK");
116 ALOGV("setDeviceConnectionState() checkOutputsForDevice() returned %zu outputs",
117 outputs.size());
142 checkOutputsForDevice(devDesc, state, outputs, devDesc->mAddress);
157 // outputs must be closed after checkOutputForAllStrategies() is executed
158 if (!outputs
348 SortedVector<audio_io_handle_t> outputs = local
389 SortedVector<audio_io_handle_t> outputs = local
954 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(device, mOutputs); local
968 selectOutput(const SortedVector<audio_io_handle_t>& outputs, audio_output_flags_t flags, audio_format_t format) argument
1788 selectOutputForEffects( const SortedVector<audio_io_handle_t>& outputs) argument
2400 SortedVector<audio_io_handle_t> outputs = local
2610 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(device, mOutputs); local
3191 checkOutputsForDevice(const sp<DeviceDescriptor> devDesc, audio_policy_dev_state_t state, SortedVector<audio_io_handle_t>& outputs, const String8 address) argument
3780 SortedVector<audio_io_handle_t> outputs; local
4034 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(devices, mOutputs); local
[all...]

Completed in 4147 milliseconds