Home
last modified time | relevance | path

Searched refs:p_dst (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_sbc_up_sample.cc28 typedef int(tA2DP_SBC_ACT)(void* p_src, void* p_dst, uint32_t src_samples,
114 int a2dp_sbc_up_sample(void* p_src, void* p_dst, uint32_t src_samples, in a2dp_sbc_up_sample() argument
122 return (*a2dp_sbc_ups_cb.p_act)(p_src, p_dst, src, dst, p_ret); in a2dp_sbc_up_sample()
148 int a2dp_sbc_up_sample_16s(void* p_src, void* p_dst, uint32_t src_samples, in a2dp_sbc_up_sample_16s() argument
151 int16_t* p_dst_tmp = (int16_t*)p_dst; in a2dp_sbc_up_sample_16s()
185 return ((char*)p_dst_tmp - (char*)p_dst); in a2dp_sbc_up_sample_16s()
207 int a2dp_sbc_up_sample_16m(void* p_src, void* p_dst, uint32_t src_samples, in a2dp_sbc_up_sample_16m() argument
210 int16_t* p_dst_tmp = (int16_t*)p_dst; in a2dp_sbc_up_sample_16m()
245 return ((char*)p_dst_tmp - (char*)p_dst); in a2dp_sbc_up_sample_16m()
267 int a2dp_sbc_up_sample_8s(void* p_src, void* p_dst, uint32_t src_samples, in a2dp_sbc_up_sample_8s() argument
[all …]
Da2dp_vendor_opus.cc261 static void A2DP_BuildMediaPayloadHeaderOpus(uint8_t* p_dst, bool frag, in A2DP_BuildMediaPayloadHeaderOpus() argument
264 if (p_dst == NULL) return; in A2DP_BuildMediaPayloadHeaderOpus()
266 *p_dst = 0; in A2DP_BuildMediaPayloadHeaderOpus()
267 if (frag) *p_dst |= A2DP_OPUS_HDR_F_MSK; in A2DP_BuildMediaPayloadHeaderOpus()
268 if (start) *p_dst |= A2DP_OPUS_HDR_S_MSK; in A2DP_BuildMediaPayloadHeaderOpus()
269 if (last) *p_dst |= A2DP_OPUS_HDR_L_MSK; in A2DP_BuildMediaPayloadHeaderOpus()
270 *p_dst |= (A2DP_OPUS_HDR_NUM_MSK & num); in A2DP_BuildMediaPayloadHeaderOpus()
Da2dp_vendor_ldac.cc213 static void A2DP_BuildMediaPayloadHeaderLdac(uint8_t* p_dst, bool frag, in A2DP_BuildMediaPayloadHeaderLdac() argument
216 if (p_dst == NULL) return; in A2DP_BuildMediaPayloadHeaderLdac()
218 *p_dst = 0; in A2DP_BuildMediaPayloadHeaderLdac()
219 if (frag) *p_dst |= A2DP_LDAC_HDR_F_MSK; in A2DP_BuildMediaPayloadHeaderLdac()
220 if (start) *p_dst |= A2DP_LDAC_HDR_S_MSK; in A2DP_BuildMediaPayloadHeaderLdac()
221 if (last) *p_dst |= A2DP_LDAC_HDR_L_MSK; in A2DP_BuildMediaPayloadHeaderLdac()
222 *p_dst |= (A2DP_LDAC_HDR_NUM_MSK & num); in A2DP_BuildMediaPayloadHeaderLdac()
Da2dp_sbc.cc242 static void A2DP_BuildMediaPayloadHeaderSbc(uint8_t* p_dst, bool frag, in A2DP_BuildMediaPayloadHeaderSbc() argument
245 if (p_dst == NULL) return; in A2DP_BuildMediaPayloadHeaderSbc()
247 *p_dst = 0; in A2DP_BuildMediaPayloadHeaderSbc()
248 if (frag) *p_dst |= A2DP_SBC_HDR_F_MSK; in A2DP_BuildMediaPayloadHeaderSbc()
249 if (start) *p_dst |= A2DP_SBC_HDR_S_MSK; in A2DP_BuildMediaPayloadHeaderSbc()
250 if (last) *p_dst |= A2DP_SBC_HDR_L_MSK; in A2DP_BuildMediaPayloadHeaderSbc()
251 *p_dst |= (A2DP_SBC_HDR_NUM_MSK & num); in A2DP_BuildMediaPayloadHeaderSbc()
/packages/modules/Bluetooth/system/stack/include/
Da2dp_sbc_up_sample.h73 int a2dp_sbc_up_sample(void* p_src, void* p_dst, uint32_t src_samples,
95 int a2dp_sbc_up_sample_16s(void* p_src, void* p_dst, uint32_t src_samples,
117 int a2dp_sbc_up_sample_16m(void* p_src, void* p_dst, uint32_t src_samples,
139 int a2dp_sbc_up_sample_8s(void* p_src, void* p_dst, uint32_t src_samples,
160 int a2dp_sbc_up_sample_8m(void* p_src, void* p_dst, uint32_t src_samples,
/packages/modules/Bluetooth/system/btif/src/
Dbtif_hd.cc75 static void intr_data_copy_cb(uint16_t event, char* p_dst, const char* p_src) { in intr_data_copy_cb() argument
76 tBTA_HD_INTR_DATA* p_dst_data = (tBTA_HD_INTR_DATA*)p_dst; in intr_data_copy_cb()
84 memcpy(p_dst, p_src, sizeof(tBTA_HD_INTR_DATA)); in intr_data_copy_cb()
93 static void set_report_copy_cb(uint16_t event, char* p_dst, const char* p_src) { in set_report_copy_cb() argument
94 tBTA_HD_SET_REPORT* p_dst_data = (tBTA_HD_SET_REPORT*)p_dst; in set_report_copy_cb()
102 memcpy(p_dst, p_src, sizeof(tBTA_HD_SET_REPORT)); in set_report_copy_cb()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_utils.cc553 uint8_t gatt_build_uuid_to_stream(uint8_t** p_dst, const Uuid& uuid) { in gatt_build_uuid_to_stream() argument
554 uint8_t* p = *p_dst; in gatt_build_uuid_to_stream()
571 *p_dst = p; in gatt_build_uuid_to_stream()
Dgatt_int.h529 uint8_t gatt_build_uuid_to_stream(uint8_t** p_dst, const bluetooth::Uuid& uuid);