/system/bt/stack/a2dp/ |
D | a2dp_vendor_ldac.cc | 48 btav_a2dp_codec_bits_per_sample_t bits_per_sample; member 435 switch (ldac_cie.bits_per_sample) { in A2DP_VendorGetTrackBitsPerSampleLdac() 661 result->bits_per_sample = config_cie.bits_per_sample; in build_codec_config() 695 codec_local_capability_.bits_per_sample = in A2dpCodecConfigLdacSource() 696 a2dp_ldac_source_caps.bits_per_sample; in A2dpCodecConfigLdacSource() 832 btav_a2dp_codec_bits_per_sample_t bits_per_sample, tA2DP_LDAC_CIE* p_result, in select_best_bits_per_sample() argument 834 if (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32) { in select_best_bits_per_sample() 835 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32; in select_best_bits_per_sample() 836 p_result->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32; in select_best_bits_per_sample() 839 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 776 result->bits_per_sample = config_cie.bits_per_sample; in build_codec_config() 803 codec_local_capability_.bits_per_sample = in A2dpCodecConfigAacSource() 804 a2dp_aac_source_caps.bits_per_sample; in A2dpCodecConfigAacSource() 915 btav_a2dp_codec_bits_per_sample_t bits_per_sample, tA2DP_AAC_CIE* p_result, in select_best_bits_per_sample() argument 917 if (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32) { in select_best_bits_per_sample() 918 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32; in select_best_bits_per_sample() 919 p_result->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32; in select_best_bits_per_sample() 922 if (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24) { in select_best_bits_per_sample() 923 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 294 tA2DP_BITS_PER_SAMPLE bits_per_sample = CodecConfig->getAudioBitsPerSample(); in A2DP_VendorGetBitRateAptx() local 296 return (samplerate * bits_per_sample * 2) / 4; in A2DP_VendorGetBitRateAptx() 455 codec_local_capability_.bits_per_sample = in A2dpCodecConfigAptx() 456 a2dp_aptx_source_caps.bits_per_sample; in A2dpCodecConfigAptx() 545 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in select_best_bits_per_sample() 557 switch (p_codec_audio_config->bits_per_sample) { in select_audio_bits_per_sample() 559 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in select_audio_bits_per_sample() 746 codec_config_.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in setCodecConfig() 747 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 308 tA2DP_BITS_PER_SAMPLE bits_per_sample = CodecConfig->getAudioBitsPerSample(); in A2DP_VendorGetBitRateAptxHd() local 310 return (samplerate * bits_per_sample * 2) / 4; in A2DP_VendorGetBitRateAptxHd() 473 codec_local_capability_.bits_per_sample = in A2dpCodecConfigAptxHd() 474 a2dp_aptx_hd_source_caps.bits_per_sample; in A2dpCodecConfigAptxHd() 563 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24; in select_best_bits_per_sample() 575 switch (p_codec_audio_config->bits_per_sample) { in select_audio_bits_per_sample() 577 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24; in select_audio_bits_per_sample() 764 codec_config_.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in setCodecConfig() 765 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 259 int32_t bits_per_sample; in a2dp_vendor_ldac_decoder_configure() local 269 bits_per_sample = A2DP_VendorGetTrackBitsPerSampleLdac(p_codec_info); in a2dp_vendor_ldac_decoder_configure() 273 __func__, sample_rate, bits_per_sample, channel_mode); in a2dp_vendor_ldac_decoder_configure() 277 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 863 result->bits_per_sample = config_cie.bits_per_sample; in build_codec_config() 885 codec_local_capability_.bits_per_sample = in A2dpCodecConfigSbcSource() 886 a2dp_sbc_source_caps.bits_per_sample; in A2dpCodecConfigSbcSource() 981 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in select_best_bits_per_sample() 993 switch (p_codec_audio_config->bits_per_sample) { in select_audio_bits_per_sample() 995 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in select_audio_bits_per_sample() 1224 codec_config_.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in setCodecConfig() 1225 switch (codec_user_config_.bits_per_sample) { in setCodecConfig() 1227 codec_capability_.bits_per_sample = codec_user_config_.bits_per_sample; in setCodecConfig() [all …]
|
D | a2dp_aac_encoder.cc | 52 uint8_t bits_per_sample; member 218 p_feeding_params->bits_per_sample = in a2dp_aac_encoder_update() 223 p_feeding_params->bits_per_sample, p_feeding_params->channel_count); in a2dp_aac_encoder_update() 513 a2dp_aac_encoder_cb.feeding_params.bits_per_sample / 8 * in a2dp_aac_feeding_reset() 559 a2dp_aac_encoder_cb.feeding_params.bits_per_sample / 8; in a2dp_aac_get_num_frame_iteration() 607 p_feeding_params->bits_per_sample / 8; in a2dp_aac_encode_frames() 615 int in_buf_element_sizes[1] = {p_feeding_params->bits_per_sample / 8}; in a2dp_aac_encode_frames() 628 int out_buf_element_sizes[1] = {p_feeding_params->bits_per_sample / 8}; in a2dp_aac_encode_frames() 692 p_feeding_params->bits_per_sample / 8; in a2dp_aac_encode_frames() 729 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 380 p_feeding_params->bits_per_sample = in a2dp_vendor_ldac_encoder_update() 386 p_feeding_params->bits_per_sample, p_feeding_params->channel_count); in a2dp_vendor_ldac_encoder_update() 472 a2dp_ldac_encoder_cb.feeding_params.bits_per_sample >> 3; in a2dp_vendor_ldac_encoder_update() 525 a2dp_ldac_encoder_cb.feeding_params.bits_per_sample / 8 * in a2dp_vendor_ldac_feeding_reset() 583 a2dp_ldac_encoder_cb.feeding_params.bits_per_sample / 8; in a2dp_ldac_get_num_frame_iteration() 687 a2dp_ldac_encoder_cb.feeding_params.bits_per_sample / 8; in a2dp_ldac_encode_frames() 722 a2dp_ldac_encoder_cb.feeding_params.bits_per_sample / 8; in a2dp_ldac_read_feeding()
|
/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/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/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 344 return btif_a2dp_sink_cb.bits_per_sample; in btif_a2dp_sink_get_bits_per_sample() 598 int bits_per_sample = A2DP_GetTrackBitsPerSample(p_buf->codec_info); in btif_a2dp_sink_decoder_update_event() local 599 if (bits_per_sample == -1) { in btif_a2dp_sink_decoder_update_event() 614 btif_a2dp_sink_cb.bits_per_sample = bits_per_sample; in btif_a2dp_sink_decoder_update_event() 640 BtifAvrcpAudioTrackCreate(sample_rate, bits_per_sample, channel_count); in btif_a2dp_sink_decoder_update_event()
|
/system/bt/include/hardware/ |
D | bt_av.h | 126 btav_a2dp_codec_bits_per_sample_t bits_per_sample; member 196 (bits_per_sample == BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE), in ToString() 199 (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16), in ToString() 202 (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24), in ToString() 205 (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32), in ToString()
|
/system/bt/bta/hearing_aid/ |
D | hearing_aid_audio_source.cc | 209 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in hearing_aid_recv_ctrl_data() 210 codec_capability.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in hearing_aid_recv_ctrl_data() 221 reinterpret_cast<const uint8_t*>(&codec_config.bits_per_sample), in hearing_aid_recv_ctrl_data() 232 reinterpret_cast<const uint8_t*>(&codec_capability.bits_per_sample), in hearing_aid_recv_ctrl_data() 245 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in hearing_aid_recv_ctrl_data() 258 reinterpret_cast<uint8_t*>(&codec_config.bits_per_sample), in hearing_aid_recv_ctrl_data() 276 << "bits_per_sample=" << codec_config.bits_per_sample in hearing_aid_recv_ctrl_data()
|
/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/audio_hearing_aid_hw/src/ |
D | audio_hearing_aid_hw.cc | 522 if (ha_ctrl_receive(common, &codec_config->bits_per_sample, in ha_read_output_audio_config() 536 if (ha_ctrl_receive(common, &codec_capability->bits_per_sample, in ha_read_output_audio_config() 578 switch (codec_config->bits_per_sample) { in ha_read_output_audio_config() 590 ERROR("Invalid bits per sample: 0x%x", codec_config->bits_per_sample); in ha_read_output_audio_config() 620 codec_config->sample_rate, codec_config->bits_per_sample, in ha_read_output_audio_config() 632 codec_config->bits_per_sample, codec_config->channel_mode); in ha_read_output_audio_config() 637 codec_capability->sample_rate, codec_capability->bits_per_sample, in ha_read_output_audio_config() 652 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in ha_write_output_audio_config() 687 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in ha_write_output_audio_config() 690 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 | 541 if (a2dp_ctrl_receive(common, &codec_config->bits_per_sample, in a2dp_read_output_audio_config() 555 if (a2dp_ctrl_receive(common, &codec_capability->bits_per_sample, in a2dp_read_output_audio_config() 591 switch (codec_config->bits_per_sample) { in a2dp_read_output_audio_config() 603 ERROR("Invalid bits per sample: 0x%x", codec_config->bits_per_sample); in a2dp_read_output_audio_config() 633 codec_config->sample_rate, codec_config->bits_per_sample, in a2dp_read_output_audio_config() 645 codec_config->bits_per_sample, codec_config->channel_mode); in a2dp_read_output_audio_config() 650 codec_capability->sample_rate, codec_capability->bits_per_sample, in a2dp_read_output_audio_config() 665 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in a2dp_write_output_audio_config() 694 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in a2dp_write_output_audio_config() 697 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,
|