Home
last modified time | relevance | path

Searched refs:sourceFormat (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/libaaudio/src/client/
DAAudioFlowGraph.cpp37 aaudio_result_t AAudioFlowGraph::configure(audio_format_t sourceFormat, in configure() argument
45 __func__, sourceFormat, sourceChannelCount, sinkFormat, sinkChannelCount); in configure()
47 switch (sourceFormat) { in configure()
61 ALOGE("%s() Unsupported source format = %d", __func__, sourceFormat); in configure()
73 if (sourceFormat == AUDIO_FORMAT_PCM_FLOAT && sinkFormat == AUDIO_FORMAT_PCM_FLOAT) { in configure()
DAAudioFlowGraph.h41 aaudio_result_t configure(audio_format_t sourceFormat,
DAudioStreamInternalCapture.cpp191 const audio_format_t sourceFormat = getDeviceFormat(); in readNowWithConversion() local
195 wrappingBuffer.data[partIndex], sourceFormat, numSamples); in readNowWithConversion()
/frameworks/base/core/java/android/view/translation/
DTranslationManager.java263 @TranslationSpec.DataFormat int sourceFormat, in getOnDeviceTranslationCapabilities()
267 mService.onTranslationCapabilitiesRequest(sourceFormat, targetFormat, receiver, in getOnDeviceTranslationCapabilities()
295 @TranslationSpec.DataFormat int sourceFormat, in getTranslationCapabilities()
297 return getOnDeviceTranslationCapabilities(sourceFormat, targetFormat); in getTranslationCapabilities()
338 @TranslationSpec.DataFormat int sourceFormat, in addOnDeviceTranslationCapabilityUpdateListener()
344 final Pair<Integer, Integer> formatPair = new Pair<>(sourceFormat, targetFormat); in addOnDeviceTranslationCapabilityUpdateListener()
356 @TranslationSpec.DataFormat int sourceFormat, in addTranslationCapabilityUpdateListener()
359 addOnDeviceTranslationCapabilityUpdateListener(sourceFormat, targetFormat, pendingIntent); in addTranslationCapabilityUpdateListener()
395 @TranslationSpec.DataFormat int sourceFormat, in removeOnDeviceTranslationCapabilityUpdateListener()
401 final Pair<Integer, Integer> formatPair = new Pair<>(sourceFormat, targetFormat); in removeOnDeviceTranslationCapabilityUpdateListener()
[all …]
DITranslationManager.aidl37 void onTranslationCapabilitiesRequest(int sourceFormat, int destFormat, in onTranslationCapabilitiesRequest() argument
/frameworks/base/core/java/android/service/translation/
DTranslationService.java116 public void onTranslationCapabilitiesRequest(@TranslationSpec.DataFormat int sourceFormat,
121 TranslationService.this, sourceFormat, targetFormat,
298 @TranslationSpec.DataFormat int sourceFormat, in onTranslationCapabilitiesRequest()
357 @TranslationSpec.DataFormat int sourceFormat, in handleOnTranslationCapabilitiesRequest()
360 onTranslationCapabilitiesRequest(sourceFormat, targetFormat, in handleOnTranslationCapabilitiesRequest()
364 if (!isValidCapabilities(sourceFormat, targetFormat, values)) { in handleOnTranslationCapabilitiesRequest()
381 private boolean isValidCapabilities(@TranslationSpec.DataFormat int sourceFormat, in isValidCapabilities() argument
383 if (sourceFormat != TranslationSpec.DATA_FORMAT_TEXT in isValidCapabilities()
DITranslationService.aidl39 void onTranslationCapabilitiesRequest(int sourceFormat, int targetFormat, in onTranslationCapabilitiesRequest() argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterGraph.java242 FrameFormat sourceFormat = inputPort.getSourceFormat(); in runTypeCheckOn() local
244 if (sourceFormat != null && targetFormat != null) { in runTypeCheckOn()
245 … if (mLogVerbose) Log.v(TAG, "Checking " + sourceFormat + " against " + targetFormat + "."); in runTypeCheckOn()
253 compatible = sourceFormat.mayBeCompatibleWith(targetFormat); in runTypeCheckOn()
257 compatible = sourceFormat.isCompatibleWith(targetFormat); in runTypeCheckOn()
265 + sourceFormat + "!"); in runTypeCheckOn()
/frameworks/base/services/translation/java/com/android/server/translation/
DRemoteTranslationService.java93 public void onTranslationCapabilitiesRequest(@TranslationSpec.DataFormat int sourceFormat, in onTranslationCapabilitiesRequest() argument
96 run((s) -> s.onTranslationCapabilitiesRequest(sourceFormat, targetFormat, resultReceiver)); in onTranslationCapabilitiesRequest()
DTranslationManagerService.java157 public void onTranslationCapabilitiesRequest(@TranslationSpec.DataFormat int sourceFormat, in onTranslationCapabilitiesRequest() argument
165 service.onTranslationCapabilitiesRequestLocked(sourceFormat, targetFormat, in onTranslationCapabilitiesRequest()
DTranslationManagerServiceImpl.java148 void onTranslationCapabilitiesRequestLocked(@TranslationSpec.DataFormat int sourceFormat, in onTranslationCapabilitiesRequestLocked() argument
153 remoteService.onTranslationCapabilitiesRequest(sourceFormat, destFormat, in onTranslationCapabilitiesRequestLocked()
/frameworks/av/media/libmediatranscoding/transcoder/tests/
DMediaTranscoderTests.cpp180 [dstMime, bitrate](AMediaFormat* sourceFormat) { in testTranscodeVideo() argument
183 AMediaFormat_getString(sourceFormat, AMEDIAFORMAT_KEY_MIME, in testTranscodeVideo()
334 static AMediaFormat* getAVCVideoFormat(AMediaFormat* sourceFormat) { in getAVCVideoFormat() argument
337 AMediaFormat_getString(sourceFormat, AMEDIAFORMAT_KEY_MIME, &mime); in getAVCVideoFormat()
DTranscoderTestUtils.h65 AMediaFormat* sourceFormat, bool includeBitrate = true) {
71 AMediaFormat_copy(destinationFormat, sourceFormat);
/frameworks/av/media/libmediatranscoding/transcoder/tests/fuzzer/
Dmedia_transcoder_fuzzer.cpp118 AMediaFormat* getFormat(AMediaFormat* sourceFormat) { in getFormat() argument
121 AMediaFormat_getString(sourceFormat, AMEDIAFORMAT_KEY_MIME, &mime); in getFormat()
/frameworks/av/media/libmediatranscoding/transcoder/benchmark/
DMediaTrackTranscoderBenchmark.cpp230 AMediaFormat* sourceFormat) { in GetDefaultTrackFormat() argument
239 AMediaFormat_copy(format, sourceFormat); in GetDefaultTrackFormat()
/frameworks/av/media/libmediatranscoding/transcoder/
DMediaTranscoder.cpp287 for (const std::shared_ptr<AMediaFormat>& sourceFormat : mSourceTrackFormats) { in getTrackFormats() local
289 AMediaFormat_copy(copy, sourceFormat.get()); in getTrackFormats()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java1041 int sourceFormat = AudioFormat.ENCODING_DEFAULT; in updateAudioConfigLocked() local
1043 sourceFormat = sinkConfig.format(); in updateAudioConfigLocked()
1046 sourceFormat, sourceGainConfig); in updateAudioConfigLocked()