Home
last modified time | relevance | path

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

123

/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.cpp199 config->ext.mix.hwModule = halConfig.ext.mix.hw_module; in audioPortConfigFromHal()
200 config->ext.mix.ioHandle = halConfig.ext.mix.handle; in audioPortConfigFromHal()
202 config->ext.mix.useCase.stream = AudioStreamType(halConfig.ext.mix.usecase.stream); in audioPortConfigFromHal()
204 config->ext.mix.useCase.source = AudioSource(halConfig.ext.mix.usecase.source); in audioPortConfigFromHal()
238 halConfig->ext.mix.hw_module = config.ext.mix.hwModule; in audioPortConfigToHal()
239 halConfig->ext.mix.handle = config.ext.mix.ioHandle; in audioPortConfigToHal()
241 halConfig->ext.mix.usecase.stream = in audioPortConfigToHal()
242 static_cast<audio_stream_type_t>(config.ext.mix.useCase.stream); in audioPortConfigToHal()
244 halConfig->ext.mix.usecase.source = in audioPortConfigToHal()
245 static_cast<audio_source_t>(config.ext.mix.useCase.source); in audioPortConfigToHal()
[all …]
DHidlUtils.h146 const struct audio_port_config_mix_ext& mix,
152 struct audio_port_config_mix_ext* mix,
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dcompatibility.hpp38 …template <typename T> GLM_FUNC_QUALIFIER T lerp(T x, T y, T a){return mix(x, y, a);} … in lerp()
39 …R tvec2<T, P> lerp(const tvec2<T, P>& x, const tvec2<T, P>& y, T a){return mix(x, y, a);} //… in lerp()
41 …R tvec3<T, P> lerp(const tvec3<T, P>& x, const tvec3<T, P>& y, T a){return mix(x, y, a);} //… in lerp()
42 …R tvec4<T, P> lerp(const tvec4<T, P>& x, const tvec4<T, P>& y, T a){return mix(x, y, a);} //… in lerp()
43 …p(const tvec2<T, P>& x, const tvec2<T, P>& y, const tvec2<T, P>& a){return mix(x, y, a);} //!< \br… in lerp()
44 …p(const tvec3<T, P>& x, const tvec3<T, P>& y, const tvec3<T, P>& a){return mix(x, y, a);} //!< \br… in lerp()
45 …p(const tvec4<T, P>& x, const tvec4<T, P>& y, const tvec4<T, P>& a){return mix(x, y, a);} //!< \br… in lerp()
Dvector_angle.inl56 return mix(Angle, -Angle, dot(ref, cross(x, y)) < T(0));
Dwrap.inl50 return mix(Rest, vecType<T, P>(1) - Rest, glm::greaterThanEqual(Mirror, vecType<T, P>(1)));
Dquaternion.inl30 return mix(mix(q1, q2, h), mix(s1, s2, h), static_cast<T>(2) * (static_cast<T>(1) - h) * h);
Dsimd_quat.hpp196 detail::fquatSIMD mix(
/hardware/interfaces/audio/common/all-versions/default/7.0/
DHidlUtils.cpp572 halConfig.ext.device, halConfig.ext.mix, in audioUsageFromHal()
627 &halConfig->ext.device, &halConfig->ext.mix, in audioUsageFromHal()
636 const struct audio_port_config_mix_ext& mix, in audioUsageFromHal() argument
654 ext->mix({}); in audioUsageFromHal()
655 ext->mix().ioHandle = mix.handle; in audioUsageFromHal()
657 ext->mix().useCase.stream({}); in audioUsageFromHal()
659 audioStreamTypeFromHal(mix.usecase.stream, &ext->mix().useCase.stream()), in audioUsageFromHal()
662 ext->mix().useCase.source({}); in audioUsageFromHal()
664 audioSourceFromHal(mix.usecase.source, &ext->mix().useCase.source()), in audioUsageFromHal()
680 struct audio_port_config_mix_ext* mix, in audioUsageFromHal() argument
[all …]
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/
DAudioPrimaryHidlHalTest.cpp92 configWithPortExtMixSource.ext.mix({}); in generatePortConfigs()
93 configWithPortExtMixSource.ext.mix().useCase.stream( in generatePortConfigs()
97 configWithPortExtMixSink.ext.mix({}); in generatePortConfigs()
98 configWithPortExtMixSink.ext.mix().useCase.source( in generatePortConfigs()
125 invalidStreamType.ext.mix().useCase.stream() = "random_string"; in generatePortConfigs()
128 invalidSource.ext.mix().useCase.source() = "random_string"; in generatePortConfigs()
533 source.ext.mix({}); in createPatchIfNeeded()
534 source.ext.mix().ioHandle = helper.getIoHandle(); in createPatchIfNeeded()
535 source.ext.mix().useCase.stream({}); in createPatchIfNeeded()
705 sink.ext.mix({}); in createPatchIfNeeded()
[all …]
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/
Dcolor_space.inl14 return mix(
35 return mix(
Dnoise.inl59 tvec2<T, P> n_x = mix(tvec2<T, P>(n00, n01), tvec2<T, P>(n10, n11), fade_xy.x);
60 T n_xy = mix(n_x.x, n_x.y, fade_xy.y);
129 …tvec4<T, P> n_z = mix(tvec4<T, P>(n000, n100, n010, n110), tvec4<T, P>(n001, n101, n011, n111), fa…
130 tvec2<T, P> n_yz = mix(tvec2<T, P>(n_z.x, n_z.y), tvec2<T, P>(n_z.z, n_z.w), fade_xyz.y);
131 T n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);
200 …tvec4<T, P> n_z = mix(tvec4<T, P>(n000, n100, n010, n110), tvec4<T, P>(n001, n101, n011, n111), fa…
201 tvec2<T, P> n_yz = mix(
204 T n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);
336 …tvec4<T, P> n_0w = mix(tvec4<T, P>(n0000, n1000, n0100, n1100), tvec4<T, P>(n0001, n1001, n0101, n…
337 …tvec4<T, P> n_1w = mix(tvec4<T, P>(n0010, n1010, n0110, n1110), tvec4<T, P>(n0011, n1011, n0111, n…
[all …]
Dquaternion.inl400 GLM_FUNC_QUALIFIER tquat<T, P> mix(tquat<T, P> const & x, tquat<T, P> const & y, T const & a)
475 GLM_FUNC_QUALIFIER tquat<T, P> mix(tquat<T, P> const & x, tquat<T, P> const & y, T a) function
484 mix(x.w, y.w, a),
485 mix(x.x, y.x, a),
486 mix(x.y, y.y, a),
487 mix(x.z, y.z, a));
527 mix(x.w, z.w, a),
528 mix(x.x, z.x, a),
529 mix(x.y, z.y, a),
530 mix(x.z, z.z, a));
/hardware/google/gfxstream/third-party/glm/include/glm/detail/
Dfunc_common.hpp227 …GLM_FUNC_DECL vecType<T, P> mix(vecType<T, P> const & x, vecType<T, P> const & y, vecType<U, P> co…
230 GLM_FUNC_DECL vecType<T, P> mix(vecType<T, P> const & x, vecType<T, P> const & y, U a);
233 GLM_FUNC_DECL genTypeT mix(genTypeT x, genTypeT y, genTypeU a);
Dfunc_common.inl124 …GLM_STATIC_ASSERT(std::numeric_limits<U>::is_iec559 || GLM_UNRESTRICTED_GENTYPE, "'mix' only accep…
147 …GLM_STATIC_ASSERT(std::numeric_limits<U>::is_iec559 || GLM_UNRESTRICTED_GENTYPE, "'mix' only accep…
167 …GLM_STATIC_ASSERT(std::numeric_limits<U>::is_iec559 || GLM_UNRESTRICTED_GENTYPE, "'mix' only accep…
292 return mix(vecType<T, P>(1), vecType<T, P>(0), glm::lessThan(x, edge));
404 // return mix(IntegerPart + genType(-1), IntegerPart + genType(1), x <= genType(0));
564 GLM_FUNC_QUALIFIER genTypeT mix(genTypeT x, genTypeT y, genTypeU a) function
570 GLM_FUNC_QUALIFIER vecType<T, P> mix(vecType<T, P> const & x, vecType<T, P> const & y, U a) function
576 …GLM_FUNC_QUALIFIER vecType<T, P> mix(vecType<T, P> const & x, vecType<T, P> const & y, vecType<U, … function
585 return mix(static_cast<genType>(1), static_cast<genType>(0), glm::lessThan(x, edge));
/hardware/interfaces/audio/effect/4.0/
DIDownmixEffect.hal25 FOLD // mix the extra channels with FL/FR
/hardware/interfaces/audio/effect/6.0/
DIDownmixEffect.hal25 FOLD // mix the extra channels with FL/FR
/hardware/interfaces/audio/effect/5.0/
DIDownmixEffect.hal25 FOLD // mix the extra channels with FL/FR
/hardware/interfaces/audio/effect/7.0/
DIDownmixEffect.hal25 FOLD // mix the extra channels with FL/FR
/hardware/interfaces/audio/effect/2.0/
DIDownmixEffect.hal25 FOLD // mix the extra channels with FL/FR
/hardware/interfaces/audio/aidl/vts/
DModuleConfig.cpp180 return port.ext.getTag() == AudioPortExt::Tag::mix && in getInputMixPorts()
190 return port.ext.getTag() == AudioPortExt::Tag::mix && in getOutputMixPorts()
330 auto make_pair = [isInput](auto& device, auto& mix) { in getNonRoutableSrcSinkPair() argument
331 return isInput ? std::make_pair(device, mix) : std::make_pair(mix, device); in getNonRoutableSrcSinkPair()
/hardware/interfaces/audio/common/2.0/
Dtypes.hal130 * Source for the mix to be presented remotely. An example of remote
132 * to play the mix captured by this audio source.
164 * Session for effects applied to output mix. These effects can
823 * Audio port type indicates if it is a session (e.g AudioTrack), a mix (e.g
886 } mix;
901 * Latency class of the audio mix.
934 AudioPortMixExt mix;
/hardware/interfaces/audio/common/4.0/
Dtypes.hal124 * Source for the mix to be presented remotely. An example of remote
126 * to play the mix captured by this audio source.
150 * Session for effects applied to output mix. These effects can
784 * Audio port type indicates if it is a session (e.g AudioTrack), a mix (e.g
846 } mix;
862 * Latency class of the audio mix.
895 AudioPortMixExt mix;
/hardware/interfaces/audio/aidl/default/
DModule.cpp227 portConfigIt->ext.get<AudioPortExt::mix>().handle, in createStreamContext()
298 if (portIt->ext.getTag() != AudioPortExt::Tag::mix) { in findPortIdForNewStream()
303 const size_t maxOpenStreamCount = portIt->ext.get<AudioPortExt::Tag::mix>().maxOpenStreamCount; in findPortIdForNewStream()
1027 sources[0]->ext.getTag() == AudioPortExt::mix ? sources : sinks; in setAudioPatch()
1028 for (auto mix : mixPortConfigs) { in setAudioPatch() local
1029 sampleRates.emplace(mix->sampleRate.value().value, mix); in setAudioPatch()
1199 if (out_suggested->ext.getTag() == AudioPortExt::Tag::mix) { in setAudioPortConfigImpl()
1202 const auto& src = in_requested.ext.get<AudioPortExt::Tag::mix>(); in setAudioPortConfigImpl()
1203 auto& dst = out_suggested->ext.get<AudioPortExt::Tag::mix>(); in setAudioPortConfigImpl()
/hardware/interfaces/audio/common/5.0/
Dtypes.hal126 * Source for the mix to be presented remotely. An example of remote
128 * to play the mix captured by this audio source.
164 * Session for effects applied to output mix. These effects can
913 * Audio port type indicates if it is a session (e.g AudioTrack), a mix (e.g
975 } mix;
991 * Latency class of the audio mix.
1024 AudioPortMixExt mix;
/hardware/interfaces/audio/aidl/default/bluetooth/
DModuleBluetooth.cpp183 if (int32_t handle = mixPortConfig->ext.get<AudioPortExt::mix>().handle; handle > 0) { in checkAudioPatchEndpointsMatch()
264 const auto connectionsIt = mConnections.find(portConfig.ext.get<AudioPortExt::mix>().handle); in getNominalLatencyMs()

123