Home
last modified time | relevance | path

Searched refs:audio_channel_mask_t (Results 1 – 14 of 14) sorted by relevance

/system/media/audio_utils/
DChannelMix.cpp40 template <audio_channel_mask_t INPUT_CHANNEL_MASK, audio_channel_mask_t OUTPUT_CHANNEL_MASK>
49 template <audio_channel_mask_t INPUT_CHANNEL_MASK, audio_channel_mask_t OUTPUT_CHANNEL_MASK>
73 template <audio_channel_mask_t INPUT_CHANNEL_MASK,
74 audio_channel_mask_t OUTPUT_CHANNEL_MASK, bool ACCUMULATE>
133 std::shared_ptr<IChannelMix> IChannelMix::create(audio_channel_mask_t outputChannelMask) { in INSTANTIATE_MASKS()
149 bool IChannelMix::isOutputChannelMaskSupported(audio_channel_mask_t outputChannelMask) { in isOutputChannelMaskSupported()
DBalance.cpp21 void Balance::setChannelMask(audio_channel_mask_t channelMask) in setChannelMask()
24 channelMask = static_cast<audio_channel_mask_t>(channelMask & ~AUDIO_CHANNEL_HAPTIC_ALL); in setChannelMask()
Dformat.c164 audio_channel_mask_t dst_channel_mask, audio_channel_mask_t src_channel_mask) in memcpy_by_index_array_initialization_from_channel_mask()
/system/media/audio/include/system/
Daudio.h279 static inline CONSTEXPR uint32_t audio_channel_mask_get_bits(audio_channel_mask_t channel) in audio_channel_mask_get_bits()
291 audio_channel_mask_t channel) in audio_channel_mask_get_representation()
301 return audio_channel_mask_get_representation(static_cast<audio_channel_mask_t>(mask)); in audio_channel_mask_get_representation()
312 static inline CONSTEXPR bool audio_channel_mask_is_valid(audio_channel_mask_t channel) in audio_channel_mask_is_valid()
328 static inline CONSTEXPR audio_channel_mask_t audio_channel_mask_from_representation_and_bits( in audio_channel_mask_from_representation_and_bits()
331 return (audio_channel_mask_t) ((representation << AUDIO_CHANNEL_COUNT_MAX) | bits); in audio_channel_mask_from_representation_and_bits()
351 static inline CONSTEXPR bool audio_is_channel_mask_spatialized(audio_channel_mask_t channelMask) { in audio_is_channel_mask_spatialized()
363 static inline audio_channel_mask_t
373 return (audio_channel_mask_t)channelMaskFromFormat; in audio_channel_mask_from_media_format_mask()
389 return (audio_channel_mask_t)(positionBits | hapticBits); in audio_channel_mask_from_media_format_mask()
[all …]
Daudio_effect.h500 audio_channel_mask_t main_channels; // channel mask for main channels
501 audio_channel_mask_t aux_channels; // channel mask for auxiliary channels
Daudio-hal-enums.h256 } audio_channel_mask_t; typedef
260 inline const char* audio_channel_out_mask_to_string(audio_channel_mask_t t) { in audio_channel_out_mask_to_string()
269 inline const char* audio_channel_in_mask_to_string(audio_channel_mask_t t) { in audio_channel_in_mask_to_string()
278 inline const char* audio_channel_index_mask_to_string(audio_channel_mask_t t) { in audio_channel_index_mask_to_string()
288 inline bool audio_channel_mask_from_string(const char* s, audio_channel_mask_t* t) { in audio_channel_mask_from_string()
/system/media/audio_utils/include/audio_utils/
DChannelMix.h25 template <audio_channel_mask_t INPUT_CHANNEL_MASK,
26 audio_channel_mask_t OUTPUT_CHANNEL_MASK, bool ACCUMULATE>
35 template <audio_channel_mask_t OUTPUT_CHANNEL_MASK, size_t M>
36 constexpr bool fillChannelMatrix(audio_channel_mask_t INPUT_CHANNEL_MASK, in fillChannelMatrix()
452 virtual bool setInputChannelMask(audio_channel_mask_t inputChannelMask) = 0;
457 virtual audio_channel_mask_t getInputChannelMask() const = 0;
486 audio_channel_mask_t inputChannelMask) = 0;
489 static std::shared_ptr<IChannelMix> create(audio_channel_mask_t outputChannelMask);
492 static bool isOutputChannelMaskSupported(audio_channel_mask_t outputChannelMask);
501 template <audio_channel_mask_t OUTPUT_CHANNEL_MASK>
[all …]
Dformat.h86 audio_channel_mask_t dst_channel_mask, audio_channel_mask_t src_channel_mask);
DBalance.h90 void setChannelMask(audio_channel_mask_t channelMask);
177 audio_channel_mask_t mChannelMask = AUDIO_CHANNEL_INVALID;
/system/media/audio_utils/tests/
Dchannelmix_tests.cpp22 static constexpr audio_channel_mask_t kOutputChannelMasks[] = {
29 static constexpr audio_channel_mask_t kInputChannelMasks[] = {
54 audio_channel_mask_t(AUDIO_CHANNEL_OUT_22POINT2
154 void testBalance(audio_channel_mask_t outputChannelMask, in testBalance()
155 audio_channel_mask_t inputChannelMask, bool accumulate) { in testBalance()
343 const audio_channel_mask_t outputChannelMask = kOutputChannelMasks[out_index]; in __anon01897a640102()
345 const audio_channel_mask_t inputChannelMask = kInputChannelMasks[in_index]; in __anon01897a640102()
Dbalance_tests.cpp88 balance.setChannelMask((audio_channel_mask_t)channelMask); in TEST()
107 balance.setChannelMask((audio_channel_mask_t) in TEST()
/system/media/audio_utils/benchmarks/
Dchannelmix_benchmark.cpp25 static constexpr audio_channel_mask_t kChannelPositionMasks[] = {
148 template<audio_channel_mask_t OUTPUT_CHANNEL_MASK>
150 const audio_channel_mask_t channelMask = kChannelPositionMasks[state.range(0)]; in BenchmarkChannelMix()
/system/media/tests/
Dstatic_checks.h29 V(audio_channel_mask_t) \
Dsystemaudio_tests.cpp218 static constexpr audio_channel_mask_t OUT_CHANNEL_MASKS[AUDIO_PORT_MAX_CHANNEL_MASKS] = {
254 static constexpr audio_channel_mask_t IN_CHANNEL_MASKS[AUDIO_PORT_MAX_CHANNEL_MASKS] = {
632 updateFieldAndCompare(static_cast<audio_channel_mask_t>(rhs.channel_mask << 1), in TEST_F()