Searched refs:mix (Results 1 - 24 of 24) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPolicyMix.cpp44 void AudioPolicyMix::setMix(AudioMix &mix) argument
46 mMix = mix;
54 status_t AudioPolicyMixCollection::registerMix(String8 address, AudioMix mix, argument
59 ALOGE("registerPolicyMixes(): mix for address %s already registered", address.string());
63 policyMix->setMix(mix);
77 ALOGE("unregisterPolicyMixes(): mix for address %s not registered", address.string());
90 ALOGE("unregisterPolicyMixes(): mix for address %s not registered", address.string());
114 AudioMix *mix = policyMix->getMix(); local
116 if (mix->mMixType == MIX_TYPE_PLAYERS) {
131 // iterate over all mix criteri
236 AudioMix *mix = valueAt(i)->getMix(); local
270 AudioMix *mix = policyMix->getMix(); local
281 AudioMix *mix = audioPolicyMix->getMix(); local
[all...]
H A DAudioInputDescriptor.cpp89 dstConfig->ext.mix.hw_module = getModuleHandle();
90 dstConfig->ext.mix.handle = mIoHandle;
91 dstConfig->ext.mix.usecase.source = inputSource();
101 port->ext.mix.hw_module = getModuleHandle();
102 port->ext.mix.handle = mIoHandle;
103 port->ext.mix.latency_class = AUDIO_LATENCY_NORMAL;
H A DAudioOutputDescriptor.cpp174 dstConfig->ext.mix.hw_module = getModuleHandle();
175 dstConfig->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT;
183 port->ext.mix.hw_module = getModuleHandle();
352 dstConfig->ext.mix.handle = mIoHandle;
363 port->ext.mix.handle = mIoHandle;
364 port->ext.mix.latency_class =
H A DAudioPatch.cpp63 mPatch.sources[i].id, mPatch.sources[i].ext.mix.handle);
78 mPatch.sinks[i].id, mPatch.sinks[i].ext.mix.handle);
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioPolicyConfig.java53 * @param mix a non-null {@link AudioMix} to be part of the audio policy.
57 public void addMix(AudioMix mix) throws IllegalArgumentException { argument
58 if (mix == null) {
61 mMixes.add(mix);
81 for (AudioMix mix : mMixes) {
82 // write mix route flags
83 dest.writeInt(mix.getRouteFlags());
85 dest.writeInt(mix.mCallbackFlags);
87 dest.writeInt(mix.mDeviceSystemType);
88 dest.writeString(mix
[all...]
H A DAudioPolicy.java144 * @param mix a non-null {@link AudioMix} to be part of the audio policy.
149 public Builder addMix(@NonNull AudioMix mix) throws IllegalArgumentException { argument
150 if (mix == null) {
153 mMixes.add(mix);
193 // the AudioPolicy status listener includes updates on each mix activity state
194 for (AudioMix mix : mMixes) {
195 mix.mCallbackFlags |= AudioMix.CALLBACK_FLAG_NOTIFY_ACTIVITY;
240 private void checkMixReadyToUse(AudioMix mix, boolean forTrack) argument
242 if (mix == null) {
247 if (!mConfig.mMixes.contains(mix)) {
330 createAudioRecordSink(AudioMix mix) argument
369 createAudioTrackSource(AudioMix mix) argument
398 onMixStateUpdate(AudioMix mix) argument
499 addressForTag(AudioMix mix) argument
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioPolicyMix.h30 * custom mix entry in mPolicyMixes
44 void setMix(AudioMix &mix);
47 AudioMix mMix; // Audio policy mix descriptor
57 status_t registerMix(String8 address, AudioMix mix, sp<SwAudioOutputDescriptor> desc);
/frameworks/av/services/audioflinger/
H A DPatchPanel.cpp197 // support only one sink if connection to a mix or across HW modules
199 patch->sinks[i].ext.mix.hw_module != srcModule) &&
213 // - special patch request with 2 sources (reuse one existing output mix) OR
224 patch->sources[1].ext.mix.hw_module)) {
231 audioflinger->checkPlaybackThread_l(patch->sources[1].ext.mix.handle);
299 patch->sinks[0].ext.mix.handle);
302 patch->sinks[0].ext.mix.handle);
324 audio_module_handle_t srcModule = patch->sources[0].ext.mix.hw_module;
335 ALOGW("createAudioPatch() invalid sink type %d for mix source",
348 audioflinger->checkPlaybackThread_l(patch->sources[0].ext.mix
[all...]
H A DThreads.cpp399 " us per mix loop: mean=%.0f stddev=%.0f min=%.0f max=%.0f\n"
1529 config->ext.mix.handle = mId;
2736 // chains list to be processed before output mix effects. Relative order between other
3424 config->ext.mix.hw_module = mOutput->audioHwDev->handle();
3425 config->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT;
3622 // corresponding to our sub-mix.
3770 // mix buffers...
3841 // Delegate master volume control to effect in output mix effect chain if needed
3876 // and then removed within the same normal mix cycle. This is not a problem, as
3879 // at the identical fast mixer slot within the same normal mix cycl
[all...]
/frameworks/av/cmds/stagefright/filters/
H A Dsaturation.rs35 result = mix(result, rgb, gSaturation);
/frameworks/av/media/libstagefright/filters/
H A DsaturationARGB.rs35 result = mix(result, rgb, gSaturation);
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A 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/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A Dartistic1.rs55 v1 = mix(v1, v2, dist * 2.f);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A Dartistic1.rs55 v1 = mix(v1, v2, dist * 2.f);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A Dartistic1.rs55 v1 = mix(v1, v2, dist * 2.f);
/frameworks/base/libs/hwui/
H A DGradientCache.cpp237 ChannelMixer mix = gMixers[mUseFloatTexture]; local
263 (this->*mix)(start, end, amount, dst);
/frameworks/rs/driver/runtime/
H A Drs_cl.c952 extern float __attribute__((overloadable)) mix(float start, float stop, float amount) { function
955 extern float2 __attribute__((overloadable)) mix(float2 start, float2 stop, float2 amount) { function
958 extern float3 __attribute__((overloadable)) mix(float3 start, float3 stop, float3 amount) { function
961 extern float4 __attribute__((overloadable)) mix(float4 start, float4 stop, float4 amount) { function
964 extern float2 __attribute__((overloadable)) mix(float2 start, float2 stop, float amount) { function
967 extern float3 __attribute__((overloadable)) mix(float3 start, float3 stop, float amount) { function
970 extern float4 __attribute__((overloadable)) mix(float4 start, float4 stop, float amount) { function
2076 extern half __attribute__((overloadable)) mix(half start, half stop, half amount) { function
2079 extern half2 __attribute__((overloadable)) mix(half2 start, half2 stop, half2 amount) { function
2082 extern half3 __attribute__((overloadable)) mix(half function
2085 extern half4 __attribute__((overloadable)) mix(half4 start, half4 stop, half4 amount) { function
2088 extern half2 __attribute__((overloadable)) mix(half2 start, half2 stop, half amount) { function
2091 extern half3 __attribute__((overloadable)) mix(half3 start, half3 stop, half amount) { function
2094 extern half4 __attribute__((overloadable)) mix(half4 start, half4 stop, half amount) { function
[all...]
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp74 // nothing to mix. However, this causes some problems with certain firewalls and
106 bool mix(int32_t *output, int head, int tail, int sampleRate);
236 bool AudioStream::mix(int32_t *output, int head, int tail, int sampleRate) function in class:__anon1612::AudioStream
312 data |= chain->mix(buffer, tick - mInterval, tick, mSampleRate);
/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp732 nAudioPortConfig->type == AUDIO_PORT_TYPE_DEVICE ? "device" : "mix");
739 // constructed by java code with correct class type (device, mix etc...)
856 ALOGV("convertAudioPortConfigFromNative building a mix config");
1047 ALOGV("convertAudioPortFromNative is a mix");
1049 jHandle, nAudioPort->ext.mix.handle,
1432 nPatches[i].sources[j].type == AUDIO_PORT_TYPE_DEVICE ? "device" : "mix",
1457 nPatches[i].sinks[j].type == AUDIO_PORT_TYPE_DEVICE ? "device" : "mix",
1675 AudioMix mix; local
1676 jStatus = convertAudioMixToNative(env, &mix, jAudioMix);
1682 mixes.add(mix);
[all...]
/frameworks/rs/scriptc/
H A Drs_math.rsh3547 * mix: Mixes two values
3552 * 40% color1 and 60% color2, use mix(color1, color2, 0.6f).
3555 mix(float start, float stop, float fraction);
3558 mix(float2 start, float2 stop, float2 fraction);
3561 mix(float3 start, float3 stop, float3 fraction);
3564 mix(float4 start, float4 stop, float4 fraction);
3568 mix(half start, half stop, half fraction);
3573 mix(half2 start, half2 stop, half2 fraction);
3578 mix(half3 start, half3 stop, half3 fraction);
3583 mix(half
[all...]
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp1319 AudioMix mix; local
1320 if (mix.readFromParcel((Parcel*)&data) == NO_ERROR) {
1321 mixes.add(mix);
/frameworks/rs/api/
H A Drs_math.spec1686 function: mix
1700 40% color1 and 60% color2, use <code>mix(color1, color2, 0.6f)</code>.
1703 function: mix
1714 function: mix
1725 function: mix
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp382 patch.sources[1].ext.mix.usecase.stream = AUDIO_STREAM_PATCH;
425 patch.sources[1].ext.mix.usecase.stream = AUDIO_STREAM_PATCH;
725 ALOGW("getOutputForAttr() no policy mix found for usage AUDIO_USAGE_VIRTUAL_SOURCE");
1118 // Automatically enable the remote submix input when output is started on a re routing mix
1236 // re routing mix of type MIX_TYPE_RECORDERS
1419 // there is an external policy, but this input is attached to a mix of recorders,
1424 // recording a mix of players defined by an external policy, we're rerouting for
1661 // used by a policy mix of type MIX_TYPE_RECORDERS
1720 // used by a policy mix of type MIX_TYPE_RECORDERS
2023 // When a mix i
[all...]
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java6252 // TODO implement clearing mix attribute matching info in native audio policy
6317 for (AudioMix mix : policy.getMixes()) {
6318 if (mix.getRegistration().equals(regId)) {

Completed in 2481 milliseconds