Home
last modified time | relevance | path

Searched refs:audio_format_t (Results 1 – 24 of 24) sorted by relevance

/system/media/audio_utils/tests/
Dformat_tests.cpp27 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/
Dpower.cpp34 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()
Dformat.c25 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()
Dmono_blend.cpp26 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames, bool limit) { in mono_blend()
DPowerLog.cpp45 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()
Decho_reference.c41 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/
Dpower.h45 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);
Dformat.h63 void memcpy_by_audio_format(void *dst, audio_format_t dst_format,
64 const void *src, audio_format_t src_format, size_t count);
DPowerLog.h56 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);
Decho_reference.h55 int create_echo_reference(audio_format_t rdFormat,
58 audio_format_t wrFormat,
Dmono_blend.h43 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames,
/system/media/audio_utils/spdif/
DAC3FrameScanner.h38 explicit AC3FrameScanner(audio_format_t format);
62 audio_format_t mFormat;
DSPDIFEncoder.cpp36 SPDIFEncoder::SPDIFEncoder(audio_format_t format) in SPDIFEncoder()
86 bool SPDIFEncoder::isFormatSupported(audio_format_t format) in isFormatSupported()
DAC3FrameScanner.cpp95 AC3FrameScanner::AC3FrameScanner(audio_format_t format) in AC3FrameScanner()
/system/media/audio_utils/include/audio_utils/spdif/
DSPDIFEncoder.h37 explicit SPDIFEncoder(audio_format_t format);
76 static bool isFormatSupported(audio_format_t format);
/system/media/audio/include/system/
Daudio.h285 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 …]
Daudio-base.h189 } audio_format_t; typedef
/system/bt/audio_bluetooth_hw/
Dstream_apis.h25 constexpr audio_format_t kBluetoothDefaultAudioFormatBitsPerSample =
54 audio_format_t format_;
Dstream_apis.cc114 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()
Ddevice_port_proxy.cc83 audio_format_t BitsPerSampleToAudioFormat(BitsPerSample bits_per_sample) { in BitsPerSampleToAudioFormat()
/system/bt/btif/src/
Dbtif_avrcp_audio_track.cc40 audio_format_t format; in BtifAvrcpAudioTrackCreate()
/system/tools/hidl/c2hal/test/
Dtest.h331 audio_format_t format = s->common.get_format(&s->common); in audio_stream_out_frame_size()
/system/bt/audio_hearing_aid_hw/src/
Daudio_hearing_aid_hw.cc1088 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/
Daudio_a2dp_hw.cc1127 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()