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

/frameworks/av/services/audiopolicy/
H A Daudio_policy.conf72 # outputs {
105 outputs {
128 outputs {
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...]
H A DAudioPolicyManager.h452 // volume curve for non-media audio on ext media outputs (HDMI, Line, etc)
471 // descriptor for audio outputs. Used to maintain current configuration of each opened audio output
509 sp<AudioOutputDescriptor> mOutput1; // used by duplicated outputs: first output
510 sp<AudioOutputDescriptor> mOutput2; // used by duplicated outputs: second output
516 uint32_t mDirectOpenCount; // number of clients using this output (direct outputs only)
669 // to this device. If none is open, tries to open one of the available outputs.
676 SortedVector<audio_io_handle_t>& outputs,
690 // checks and if necessary changes outputs used for all strategies.
750 audio_io_handle_t selectOutput(const SortedVector<audio_io_handle_t>& outputs,
766 audio_io_handle_t selectOutputForEffects(const SortedVector<audio_io_handle_t>& outputs);
[all...]
/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/params/
H A DReprocessFormatsMap.java206 int[] outputs = new int[length];
210 outputs[k] = mEntry[i + k];
213 return StreamConfigurationMap.imageFormatToPublic(outputs);
/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/rs/java/android/renderscript/
H A DScriptGroup.java28 * External connections are grouped into inputs and outputs.
29 * All outputs are produced by a script kernel and placed into a
394 ArrayList<IO> outputs = new ArrayList<IO>();
420 outputs.add(new IO(kid));
452 sg.mOutputs = new IO[outputs.size()];
453 for (int ct=0; ct < outputs.size(); ct++) {
454 sg.mOutputs[ct] = outputs.get(ct);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptGroup.java29 * External connections are grouped into inputs and outputs.
30 * All outputs are produced by a script kernel and placed into a
420 ArrayList<IO> outputs = new ArrayList<IO>();
446 outputs.add(new IO(kid));
478 sg.mOutputs = new IO[outputs.size()];
479 for (int ct=0; ct < outputs.size(); ct++) {
480 sg.mOutputs[ct] = outputs.get(ct);
/frameworks/base/core/java/android/hardware/camera2/impl/
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...]
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);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DFlashlightController.java139 ArrayList<Surface> outputs = new ArrayList<>(1);
140 outputs.add(mSurface);
141 mCameraDevice.createCaptureSession(outputs, mSessionListener, mHandler);
/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/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/av/services/camera/libcameraservice/api1/client2/
H A DParameters.h286 CropRegion calculateCropRegion(CropRegion::Outputs outputs) const;
H A DParameters.cpp2845 Parameters::CropRegion::Outputs outputs) const {
2903 // skip over outputs we don't want to consider for the crop region
2904 if ( !((1 << i) & outputs) ) {
/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 2441 milliseconds