Home
last modified time | relevance | path

Searched refs:mix (Results 1 – 25 of 79) sorted by relevance

1234

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp81 status_t AudioPolicyMixCollection::registerMix(AudioMix mix, sp<SwAudioOutputDescriptor> desc) in registerMix() argument
85 if (mix.mDeviceType == registeredMix->mDeviceType in registerMix()
86 && mix.mDeviceAddress.compare(registeredMix->mDeviceAddress) == 0) { in registerMix()
88 mix.mDeviceType, mix.mDeviceAddress.string()); in registerMix()
92 sp<AudioPolicyMix> policyMix = new AudioPolicyMix(mix); in registerMix()
104 status_t AudioPolicyMixCollection::unregisterMix(const AudioMix& mix) in unregisterMix() argument
108 if (mix.mDeviceType == registeredMix->mDeviceType in unregisterMix()
109 && mix.mDeviceAddress.compare(registeredMix->mDeviceAddress) == 0) { in unregisterMix()
111 mix.mDeviceType, mix.mDeviceAddress.string()); in unregisterMix()
118 mix.mDeviceType, mix.mDeviceAddress.string()); in unregisterMix()
[all …]
DAudioInputDescriptor.cpp90 dstConfig->ext.mix.hw_module = getModuleHandle(); in toAudioPortConfig()
91 dstConfig->ext.mix.handle = mIoHandle; in toAudioPortConfig()
92 dstConfig->ext.mix.usecase.source = source(); in toAudioPortConfig()
102 port->ext.mix.hw_module = getModuleHandle(); in toAudioPort()
103 port->ext.mix.handle = mIoHandle; in toAudioPort()
104 port->ext.mix.latency_class = AUDIO_LATENCY_NORMAL; in toAudioPort()
DAudioOutputDescriptor.cpp208 dstConfig->ext.mix.hw_module = getModuleHandle(); in toAudioPortConfig()
209 dstConfig->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; in toAudioPortConfig()
217 port->ext.mix.hw_module = getModuleHandle(); in toAudioPort()
400 dstConfig->ext.mix.handle = mIoHandle; in toAudioPortConfig()
411 port->ext.mix.handle = mIoHandle; in toAudioPort()
412 port->ext.mix.latency_class = in toAudioPort()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicyConfig.java63 public void addMix(AudioMix mix) throws IllegalArgumentException { in addMix() argument
64 if (mix == null) { in addMix()
67 mMixes.add(mix); in addMix()
87 for (AudioMix mix : mMixes) { in writeToParcel()
89 dest.writeInt(mix.getRouteFlags()); in writeToParcel()
91 dest.writeInt(mix.mCallbackFlags); in writeToParcel()
93 dest.writeInt(mix.mDeviceSystemType); in writeToParcel()
94 dest.writeString(mix.mDeviceAddress); in writeToParcel()
96 dest.writeInt(mix.getFormat().getSampleRate()); in writeToParcel()
97 dest.writeInt(mix.getFormat().getEncoding()); in writeToParcel()
[all …]
DAudioPolicy.java197 public Builder addMix(@NonNull AudioMix mix) throws IllegalArgumentException { in addMix() argument
198 if (mix == null) { in addMix()
201 mMixes.add(mix); in addMix()
314 for (AudioMix mix : mMixes) { in build()
315 mix.mCallbackFlags |= AudioMix.CALLBACK_FLAG_NOTIFY_ACTIVITY; in build()
345 for (AudioMix mix : mixes) { in attachMixes()
346 if (mix == null) { in attachMixes()
349 zeMixes.add(mix); in attachMixes()
384 for (AudioMix mix : mixes) { in detachMixes()
385 if (mix == null) { in detachMixes()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/display/whitebalance/
DAmbientLuxTest.java158 mix(lowerBrightness, upperBrightness, t)); in testSpline_OneSegment()
160 mix(LOW_LIGHT_AMBIENT_COLOR_TEMPERATURE, ambientColorTemperature, t), 0.001); in testSpline_OneSegment()
189 float luxOverride = mix(brightness0, brightness1, t); in testSpline_TwoSegments()
191 float bias = mix(bias0, bias1, t); in testSpline_TwoSegments()
193 mix(LOW_LIGHT_AMBIENT_COLOR_TEMPERATURE, ambientColorTemperature, bias), 0.001); in testSpline_TwoSegments()
197 float luxOverride = mix(brightness1, brightness2, t); in testSpline_TwoSegments()
199 float bias = mix(bias1, bias2, t); in testSpline_TwoSegments()
201 mix(LOW_LIGHT_AMBIENT_COLOR_TEMPERATURE, ambientColorTemperature, bias), 0.001); in testSpline_TwoSegments()
284 mix(lowerBrightness, upperBrightness, t)); in testSpline_OneSegmentHighLight()
286 mix(HIGH_LIGHT_AMBIENT_COLOR_TEMPERATURE, ambientColorTemperature, 1.0f - t), in testSpline_OneSegmentHighLight()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyMix.h37 AudioPolicyMix(const AudioMix &mix) : AudioMix(mix) {} in AudioPolicyMix() argument
58 status_t registerMix(AudioMix mix, sp<SwAudioOutputDescriptor> desc);
60 status_t unregisterMix(const AudioMix& mix);
126 MixMatchStatus mixMatch(const AudioMix* mix, size_t mixIndex,
/frameworks/av/services/audioflinger/
DPatchPanel.cpp220 patch->sources[1].ext.mix.hw_module)) { in createAudioPatch()
227 mAudioFlinger.checkPlaybackThread_l(patch->sources[1].ext.mix.handle); in createAudioPatch()
317 patch->sinks[0].ext.mix.handle); in createAudioPatch()
319 thread = mAudioFlinger.checkMmapThread_l(patch->sinks[0].ext.mix.handle); in createAudioPatch()
322 __func__, patch->sinks[0].ext.mix.handle); in createAudioPatch()
334 if (iter.second.mAudioPatch.sinks[0].ext.mix.handle == thread->id()) { in createAudioPatch()
351 audio_module_handle_t srcModule = patch->sources[0].ext.mix.hw_module; in createAudioPatch()
379 mAudioFlinger.checkPlaybackThread_l(patch->sources[0].ext.mix.handle); in createAudioPatch()
381 thread = mAudioFlinger.checkMmapThread_l(patch->sources[0].ext.mix.handle); in createAudioPatch()
384 __func__, patch->sources[0].ext.mix.handle); in createAudioPatch()
[all …]
/frameworks/native/libs/math/include/math/
Dscalar.h35 static constexpr T mix(T x, T y, T a) noexcept { in mix() function
41 return mix(x, y, a); in lerp()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagCommonKinds.inc104 "cannot mix --static with --as-needed",
105 "cannot mix --static with --as-needed")
196 "cannot mix -nmagic option with -shared",
197 "cannot mix -nmagic option with -shared")
200 "cannot mix -omagic option with -shared",
201 "cannot mix -omagic option with -shared")
/frameworks/native/libs/renderengine/gl/filters/
DBlurFilter.cpp179 GLfloat mix = fmin(1.0, mRadius / kMaxCrossFadeRadius); in render() local
184 if (mix >= 1 || multiPass) { in render()
193 glUniform1f(mMMixLoc, mix); in render()
/frameworks/av/media/libmedia/include/media/
DPatchBuilder.h80 add(entity).ext.mix.usecase = usecaseUpdate; in add()
85 mix_usecase_t* usecase = &add(entity).ext.mix.usecase; in add()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dvr.rscript68 float v_0_0 = mix(v_0_0_0, v_0_0_1, delta.x);
69 float v_0_1 = mix(v_0_1_0, v_0_1_1, delta.x);
70 float v_1_0 = mix(v_1_0_0, v_1_0_1, delta.x);
71 float v_1_1 = mix(v_1_1_0, v_1_1_1, delta.x);
72 float v_0 = mix(v_0_0, v_0_1, delta.y);
73 float v_1 = mix(v_1_0, v_1_1, delta.y);
74 float v = mix(v_0, v_1, delta.z);
/frameworks/compile/slang/tests/F_one_definition_rule6/
Ddef2.rscript4 // expected-error: mix
Ddef1.rscript4 // expected-error: mix
/frameworks/av/services/oboeservice/
DAAudioMixer.h41 int32_t mix(int streamIndex, android::FifoBuffer *fifo, bool allowUnderflow);
DAAudioMixer.cpp52 int32_t AAudioMixer::mix(int streamIndex, FifoBuffer *fifo, bool allowUnderflow) { in mix() function in AAudioMixer
DAAudioServiceEndpointPlay.cpp114 int32_t framesMixed = mMixer.mix(index, fifo, allowUnderflow); in callbackLoop()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/cdc/
DFingerprintMixerTest.java144 long n = mFingerprintMixer.mix(mSeededRandom.nextLong()); in mix_randomlyDistributesBits()
167 assertThat(mFingerprintMixer.mix(i)).isNotEqualTo(i); in mix_doesNotProduceSameNumberAsInput()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/cdc/
DFingerprintMixer.java82 long mix(long fingerprint) { in mix() method in FingerprintMixer
DContentDefinedChunker.java103 mFingerprintMixer.mix(fingerprint)))) { in chunkify()
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.h66 const audio_attributes_t &attr, sp<AudioPolicyMix> *mix = nullptr) const override;
/frameworks/base/packages/EasterEgg/
DAndroid.bp19 // so we will have a mix of java and kotlin files
/frameworks/av/media/libstagefright/filters/
DsaturationARGB.rscript35 result = mix(result, rgb, gSaturation);
Dsaturation.rscript34 result = mix(result, in, gSaturation);

1234