Home
last modified time | relevance | path

Searched refs:channel_count (Results 1 – 25 of 34) sorted by relevance

12

/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_aac_encoder_linux.cc49 int prepare_context(int sample_rate, int channel_count, int bit_rate, in prepare_context() argument
56 param.set_channel_count(channel_count); in prepare_context()
172 tA2DP_CHANNEL_COUNT channel_count = A2DP_GetTrackChannelCountAac(codec_info); in a2dp_aac_encoder_init() local
177 sample_rate, channel_count, bit_rate, bits_per_sample, mtu); in a2dp_aac_encoder_init()
197 .channel_count = channel_count, in a2dp_aac_encoder_init()
202 channel_count * encoder_interval_ms) / in a2dp_aac_encoder_init()
232 8 * a2dp_aac_encoder_cb.feeding_params.channel_count * in a2dp_aac_feeding_reset()
278 a2dp_aac_encoder_cb.feeding_params.channel_count * in a2dp_aac_get_num_frame_iteration()
306 a2dp_aac_encoder_cb.feeding_params.channel_count * in a2dp_aac_encode_frames()
321 a2dp_aac_encoder_cb.feeding_params.channel_count * in a2dp_aac_encode_frames()
[all …]
Da2dp_aac_encoder.cc189 p_feeding_params->channel_count = A2DP_GetTrackChannelCountAac(p_codec_info); in a2dp_aac_encoder_update()
192 p_feeding_params->channel_count); in a2dp_aac_encoder_update()
445 a2dp_aac_encoder_cb.feeding_params.channel_count * in a2dp_aac_feeding_reset()
493 a2dp_aac_encoder_cb.feeding_params.channel_count * in a2dp_aac_get_num_frame_iteration()
525 p_feeding_params->channel_count * in a2dp_aac_encode_frames()
563 p_encoder_params->frame_length * p_feeding_params->channel_count; in a2dp_aac_encode_frames()
614 p_feeding_params->channel_count * in a2dp_aac_encode_frames()
655 a2dp_aac_encoder_cb.feeding_params.channel_count * in a2dp_aac_read_feeding()
Da2dp_vendor_opus_encoder.cc220 p_feeding_params->channel_count = in a2dp_vendor_opus_encoder_update()
224 p_feeding_params->channel_count); in a2dp_vendor_opus_encoder_update()
294 a2dp_opus_encoder_cb.feeding_params.channel_count * in a2dp_vendor_opus_feeding_reset()
339 a2dp_opus_encoder_cb.feeding_params.channel_count * in a2dp_opus_get_num_frame_iteration()
420 a2dp_opus_encoder_cb.feeding_params.channel_count * in a2dp_opus_encode_frames()
457 a2dp_opus_encoder_cb.feeding_params.channel_count * in a2dp_opus_read_feeding()
Da2dp_vendor_ldac_encoder.cc208 p_feeding_params->channel_count = in a2dp_vendor_ldac_encoder_update()
212 p_feeding_params->channel_count); in a2dp_vendor_ldac_encoder_update()
338 a2dp_ldac_encoder_cb.feeding_params.channel_count * in a2dp_vendor_ldac_feeding_reset()
398 a2dp_ldac_encoder_cb.feeding_params.channel_count * in a2dp_ldac_get_num_frame_iteration()
499 a2dp_ldac_encoder_cb.feeding_params.channel_count * in a2dp_ldac_encode_frames()
539 a2dp_ldac_encoder_cb.feeding_params.channel_count * in a2dp_ldac_read_feeding()
Da2dp_sbc_encoder.cc186 p_feeding_params->channel_count = A2DP_GetTrackChannelCountSbc(p_codec_info); in a2dp_sbc_encoder_update()
189 p_feeding_params->channel_count); in a2dp_sbc_encoder_update()
347 a2dp_sbc_encoder_cb.feeding_params.channel_count * in a2dp_sbc_feeding_reset()
396 a2dp_sbc_encoder_cb.feeding_params.channel_count * in a2dp_sbc_get_num_frame_iteration()
525 a2dp_sbc_encoder_cb.feeding_params.channel_count * in a2dp_sbc_encode_frames()
661 read_size *= a2dp_sbc_encoder_cb.feeding_params.channel_count; in a2dp_sbc_read_feeding()
683 a2dp_sbc_encoder_cb.feeding_params.channel_count); in a2dp_sbc_read_feeding()
Da2dp_vendor_aptx_hd_encoder.cc184 p_feeding_params->channel_count = in a2dp_vendor_aptx_hd_encoder_update()
188 p_feeding_params->channel_count); in a2dp_vendor_aptx_hd_encoder_update()
348 a2dp_aptx_hd_encoder_cb.feeding_params.channel_count) / in a2dp_vendor_aptx_hd_send_frames()
Da2dp_vendor_aptx_encoder.cc184 p_feeding_params->channel_count = in a2dp_vendor_aptx_encoder_update()
188 p_feeding_params->channel_count); in a2dp_vendor_aptx_encoder_update()
361 (pcm_bytes_encoded / a2dp_aptx_encoder_cb.feeding_params.channel_count) / in a2dp_vendor_aptx_send_frames()
Da2dp_vendor_opus.cc411 int channel_count = A2DP_VendorGetTrackChannelCountOpus(p_codec_info); in A2DP_VendorGetBitRateOpus() local
418 if (channel_count == 2) { in A2DP_VendorGetBitRateOpus()
420 } else if (channel_count == 1) { in A2DP_VendorGetBitRateOpus()
/packages/modules/Bluetooth/system/stack/mmc/codec_server/
Da2dp_aac_mmc_encoder.cc75 const int channel_count = param_.channel_count(); in init() local
79 if (channel_count == 1) { in init()
82 } else if (channel_count == 2) { in init()
86 log::error("Invalid number of channels: {}", channel_count); in init()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_a2dp_sink.cc94 channel_count(0), in BtifA2dpSinkControlBlock()
112 channel_count = 0; in Reset()
122 tA2DP_CHANNEL_COUNT channel_count; member in BtifA2dpSinkControlBlock
359 return btif_a2dp_sink_cb.channel_count; in btif_a2dp_sink_get_channel_count()
618 int channel_count = A2DP_GetTrackChannelCount(p_buf->codec_info); in btif_a2dp_sink_decoder_update_event() local
619 if (channel_count == -1) { in btif_a2dp_sink_decoder_update_event()
630 btif_a2dp_sink_cb.channel_count = channel_count; in btif_a2dp_sink_decoder_update_event()
658 BtifAvrcpAudioTrackCreate(sample_rate, bits_per_sample, channel_count); in btif_a2dp_sink_decoder_update_event()
Dbtif_a2dp_control.cc151 tA2DP_CHANNEL_COUNT channel_count = btif_a2dp_sink_get_channel_count(); in btif_a2dp_control_on_get_input_audio_config() local
157 UIPC_Send(*a2dp_uipc, UIPC_CH_ID_AV_CTRL, 0, &channel_count, in btif_a2dp_control_on_get_input_audio_config()
Dbtif_av.cc90 int channel_count; member
815 const RawAddress& peer_address, int sample_rate, int channel_count);
1879 p_config_req->channel_count); in ProcessEvent()
2220 p_config_req->channel_count); in ProcessEvent()
2226 p_config_req->channel_count); in ProcessEvent()
3042 const RawAddress& peer_address, int sample_rate, int channel_count) { in btif_av_report_sink_audio_config_state() argument
3044 sample_rate, channel_count); in btif_av_report_sink_audio_config_state()
3047 peer_address, sample_rate, channel_count)); in btif_av_report_sink_audio_config_state()
3476 config_req.channel_count = in bta_av_sink_media_callback()
3478 if (config_req.channel_count == -1) { in bta_av_sink_media_callback()
/packages/modules/Bluetooth/system/include/hardware/
Dbt_le_audio.h146 btle_audio_channel_count_index_t channel_count = member
157 if (channel_count != other.channel_count) return true;
253 switch (channel_count) { in ToString()
265 "Unknown LE channel count " + std::to_string(channel_count); in ToString()
Dbt_av.h330 uint8_t channel_count);
/packages/modules/Bluetooth/system/gd/rust/topshim/btav_sink/
Dbtav_sink_shim.cc51 static void audio_config_cb(const RawAddress& addr, uint32_t sample_rate, uint8_t channel_count) { in audio_config_cb() argument
52 rusty::sink_audio_config_callback(addr, sample_rate, channel_count); in audio_config_cb()
/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_utils.cc300 translateToBtLeAudioCodecConfigChannelCount(uint8_t channel_count) { in translateToBtLeAudioCodecConfigChannelCount() argument
301 switch (channel_count) { in translateToBtLeAudioCodecConfigChannelCount()
344 out_config.channel_count = translateToBtLeAudioCodecConfigChannelCount( in fillStreamParamsToBtLeAudioCodecConfig()
385 .channel_count = in fillRemotePacsCapabitiliesToBtLeAudioCodecConfig()
404 .channel_count = in fillRemotePacsCapabitiliesToBtLeAudioCodecConfig()
Dle_audio_utils.h70 translateToBtLeAudioCodecConfigChannelCount(uint8_t channel_count);
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dle_audio_software_aidl.cc634 auto channel_count = hal_capability.channelCountPerDevice; in hal_ucast_capability_to_stack_format() local
646 toString(supported_channel), channel_count, hal_capability.deviceCount); in hal_ucast_capability_to_stack_format()
653 stack_capability.channel_count_per_iso_stream = channel_count; in hal_ucast_capability_to_stack_format()
696 auto channel_count = hal_bcast_capability.channelCountPerStream; in hal_bcast_capability_to_stack_format() local
708 toString(supported_channel), channel_count); in hal_bcast_capability_to_stack_format()
715 stack_capability.channel_count_per_iso_stream = channel_count; in hal_bcast_capability_to_stack_format()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_a2dp_sink.cpp83 uint8_t channel_count) { in a2dp_sink_audio_config_callback() argument
102 (jint)channel_count); in a2dp_sink_audio_config_callback()
Dcom_android_bluetooth_le_audio.cpp122 codecConfig.channel_count, codecConfig.frame_duration, in prepareCodecConfigObj()
130 (jint)codecConfig.channel_count, (jint)codecConfig.frame_duration, in prepareCodecConfigObj()
637 .channel_count = in setCodecConfigPreferenceNative()
679 .channel_count = in setCodecConfigPreferenceNative()
/packages/apps/TV/tuner/proto/
Dtrack.proto29 optional int32 channel_count = 4; field
/packages/modules/Bluetooth/system/stack/mmc/proto/
Dmmc_config.proto90 int32 channel_count = 2; field
/packages/modules/Bluetooth/system/audio_hearing_aid_hw/src/
Daudio_hearing_aid_hw.cc491 tHA_CHANNEL_COUNT channel_count; in ha_read_input_audio_config() local
500 if (ha_ctrl_receive(common, &channel_count, sizeof(tHA_CHANNEL_COUNT)) < 0) { in ha_read_input_audio_config()
516 switch (channel_count) { in ha_read_input_audio_config()
524 ERROR("Invalid channel count: %" PRIu32, channel_count); in ha_read_input_audio_config()
/packages/modules/Bluetooth/system/audio_a2dp_hw/src/
Daudio_a2dp_hw.cc489 tA2DP_CHANNEL_COUNT channel_count; in a2dp_read_input_audio_config() local
498 if (a2dp_ctrl_receive(common, &channel_count, sizeof(tA2DP_CHANNEL_COUNT)) < in a2dp_read_input_audio_config()
513 switch (channel_count) { in a2dp_read_input_audio_config()
521 ERROR("Invalid channel count: %" PRIu32, channel_count); in a2dp_read_input_audio_config()
/packages/modules/Bluetooth/system/stack/include/
Da2dp_codec_api.h493 tA2DP_CHANNEL_COUNT channel_count; // 1 for mono or 2 for stereo member

12