/system/media/audio_utils/fuzz/format_fuzzer/ |
D | format_fuzzer.cpp | 26 static bool is_common_src_format(audio_format_t format) { in is_common_src_format() 30 static bool is_common_dst_format(audio_format_t format) { in is_common_dst_format() 36 const static audio_format_t formats[] = {AUDIO_FORMAT_PCM_16_BIT, AUDIO_FORMAT_PCM_FLOAT, 63 size_t formats_len = sizeof(formats)/sizeof(audio_format_t); in LLVMFuzzerTestOneInput() 68 const audio_format_t src_encoding = formats[src]; in LLVMFuzzerTestOneInput() 69 const audio_format_t dst_encoding = formats[dst]; in LLVMFuzzerTestOneInput() 77 constexpr audio_format_t orig_encoding = AUDIO_FORMAT_PCM_16_BIT; in LLVMFuzzerTestOneInput()
|
/system/media/audio_utils/tests/ |
D | format_tests.cpp | 27 static bool is_common_src_format(audio_format_t format) { in is_common_src_format() 31 static bool is_common_dst_format(audio_format_t format) { in is_common_dst_format() 60 class FormatTest : public testing::TestWithParam<std::tuple<audio_format_t, audio_format_t>> 68 const audio_format_t src_encoding = std::get<0>(param); in TEST_P() 69 const audio_format_t dst_encoding = std::get<1>(param); in TEST_P() 78 constexpr audio_format_t orig_encoding = AUDIO_FORMAT_PCM_16_BIT; in TEST_P()
|
/system/media/audio_utils/fuzz/dtsframescanner_fuzzer/ |
D | dtsframescanner_fuzzer.cpp | 27 explicit MySPDIFEncoder(audio_format_t format) in MySPDIFEncoder() 39 const static audio_format_t dts_formats[] = {AUDIO_FORMAT_DTS, AUDIO_FORMAT_DTS_HD}; 40 const size_t formats_len = sizeof(dts_formats)/sizeof(audio_format_t); 46 audio_format_t encoding = dts_formats[size % formats_len]; in LLVMFuzzerTestOneInput()
|
/system/media/audio_utils/fuzz/ac3framescanner_fuzzer/ |
D | ac3framescanner_fuzzer.cpp | 27 explicit MySPDIFEncoder(audio_format_t format) in MySPDIFEncoder() 39 const static audio_format_t acs_formats[] = {AUDIO_FORMAT_AC3, AUDIO_FORMAT_E_AC3, 41 const size_t formats_len = sizeof(acs_formats)/sizeof(audio_format_t); 47 audio_format_t encoding = acs_formats[size % formats_len]; in LLVMFuzzerTestOneInput()
|
/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 | 21 void memcpy_by_audio_format(void *dst, audio_format_t dst_format, in memcpy_by_audio_format() 22 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() 250 uint32_t channel_count, audio_format_t format, size_t entries, size_t frames_per_entry) in power_log_create()
|
D | echo_reference.c | 42 audio_format_t rd_format; // read sample format 46 audio_format_t wr_format; // write sample format 486 int create_echo_reference(audio_format_t rdFormat, in create_echo_reference() 489 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 | 64 void memcpy_by_audio_format(void *dst, audio_format_t dst_format, 65 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/fuzz/monoblend_fuzzer/ |
D | monoblend_fuzzer.cpp | 10 audio_format_t decideFormat(uint32_t num) { in decideFormat() 18 return (audio_format_t) num; // default switch case in mono_blend() in decideFormat() 43 audio_format_t format = decideFormat(fuzzed_data.ConsumeIntegral<uint32_t>()); in LLVMFuzzerTestOneInput()
|
/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() 87 bool SPDIFEncoder::isFormatSupported(audio_format_t format) in isFormatSupported()
|
D | AC3FrameScanner.cpp | 95 AC3FrameScanner::AC3FrameScanner(audio_format_t format) in AC3FrameScanner()
|
/system/media/audio/include/system/ |
D | audio.h | 296 audio_format_t format; // audio format 337 audio_format_t format; 368 audio_format_t format; 491 audio_format_t format; /* format if applicable */ 543 audio_format_t formats[AUDIO_PORT_MAX_FORMATS]; 1066 static inline bool audio_is_valid_format(audio_format_t format) in audio_is_valid_format() 1197 static inline bool audio_is_iec61937_compatible(audio_format_t format) in audio_is_iec61937_compatible() 1217 static inline audio_format_t audio_get_main_format(audio_format_t format) in audio_get_main_format() 1219 return (audio_format_t)(format & AUDIO_FORMAT_MAIN_MASK); in audio_get_main_format() 1225 static inline bool audio_is_linear_pcm(audio_format_t format) in audio_is_linear_pcm() [all …]
|
D | audio-base.h | 191 } audio_format_t; typedef
|
/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/bt/audio_bluetooth_hw/ |
D | stream_apis.h | 26 constexpr audio_format_t kBluetoothDefaultAudioFormatBitsPerSample = 55 audio_format_t format_;
|
/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 | 1087 static audio_format_t out_get_format(const struct audio_stream* stream) { in out_get_format() 1090 return (audio_format_t)out->common.cfg.format; in out_get_format() 1094 UNUSED_ATTR audio_format_t format) { in out_set_format() 1391 static audio_format_t in_get_format( in in_get_format() 1398 UNUSED_ATTR audio_format_t format) { in in_set_format()
|
/system/bt/audio_a2dp_hw/src/ |
D | audio_a2dp_hw.cc | 1126 static audio_format_t out_get_format(const struct audio_stream* stream) { in out_get_format() 1129 return (audio_format_t)out->common.cfg.format; in out_get_format() 1133 UNUSED_ATTR audio_format_t format) { in out_set_format() 1449 static audio_format_t in_get_format( in in_get_format() 1456 UNUSED_ATTR audio_format_t format) { in in_set_format()
|