Home
last modified time | relevance | path

Searched refs:i_buf (Results 1 – 24 of 24) sorted by relevance

/packages/modules/Bluetooth/system/stack/mmc/codec_server/
Dhfp_lc3_mmc_decoder.cc68 int HfpLc3Decoder::transcode(uint8_t* i_buf, int i_len, uint8_t* o_buf, in transcode() argument
77 (i_buf[0] || i_buf[1]) ? i_buf + HFP_LC3_H2_HEADER_LEN : nullptr; in transcode()
Dhfp_lc3_mmc_encoder.cc70 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()
78 int rc = lc3_encode(hfp_lc3_encoder_, MapLc3PcmFmt(param_.fmt()), i_buf, in transcode()
Da2dp_aac_mmc_encoder.cc116 int A2dpAacEncoder::transcode(uint8_t* i_buf, int i_len, uint8_t* o_buf, in transcode() argument
155 uint8_t* buff = i_buf; in transcode()
Da2dp_aac_mmc_encoder.h55 int transcode(uint8_t* i_buf, int i_len, uint8_t* o_buf, int o_len) override;
Dhfp_lc3_mmc_decoder.h53 int transcode(uint8_t* i_buf, int i_len, uint8_t* o_buf, int o_len) override;
Dhfp_lc3_mmc_encoder.h53 int transcode(uint8_t* i_buf, int i_len, uint8_t* o_buf, int o_len) override;
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_btm_hfp_msbc_decoder.h55 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()
Dmock_stack_btm_hfp_lc3_decoder.cc65 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()
Dmock_stack_btm_hfp_msbc_decoder.cc63 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()
Dmock_stack_btm_hfp_lc3_decoder.h58 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/
Dhfp_lc3_decoder.cc62 bool hfp_lc3_decoder_decode_packet(const uint8_t* i_buf, int16_t* o_buf, in hfp_lc3_decoder_decode_packet() argument
70 const uint8_t* frame = i_buf ? i_buf + HFP_LC3_H2_HEADER_LEN : nullptr; in hfp_lc3_decoder_decode_packet()
Dhfp_lc3_decoder_linux.cc73 bool hfp_lc3_decoder_decode_packet(const uint8_t* i_buf, int16_t* o_buf, in hfp_lc3_decoder_decode_packet() argument
87 const uint8_t* frame = i_buf ? i_buf : plc_buf; in hfp_lc3_decoder_decode_packet()
Dhfp_msbc_decoder.cc70 bool hfp_msbc_decoder_decode_packet(const uint8_t* i_buf, int16_t* o_buf, in hfp_msbc_decoder_decode_packet() argument
82 oi_data = i_buf; in hfp_msbc_decoder_decode_packet()
/packages/modules/Bluetooth/system/stack/mmc/codec_client/
Dcodec_client.cc196 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()
213 int rc = send(skt_fd_, i_buf, i_len, MSG_NOSIGNAL); in transcode()
Dcodec_client.h61 int transcode(uint8_t* i_buf, int i_len, uint8_t* o_buf, int o_len) override;
/packages/modules/Bluetooth/system/stack/mmc/daemon/
Dservice.cc67 std::array<uint8_t, kMaximumBufferSize> i_buf = {}; in StartSocketListener() local
89 recv(client_fd, i_buf.data(), kMaximumBufferSize, MSG_NOSIGNAL); in StartSocketListener()
96 int o_data_len = codec_server->transcode(i_buf.data(), i_data_len, in StartSocketListener()
/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_aac_encoder_linux.cc81 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/
Dhfp_msbc_decoder.h35 bool hfp_msbc_decoder_decode_packet(const uint8_t* i_buf, int16_t* o_buf,
Dhfp_lc3_decoder.h36 bool hfp_lc3_decoder_decode_packet(const uint8_t* i_buf, int16_t* o_buf,
/packages/modules/Bluetooth/system/stack/mmc/mmc_interface/
Dmmc_interface.h46 virtual int transcode(uint8_t* i_buf, int i_len, uint8_t* o_buf,
/packages/modules/Bluetooth/system/btif/include/
Dmock_core_callbacks.h93 (const uint8_t* i_buf, int16_t* o_buf, size_t out_len), ());
Dcore_callbacks.h93 virtual bool decodePacket(const uint8_t* i_buf, int16_t* o_buf,
/packages/modules/Bluetooth/system/stack/test/btm/
Dsco_hci_test.cc90 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/
Dbluetooth.cc229 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()