Searched refs:audio_channel_mask_t (Results 1 – 14 of 14) sorted by relevance
/system/media/audio_utils/ |
D | ChannelMix.cpp | 40 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()
|
D | Balance.cpp | 21 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()
|
D | format.c | 164 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/ |
D | audio.h | 279 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 …]
|
D | audio_effect.h | 500 audio_channel_mask_t main_channels; // channel mask for main channels 501 audio_channel_mask_t aux_channels; // channel mask for auxiliary channels
|
D | audio-hal-enums.h | 256 } 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/ |
D | ChannelMix.h | 25 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 …]
|
D | format.h | 86 audio_channel_mask_t dst_channel_mask, audio_channel_mask_t src_channel_mask);
|
D | Balance.h | 90 void setChannelMask(audio_channel_mask_t channelMask); 177 audio_channel_mask_t mChannelMask = AUDIO_CHANNEL_INVALID;
|
/system/media/audio_utils/tests/ |
D | channelmix_tests.cpp | 22 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()
|
D | balance_tests.cpp | 88 balance.setChannelMask((audio_channel_mask_t)channelMask); in TEST() 107 balance.setChannelMask((audio_channel_mask_t) in TEST()
|
/system/media/audio_utils/benchmarks/ |
D | channelmix_benchmark.cpp | 25 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/ |
D | static_checks.h | 29 V(audio_channel_mask_t) \
|
D | systemaudio_tests.cpp | 218 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()
|