Home
last modified time | relevance | path

Searched refs:mix (Results 1 – 25 of 88) 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()
/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/rs/toolkit/test/
DReferenceLut3d.kt62 val yz00 = mix(v000, v100, fractionAwayFromPoint1.x) in lookup()
63 val yz10 = mix(v010, v110, fractionAwayFromPoint1.x) in lookup()
64 val yz01 = mix(v001, v101, fractionAwayFromPoint1.x) in lookup()
65 val yz11 = mix(v011, v111, fractionAwayFromPoint1.x) in lookup()
67 val z0 = mix(yz00, yz10, fractionAwayFromPoint1.y) in lookup()
68 val z1 = mix(yz01, yz11, fractionAwayFromPoint1.y) in lookup()
70 val v = mix(z0, z1, fractionAwayFromPoint1.z) in lookup()
DBufferUtils.kt278 fun mix(start: Float, end: Float, fraction: Float) = start + (end - start) * fraction in indexOfVector() method
280 fun mix(a: Float4, b: Float4, fraction: Float) = Float4( in indexOfVector() method
281 mix(a.x, b.x, fraction), in indexOfVector()
282 mix(a.y, b.y, fraction), in indexOfVector()
283 mix(a.z, b.z, fraction), in indexOfVector()
284 mix(a.w, b.w, fraction) in indexOfVector()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/whitebalance/
DAmbientLuxTest.java184 mix(lowerBrightness, upperBrightness, t)); in testSpline_OneSegment()
186 mix(LOW_LIGHT_AMBIENT_COLOR_TEMPERATURE, ambientColorTemperature, t), 0.001); in testSpline_OneSegment()
215 float luxOverride = mix(brightness0, brightness1, t); in testSpline_TwoSegments()
217 float bias = mix(bias0, bias1, t); in testSpline_TwoSegments()
219 mix(LOW_LIGHT_AMBIENT_COLOR_TEMPERATURE, ambientColorTemperature, bias), 0.001); in testSpline_TwoSegments()
223 float luxOverride = mix(brightness1, brightness2, t); in testSpline_TwoSegments()
225 float bias = mix(bias1, bias2, t); in testSpline_TwoSegments()
227 mix(LOW_LIGHT_AMBIENT_COLOR_TEMPERATURE, ambientColorTemperature, bias), 0.001); in testSpline_TwoSegments()
310 mix(lowerBrightness, upperBrightness, t)); in testSpline_OneSegmentHighLight()
312 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);
128 MixMatchStatus mixMatch(const AudioMix* mix, size_t mixIndex,
/frameworks/av/services/audioflinger/
DPatchPanel.cpp243 patch->sources[1].ext.mix.hw_module)) { in createAudioPatch()
250 mAudioFlinger.checkPlaybackThread_l(patch->sources[1].ext.mix.handle); in createAudioPatch()
319 && patch->sources[1].ext.mix.usecase.stream in createAudioPatch()
349 patch->sinks[0].ext.mix.handle); in createAudioPatch()
351 thread = mAudioFlinger.checkMmapThread_l(patch->sinks[0].ext.mix.handle); in createAudioPatch()
354 __func__, patch->sinks[0].ext.mix.handle); in createAudioPatch()
366 if (iter.second.mAudioPatch.sinks[0].ext.mix.handle == thread->id()) { in createAudioPatch()
383 audio_module_handle_t srcModule = patch->sources[0].ext.mix.hw_module; in createAudioPatch()
411 mAudioFlinger.checkPlaybackThread_l(patch->sources[0].ext.mix.handle); in createAudioPatch()
413 thread = mAudioFlinger.checkMmapThread_l(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/libstagefright/renderfright/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/av/media/libaudioclient/aidl/android/media/
DAudioPortExtSys.aidl33 AudioPortMixExtSys mix;
/frameworks/compile/slang/tests/F_one_definition_rule6/
Ddef2.rscript4 // expected-error: mix
Ddef1.rscript4 // expected-error: mix
/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/base/media/aidl_api/android.media.audio.common.types/current/android/media/audio/common/
DAudioPortExt.aidl40 android.media.audio.common.AudioPortMixExt mix;
/frameworks/base/media/aidl_api/android.media.audio.common.types/1/android/media/audio/common/
DAudioPortExt.aidl40 android.media.audio.common.AudioPortMixExt mix;
/frameworks/base/media/aidl/android/media/audio/common/
DAudioPortExt.aidl36 AudioPortMixExt mix;
/frameworks/av/services/oboeservice/
DAAudioMixer.h40 int32_t mix(int streamIndex, std::shared_ptr<android::FifoBuffer> fifo, bool allowUnderflow);
/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
/frameworks/base/libs/WindowManager/Shell/tests/
DREADME.md8 - integration, this maybe a mix of functional and integration tests. Contains

1234