/btstack/test/sbc/ |
H A D | sbc_decoder_test.py | 43 if actual_frame.allocation_method != expected_frame.allocation_method: 44 print("allocation_method wrong ", actual_frame.allocation_method) 69 …fin_expected, nr_blocks, nr_subbands, nr_channels, sampling_frequency, bitpool, allocation_method): argument 70 …ame = SBCFrame(nr_blocks, nr_subbands, nr_channels, sampling_frequency, bitpool, allocation_method) 119 actual_frame.allocation_method)
|
H A D | sbc_encoder_test.py | 67 if actual_frame.allocation_method != expected_frame.allocation_method: 68 print ("allocation_method wrong ", actual_frame.allocation_method) 103 …, nr_blocks, nr_subbands, nr_channels, sampling_frequency, bitpool, allocation_method, force_chann… argument 104 …ame = SBCFrame(nr_blocks, nr_subbands, nr_channels, sampling_frequency, bitpool, allocation_method) 130 allocation_method = int(sys.argv[5]) variable 161 …, nr_blocks, nr_subbands, nr_channels, bitpool, sampling_frequency, allocation_method, force_chann…
|
H A D | sbc.py | 27 def allocation_method_to_str(allocation_method): argument 29 return allocation_methods[allocation_method] 206 allocation_method = 0 variable in SBCFrame 224 …nr_subbands=4, nr_channels=1, bitpool=31, sampling_frequency=44100, allocation_method = 0, force_c… argument 230 self.allocation_method = allocation_method 273 res += "\n - allocation method %s" % allocation_method_to_str(self.allocation_method) 286 if frame.allocation_method == SNR: 387 if frame.allocation_method == SNR: 555 add_bits(frame.allocation_method, 1) 590 add_bits(frame.allocation_method, 1)
|
H A D | sbc_encoder.py | 162 allocation_method = int(sys.argv[5]) variable 175 allocation_method = 0 variable 190 …e(nr_blocks, nr_subbands, nr_channels, bitpool, sampling_frequency, allocation_method, force_chann…
|
H A D | sbc_decoder.py | 56 frame.allocation_method = LOUDNESS 64 frame.allocation_method = get_bits(fin,1)
|
/btstack/src/classic/ |
H A D | btstack_sbc.h | 104 … uint8_t blocks, uint8_t subbands, btstack_sbc_allocation_method_t allocation_method, 214 … int blocks, int subbands, btstack_sbc_allocation_method_t allocation_method,
|
H A D | btstack_sbc_encoder_bluedroid.c | 76 … int blocks, int subbands, btstack_sbc_allocation_method_t allocation_method, in btstack_sbc_encoder_init() argument 95 … bd_encoder_state.context.s16AllocationMethod = (uint8_t)allocation_method; in btstack_sbc_encoder_init()
|
H A D | btstack_sbc_bluedroid.c | 54 … uint8_t blocks, uint8_t subbands, btstack_sbc_allocation_method_t allocation_method, in btstack_sbc_encoder_bluedroid_configure() argument 65 instance->params.s16AllocationMethod = (uint8_t)allocation_method; in btstack_sbc_encoder_bluedroid_configure()
|
H A D | avdtp.c | 1551 avdtp_sbc_allocation_method_t allocation_method = AVDTP_SBC_ALLOCATION_METHOD_LOUDNESS; in avdtp_choose_sbc_allocation_method() local 1553 allocation_method = AVDTP_SBC_ALLOCATION_METHOD_LOUDNESS; in avdtp_choose_sbc_allocation_method() 1555 allocation_method = AVDTP_SBC_ALLOCATION_METHOD_SNR; in avdtp_choose_sbc_allocation_method() 1557 return allocation_method; in avdtp_choose_sbc_allocation_method()
|
H A D | avdtp.h | 328 avdtp_sbc_allocation_method_t allocation_method; member
|
H A D | avdtp_util.c | 1573 if (configuration->allocation_method > AVDTP_SBC_ALLOCATION_METHOD_SNR){ in avdtp_config_sbc_store() 1600 …figuration->block_length << 4) | (configuration->subbands << 2) | configuration->allocation_method; in avdtp_config_sbc_store()
|
H A D | a2dp.c | 615 …configuration.allocation_method = avdtp_choose_sbc_allocation_method(stream_endpoint, avdtp_subev… in a2dp_config_process_avdtp_event_handler()
|
/btstack/example/ |
H A D | a2dp_source_demo.c | 166 btstack_sbc_allocation_method_t allocation_method; member 518 printf(" - allocation_method: %d\n", configuration->allocation_method); in dump_sbc_configuration() 598 uint8_t allocation_method; in a2dp_source_packet_handler() local 635 …allocation_method = a2dp_subevent_signaling_media_codec_sbc_configuration_get_allocation_method(pa… in a2dp_source_packet_handler() 643 … sbc_configuration.allocation_method = (btstack_sbc_allocation_method_t)(allocation_method - 1); in a2dp_source_packet_handler() 669 … sbc_configuration.allocation_method, sbc_configuration.sampling_frequency, in a2dp_source_packet_handler()
|
H A D | a2dp_sink_demo.c | 193 btstack_sbc_allocation_method_t allocation_method; member 659 printf(" - allocation_method: %d\n", configuration->allocation_method); in dump_sbc_configuration() 1018 uint8_t allocation_method; in a2dp_sink_packet_handler() local 1039 …allocation_method = a2dp_subevent_signaling_media_codec_sbc_configuration_get_allocation_method(pa… in a2dp_sink_packet_handler() 1042 …a2dp_conn->sbc_configuration.allocation_method = (btstack_sbc_allocation_method_t)(allocation_meth… in a2dp_sink_packet_handler()
|