/external/bluetooth/bluez/audio/ |
gstsbcenc.h | 57 gint subbands; member in struct:_GstSbcEnc
|
a2dp.h | 77 uint8_t subbands:2; member in struct:sbc_codec_cap 101 uint8_t subbands:2; member in struct:sbc_codec_cap
|
gstrtpsbcpay.c | 86 "subbands = (int) { 4, 8 }, " 106 static gint gst_rtp_sbc_pay_get_frame_len(gint subbands, gint channels, 112 len = 4 + (4 * subbands * channels)/8; 119 len += ((join * subbands + blocks * bitpool) + 7) / 8; 129 gint rate, subbands, channels, blocks, bitpool; local 145 if (!gst_structure_get_int(structure, "subbands", &subbands)) 152 frame_len = gst_rtp_sbc_pay_get_frame_len(subbands, channels, blocks,
|
gstsbcutil.c | 61 * Selects one number of subbands from a list 175 gint gst_sbc_parse_subbands_from_sbc(gint subbands) 177 switch (subbands) { 187 gint gst_sbc_parse_subbands_to_sbc(gint subbands) 189 switch (subbands) { 302 "subbands", G_TYPE_INT, 303 gst_sbc_parse_subbands_from_sbc(sbc->subbands), 327 gint temp, rate, channels, blocks, subbands, bitpool; local 374 if (!gst_structure_has_field(structure, "subbands")) { 376 *error_message = g_strdup("no subbands"); 485 gint rate, channels, subbands, blocks, bitpool; local [all...] |
gstavdtpsink.c | 275 gint rate, subbands, blocks; local 328 value = gst_structure_get_value(structure, "subbands"); 329 subbands = g_value_get_int(value); 330 if (subbands == 8) 331 cfg->subbands = BT_A2DP_SUBBANDS_8; 332 else if (subbands == 4) 333 cfg->subbands = BT_A2DP_SUBBANDS_4; 335 GST_ERROR_OBJECT(sink, "Invalid subbands %d", subbands); 479 /* subbands */ [all...] |
ipc.h | 199 uint8_t subbands; member in struct:__anon1655
|
pcm_bluetooth.c | 120 uint8_t subbands; /* A2DP only */ member in struct:bluetooth_alsa_config 588 cap->subbands = cfg->subbands; 589 if (cap->subbands & BT_A2DP_SUBBANDS_8) 590 cap->subbands = BT_A2DP_SUBBANDS_8; 591 else if (cap->subbands & BT_A2DP_SUBBANDS_4) 592 cap->subbands = BT_A2DP_SUBBANDS_4; 594 DBG("No supported subbands"); 658 switch (active_capabilities.subbands) { 660 a2dp->sbc.subbands = SBC_SB_4 [all...] |
/external/bluetooth/bluez/sbc/ |
sbcenc.c | 47 static void encode(char *filename, int subbands, int bitpool, int joint, 109 sbc.subbands = subbands == 4 ? SBC_SB_4 : SBC_SB_8; 143 "%d subbands, %d bits, allocation method %s, " 145 filename, srate, blocks, subbands, bitpool, 218 "\t-s, --subbands Number of subbands to use (4 or 8)\n" 230 { "subbands", 1, 0, 's' }, 241 int i, opt, subbands = 8, bitpool = 32, joint = 0, dualchannel = 0; local 256 subbands = atoi(optarg) [all...] |
sbc.h | 59 /* subbands */ 72 uint8_t subbands; member in struct:sbc_struct
|
sbcinfo.c | 41 uint8_t subbands:1; /* Subbands */ member in struct:sbc_frame_hdr 56 uint8_t subbands:1; /* Subbands */ member in struct:sbc_frame_hdr 68 nrof_subbands = (hdr->subbands + 1) * 4; 97 nrof_subbands = (hdr->subbands + 1) * 4; 177 int subbands, blocks, freq, mode, method; local 199 subbands = (hdr.subbands + 1) * 4; 281 printf("Subbands\t\t%d\n", subbands) [all...] |
sbc.c | 72 uint8_t subbands; member in struct:sbc_frame 94 int subbands; member in struct:sbc_decoder_state 164 const struct sbc_frame *frame, int (*bits)[8], int subbands) 175 for (sb = 0; sb < subbands; sb++) { 181 for (sb = 0; sb < subbands; sb++) { 185 if (subbands == 4) 206 for (sb = 0; sb < subbands; sb++) { 219 for (sb = 0; sb < subbands; sb++) { 230 sb < subbands; sb++) { 241 sb < subbands; sb++) 1119 uint8_t subbands, channels, blocks, joint, bitpool; local 1144 uint8_t subbands, blocks; local 1182 uint16_t subbands, channels, blocks; local [all...] |
/external/bluetooth/bluez/tools/ |
avinfo.c | 177 uint8_t subbands:2; member in struct:sbc_codec_cap 231 uint8_t subbands:2; member in struct:sbc_codec_cap
|