/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioPolicyMix.cpp | 45 void AudioPolicyMix::setMix(AudioMix &mix) argument 47 mMix = mix; 65 ALOGE("%s: failed to convert mix type %d", __FUNCTION__, mMix.mMixType); 68 snprintf(buffer, SIZE, "%*s- mix type: %s\n", spaces, "", mixTypeLiteral.c_str()); 115 status_t AudioPolicyMixCollection::registerMix(const String8& address, AudioMix mix, argument 120 ALOGE("registerPolicyMixes(): mix for address %s already registered", address.string()); 124 policyMix->setMix(mix); 138 ALOGE("unregisterPolicyMixes(): mix for address %s not registered", address.string()); 151 ALOGE("unregisterPolicyMixes(): mix for address %s not registered", address.string()); 175 AudioMix *mix local 297 AudioMix *mix = valueAt(i)->getMix(); local 331 AudioMix *mix = policyMix->getMix(); local 342 AudioMix *mix = audioPolicyMix->getMix(); local [all...] |
H A D | AudioInputDescriptor.cpp | 87 dstConfig->ext.mix.hw_module = getModuleHandle(); 88 dstConfig->ext.mix.handle = mIoHandle; 89 dstConfig->ext.mix.usecase.source = inputSource(); 99 port->ext.mix.hw_module = getModuleHandle(); 100 port->ext.mix.handle = mIoHandle; 101 port->ext.mix.latency_class = AUDIO_LATENCY_NORMAL;
|
H A D | AudioOutputDescriptor.cpp | 174 dstConfig->ext.mix.hw_module = getModuleHandle(); 175 dstConfig->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; 183 port->ext.mix.hw_module = getModuleHandle(); 353 dstConfig->ext.mix.handle = mIoHandle; 364 port->ext.mix.handle = mIoHandle; 365 port->ext.mix.latency_class =
|
H A D | AudioPatch.cpp | 65 mPatch.sources[i].id, mPatch.sources[i].ext.mix.handle); 80 mPatch.sinks[i].id, mPatch.sinks[i].ext.mix.handle);
|
/frameworks/base/media/java/android/media/audiopolicy/ |
H A D | AudioPolicyConfig.java | 53 * @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 D | AudioPolicy.java | 150 * @param mix a non-null {@link AudioMix} to be part of the audio policy. 155 public Builder addMix(@NonNull AudioMix mix) throws IllegalArgumentException { argument 156 if (mix == null) { 159 mMixes.add(mix); 222 // the AudioPolicy status listener includes updates on each mix activity state 223 for (AudioMix mix : mMixes) { 224 mix.mCallbackFlags |= AudioMix.CALLBACK_FLAG_NOTIFY_ACTIVITY; 273 private void checkMixReadyToUse(AudioMix mix, boolean forTrack) argument 275 if (mix == null) { 280 if (!mConfig.mMixes.contains(mix)) { 363 createAudioRecordSink(AudioMix mix) argument 402 createAudioTrackSource(AudioMix mix) argument 431 onMixStateUpdate(AudioMix mix) argument 582 addressForTag(AudioMix mix) argument [all...] |
/frameworks/native/libs/math/include/math/ |
H A D | scalar.h | 35 static constexpr T mix(T x, T y, T a) noexcept { 41 return mix(x, y, a);
|
/frameworks/av/services/oboeservice/ |
H A D | AAudioMixer.h | 40 bool mix(android::FifoBuffer *fifo, float volume);
|
H A D | AAudioMixer.cpp | 44 bool AAudioMixer::mix(FifoBuffer *fifo, float volume) { function in class:AAudioMixer 70 //ALOGW("AAudioMixer::mix() UNDERFLOW by %d / %d frames ----- UNDERFLOW !!!!!!!!!!",
|
H A D | AAudioServiceEndpointPlay.cpp | 85 bool underflowed = mMixer.mix(fifo, volume);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioPolicyMix.h | 30 * custom mix entry in mPolicyMixes 44 void setMix(AudioMix &mix); 49 AudioMix mMix; // Audio policy mix descriptor 59 status_t registerMix(const String8& address, AudioMix mix, sp<SwAudioOutputDescriptor> desc);
|
/frameworks/av/services/audioflinger/ |
H A D | PatchPanel.cpp | 231 // support only one sink if connection to a mix or across HW modules 233 patch->sinks[i].ext.mix.hw_module != srcModule) && 247 // - special patch request with 2 sources (reuse one existing output mix) OR 258 patch->sources[1].ext.mix.hw_module)) { 265 audioflinger->checkPlaybackThread_l(patch->sources[1].ext.mix.handle); 335 patch->sinks[0].ext.mix.handle); 337 thread = audioflinger->checkMmapThread_l(patch->sinks[0].ext.mix.handle); 340 patch->sinks[0].ext.mix.handle); 358 audio_module_handle_t srcModule = patch->sources[0].ext.mix.hw_module; 369 ALOGW("createAudioPatch() invalid sink type %d for mix sourc [all...] |
H A D | Threads.cpp | 409 " us per mix loop: mean=%.0f stddev=%.0f min=%.0f max=%.0f\n" 1527 config->ext.mix.handle = mId; 2841 // chains list to be processed before output mix effects. Relative order between other 3579 config->ext.mix.hw_module = mOutput->audioHwDev->handle(); 3580 config->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; 3786 // corresponding to our sub-mix. 3950 // mix buffers... 4021 // Delegate master volume control to effect in output mix effect chain if needed 4055 // and then removed within the same normal mix cycle. This is not a problem, as 4058 // at the identical fast mixer slot within the same normal mix cycl [all...] |
/frameworks/av/cmds/stagefright/filters/ |
H A D | saturation.rs | 35 result = mix(result, rgb, gSaturation);
|
/frameworks/av/media/libstagefright/filters/ |
H A D | saturationARGB.rs | 35 result = mix(result, rgb, gSaturation);
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | vr.rs | 68 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/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
H A D | artistic1.rs | 55 v1 = mix(v1, v2, dist * 2.f);
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
H A D | artistic1.rs | 55 v1 = mix(v1, v2, dist * 2.f);
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | artistic1.rs | 55 v1 = mix(v1, v2, dist * 2.f);
|
/frameworks/base/libs/hwui/ |
H A D | GradientCache.cpp | 229 ChannelMixer mix = gMixers[mUseFloatTexture]; local 255 (this->*mix)(start, end, amount, dst);
|
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 955 extern float __attribute__((overloadable)) mix(float start, float stop, float amount) { function 958 extern float2 __attribute__((overloadable)) mix(float2 start, float2 stop, float2 amount) { function 961 extern float3 __attribute__((overloadable)) mix(float3 start, float3 stop, float3 amount) { function 964 extern float4 __attribute__((overloadable)) mix(float4 start, float4 stop, float4 amount) { function 967 extern float2 __attribute__((overloadable)) mix(float2 start, float2 stop, float amount) { function 970 extern float3 __attribute__((overloadable)) mix(float3 start, float3 stop, float amount) { function 973 extern float4 __attribute__((overloadable)) mix(float4 start, float4 stop, float amount) { function 2079 extern half __attribute__((overloadable)) mix(half start, half stop, half amount) { function 2082 extern half2 __attribute__((overloadable)) mix(half2 start, half2 stop, half2 amount) { function 2085 extern half3 __attribute__((overloadable)) mix(half function 2088 extern half4 __attribute__((overloadable)) mix(half4 start, half4 stop, half4 amount) { function 2091 extern half2 __attribute__((overloadable)) mix(half2 start, half2 stop, half amount) { function 2094 extern half3 __attribute__((overloadable)) mix(half3 start, half3 stop, half amount) { function 2097 extern half4 __attribute__((overloadable)) mix(half4 start, half4 stop, half amount) { function [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 74 // 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:__anon1950::AudioStream 312 data |= chain->mix(buffer, tick - mInterval, tick, mSampleRate);
|
/frameworks/rs/script_api/include/ |
H A D | rs_math.rsh | 3547 * 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/libaudioclient/ |
H A D | IAudioPolicyService.cpp | 1358 AudioMix mix; local 1359 if (mix.readFromParcel((Parcel*)&data) == NO_ERROR) { 1360 mixes.add(mix);
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 751 nAudioPortConfig->type == AUDIO_PORT_TYPE_DEVICE ? "device" : "mix"); 758 // constructed by java code with correct class type (device, mix etc...) 875 ALOGV("convertAudioPortConfigFromNative building a mix config"); 1104 ALOGV("convertAudioPortFromNative is a mix"); 1106 jHandle, nAudioPort->ext.mix.handle, 1489 nPatches[i].sources[j].type == AUDIO_PORT_TYPE_DEVICE ? "device" : "mix", 1514 nPatches[i].sinks[j].type == AUDIO_PORT_TYPE_DEVICE ? "device" : "mix", 1732 AudioMix mix; local 1733 jStatus = convertAudioMixToNative(env, &mix, jAudioMix); 1739 mixes.add(mix); [all...] |