/third_party/ffmpeg/libavcodec/ |
D | sbcenc.c | 56 switch (frame->subbands) { in sbc_analyze_audio() 125 avpkt->data[1] |= ((frame->subbands == 8) & 0x01) << 0; in sbc_pack_frame() 129 if (frame->bitpool > frame->subbands << (4 + (frame->mode == STEREO in sbc_pack_frame() 142 put_bits(&pb, frame->subbands, joint); in sbc_pack_frame() 144 crc_pos += frame->subbands; in sbc_pack_frame() 148 for (sb = 0; sb < frame->subbands; sb++) { in sbc_pack_frame() 165 for (sb = 0; sb < frame->subbands; sb++) { in sbc_pack_frame() 177 for (sb = 0; sb < frame->subbands; sb++) { in sbc_pack_frame() 216 frame->subbands = 8; in sbc_encode_init() 233 frame->subbands = 4; in sbc_encode_init() [all …]
|
D | sbc.c | 80 int subbands = frame->subbands; in ff_sbc_calculate_bits() local 90 for (sb = 0; sb < subbands; sb++) { in ff_sbc_calculate_bits() 96 for (sb = 0; sb < subbands; sb++) { in ff_sbc_calculate_bits() 100 if (subbands == 4) in ff_sbc_calculate_bits() 121 for (sb = 0; sb < subbands; sb++) { in ff_sbc_calculate_bits() 134 for (sb = 0; sb < subbands; sb++) { in ff_sbc_calculate_bits() 145 sb < subbands; sb++) { in ff_sbc_calculate_bits() 156 sb < subbands; sb++) { in ff_sbc_calculate_bits() 172 for (sb = 0; sb < subbands; sb++) { in ff_sbc_calculate_bits() 180 for (sb = 0; sb < subbands; sb++) { in ff_sbc_calculate_bits() [all …]
|
D | sbcdec.c | 94 frame->subbands = 8; in sbc_unpack_frame() 102 frame->subbands = data[1] & 0x01 ? 8 : 4; in sbc_unpack_frame() 106 frame->bitpool > 16 * frame->subbands) in sbc_unpack_frame() 110 frame->bitpool > 32 * frame->subbands) in sbc_unpack_frame() 121 if (len * 8 < consumed + frame->subbands) in sbc_unpack_frame() 125 for (sb = 0; sb < frame->subbands - 1; sb++) in sbc_unpack_frame() 127 if (frame->subbands == 4) in sbc_unpack_frame() 132 consumed += frame->subbands; in sbc_unpack_frame() 133 crc_pos += frame->subbands; in sbc_unpack_frame() 136 if (len * 8 < consumed + (4 * frame->subbands * frame->channels)) in sbc_unpack_frame() [all …]
|
D | sbcdsp.c | 64 unsigned subbands) in sbc_analyze_simd() argument 71 for (i = 0; i < subbands; i++) in sbc_analyze_simd() 75 for (hop = 0; hop < 10*subbands; hop += 2*subbands) in sbc_analyze_simd() 76 for (i = 0; i < 2*subbands; i++) in sbc_analyze_simd() 80 for (i = 0; i < subbands; i++) in sbc_analyze_simd() 86 for (i = 0; i < subbands/2; i++) in sbc_analyze_simd() 87 for (j = 0; j < 2*subbands; j++) in sbc_analyze_simd() 88 t1[j>>1] += t2[i * 2 + (j&1)] * consts[10*subbands + i*2*subbands + j]; in sbc_analyze_simd() 90 for (i = 0; i < subbands; i++) in sbc_analyze_simd() 272 int blocks, int channels, int subbands) in sbc_calc_scalefactors() argument [all …]
|
D | sbc_parser.c | 37 int sr, blocks, mode, subbands, bitpool, channels, joint; in sbc_parse_header() local 59 subbands = (((data[1] >> 0) & 0x01) + 1) << 2; in sbc_parse_header() 65 length = 4 + (subbands * channels) / 2 in sbc_parse_header() 67 + (joint * subbands)) + 7) / 8; in sbc_parse_header() 73 avctx->frame_size = subbands * blocks; in sbc_parse_header()
|
D | aptxenc.c | 44 int32_t subbands[NB_FILTERS]; in aptx_qmf_polyphase_analysis() local 49 subbands[i] = aptx_qmf_convolution(&signal[i], coeffs[i], shift); in aptx_qmf_polyphase_analysis() 52 *low_subband_output = av_clip_intp2(subbands[0] + subbands[1], 23); in aptx_qmf_polyphase_analysis() 53 *high_subband_output = av_clip_intp2(subbands[0] - subbands[1], 23); in aptx_qmf_polyphase_analysis()
|
D | aptxdec.c | 43 int32_t subbands[NB_FILTERS]; in aptx_qmf_polyphase_synthesis() local 46 subbands[0] = low_subband_input + high_subband_input; in aptx_qmf_polyphase_synthesis() 47 subbands[1] = low_subband_input - high_subband_input; in aptx_qmf_polyphase_synthesis() 50 aptx_qmf_filter_signal_push(&signal[i], subbands[1-i]); in aptx_qmf_polyphase_synthesis()
|
D | sbcdsp.h | 71 int blocks, int channels, int subbands); 75 int blocks, int subbands);
|
D | cook.c | 84 int subbands; member 773 int end = cplband[p->subbands - 1]; in decouple_info() 859 for (i = p->js_subband_start; i < p->subbands; i++) { in joint_decode() 1061 PRINT("subbands", q->subpacket[0].subbands); in dump_cook_context() 1118 q->subpacket[s].subbands = bytestream2_get_be16(&gb); in cook_decode_init() 1133 q->subpacket[s].total_subbands = q->subpacket[s].subbands; in cook_decode_init() 1163 q->subpacket[s].total_subbands = q->subpacket[s].subbands + in cook_decode_init() 1180 q->subpacket[s].total_subbands = q->subpacket[s].subbands + in cook_decode_init() 1225 if (q->subpacket[s].subbands > 50) { in cook_decode_init() 1229 if (q->subpacket[s].subbands == 0) { in cook_decode_init()
|
D | sbc.h | 98 uint8_t subbands; member
|
D | aptx.h | 38 enum subbands { enum
|
/third_party/pulseaudio/src/modules/bluetooth/ |
D | a2dp-codec-sbc.c | 48 uint8_t subbands; member 78 if (!(capabilities->subbands & (SBC_SUBBANDS_4 | SBC_SUBBANDS_8))) in can_accept_capabilities() 102 if (!(capabilities->subbands & (SBC_SUBBANDS_8))) in can_accept_capabilities_xq() 149 capabilities->subbands = SBC_SUBBANDS_4 | SBC_SUBBANDS_8; in fill_capabilities() 211 switch (config->subbands) { in set_info_and_sample_spec_from_sbc_config() 213 sbc_info->subbands = SBC_SB_4; in set_info_and_sample_spec_from_sbc_config() 217 sbc_info->subbands = SBC_SB_8; in set_info_and_sample_spec_from_sbc_config() 252 sbc_info->sbc.subbands = sbc_info->subbands; in set_params() 315 capabilities->subbands = SBC_SUBBANDS_8; in fill_capabilities_xq() 354 if (config->subbands != SBC_SUBBANDS_4 && config->subbands != SBC_SUBBANDS_8) { in is_configuration_valid() [all …]
|
D | a2dp-codecs.h | 316 uint8_t subbands:2; member 374 uint8_t subbands:2; member
|
/third_party/ffmpeg/libavcodec/x86/ |
D | sbcdsp.asm | 120 ; int blocks, int channels, int subbands) 123 cglobal sbc_calc_scalefactors, 5, 7, 4, sb_sample_f, scale_factor, blocks, channels, subbands, ptr,… 124 ; subbands = 4 * subbands * channels
|
D | sbcdsp_init.c | 41 int blocks, int channels, int subbands);
|
/third_party/ffmpeg/libavcodec/arm/ |
D | sbcdsp_init_arm.c | 45 int blocks, int channels, int subbands); 48 int blocks, int subbands);
|
D | sbcdsp_neon.S | 200 @ r4 = subbands 373 @ r3 = subbands 395 4: @ 4 subbands 405 @ check whether to use joint stereo for subbands 0, 1, 2 426 8: @ 8 subbands 436 @ check whether to use joint stereo for subbands 4, 5, 6 464 @ check whether to use joint stereo for subbands 0, 1, 2, 3
|
/third_party/ffmpeg/doc/ |
D | snow.txt | 279 || Y subbands | | Cb subbands| | Cr subbands|| 536 4 lowest frequency subbands into a single subband until only 1 subband 553 1. interleave the samples of the low and high frequency subbands like
|