Home
last modified time | relevance | path

Searched refs:allocation_method (Results 1 – 14 of 14) sorted by relevance

/btstack/test/sbc/
H A Dsbc_decoder_test.py43 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 Dsbc_encoder_test.py67 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 Dsbc.py27 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 Dsbc_encoder.py162 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 Dsbc_decoder.py56 frame.allocation_method = LOUDNESS
64 frame.allocation_method = get_bits(fin,1)
/btstack/src/classic/
H A Dbtstack_sbc.h104 … 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 Dbtstack_sbc_encoder_bluedroid.c76 … 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 Dbtstack_sbc_bluedroid.c54 … 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 Davdtp.c1551 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 Davdtp.h328 avdtp_sbc_allocation_method_t allocation_method; member
H A Davdtp_util.c1573 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 Da2dp.c615 …configuration.allocation_method = avdtp_choose_sbc_allocation_method(stream_endpoint, avdtp_subev… in a2dp_config_process_avdtp_event_handler()
/btstack/example/
H A Da2dp_source_demo.c166 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
635allocation_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 Da2dp_sink_demo.c193 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
1039allocation_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()