/external/bluetooth/bluez/sbc/ |
D | sbcinfo.c | 46 uint8_t bitpool:8; /* Bitpool */ member 57 uint8_t bitpool:8; /* Bitpool */ member 74 tmp = nrof_blocks * hdr->bitpool; in calc_frame_len() 77 tmp = nrof_blocks * hdr->bitpool * 2; in calc_frame_len() 80 tmp = nrof_blocks * hdr->bitpool; in calc_frame_len() 83 tmp = nrof_blocks * hdr->bitpool + nrof_subbands; in calc_frame_len() 176 int bitpool[SIZE], frame_len[SIZE]; in analyze_file() local 206 bitpool[0] = hdr.bitpool; in analyze_file() 210 bitpool[n] = 0; in analyze_file() 253 if (p1 < 0 && (bitpool[n] == 0 || bitpool[n] == hdr.bitpool)) in analyze_file() [all …]
|
D | sbc.c | 73 uint8_t bitpool; member 212 } while (bitcount + slicecount < frame->bitpool); in sbc_calculate_bits_internal() 214 if (bitcount + slicecount == frame->bitpool) { in sbc_calculate_bits_internal() 229 for (sb = 0; bitcount < frame->bitpool && in sbc_calculate_bits_internal() 234 } else if ((bitneed[ch][sb] == bitslice + 1) && (frame->bitpool > bitcount + 1)) { in sbc_calculate_bits_internal() 240 for (sb = 0; bitcount < frame->bitpool && in sbc_calculate_bits_internal() 299 } while (bitcount + slicecount < frame->bitpool); in sbc_calculate_bits_internal() 301 if (bitcount + slicecount == frame->bitpool) { in sbc_calculate_bits_internal() 320 while (bitcount < frame->bitpool) { in sbc_calculate_bits_internal() 324 } else if ((bitneed[ch][sb] == bitslice + 1) && (frame->bitpool > bitcount + 1)) { in sbc_calculate_bits_internal() [all …]
|
D | sbcenc.c | 47 static void encode(char *filename, int subbands, int bitpool, int joint, in encode() argument 135 sbc.bitpool = bitpool; in encode() 145 filename, srate, blocks, subbands, bitpool, in encode() 241 int i, opt, subbands = 8, bitpool = 32, joint = 0, dualchannel = 0; in main() local 264 bitpool = atoi(optarg); in main() 304 encode(argv[i], subbands, bitpool, joint, dualchannel, in main()
|
D | sbc.h | 75 uint8_t bitpool; member
|
D | sbcdec.c | 129 filename, frequency, sbc.subbands * 4 + 4, sbc.bitpool, in decode()
|
/external/bluetooth/bluez/audio/ |
D | gstsbcutil.c | 307 "bitpool", G_TYPE_INT, sbc->bitpool, in gst_sbc_parse_caps_from_sbc() 327 gint temp, rate, channels, blocks, subbands, bitpool; in gst_sbc_util_caps_fixate() local 397 bitpool = temp; in gst_sbc_util_caps_fixate() 446 "bitpool", G_TYPE_INT, bitpool, in gst_sbc_util_caps_fixate() 485 gint rate, channels, subbands, blocks, bitpool; in gst_sbc_util_fill_sbc_params() local 501 if (!gst_structure_get_int(structure, "bitpool", &bitpool)) in gst_sbc_util_fill_sbc_params() 515 sbc->bitpool = bitpool; in gst_sbc_util_fill_sbc_params()
|
D | gstrtpsbcpay.c | 107 gint blocks, gint bitpool, const gchar *channel_mode) in gst_rtp_sbc_pay_get_frame_len() argument 116 len += ((blocks * channels * bitpool) + 7) / 8; in gst_rtp_sbc_pay_get_frame_len() 119 len += ((join * subbands + blocks * bitpool) + 7) / 8; in gst_rtp_sbc_pay_get_frame_len() 129 gint rate, subbands, channels, blocks, bitpool; in gst_rtp_sbc_pay_set_caps() local 143 if (!gst_structure_get_int(structure, "bitpool", &bitpool)) in gst_rtp_sbc_pay_set_caps() 153 bitpool, channel_mode); in gst_rtp_sbc_pay_set_caps()
|
D | gstsbcenc.c | 199 if (enc->bitpool != SBC_ENC_BITPOOL_AUTO) in sbc_enc_generate_srcpad_caps() 201 enc->bitpool, value); in sbc_enc_generate_srcpad_caps() 347 if (enc->bitpool != SBC_ENC_BITPOOL_AUTO && in gst_sbc_enc_fill_sbc_params() 348 enc->sbc.bitpool != enc->bitpool) in gst_sbc_enc_fill_sbc_params() 486 enc->bitpool = g_value_get_int(value); in gst_sbc_enc_set_property() 513 g_value_set_int(value, enc->bitpool); in gst_sbc_enc_get_property() 589 self->bitpool = SBC_ENC_BITPOOL_AUTO; in gst_sbc_enc_init()
|
D | gstsbcenc.h | 58 gint bitpool; member
|
D | pcm_bluetooth.c | 124 uint8_t bitpool; /* A2DP only */ member 608 min_bitpool = max_bitpool = cfg->bitpool; in bluetooth_a2dp_init() 684 a2dp->sbc.bitpool = active_capabilities.max_bitpool; in bluetooth_a2dp_setup() 758 a2dp->sbc.bitpool); in bluetooth_a2dp_hw_params() 1523 bt_config->bitpool = atoi(value); in bluetooth_parse_config()
|
D | liba2dp.c | 493 data->sbc.bitpool = active_capabilities.max_bitpool; in bluetooth_a2dp_setup() 634 data->sbc.bitpool); in bluetooth_a2dp_hw_params()
|
/external/bluetooth/bluez/test/ |
D | ipctest.c | 566 a2dp->sbc.bitpool = active_capabilities->max_bitpool; in setup_sbc() 648 u->a2dp.sbc.blocks, u->a2dp.sbc.bitpool); in set_conf()
|
/external/bluetooth/bluez/ |
D | ChangeLog | 980 Limit range of bitpool announced while in ACP side.
|