HomeSort by relevance Sort by last modified time
    Searched refs:subbands (Results 1 - 25 of 25) sorted by null

  /external/bluetooth/bluez/sbc/
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++)
1125 uint8_t subbands, channels, blocks, joint, bitpool; local
1150 uint8_t subbands, blocks; local
1188 uint16_t subbands, channels, blocks; local
    [all...]
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_primitives.h 42 /* Polyphase analysis filter for 4 subbands configuration,
45 /* Polyphase analysis filter for 8 subbands configuration,
49 * depending on the number of subbands and input data byte order */
65 int blocks, int channels, int subbands);
69 int blocks, int subbands);
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, method; local
199 subbands = (hdr.subbands + 1) * 4;
280 printf("Subbands\t\t%d\n", subbands)
    [all...]
sbc_primitives_mmx.c 282 int blocks, int channels, int subbands)
291 for (sb = 0; sb < subbands; sb += 2) {
sbc.h 59 /* subbands */
72 uint8_t subbands; member in struct:sbc_struct
sbc_primitives_neon.c 243 int blocks, int channels, int subbands)
247 for (sb = 0; sb < subbands; sb += 4) {
295 int blocks, int subbands)
307 i = subbands;
418 "4:\n" /* 4 subbands */
428 /* check whether to use joint stereo for subbands 0, 1, 2 */
449 "8:\n" /* 8 subbands */
459 /* check whether to use joint stereo for subbands 4, 5, 6 */
487 /* check whether to use joint stereo for subbands 0, 1, 2, 3 */
sbc_primitives.c 428 int blocks, int channels, int subbands)
432 for (sb = 0; sb < subbands; sb++) {
448 int blocks, int subbands)
455 int sb = subbands - 1;
469 /* the rest of subbands can use joint stereo */
505 joint |= 1 << (subbands - 1 - sb);
515 /* bitmask with the information about subbands using joint stereo */
sbcdec.c 127 fprintf(stderr,"decoding %s with rate %d, %d subbands, "
129 filename, frequency, sbc.subbands * 4 + 4, sbc.bitpool,
  /external/bluetooth/bluez/audio/
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...]
a2dp-codecs.h 76 uint8_t subbands:2; member in struct:__anon1910
98 uint8_t subbands:2; member in struct:__anon1912
gstsbcutil.h 50 gint gst_sbc_parse_subbands_from_sbc(gint subbands);
51 gint gst_sbc_parse_subbands_to_sbc(gint subbands);
gstsbcenc.h 57 gint subbands; member in struct:_GstSbcEnc
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,
gstsbcenc.c 117 { 4, "4 subbands", "4" },
118 { 8, "8 subbands", "8" },
163 "subbands = (int) { 4, 8 }, "
191 if (enc->subbands != 0)
192 gst_sbc_util_set_structure_int_param(structure, "subbands",
193 enc->subbands, value);
336 if (enc->subbands != 0 && gst_sbc_parse_subbands_from_sbc(
337 enc->sbc.subbands) != enc->subbands)
483 enc->subbands = g_value_get_enum(value)
    [all...]
a2dp.h 77 uint8_t subbands:2; member in struct:sbc_codec_cap
101 uint8_t subbands:2; member in struct:sbc_codec_cap
liba2dp.c 410 if (cap->subbands & BT_A2DP_SUBBANDS_8)
411 cap->subbands = BT_A2DP_SUBBANDS_8;
412 else if (cap->subbands & BT_A2DP_SUBBANDS_4)
413 cap->subbands = BT_A2DP_SUBBANDS_4;
415 ERR("No supported subbands");
469 switch (active_capabilities.subbands) {
471 data->sbc.subbands = SBC_SB_4;
474 data->sbc.subbands = SBC_SB_8;
587 switch (data->sbc_capabilities.subbands) {
596 data->sbc_capabilities.subbands);
    [all...]
pcm_bluetooth.c 120 uint8_t subbands; /* A2DP only */ member in struct:bluetooth_alsa_config
590 cap->subbands = cfg->subbands;
591 if (cap->subbands & BT_A2DP_SUBBANDS_8)
592 cap->subbands = BT_A2DP_SUBBANDS_8;
593 else if (cap->subbands & BT_A2DP_SUBBANDS_4)
594 cap->subbands = BT_A2DP_SUBBANDS_4;
596 DBG("No supported subbands");
660 switch (active_capabilities.subbands) {
662 a2dp->sbc.subbands = SBC_SB_4
    [all...]
gstavdtpsink.c 324 gint rate, subbands, blocks; local
377 value = gst_structure_get_value(structure, "subbands");
378 subbands = g_value_get_int(value);
379 if (subbands == 8)
380 cfg->subbands = BT_A2DP_SUBBANDS_8;
381 else if (subbands == 4)
382 cfg->subbands = BT_A2DP_SUBBANDS_4;
384 GST_ERROR_OBJECT(sink, "Invalid subbands %d", subbands);
535 /* subbands */
    [all...]
ipc.h 199 uint8_t subbands; member in struct:__anon1932
unix.c 500 " Subbands: %s%s"
512 sbc->subbands & SBC_SUBBANDS_4 ? "4 " : "",
513 sbc->subbands & SBC_SUBBANDS_8 ? "8 " : "",
557 sbc->subbands = sbc_cap->subbands;
    [all...]
a2dp.c 526 sbc_cap.subbands = ( SBC_SUBBANDS_8 | SBC_SUBBANDS_4 );
    [all...]
  /external/bluetooth/bluez/test/
ipctest.c 457 if (cap->subbands & BT_A2DP_SUBBANDS_8)
458 cap->subbands = BT_A2DP_SUBBANDS_8;
459 else if (cap->subbands & BT_A2DP_SUBBANDS_4)
460 cap->subbands = BT_A2DP_SUBBANDS_4;
462 DBG("No supported subbands");
538 switch (active_capabilities->subbands) {
540 a2dp->sbc.subbands = SBC_SB_4;
543 a2dp->sbc.subbands = SBC_SB_8;
647 u->a2dp.sbc.allocation, u->a2dp.sbc.subbands,
  /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
  /external/aac/libSBRdec/src/
env_calc.cpp 97 one or more QMF-subbands are grouped to one SBR-band. An envelope contains
114 Depending on the frequency range set in the bitstream, only QMF-subbands between
158 int subbands);
460 and relatively compared to the total gain over all subbands.
618 cases where the number of limiter bands exceeds the number of subbands. The latter can be caused by undetected bit
    [all...]

Completed in 381 milliseconds