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

12

/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioPolicyConfig.java61 * @param mix a non-null {@link AudioMix} to be part of the audio policy.
65 public void addMix(AudioMix mix) throws IllegalArgumentException { argument
66 if (mix == null) {
69 mMixes.add(mix);
89 for (AudioMix mix : mMixes) {
90 // write mix route flags
91 dest.writeInt(mix.getRouteFlags());
93 dest.writeInt(mix.mCallbackFlags);
95 dest.writeInt(mix.mDeviceSystemType);
96 dest.writeString(mix
217 setMixRegistration(@onNull final AudioMix mix) argument
[all...]
H A DAudioPolicy.java158 * @param mix a non-null {@link AudioMix} to be part of the audio policy.
163 public Builder addMix(@NonNull AudioMix mix) throws IllegalArgumentException { argument
164 if (mix == null) {
167 mMixes.add(mix);
246 // the AudioPolicy status listener includes updates on each mix activity state
247 for (AudioMix mix : mMixes) {
248 mix.mCallbackFlags |= AudioMix.CALLBACK_FLAG_NOTIFY_ACTIVITY;
279 for (AudioMix mix : mixes) {
280 if (mix == null) {
283 zeMixes.add(mix);
380 checkMixReadyToUse(AudioMix mix, boolean forTrack) argument
470 createAudioRecordSink(AudioMix mix) argument
510 createAudioTrackSource(AudioMix mix) argument
539 onMixStateUpdate(AudioMix mix) argument
722 addressForTag(AudioMix mix) argument
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPolicyMix.cpp45 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 DAudioInputDescriptor.cpp84 dstConfig->ext.mix.hw_module = getModuleHandle();
85 dstConfig->ext.mix.handle = mIoHandle;
86 dstConfig->ext.mix.usecase.source = inputSource();
96 port->ext.mix.hw_module = getModuleHandle();
97 port->ext.mix.handle = mIoHandle;
98 port->ext.mix.latency_class = AUDIO_LATENCY_NORMAL;
H A DAudioOutputDescriptor.cpp175 dstConfig->ext.mix.hw_module = getModuleHandle();
176 dstConfig->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT;
184 port->ext.mix.hw_module = getModuleHandle();
351 dstConfig->ext.mix.handle = mIoHandle;
362 port->ext.mix.handle = mIoHandle;
363 port->ext.mix.latency_class =
H A DAudioPatch.cpp62 mPatch.sources[i].id, mPatch.sources[i].ext.mix.handle);
77 mPatch.sinks[i].id, mPatch.sinks[i].ext.mix.handle);
/frameworks/native/libs/math/include/math/
H A Dscalar.h35 static constexpr T mix(T x, T y, T a) noexcept {
41 return mix(x, y, a);
/frameworks/av/services/oboeservice/
H A DAAudioMixer.h41 int32_t mix(int streamIndex, android::FifoBuffer *fifo, bool allowUnderflow);
H A DAAudioMixer.cpp52 int32_t AAudioMixer::mix(int streamIndex, FifoBuffer *fifo, bool allowUnderflow) { function in class:AAudioMixer
H A DAAudioServiceEndpointPlay.cpp115 int32_t framesMixed = mMixer.mix(index, fifo, allowUnderflow);
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioPolicyMix.h30 * 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/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/av/services/audioflinger/
H A DPatchPanel.cpp231 // 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 DThreads.cpp408 " us per mix loop: mean=%.0f stddev=%.0f min=%.0f max=%.0f\n"
1525 config->ext.mix.handle = mId;
3031 // chains list to be processed before output mix effects. Relative order between other
3779 config->ext.mix.hw_module = mOutput->audioHwDev->handle();
3780 config->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT;
3986 // corresponding to our sub-mix.
4150 // mix buffers...
4244 // Delegate master volume control to effect in output mix effect chain if needed
4278 // and then removed within the same normal mix cycle. This is not a problem, as
4281 // at the identical fast mixer slot within the same normal mix cycl
[all...]
/frameworks/rs/tests/java_api/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/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A Dartistic1.rs55 v1 = mix(v1, v2, dist * 2.f);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A Dartistic1.rs55 v1 = mix(v1, v2, dist * 2.f);
/frameworks/rs/tests/java_api/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.cpp229 ChannelMixer mix = gMixers[mUseFloatTexture]; local
255 (this->*mix)(start, end, amount, dst);
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A Dmath_fp16.rs177 TEST_HN_FUNC_HN_HN_HN(mix);
178 TEST_HN_FUNC_HN_HN_H(mix);
H A Dmath.rs322 TEST_FN_FUNC_FN_FN_FN(mix);
323 TEST_FN_FUNC_FN_FN_F(mix);
/frameworks/rs/driver/runtime/
H A Drs_cl.c955 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/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
H A Dapitest.rs1020 f = mix(f, f, f);
1021 f2 = mix(f2, f2, f2);
1022 f3 = mix(f3, f3, f3);
1023 f4 = mix(f4, f4, f4);
1024 f2 = mix(f2, f2, f);
1025 f3 = mix(f3, f3, f);
1026 f4 = mix(f4, f4, f);
/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:__anon1944::AudioStream
312 data |= chain->mix(buffer, tick - mInterval, tick, mSampleRate);

Completed in 379 milliseconds

12