/packages/modules/Bluetooth/system/stack/mmc/codec_server/ |
D | hfp_lc3_mmc_decoder.cc | 68 int HfpLc3Decoder::transcode(uint8_t* i_buf, int i_len, uint8_t* o_buf, in transcode() argument 70 if (o_buf == nullptr || o_len < HFP_LC3_PCM_BYTES + 1) { in transcode() 80 uint8_t* out_frame = o_buf + 1; in transcode() 88 std::fill(o_buf, o_buf + o_len, 0); in transcode() 90 o_buf[0] = rc; in transcode()
|
D | hfp_lc3_mmc_encoder.cc | 70 int HfpLc3Encoder::transcode(uint8_t* i_buf, int i_len, uint8_t* o_buf, in transcode() argument 72 if (i_buf == nullptr || o_buf == nullptr) { in transcode() 79 param_.stride(), HFP_LC3_PKT_FRAME_LEN, o_buf); in transcode() 83 std::fill(o_buf, o_buf + o_len, 0); in transcode()
|
D | a2dp_aac_mmc_encoder.cc | 116 int A2dpAacEncoder::transcode(uint8_t* i_buf, int i_len, uint8_t* o_buf, in transcode() argument 206 uint8_t* dst = o_buf; in transcode()
|
D | a2dp_aac_mmc_encoder.h | 55 int transcode(uint8_t* i_buf, int i_len, uint8_t* o_buf, int o_len) override;
|
D | hfp_lc3_mmc_decoder.h | 53 int transcode(uint8_t* i_buf, int i_len, uint8_t* o_buf, int o_len) override;
|
D | hfp_lc3_mmc_encoder.h | 53 int transcode(uint8_t* i_buf, int i_len, uint8_t* o_buf, int o_len) override;
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_btm_hfp_msbc_decoder.h | 55 std::function<bool(const uint8_t* i_buf, int16_t* o_buf, size_t out_len)> 58 bool operator()(const uint8_t* i_buf, int16_t* o_buf, size_t out_len) { in operator() 59 return body(i_buf, o_buf, out_len); in operator()
|
D | mock_stack_btm_hfp_lc3_decoder.cc | 65 bool hfp_lc3_decoder_decode_packet(const uint8_t* i_buf, int16_t* o_buf, in hfp_lc3_decoder_decode_packet() argument 69 i_buf, o_buf, out_len); in hfp_lc3_decoder_decode_packet()
|
D | mock_stack_btm_hfp_msbc_decoder.cc | 63 bool hfp_msbc_decoder_decode_packet(const uint8_t* i_buf, int16_t* o_buf, in hfp_msbc_decoder_decode_packet() argument 67 i_buf, o_buf, out_len); in hfp_msbc_decoder_decode_packet()
|
D | mock_stack_btm_hfp_lc3_decoder.h | 58 bool operator()(const uint8_t* i_buf, int16_t* o_buf, size_t out_len) { in operator() 59 return body(i_buf, o_buf, out_len); in operator()
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | hfp_lc3_decoder.cc | 62 bool hfp_lc3_decoder_decode_packet(const uint8_t* i_buf, int16_t* o_buf, in hfp_lc3_decoder_decode_packet() argument 64 if (o_buf == nullptr || out_len < HFP_LC3_PCM_BYTES) { in hfp_lc3_decoder_decode_packet() 74 LC3_PCM_FORMAT_S16, o_buf, 1); in hfp_lc3_decoder_decode_packet()
|
D | hfp_lc3_decoder_linux.cc | 73 bool hfp_lc3_decoder_decode_packet(const uint8_t* i_buf, int16_t* o_buf, in hfp_lc3_decoder_decode_packet() argument 75 if (o_buf == nullptr || out_len < HFP_LC3_PCM_BYTES) { in hfp_lc3_decoder_decode_packet() 103 std::copy(o_packet + 1, o_packet + 1 + out_len, (uint8_t*)o_buf); in hfp_lc3_decoder_decode_packet()
|
D | hfp_msbc_decoder.cc | 70 bool hfp_msbc_decoder_decode_packet(const uint8_t* i_buf, int16_t* o_buf, in hfp_msbc_decoder_decode_packet() argument 87 &hfp_msbc_decoder.decoder_context, &oi_data, &oi_size, o_buf, &out_avail); in hfp_msbc_decoder_decode_packet()
|
/packages/modules/Bluetooth/system/stack/mmc/codec_client/ |
D | codec_client.cc | 196 int CodecClient::transcode(uint8_t* i_buf, int i_len, uint8_t* o_buf, in transcode() argument 202 if (i_buf == nullptr || o_buf == nullptr) { in transcode() 241 rc = recv(skt_fd_, o_buf, o_len, MSG_NOSIGNAL); in transcode()
|
D | codec_client.h | 61 int transcode(uint8_t* i_buf, int i_len, uint8_t* o_buf, int o_len) override;
|
/packages/modules/Bluetooth/system/stack/mmc/daemon/ |
D | service.cc | 68 std::array<uint8_t, kMaximumBufferSize> o_buf = {}; in StartSocketListener() local 97 o_buf.data(), kMaximumBufferSize); in StartSocketListener() 103 int sent_rc = send(client_fd, o_buf.data(), o_data_len, MSG_NOSIGNAL); in StartSocketListener() 108 o_buf.fill(0); in StartSocketListener()
|
/packages/modules/Bluetooth/system/stack/a2dp/ |
D | a2dp_aac_encoder_linux.cc | 81 int encode_pcm(uint8_t* i_buf, int i_len, uint8_t* o_buf, int o_len) { in encode_pcm() argument 82 if (i_buf == nullptr || o_buf == nullptr) { in encode_pcm() 92 int rc = client->transcode(i_buf, i_len, o_buf, o_len); in encode_pcm()
|
/packages/modules/Bluetooth/system/stack/include/ |
D | hfp_msbc_decoder.h | 35 bool hfp_msbc_decoder_decode_packet(const uint8_t* i_buf, int16_t* o_buf,
|
D | hfp_lc3_decoder.h | 36 bool hfp_lc3_decoder_decode_packet(const uint8_t* i_buf, int16_t* o_buf,
|
/packages/modules/Bluetooth/system/stack/mmc/mmc_interface/ |
D | mmc_interface.h | 46 virtual int transcode(uint8_t* i_buf, int i_len, uint8_t* o_buf,
|
/packages/modules/Bluetooth/system/btif/include/ |
D | mock_core_callbacks.h | 93 (const uint8_t* i_buf, int16_t* o_buf, size_t out_len), ());
|
D | core_callbacks.h | 93 virtual bool decodePacket(const uint8_t* i_buf, int16_t* o_buf,
|
/packages/modules/Bluetooth/system/stack/test/btm/ |
D | sco_hci_test.cc | 90 bool decodePacket(const uint8_t* i_buf, int16_t* o_buf, size_t out_len) { in decodePacket() 91 return hfp_msbc_decoder_decode_packet(i_buf, o_buf, out_len); in decodePacket() 112 bool decodePacket(const uint8_t* i_buf, int16_t* o_buf, size_t out_len) { in decodePacket() 113 return hfp_lc3_decoder_decode_packet(i_buf, o_buf, out_len); in decodePacket()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | bluetooth.cc | 229 bool decodePacket(const uint8_t* i_buf, int16_t* o_buf, size_t out_len) { in decodePacket() 230 return hfp_msbc_decoder_decode_packet(i_buf, o_buf, out_len); in decodePacket() 251 bool decodePacket(const uint8_t* i_buf, int16_t* o_buf, size_t out_len) { in decodePacket() 252 return hfp_lc3_decoder_decode_packet(i_buf, o_buf, out_len); in decodePacket()
|