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

12

/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.cpp87 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 DAudioOutputDescriptor.cpp174 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 DAudioPatch.cpp65 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 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.java150 * @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 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.h40 bool mix(int trackIndex, android::FifoBuffer *fifo, float volume);
H A DAAudioMixer.cpp52 bool AAudioMixer::mix(int trackIndex, FifoBuffer *fifo, float volume) { function in class:AAudioMixer
H A DAAudioServiceEndpointPlay.cpp108 bool underflowed = mMixer.mix(index, fifo, volume);
/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.cpp405 " us per mix loop: mean=%.0f stddev=%.0f min=%.0f max=%.0f\n"
1518 config->ext.mix.handle = mId;
2845 // chains list to be processed before output mix effects. Relative order between other
3582 config->ext.mix.hw_module = mOutput->audioHwDev->handle();
3583 config->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT;
3789 // corresponding to our sub-mix.
3953 // mix buffers...
4024 // Delegate master volume control to effect in output mix effect chain if needed
4058 // and then removed within the same normal mix cycle. This is not a problem, as
4061 // 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.cpp230 ChannelMixer mix = gMixers[mUseFloatTexture]; local
256 (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:__anon2056::AudioStream
312 data |= chain->mix(buffer, tick - mInterval, tick, mSampleRate);

Completed in 1339 milliseconds

12