Home
last modified time | relevance | path

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

123

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp44 void AudioPolicyMix::setMix(AudioMix &mix) in setMix() argument
46 mMix = mix; in setMix()
54 status_t AudioPolicyMixCollection::registerMix(String8 address, AudioMix mix) in registerMix() argument
62 policyMix->setMix(mix); in registerMix()
106 AudioMix *mix = policyMix->getMix(); in getOutputForAttr() local
108 if (mix->mMixType == MIX_TYPE_PLAYERS) { in getOutputForAttr()
109 for (size_t j = 0; j < mix->mCriteria.size(); j++) { in getOutputForAttr()
110 if ((RULE_MATCH_ATTRIBUTE_USAGE == mix->mCriteria[j].mRule && in getOutputForAttr()
111 mix->mCriteria[j].mAttr.mUsage == attributes.usage) || in getOutputForAttr()
112 (RULE_EXCLUDE_ATTRIBUTE_USAGE == mix->mCriteria[j].mRule && in getOutputForAttr()
[all …]
DAudioInputDescriptor.cpp79 dstConfig->ext.mix.hw_module = getModuleHandle(); in toAudioPortConfig()
80 dstConfig->ext.mix.handle = mIoHandle; in toAudioPortConfig()
81 dstConfig->ext.mix.usecase.source = mInputSource; in toAudioPortConfig()
91 port->ext.mix.hw_module = getModuleHandle(); in toAudioPort()
92 port->ext.mix.handle = mIoHandle; in toAudioPort()
93 port->ext.mix.latency_class = AUDIO_LATENCY_NORMAL; in toAudioPort()
DAudioOutputDescriptor.cpp176 dstConfig->ext.mix.hw_module = getModuleHandle(); in toAudioPortConfig()
177 dstConfig->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; in toAudioPortConfig()
185 port->ext.mix.hw_module = getModuleHandle(); in toAudioPort()
354 dstConfig->ext.mix.handle = mIoHandle; in toAudioPortConfig()
365 port->ext.mix.handle = mIoHandle; in toAudioPort()
366 port->ext.mix.latency_class = in toAudioPort()
DAudioPatch.cpp62 mPatch.sources[i].id, mPatch.sources[i].ext.mix.handle); in dump()
76 mPatch.sinks[i].id, mPatch.sinks[i].ext.mix.handle); in dump()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicy.java149 public Builder addMix(@NonNull AudioMix mix) throws IllegalArgumentException { in addMix() argument
150 if (mix == null) { in addMix()
153 mMixes.add(mix); in addMix()
194 for (AudioMix mix : mMixes) { in build()
195 mix.mCallbackFlags |= AudioMix.CALLBACK_FLAG_NOTIFY_ACTIVITY; in build()
240 private void checkMixReadyToUse(AudioMix mix, boolean forTrack) in checkMixReadyToUse() argument
242 if (mix == null) { in checkMixReadyToUse()
247 if (!mConfig.mMixes.contains(mix)) { in checkMixReadyToUse()
250 if ((mix.getRouteFlags() & AudioMix.ROUTE_FLAG_LOOP_BACK) != AudioMix.ROUTE_FLAG_LOOP_BACK) in checkMixReadyToUse()
254 if (forTrack && (mix.getMixType() != AudioMix.MIX_TYPE_RECORDERS)) { in checkMixReadyToUse()
[all …]
DAudioPolicyConfig.java55 public void addMix(AudioMix mix) throws IllegalArgumentException { in addMix() argument
56 if (mix == null) { in addMix()
59 mMixes.add(mix); in addMix()
79 for (AudioMix mix : mMixes) { in writeToParcel()
81 dest.writeInt(mix.getRouteFlags()); in writeToParcel()
83 dest.writeInt(mix.mCallbackFlags); in writeToParcel()
85 dest.writeInt(mix.getFormat().getSampleRate()); in writeToParcel()
86 dest.writeInt(mix.getFormat().getEncoding()); in writeToParcel()
87 dest.writeInt(mix.getFormat().getChannelMask()); in writeToParcel()
89 final ArrayList<AttributeMatchCriterion> criteria = mix.getRule().getCriteria(); in writeToParcel()
[all …]
/frameworks/av/services/audioflinger/
DPatchPanel.cpp192 patch->sinks[i].ext.mix.hw_module != srcModule) && in createAudioPatch()
217 patch->sources[1].ext.mix.hw_module) { in createAudioPatch()
224 audioflinger->checkPlaybackThread_l(patch->sources[1].ext.mix.handle); in createAudioPatch()
279 patch->sinks[0].ext.mix.handle); in createAudioPatch()
282 patch->sinks[0].ext.mix.handle); in createAudioPatch()
304 audio_module_handle_t srcModule = patch->sources[0].ext.mix.hw_module; in createAudioPatch()
328 audioflinger->checkPlaybackThread_l(patch->sources[0].ext.mix.handle); in createAudioPatch()
331 patch->sources[0].ext.mix.handle); in createAudioPatch()
373 subPatch.sinks[0].ext.mix.usecase.source = AUDIO_SOURCE_MIC; in createPatchConnections()
430 audioPatch->sources[1].ext.mix.usecase.stream, in createPatchConnections()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyMix.h44 void setMix(AudioMix &mix);
57 status_t registerMix(String8 address, AudioMix mix);
/frameworks/base/tests/RenderScriptTests/SceneGraph/res/raw/
Dpaintf.glsl21 float fresnel = mix(pow(1.0 - light0_Diffuse, 15.0), 1.0, 0.1);
22 col.xyz = mix(col.xyz, textureCube(UNI_reflection, -light0R).rgb * 2.4, fresnel);
Dselect_color.glsl9 col = mix(col, vec3(0.0), stepVal)*0.5;
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
Dvr.rs68 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/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/base/tests/RenderScriptTests/PerfTest/res/raw/
Dmultitexf.glsl9 col0.xyz = mix(col0.xyz, col2.xyz, col2.w);
/frameworks/base/tests/RenderScriptTests/MiscSamples/res/raw/
Dmultitexf.glsl9 col0.xyz = mix(col0.xyz, col2.xyz, col2.w);
/frameworks/av/media/libstagefright/filters/
Dsaturation.rs34 result = mix(result, in, gSaturation);
DsaturationARGB.rs35 result = mix(result, rgb, gSaturation);
/frameworks/av/cmds/stagefright/filters/
Dsaturation.rs35 result = mix(result, rgb, gSaturation);
/frameworks/base/tests/RenderScriptTests/ShadersTest/res/raw/
Dvignette_fs.glsl12 color = vec4(mix(color.rgb, vec3(0.0), gradient), 1.0);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dartistic1.rs55 v1 = mix(v1, v2, dist * 2.f);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dartistic1.rs55 v1 = mix(v1, v2, dist * 2.f);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dartistic1.rs55 v1 = mix(v1, v2, dist * 2.f);
/frameworks/base/libs/hwui/
DGradientCache.cpp249 ChannelMixer mix = gMixers[mUseFloatTexture]; in generateTexture() local
275 (this->*mix)(start, end, amount, dst); in generateTexture()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp106 bool mix(int32_t *output, int head, int tail, int sampleRate);
236 bool AudioStream::mix(int32_t *output, int head, int tail, int sampleRate) in mix() function in __anon5fc701100111::AudioStream
312 data |= chain->mix(buffer, tick - mInterval, tick, mSampleRate); in encode()
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rs1002 f = mix(f, f, f);
1003 f2 = mix(f2, f2, f2);
1004 f3 = mix(f3, f3, f3);
1005 f4 = mix(f4, f4, f4);
1006 f2 = mix(f2, f2, f);
1007 f3 = mix(f3, f3, f);
1008 f4 = mix(f4, f4, f);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dapitest.rs1002 f = mix(f, f, f);
1003 f2 = mix(f2, f2, f2);
1004 f3 = mix(f3, f3, f3);
1005 f4 = mix(f4, f4, f4);
1006 f2 = mix(f2, f2, f);
1007 f3 = mix(f3, f3, f);
1008 f4 = mix(f4, f4, f);

123