• Home
  • Raw
  • Download

Lines Matching refs:bits_per_sample

50   btav_a2dp_codec_bits_per_sample_t bits_per_sample;  member
740 result->bits_per_sample = config_cie.bits_per_sample; in build_codec_config()
766 codec_local_capability_.bits_per_sample = in A2dpCodecConfigAacSource()
767 a2dp_aac_source_caps.bits_per_sample; in A2dpCodecConfigAacSource()
878 btav_a2dp_codec_bits_per_sample_t bits_per_sample, tA2DP_AAC_CIE* p_result, in select_best_bits_per_sample() argument
880 if (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32) { in select_best_bits_per_sample()
881 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32; in select_best_bits_per_sample()
882 p_result->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32; in select_best_bits_per_sample()
885 if (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24) { in select_best_bits_per_sample()
886 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24; in select_best_bits_per_sample()
887 p_result->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24; in select_best_bits_per_sample()
890 if (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16) { in select_best_bits_per_sample()
891 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in select_best_bits_per_sample()
892 p_result->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in select_best_bits_per_sample()
906 btav_a2dp_codec_bits_per_sample_t bits_per_sample, tA2DP_AAC_CIE* p_result, in select_audio_bits_per_sample() argument
908 switch (p_codec_audio_config->bits_per_sample) { in select_audio_bits_per_sample()
910 if (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16) { in select_audio_bits_per_sample()
911 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in select_audio_bits_per_sample()
912 p_result->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in select_audio_bits_per_sample()
917 if (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24) { in select_audio_bits_per_sample()
918 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24; in select_audio_bits_per_sample()
919 p_result->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24; in select_audio_bits_per_sample()
924 if (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32) { in select_audio_bits_per_sample()
925 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32; in select_audio_bits_per_sample()
926 p_result->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32; in select_audio_bits_per_sample()
996 btav_a2dp_codec_bits_per_sample_t bits_per_sample; in setCodecConfig() local
1161 bits_per_sample = p_a2dp_aac_caps->bits_per_sample; in setCodecConfig()
1162 codec_config_.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in setCodecConfig()
1163 switch (codec_user_config_.bits_per_sample) { in setCodecConfig()
1165 if (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16) { in setCodecConfig()
1166 result_config_cie.bits_per_sample = codec_user_config_.bits_per_sample; in setCodecConfig()
1167 codec_capability_.bits_per_sample = codec_user_config_.bits_per_sample; in setCodecConfig()
1168 codec_config_.bits_per_sample = codec_user_config_.bits_per_sample; in setCodecConfig()
1172 if (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24) { in setCodecConfig()
1173 result_config_cie.bits_per_sample = codec_user_config_.bits_per_sample; in setCodecConfig()
1174 codec_capability_.bits_per_sample = codec_user_config_.bits_per_sample; in setCodecConfig()
1175 codec_config_.bits_per_sample = codec_user_config_.bits_per_sample; in setCodecConfig()
1179 if (bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32) { in setCodecConfig()
1180 result_config_cie.bits_per_sample = codec_user_config_.bits_per_sample; in setCodecConfig()
1181 codec_capability_.bits_per_sample = codec_user_config_.bits_per_sample; in setCodecConfig()
1182 codec_config_.bits_per_sample = codec_user_config_.bits_per_sample; in setCodecConfig()
1186 result_config_cie.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in setCodecConfig()
1187 codec_capability_.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in setCodecConfig()
1188 codec_config_.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in setCodecConfig()
1195 codec_selectable_capability_.bits_per_sample = in setCodecConfig()
1196 p_a2dp_aac_caps->bits_per_sample; in setCodecConfig()
1198 if (codec_config_.bits_per_sample != BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE) in setCodecConfig()
1202 codec_capability_.bits_per_sample = bits_per_sample; in setCodecConfig()
1206 p_a2dp_aac_caps->bits_per_sample, in setCodecConfig()
1212 if (select_best_bits_per_sample(a2dp_aac_default_config.bits_per_sample, in setCodecConfig()
1218 if (select_best_bits_per_sample(p_a2dp_aac_caps->bits_per_sample, in setCodecConfig()
1223 if (codec_config_.bits_per_sample == BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE) { in setCodecConfig()
1227 __func__, a2dp_aac_default_config.bits_per_sample, in setCodecConfig()
1228 codec_user_config_.bits_per_sample); in setCodecConfig()
1398 codec_selectable_capability_.bits_per_sample = in setPeerCodecCapabilities()
1399 p_a2dp_aac_caps->bits_per_sample; in setPeerCodecCapabilities()