Searched refs:AUDIO_FORMAT_PCM_16_BIT (Results 1 – 16 of 16) sorted by relevance
/system/media/audio_utils/tests/ |
D | format_tests.cpp | 28 return format == AUDIO_FORMAT_PCM_16_BIT || format == AUDIO_FORMAT_PCM_FLOAT; in is_common_src_format() 33 || format == AUDIO_FORMAT_PCM_16_BIT in is_common_dst_format() 50 buffer, AUDIO_FORMAT_PCM_16_BIT, in fillRamp() 56 buffer, AUDIO_FORMAT_PCM_16_BIT, size); in fillRamp() 78 constexpr audio_format_t orig_encoding = AUDIO_FORMAT_PCM_16_BIT; in TEST_P() 120 AUDIO_FORMAT_PCM_16_BIT, 128 AUDIO_FORMAT_PCM_16_BIT,
|
D | powerlog_tests.cpp | 35 AUDIO_FORMAT_PCM_16_BIT, in TEST() 84 AUDIO_FORMAT_PCM_16_BIT, in TEST()
|
D | power_tests.cpp | 77 audio_utils_compute_power_mono(i16_ary + i, AUDIO_FORMAT_PCM_16_BIT, length - i)); in testFloatValue() 136 audio_utils_compute_power_mono(i16_ary, AUDIO_FORMAT_PCM_16_BIT, length)); in testFloatRamp()
|
/system/media/audio_utils/fuzz/format_fuzzer/ |
D | format_fuzzer.cpp | 27 return format == AUDIO_FORMAT_PCM_16_BIT || format == AUDIO_FORMAT_PCM_FLOAT; in is_common_src_format() 32 || format == AUDIO_FORMAT_PCM_16_BIT in is_common_dst_format() 36 const static audio_format_t formats[] = {AUDIO_FORMAT_PCM_16_BIT, AUDIO_FORMAT_PCM_FLOAT, 50 buffer, AUDIO_FORMAT_PCM_16_BIT, in fillBuffer() 56 buffer, AUDIO_FORMAT_PCM_16_BIT, input_size); in fillBuffer() 77 constexpr audio_format_t orig_encoding = AUDIO_FORMAT_PCM_16_BIT; in LLVMFuzzerTestOneInput()
|
/system/media/audio_utils/ |
D | format.c | 27 case AUDIO_FORMAT_PCM_16_BIT: in memcpy_by_audio_format() 43 case AUDIO_FORMAT_PCM_16_BIT: in memcpy_by_audio_format() 66 case AUDIO_FORMAT_PCM_16_BIT: in memcpy_by_audio_format() 87 case AUDIO_FORMAT_PCM_16_BIT: in memcpy_by_audio_format() 109 case AUDIO_FORMAT_PCM_16_BIT: in memcpy_by_audio_format() 127 case AUDIO_FORMAT_PCM_16_BIT: in memcpy_by_audio_format() 142 case AUDIO_FORMAT_PCM_16_BIT: in memcpy_by_audio_format()
|
D | power.cpp | 37 case AUDIO_FORMAT_PCM_16_BIT: in isFormatSupported() 61 case AUDIO_FORMAT_PCM_16_BIT: in convertToFloatAndIncrement() 94 case AUDIO_FORMAT_PCM_16_BIT: in normalizeAmplitude() 216 inline float energyMono<AUDIO_FORMAT_PCM_16_BIT>(const void *amplitudes, size_t size) in energyMono() 219 * normalizeEnergy<AUDIO_FORMAT_PCM_16_BIT>(); in energyMono() 248 case AUDIO_FORMAT_PCM_16_BIT: in audio_utils_compute_energy_mono() 249 return energyMono<AUDIO_FORMAT_PCM_16_BIT>(buffer, samples); in audio_utils_compute_energy_mono()
|
D | mono_blend.cpp | 31 case AUDIO_FORMAT_PCM_16_BIT: { in mono_blend()
|
D | echo_reference.c | 504 if (rdFormat != AUDIO_FORMAT_PCM_16_BIT || in create_echo_reference()
|
/system/media/audio_utils/fuzz/monoblend_fuzzer/ |
D | monoblend_fuzzer.cpp | 14 return AUDIO_FORMAT_PCM_16_BIT; // 1st switch case in mono_blend() in decideFormat()
|
/system/bt/audio_bluetooth_hw/ |
D | stream_apis.h | 27 AUDIO_FORMAT_PCM_16_BIT;
|
D | stream_apis.cc | 402 if (audio_cfg.format == AUDIO_FORMAT_PCM_16_BIT) { in out_get_parameters() 672 if (config->channel_mask == AUDIO_CHANNEL_OUT_MONO && config->format == AUDIO_FORMAT_PCM_16_BIT) { in adev_open_output_stream()
|
D | device_port_proxy.cc | 85 return AUDIO_FORMAT_PCM_16_BIT; in BitsPerSampleToAudioFormat()
|
/system/bt/audio_hearing_aid_hw/src/ |
D | audio_hearing_aid_hw.cc | 194 case AUDIO_FORMAT_PCM_16_BIT: in calc_audiotime_usec() 499 common->cfg.format = AUDIO_FORMAT_PCM_16_BIT; in ha_read_input_audio_config() 579 stream_config.format = AUDIO_FORMAT_PCM_16_BIT; in ha_read_output_audio_config() 685 case AUDIO_FORMAT_PCM_16_BIT: in ha_write_output_audio_config() 1394 return AUDIO_FORMAT_PCM_16_BIT; in in_get_format() 1400 if (format == AUDIO_FORMAT_PCM_16_BIT) in in_set_format()
|
/system/bt/audio_a2dp_hw/src/ |
D | audio_a2dp_hw.cc | 210 case AUDIO_FORMAT_PCM_16_BIT: in calc_audiotime_usec() 518 common->cfg.format = AUDIO_FORMAT_PCM_16_BIT; in a2dp_read_input_audio_config() 592 stream_config.format = AUDIO_FORMAT_PCM_16_BIT; in a2dp_read_output_audio_config() 692 case AUDIO_FORMAT_PCM_16_BIT: in a2dp_write_output_audio_config() 1452 return AUDIO_FORMAT_PCM_16_BIT; in in_get_format() 1458 if (format == AUDIO_FORMAT_PCM_16_BIT) in in_set_format()
|
/system/media/audio/include/system/ |
D | audio-base.h | 156 AUDIO_FORMAT_PCM_16_BIT = 0x1u, // (PCM | PCM_SUB_16_BIT) enumerator
|
D | audio.h | 1071 case AUDIO_FORMAT_PCM_16_BIT: in audio_is_valid_format() 1259 case AUDIO_FORMAT_PCM_16_BIT: in audio_bytes_per_sample()
|