/external/bluetooth/bluez/audio/ |
H A D | gstsbcenc.h | 58 gint bitpool; member in struct:_GstSbcEnc
|
H A D | gstrtpsbcpay.c | 88 "bitpool = (int) [ 2, 64 ]") 107 gint blocks, gint bitpool, const gchar *channel_mode) 116 len += ((blocks * channels * bitpool) + 7) / 8; 119 len += ((join * subbands + blocks * bitpool) + 7) / 8; 129 gint rate, subbands, channels, blocks, bitpool; local 143 if (!gst_structure_get_int(structure, "bitpool", &bitpool)) 153 bitpool, channel_mode); 106 gst_rtp_sbc_pay_get_frame_len(gint subbands, gint channels, gint blocks, gint bitpool, const gchar *channel_mode) argument
|
H A D | gstsbcutil.c | 71 * Selects one bitpool option from a range 307 "bitpool", G_TYPE_INT, sbc->bitpool, 327 gint temp, rate, channels, blocks, subbands, bitpool; local 387 if (!gst_structure_has_field(structure, "bitpool")) { 389 *error_message = g_strdup("no bitpool"); 392 value = gst_structure_get_value(structure, "bitpool"); 397 bitpool = temp; 446 "bitpool", G_TYPE_INT, bitpool, 485 gint rate, channels, subbands, blocks, bitpool; local [all...] |
H A D | pcm_bluetooth.c | 124 uint8_t bitpool; /* A2DP only */ member in struct:bluetooth_alsa_config 606 min_bitpool = max_bitpool = cfg->bitpool; 682 a2dp->sbc.bitpool = active_capabilities.max_bitpool; 756 a2dp->sbc.bitpool); 1511 if (strcmp(id, "bitpool") == 0) { 1517 bt_config->bitpool = atoi(value);
|
/external/bluetooth/bluez/sbc/ |
H A D | sbc.h | 75 uint8_t bitpool; member in struct:sbc_struct
|
H A D | sbcenc.c | 47 static void encode(char *filename, int subbands, int bitpool, int joint, argument 135 sbc.bitpool = bitpool; 145 filename, srate, blocks, subbands, bitpool, 219 "\t-b, --bitpool Bitpool value (default is 32)\n" 231 { "bitpool", 1, 0, 'b' }, 241 int i, opt, subbands = 8, bitpool = 32, joint = 0, dualchannel = 0; local 264 bitpool = atoi(optarg); 304 encode(argv[i], subbands, bitpool, joint, dualchannel,
|
H A D | sbcinfo.c | 46 uint8_t bitpool:8; /* Bitpool */ member in struct:sbc_frame_hdr 57 uint8_t bitpool:8; /* Bitpool */ member in struct:sbc_frame_hdr 74 tmp = nrof_blocks * hdr->bitpool; 77 tmp = nrof_blocks * hdr->bitpool * 2; 80 tmp = nrof_blocks * hdr->bitpool; 83 tmp = nrof_blocks * hdr->bitpool + nrof_subbands; 176 int bitpool[SIZE], frame_len[SIZE]; local 207 bitpool[0] = hdr.bitpool; 211 bitpool[ [all...] |
H A D | sbc.c | 30 for high and low bytes) fill bitpool by 16 bits instead of one at a time in 31 bits allocation/bitpool generation port to the dsp 73 uint8_t bitpool; member in struct:sbc_frame 212 } while (bitcount + slicecount < frame->bitpool); 214 if (bitcount + slicecount == frame->bitpool) { 229 for (sb = 0; bitcount < frame->bitpool && 234 } else if ((bitneed[ch][sb] == bitslice + 1) && (frame->bitpool > bitcount + 1)) { 240 for (sb = 0; bitcount < frame->bitpool && 299 } while (bitcount + slicecount < frame->bitpool); 301 if (bitcount + slicecount == frame->bitpool) { 1119 uint8_t subbands, channels, blocks, joint, bitpool; local [all...] |