Searched refs:outputs (Results 1 - 18 of 18) sorted by relevance

/frameworks/av/services/audiopolicy/
H A Daudio_policy.conf72 # outputs {
105 outputs {
128 outputs {
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableReprocessFormatsMap.java59 int[] outputs =
62 buffer.putInt(outputs.length);
65 for (int output : outputs) {
112 int[] outputs = value.getOutputs(input);
113 length += outputs.length; // [OUTPUT_0, OUTPUT_1, ..., OUTPUT_FORMAT_COUNT-1]
/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/base/core/java/android/hardware/camera2/params/
H A DReprocessFormatsMap.java206 int[] outputs = new int[length];
210 outputs[k] = mEntry[i + k];
213 return StreamConfigurationMap.imageFormatToPublic(outputs);
/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 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...]
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;
696 * It's now safe to unconfigure the outputs.
714 mDeviceImpl.configureStreamsChecked(/*inputConfig*/null, /*outputs*/null,
718 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,
/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
934 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(device, mOutputs); local
948 selectOutput(const SortedVector<audio_io_handle_t>& outputs, audio_output_flags_t flags, audio_format_t format) argument
1751 selectOutputForEffects( const SortedVector<audio_io_handle_t>& outputs) argument
2360 SortedVector<audio_io_handle_t> outputs = local
2570 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(device, mOutputs); local
3147 checkOutputsForDevice(const sp<DeviceDescriptor> devDesc, audio_policy_dev_state_t state, SortedVector<audio_io_handle_t>& outputs, const String8 address) argument
3736 SortedVector<audio_io_handle_t> outputs; local
3990 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(devices, mOutputs); local
[all...]
H A DAudioPolicyManager.h363 // to this device. If none is open, tries to open one of the available outputs.
370 SortedVector<audio_io_handle_t>& outputs,
384 // checks and if necessary changes outputs used for all strategies.
441 audio_io_handle_t selectOutput(const SortedVector<audio_io_handle_t>& outputs,
457 audio_io_handle_t selectOutputForEffects(const SortedVector<audio_io_handle_t>& outputs);
504 // list of descriptors for outputs currently opened
507 // copy of mOutputs before setDeviceConnectionState() opens new outputs
577 // find the outputs on a given output descriptor that have the given address.
585 SortedVector<audio_io_handle_t>& outputs /*out*/);
/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/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/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
H A DCameraTooActivity.java315 List<Surface> outputs = Arrays.asList(
317 camera.createCaptureSession(outputs, mCaptureSessionListener,
344 Log.i(TAG, "Finished configuring camera outputs");
/frameworks/rs/api/
H A Drs_convert.spec87 of this range, the resulting outputs will be clamped to be between 0 and 255. As this
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
H A Dresidu_asm_opt.s70 MOV r14, r3, ASR #2 @one loop get 4 outputs

Completed in 3384 milliseconds