Searched refs:codec_data (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/ |
D | audio.c | 113 struct bt_codec_data *codec_data) in decode_codec_ltv() argument 117 if (buf->len < sizeof(codec_data->data.data_len)) { in decode_codec_ltv() 123 codec_data->data.data_len = net_buf_simple_pull_u8(buf); in decode_codec_ltv() 125 if (buf->len < sizeof(codec_data->data.type)) { in decode_codec_ltv() 134 codec_data->data.data_len -= sizeof(codec_data->data.type); in decode_codec_ltv() 136 codec_data->data.type = net_buf_simple_pull_u8(buf); in decode_codec_ltv() 138 codec_data->data.data = codec_data->value; in decode_codec_ltv() 140 if (buf->len < codec_data->data.data_len) { in decode_codec_ltv() 142 codec_data->data.data_len); in decode_codec_ltv() 147 value = net_buf_simple_pull_mem(buf, codec_data->data.data_len); in decode_codec_ltv() [all …]
|
D | bap_broadcast_source.c | 329 const struct bt_data *codec_data = &codec->data[i].data; in encode_base_subgroup() local 331 if ((buf->size - buf->len) < (sizeof(codec_data->data_len) + in encode_base_subgroup() 332 sizeof(codec_data->type) + in encode_base_subgroup() 333 codec_data->data_len)) { in encode_base_subgroup() 334 LOG_DBG("No room for codec[%d] with len %u", i, codec_data->data_len); in encode_base_subgroup() 339 net_buf_simple_add_u8(buf, codec_data->data_len + sizeof(codec_data->type)); in encode_base_subgroup() 340 net_buf_simple_add_u8(buf, codec_data->type); in encode_base_subgroup() 341 net_buf_simple_add_mem(buf, codec_data->data, codec_data->data_len); in encode_base_subgroup() 400 const struct bt_data *codec_data = &stream_data[i].data[j].data; in encode_base_subgroup() local 402 if ((buf->size - buf->len) < (sizeof(codec_data->data_len) + in encode_base_subgroup() [all …]
|
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/shell/ |
D | audio.h | 159 const struct bt_codec_data *codec_data; in print_base() local 161 codec_data = &bis_data->data[k]; in print_base() 164 codec_data->data.type, codec_data->data.data_len); in print_base() 165 shell_hexdump(sh, codec_data->data.data, in print_base() 166 codec_data->data.data_len - in print_base() 167 sizeof(codec_data->data.type)); in print_base()
|
D | bap.c | 1568 const struct bt_codec_data *codec_data; in base_recv() local 1570 codec_data = &bis_data->data[k]; in base_recv() 1574 i, codec_data->data.type, in base_recv() 1575 codec_data->data.data_len); in base_recv() 1576 shell_hexdump(ctx_shell, codec_data->data.data, in base_recv() 1577 codec_data->data.data_len - in base_recv() 1578 sizeof(codec_data->data.type)); in base_recv()
|
/Zephyr-Core-3.4.0/include/zephyr/bluetooth/audio/ |
D | audio.h | 510 ssize_t bt_audio_codec_data_to_buf(const struct bt_codec_data *codec_data, size_t count,
|