Home
last modified time | relevance | path

Searched refs:channel_mode (Results 1 – 15 of 15) sorted by relevance

/external/adhd/cras/src/server/
Dcras_a2dp_endpoint.c40 sbc_caps->channel_mode = SBC_CHANNEL_MODE_MONO | in cras_a2dp_get_capabilities()
69 if (sbc_caps->channel_mode & SBC_CHANNEL_MODE_JOINT_STEREO) { in cras_a2dp_select_configuration()
70 sbc_config->channel_mode = SBC_CHANNEL_MODE_JOINT_STEREO; in cras_a2dp_select_configuration()
71 } else if (sbc_caps->channel_mode & SBC_CHANNEL_MODE_STEREO) { in cras_a2dp_select_configuration()
72 sbc_config->channel_mode = SBC_CHANNEL_MODE_STEREO; in cras_a2dp_select_configuration()
73 } else if (sbc_caps->channel_mode & SBC_CHANNEL_MODE_DUAL_CHANNEL) { in cras_a2dp_select_configuration()
74 sbc_config->channel_mode = SBC_CHANNEL_MODE_DUAL_CHANNEL; in cras_a2dp_select_configuration()
75 } else if (sbc_caps->channel_mode & SBC_CHANNEL_MODE_MONO) { in cras_a2dp_select_configuration()
76 sbc_config->channel_mode = SBC_CHANNEL_MODE_MONO; in cras_a2dp_select_configuration()
Dcras_a2dp_info.c29 if (sbc->channel_mode & SBC_CHANNEL_MODE_JOINT_STEREO) in init_a2dp()
31 else if (sbc->channel_mode & SBC_CHANNEL_MODE_STEREO) in init_a2dp()
33 else if (sbc->channel_mode & SBC_CHANNEL_MODE_DUAL_CHANNEL) in init_a2dp()
35 else if (sbc->channel_mode & SBC_CHANNEL_MODE_MONO) in init_a2dp()
Dcras_a2dp_iodev.c71 channel = (a2dp.channel_mode == SBC_CHANNEL_MODE_MONO) ? 1 : 2; in update_supported_formats()
/external/adhd/cras/src/common/
Da2dp-codecs.h91 uint8_t channel_mode:4; member
101 uint8_t channel_mode:4; member
114 uint8_t channel_mode:4; member
125 uint8_t channel_mode:4; member
/external/aac/libMpegTPEnc/src/
Dtpenc_asc.cpp155 CHANNEL_MODE channel_mode; /*!< Present channel mode. */ member
275 static const PCE_CONFIGURATION *getPceEntry(const CHANNEL_MODE channel_mode) { in getPceEntry() argument
280 if (pceConfigTab[i].channel_mode == channel_mode) { in getPceEntry()
289 int getChannelConfig(const CHANNEL_MODE channel_mode, in getChannelConfig() argument
296 switch (channel_mode) { in getChannelConfig()
Dtpenc_adts.cpp174 hAdts->channel_mode = config->channelMode; in adtsWrite_Init()
229 getChannelConfig(hAdts->channel_mode, hAdts->channel_config_zero), 3); in adtsWrite_EncodeHeader()
Dtpenc_asc.h114 int getChannelConfig(const CHANNEL_MODE channel_mode,
Dtpenc_adts.h112 CHANNEL_MODE channel_mode; member
/external/libxaac/decoder/
Dixheaacd_sbrdecoder.c332 prev_stereo = (ptr_header_data[0]->channel_mode == SBR_STEREO); in ixheaacd_applysbr()
334 if (ps_enable) prev_ps_flag = (ptr_header_data[0]->channel_mode == PS_STEREO); in ixheaacd_applysbr()
548 if (ptr_header_data[0]->channel_mode == 0) { in ixheaacd_applysbr()
549 ptr_header_data[0]->channel_mode = stereo ? SBR_STEREO : SBR_MONO; in ixheaacd_applysbr()
578 if (ptr_header_data[0]->channel_mode == PS_STEREO && in ixheaacd_applysbr()
726 if (sub_d((WORD16)ptr_header_data[0]->channel_mode, PS_STEREO) == 0) { in ixheaacd_applysbr()
Dixheaacd_env_extr_part.h60 WORD32 channel_mode; member
Dixheaacd_env_extr.c373 pstr_sbr_header->channel_mode = SBR_STEREO; in ixheaacd_sbr_read_header_data()
375 pstr_sbr_header->channel_mode = SBR_MONO; in ixheaacd_sbr_read_header_data()
610 ptr_header_data->channel_mode = PS_STEREO; in ixheaacd_read_extn_data()
881 (ptr_header_data->channel_mode != SBR_STEREO)) { in ixheaacd_sbr_read_cpe()
Dixheaacd_sbr_dec.c967 if (apply_processing && ptr_header_data->channel_mode == PS_STEREO && in ixheaacd_sbr_dec()
Dixheaacd_env_calc.c903 if (ptr_header_data->channel_mode == PS_STEREO) { in ixheaacd_calc_sbrenvelope()
/external/aac/libAACenc/src/
Dmps_main.cpp134 CHANNEL_MODE channel_mode; member
484 (mpsConfigTab[i].channel_mode == channelMode) && in FDK_MpegsEnc_GetClosestBitRate()
/external/adhd/cras/src/tests/
Da2dp_info_unittest.cc55 sbc.channel_mode = SBC_CHANNEL_MODE_JOINT_STEREO; in ResetStubData()