/system/bt/stack/a2dp/ |
D | a2dp_vendor_ldac.cc | 48 btav_a2dp_codec_bits_per_sample_t bits_per_sample; member 429 switch (ldac_cie.bits_per_sample) { in A2DP_VendorGetTrackBitsPerSampleLdac() 652 result->bits_per_sample = config_cie.bits_per_sample; in build_codec_config() 686 codec_local_capability_.bits_per_sample = in A2dpCodecConfigLdacSource() 687 a2dp_ldac_source_caps.bits_per_sample; in A2dpCodecConfigLdacSource() 823 btav_a2dp_codec_bits_per_sample_t bits_per_sample, tA2DP_LDAC_CIE* p_result, in select_best_bits_per_sample() argument 825 if (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32) { in select_best_bits_per_sample() 826 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32; in select_best_bits_per_sample() 827 p_result->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32; in select_best_bits_per_sample() 830 if (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24) { in select_best_bits_per_sample() [all …]
|
D | a2dp_aac.cc | 51 btav_a2dp_codec_bits_per_sample_t bits_per_sample; member 763 result->bits_per_sample = config_cie.bits_per_sample; in build_codec_config() 790 codec_local_capability_.bits_per_sample = in A2dpCodecConfigAacSource() 791 a2dp_aac_source_caps.bits_per_sample; in A2dpCodecConfigAacSource() 902 btav_a2dp_codec_bits_per_sample_t bits_per_sample, tA2DP_AAC_CIE* p_result, in select_best_bits_per_sample() argument 904 if (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32) { in select_best_bits_per_sample() 905 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32; in select_best_bits_per_sample() 906 p_result->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32; in select_best_bits_per_sample() 909 if (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24) { in select_best_bits_per_sample() 910 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24; in select_best_bits_per_sample() [all …]
|
D | a2dp_vendor_aptx.cc | 48 btav_a2dp_codec_bits_per_sample_t bits_per_sample; member 290 tA2DP_BITS_PER_SAMPLE bits_per_sample = CodecConfig->getAudioBitsPerSample(); in A2DP_VendorGetBitRateAptx() local 292 return (samplerate * bits_per_sample * 2) / 4; in A2DP_VendorGetBitRateAptx() 448 codec_local_capability_.bits_per_sample = in A2dpCodecConfigAptx() 449 a2dp_aptx_source_caps.bits_per_sample; in A2dpCodecConfigAptx() 538 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in select_best_bits_per_sample() 550 switch (p_codec_audio_config->bits_per_sample) { in select_audio_bits_per_sample() 552 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in select_audio_bits_per_sample() 738 codec_config_.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in setCodecConfig() 739 switch (codec_user_config_.bits_per_sample) { in setCodecConfig() [all …]
|
D | a2dp_vendor_aptx_hd.cc | 50 btav_a2dp_codec_bits_per_sample_t bits_per_sample; member 304 tA2DP_BITS_PER_SAMPLE bits_per_sample = CodecConfig->getAudioBitsPerSample(); in A2DP_VendorGetBitRateAptxHd() local 306 return (samplerate * bits_per_sample * 2) / 4; in A2DP_VendorGetBitRateAptxHd() 466 codec_local_capability_.bits_per_sample = in A2dpCodecConfigAptxHd() 467 a2dp_aptx_hd_source_caps.bits_per_sample; in A2dpCodecConfigAptxHd() 556 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24; in select_best_bits_per_sample() 568 switch (p_codec_audio_config->bits_per_sample) { in select_audio_bits_per_sample() 570 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24; in select_audio_bits_per_sample() 757 codec_config_.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in setCodecConfig() 758 switch (codec_user_config_.bits_per_sample) { in setCodecConfig() [all …]
|
D | a2dp_vendor_ldac_decoder.cc | 70 int32_t bits_per_sample, 90 uint8_t bits_per_sample; member 255 int32_t bits_per_sample; in a2dp_vendor_ldac_decoder_configure() local 265 bits_per_sample = A2DP_VendorGetTrackBitsPerSampleLdac(p_codec_info); in a2dp_vendor_ldac_decoder_configure() 269 sample_rate, bits_per_sample, channel_mode); in a2dp_vendor_ldac_decoder_configure() 273 bits_per_sample, channel_mode); in a2dp_vendor_ldac_decoder_configure()
|
D | a2dp_sbc.cc | 53 btav_a2dp_codec_bits_per_sample_t bits_per_sample; member 851 result->bits_per_sample = config_cie.bits_per_sample; in build_codec_config() 873 codec_local_capability_.bits_per_sample = in A2dpCodecConfigSbcSource() 874 a2dp_sbc_source_caps.bits_per_sample; in A2dpCodecConfigSbcSource() 969 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in select_best_bits_per_sample() 981 switch (p_codec_audio_config->bits_per_sample) { in select_audio_bits_per_sample() 983 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in select_audio_bits_per_sample() 1212 codec_config_.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in setCodecConfig() 1213 switch (codec_user_config_.bits_per_sample) { in setCodecConfig() 1215 codec_capability_.bits_per_sample = codec_user_config_.bits_per_sample; in setCodecConfig() [all …]
|
D | a2dp_aac_encoder.cc | 51 uint8_t bits_per_sample; member 217 p_feeding_params->bits_per_sample = in a2dp_aac_encoder_update() 221 p_feeding_params->sample_rate, p_feeding_params->bits_per_sample, in a2dp_aac_encoder_update() 508 a2dp_aac_encoder_cb.feeding_params.bits_per_sample / 8 * in a2dp_aac_feeding_reset() 554 a2dp_aac_encoder_cb.feeding_params.bits_per_sample / 8; in a2dp_aac_get_num_frame_iteration() 587 p_feeding_params->bits_per_sample / 8; in a2dp_aac_encode_frames() 595 int in_buf_element_sizes[1] = {p_feeding_params->bits_per_sample / 8}; in a2dp_aac_encode_frames() 608 int out_buf_element_sizes[1] = {p_feeding_params->bits_per_sample / 8}; in a2dp_aac_encode_frames() 671 p_feeding_params->bits_per_sample / 8; in a2dp_aac_encode_frames() 708 a2dp_aac_encoder_cb.feeding_params.bits_per_sample / 8; in a2dp_aac_read_feeding()
|
D | a2dp_vendor_ldac_encoder.cc | 120 uint8_t bits_per_sample; member 379 p_feeding_params->bits_per_sample = in a2dp_vendor_ldac_encoder_update() 384 p_feeding_params->sample_rate, p_feeding_params->bits_per_sample, in a2dp_vendor_ldac_encoder_update() 470 a2dp_ldac_encoder_cb.feeding_params.bits_per_sample >> 3; in a2dp_vendor_ldac_encoder_update() 521 a2dp_ldac_encoder_cb.feeding_params.bits_per_sample / 8 * in a2dp_vendor_ldac_feeding_reset() 579 a2dp_ldac_encoder_cb.feeding_params.bits_per_sample / 8; in a2dp_ldac_get_num_frame_iteration() 682 a2dp_ldac_encoder_cb.feeding_params.bits_per_sample / 8; in a2dp_ldac_encode_frames() 717 a2dp_ldac_encoder_cb.feeding_params.bits_per_sample / 8; in a2dp_ldac_read_feeding()
|
/system/bt/audio_hearing_aid_hw/test/ |
D | audio_hearing_aid_hw_test.cc | 119 uint32_t bits_per_sample = in TEST_F() local 121 EXPECT_TRUE(bits_per_sample != 0); in TEST_F() 130 number_of_channels * (bits_per_sample / 8)) / in TEST_F() 135 number_of_channels * bits_per_sample) / in TEST_F()
|
/system/bt/audio_a2dp_hw/test/ |
D | audio_a2dp_hw_test.cc | 119 uint32_t bits_per_sample = in TEST_F() local 121 EXPECT_TRUE(bits_per_sample != 0); in TEST_F() 130 number_of_channels * (bits_per_sample / 8)) / in TEST_F() 135 number_of_channels * bits_per_sample) / in TEST_F()
|
/system/bt/service/common/bluetooth/ |
D | a2dp_codec_config.cc | 24 int sample_rate, int bits_per_sample, in A2dpCodecConfig() argument 32 bits_per_sample_(bits_per_sample), in A2dpCodecConfig()
|
D | a2dp_codec_config.h | 29 int bits_per_sample, int channel_mode, 37 int bits_per_sample() const { return bits_per_sample_; } in bits_per_sample() function
|
/system/bt/btif/src/ |
D | btif_a2dp_control.cc | 203 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in btif_a2dp_recv_ctrl_data() 206 codec_capability.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in btif_a2dp_recv_ctrl_data() 221 reinterpret_cast<const uint8_t*>(&codec_config.bits_per_sample), in btif_a2dp_recv_ctrl_data() 232 reinterpret_cast<const uint8_t*>(&codec_capability.bits_per_sample), in btif_a2dp_recv_ctrl_data() 244 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in btif_a2dp_recv_ctrl_data() 258 reinterpret_cast<uint8_t*>(&codec_config.bits_per_sample), in btif_a2dp_recv_ctrl_data() 277 __func__, codec_config.sample_rate, codec_config.bits_per_sample, in btif_a2dp_recv_ctrl_data()
|
D | btif_avrcp_audio_track_linux.cc | 19 void* BtifAvrcpAudioTrackCreate(int trackFreq, int bits_per_sample, in BtifAvrcpAudioTrackCreate() argument
|
D | btif_a2dp_sink.cc | 118 tA2DP_BITS_PER_SAMPLE bits_per_sample; member in BtifA2dpSinkControlBlock 343 return btif_a2dp_sink_cb.bits_per_sample; in btif_a2dp_sink_get_bits_per_sample() 602 int bits_per_sample = A2DP_GetTrackBitsPerSample(p_buf->codec_info); in btif_a2dp_sink_decoder_update_event() local 603 if (bits_per_sample == -1) { in btif_a2dp_sink_decoder_update_event() 618 btif_a2dp_sink_cb.bits_per_sample = bits_per_sample; in btif_a2dp_sink_decoder_update_event() 643 BtifAvrcpAudioTrackCreate(sample_rate, bits_per_sample, channel_count); in btif_a2dp_sink_decoder_update_event()
|
/system/bt/include/hardware/ |
D | bt_av.h | 131 btav_a2dp_codec_bits_per_sample_t bits_per_sample; member 201 (bits_per_sample == BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE), in ToString() 204 (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16), in ToString() 207 (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24), in ToString() 210 (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32), in ToString()
|
/system/bt/embdrv/g722/ |
D | g722_decode.cc | 183 s->bits_per_sample = 6; in g722_decode_init() 185 s->bits_per_sample = 7; in g722_decode_init() 187 s->bits_per_sample = 8; in g722_decode_init() 289 if (s->in_bits < s->bits_per_sample) in g722_decode() 294 code = s->in_buffer & ((1 << s->bits_per_sample) - 1); in g722_decode() 295 s->in_buffer >>= s->bits_per_sample; in g722_decode() 296 s->in_bits -= s->bits_per_sample; in g722_decode()
|
D | g722_enc_dec.h | 94 int bits_per_sample; member 117 int bits_per_sample; member
|
/system/bt/bta/hearing_aid/ |
D | hearing_aid_audio_source.cc | 232 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in hearing_aid_recv_ctrl_data() 233 codec_capability.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in hearing_aid_recv_ctrl_data() 244 reinterpret_cast<const uint8_t*>(&codec_config.bits_per_sample), in hearing_aid_recv_ctrl_data() 255 reinterpret_cast<const uint8_t*>(&codec_capability.bits_per_sample), in hearing_aid_recv_ctrl_data() 268 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in hearing_aid_recv_ctrl_data() 281 reinterpret_cast<uint8_t*>(&codec_config.bits_per_sample), in hearing_aid_recv_ctrl_data() 299 << "bits_per_sample=" << codec_config.bits_per_sample in hearing_aid_recv_ctrl_data()
|
/system/bt/audio_hearing_aid_hw/src/ |
D | audio_hearing_aid_hw.cc | 543 if (ha_ctrl_receive(common, &codec_config->bits_per_sample, in ha_read_output_audio_config() 557 if (ha_ctrl_receive(common, &codec_capability->bits_per_sample, in ha_read_output_audio_config() 599 switch (codec_config->bits_per_sample) { in ha_read_output_audio_config() 611 ERROR("Invalid bits per sample: 0x%x", codec_config->bits_per_sample); in ha_read_output_audio_config() 641 codec_config->sample_rate, codec_config->bits_per_sample, in ha_read_output_audio_config() 653 codec_config->bits_per_sample, codec_config->channel_mode); in ha_read_output_audio_config() 658 codec_capability->sample_rate, codec_capability->bits_per_sample, in ha_read_output_audio_config() 673 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in ha_write_output_audio_config() 708 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in ha_write_output_audio_config() 711 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24; in ha_write_output_audio_config() [all …]
|
/system/bt/embdrv/sbc/encoder/include/ |
D | sbc_if.h | 33 int SBC_init(int pcm_sample_freq, int channels, int bits_per_sample);
|
/system/bt/audio_a2dp_hw/src/ |
D | audio_a2dp_hw.cc | 540 if (a2dp_ctrl_receive(common, &codec_config->bits_per_sample, in a2dp_read_output_audio_config() 554 if (a2dp_ctrl_receive(common, &codec_capability->bits_per_sample, in a2dp_read_output_audio_config() 590 switch (codec_config->bits_per_sample) { in a2dp_read_output_audio_config() 602 ERROR("Invalid bits per sample: 0x%x", codec_config->bits_per_sample); in a2dp_read_output_audio_config() 632 codec_config->sample_rate, codec_config->bits_per_sample, in a2dp_read_output_audio_config() 644 codec_config->bits_per_sample, codec_config->channel_mode); in a2dp_read_output_audio_config() 649 codec_capability->sample_rate, codec_capability->bits_per_sample, in a2dp_read_output_audio_config() 664 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in a2dp_write_output_audio_config() 693 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in a2dp_write_output_audio_config() 696 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24; in a2dp_write_output_audio_config() [all …]
|
/system/extras/sound/ |
D | playwav.c | 119 uint16_t bits_per_sample; member 168 hdr.num_channels, hdr.sample_rate, hdr.bits_per_sample, in wav_play() 182 if (hdr.bits_per_sample != 16) { in wav_play() 213 hdr.bits_per_sample = 16; in wav_rec()
|
/system/bt/service/ |
D | a2dp_source.cc | 58 .bits_per_sample = static_cast<btav_a2dp_codec_bits_per_sample_t>( in CodecConfigToFluoride() 59 config.bits_per_sample()), in CodecConfigToFluoride() 83 config.sample_rate, config.bits_per_sample, in FluorideCodecToCodec()
|
/system/bt/stack/include/ |
D | ldacBT_bco_for_fluoride.h | 145 int32_t bits_per_sample,
|