/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()
|
D | spdif_tests.cpp | 32 explicit MySPDIFEncoder(audio_format_t format) in MySPDIFEncoder()
|
/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/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, 104 const audio_format_t mFormat; // audio data format 134 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,
|
D | sndfile.h | 87 static inline audio_format_t SF_format_to_audio_format (int format) { in SF_format_to_audio_format()
|
/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 | 23 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() 254 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 511 int create_echo_reference(audio_format_t rdFormat, in create_echo_reference() 514 audio_format_t wrFormat, in create_echo_reference()
|
/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/bt/audio_bluetooth_hw/ |
D | stream_apis.h | 26 constexpr audio_format_t kBluetoothDefaultAudioFormatBitsPerSample = 58 audio_format_t format_; 88 audio_format_t format_;
|
/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_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 | 356 audio_format_t format; // audio format 403 audio_format_t format; 437 audio_format_t format; 589 audio_format_t format; /* format if applicable */ 656 audio_format_t formats[AUDIO_PORT_MAX_FORMATS]; 685 audio_format_t format; 979 template <typename T, std::enable_if_t<std::is_same<T, audio_format_t>::value 990 std::map<audio_format_t, 1667 static inline bool audio_is_valid_format(audio_format_t format) in audio_is_valid_format() 1814 static inline bool audio_is_iec61937_compatible(audio_format_t format) in audio_is_iec61937_compatible() [all …]
|
/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/media/tests/ |
D | systemaudio_tests.cpp | 319 size_t fillFakeFormats(audio_format_t formats[], size_t numFormats); 525 size_t SystemAudioPortTest::fillFakeFormats(audio_format_t formats[], size_t numFormats) { in fillFakeFormats() 530 if (audio_is_valid_format(static_cast<audio_format_t>(format << 24))) { in fillFakeFormats() 538 formats[j++] = static_cast<audio_format_t>((format++) << 24); in fillFakeFormats() 563 audio_format_t formats[AUDIO_PORT_MAX_FORMATS]; in fillFakeAudioPortV7Info()
|