/system/media/audio_utils/tests/ |
D | format_tests.cpp | 27 static bool is_common_format(audio_format_t format) { in is_common_format() 54 class FormatTest : public testing::TestWithParam<std::tuple<audio_format_t, audio_format_t>> 62 const audio_format_t src_encoding = std::get<0>(param); in TEST_P() 63 const audio_format_t dst_encoding = std::get<1>(param); in TEST_P() 72 constexpr audio_format_t orig_encoding = AUDIO_FORMAT_PCM_16_BIT; in TEST_P()
|
/system/media/audio_utils/ |
D | power.cpp | 34 constexpr inline bool isFormatSupported(audio_format_t format) { in isFormatSupported() 54 template <audio_format_t FORMAT> 87 template <audio_format_t FORMAT> 114 template <audio_format_t FORMAT> 121 template <audio_format_t FORMAT> 132 template <audio_format_t FORMAT> 242 float audio_utils_compute_energy_mono(const void *buffer, audio_format_t format, size_t samples) in audio_utils_compute_energy_mono() 268 float audio_utils_compute_power_mono(const void *buffer, audio_format_t format, size_t samples) in audio_utils_compute_power_mono() 274 bool audio_utils_is_compute_power_format_supported(audio_format_t format) in audio_utils_is_compute_power_format_supported()
|
D | format.c | 25 void memcpy_by_audio_format(void *dst, audio_format_t dst_format, in memcpy_by_audio_format() 26 const void *src, audio_format_t src_format, size_t count) in memcpy_by_audio_format()
|
D | mono_blend.cpp | 26 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames, bool limit) { in mono_blend()
|
D | PowerLog.cpp | 45 audio_format_t format, in PowerLog() 249 uint32_t channel_count, audio_format_t format, size_t entries, size_t frames_per_entry) in power_log_create()
|
D | echo_reference.c | 41 audio_format_t rd_format; // read sample format 45 audio_format_t wr_format; // write sample format 485 int create_echo_reference(audio_format_t rdFormat, in create_echo_reference() 488 audio_format_t wrFormat, in create_echo_reference()
|
/system/media/audio_utils/include/audio_utils/ |
D | power.h | 45 float audio_utils_compute_power_mono(const void *buffer, audio_format_t format, size_t samples); 63 float audio_utils_compute_energy_mono(const void *buffer, audio_format_t format, size_t samples); 71 bool audio_utils_is_compute_power_format_supported(audio_format_t format);
|
D | format.h | 63 void memcpy_by_audio_format(void *dst, audio_format_t dst_format, 64 const void *src, audio_format_t src_format, size_t count);
|
D | PowerLog.h | 56 audio_format_t format, 99 const audio_format_t mFormat; // audio data format 129 uint32_t channel_count, audio_format_t format, size_t entries, size_t frames_per_entry);
|
D | echo_reference.h | 55 int create_echo_reference(audio_format_t rdFormat, 58 audio_format_t wrFormat,
|
D | mono_blend.h | 43 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames,
|
/system/media/audio_utils/spdif/ |
D | AC3FrameScanner.h | 38 explicit AC3FrameScanner(audio_format_t format); 62 audio_format_t mFormat;
|
D | SPDIFEncoder.cpp | 36 SPDIFEncoder::SPDIFEncoder(audio_format_t format) in SPDIFEncoder() 86 bool SPDIFEncoder::isFormatSupported(audio_format_t format) in isFormatSupported()
|
D | AC3FrameScanner.cpp | 95 AC3FrameScanner::AC3FrameScanner(audio_format_t format) in AC3FrameScanner()
|
/system/media/audio_utils/include/audio_utils/spdif/ |
D | SPDIFEncoder.h | 37 explicit SPDIFEncoder(audio_format_t format); 76 static bool isFormatSupported(audio_format_t format);
|
/system/media/audio/include/system/ |
D | audio.h | 285 audio_format_t format; // audio format 326 audio_format_t format; 357 audio_format_t format; 480 audio_format_t format; /* format if applicable */ 532 audio_format_t formats[AUDIO_PORT_MAX_FORMATS]; 1000 static inline bool audio_is_valid_format(audio_format_t format) in audio_is_valid_format() 1134 static inline audio_format_t audio_get_main_format(audio_format_t format) in audio_get_main_format() 1136 return (audio_format_t)(format & AUDIO_FORMAT_MAIN_MASK); in audio_get_main_format() 1142 static inline bool audio_is_linear_pcm(audio_format_t format) in audio_is_linear_pcm() 1157 static inline bool audio_has_proportional_frames(audio_format_t format) in audio_has_proportional_frames() [all …]
|
D | audio-base.h | 189 } audio_format_t; typedef
|
/system/bt/audio_bluetooth_hw/ |
D | stream_apis.h | 25 constexpr audio_format_t kBluetoothDefaultAudioFormatBitsPerSample = 54 audio_format_t format_;
|
D | stream_apis.cc | 114 static audio_format_t out_get_format(const struct audio_stream* stream) { in out_get_format() 128 static int out_set_format(struct audio_stream* stream, audio_format_t format) { in out_set_format()
|
D | device_port_proxy.cc | 83 audio_format_t BitsPerSampleToAudioFormat(BitsPerSample bits_per_sample) { in BitsPerSampleToAudioFormat()
|
/system/bt/btif/src/ |
D | btif_avrcp_audio_track.cc | 40 audio_format_t format; in BtifAvrcpAudioTrackCreate()
|
/system/tools/hidl/c2hal/test/ |
D | test.h | 331 audio_format_t format = s->common.get_format(&s->common); in audio_stream_out_frame_size()
|
/system/bt/audio_hearing_aid_hw/src/ |
D | audio_hearing_aid_hw.cc | 1088 static audio_format_t out_get_format(const struct audio_stream* stream) { in out_get_format() 1091 return (audio_format_t)out->common.cfg.format; in out_get_format() 1095 UNUSED_ATTR audio_format_t format) { in out_set_format() 1392 static audio_format_t in_get_format( in in_get_format() 1399 UNUSED_ATTR audio_format_t format) { in in_set_format()
|
/system/bt/audio_a2dp_hw/src/ |
D | audio_a2dp_hw.cc | 1127 static audio_format_t out_get_format(const struct audio_stream* stream) { in out_get_format() 1130 return (audio_format_t)out->common.cfg.format; in out_get_format() 1134 UNUSED_ATTR audio_format_t format) { in out_set_format() 1450 static audio_format_t in_get_format( in in_get_format() 1457 UNUSED_ATTR audio_format_t format) { in in_set_format()
|