Home
last modified time | relevance | path

Searched refs:frame_len (Results 1 – 4 of 4) sorted by relevance

/system/bt/hci/src/
Dhci_inject.cc166 size_t frame_len = 3 + packet_len; in read_ready() local
168 if (client->buffer_size < frame_len) break; in read_ready()
187 size_t remainder = client->buffer_size - frame_len; in read_ready()
188 memmove(buffer, buffer + frame_len, remainder); in read_ready()
189 client->buffer_size -= frame_len; in read_ready()
/system/bt/stack/a2dp/
Da2dp_sbc_encoder.cc758 uint32_t frame_len; in calculate_max_frames_per_packet() local
795 frame_len = a2dp_sbc_frame_length(); in calculate_max_frames_per_packet()
802 if (frame_len == 0) { in calculate_max_frames_per_packet()
806 frame_len = A2DP_SBC_MAX_HQ_FRAME_SIZE_44_1; in calculate_max_frames_per_packet()
808 result = (effective_mtu_size - A2DP_HDR_SIZE) / frame_len; in calculate_max_frames_per_packet()
814 if (frame_len == 0) { in calculate_max_frames_per_packet()
818 frame_len = A2DP_SBC_MAX_HQ_FRAME_SIZE_48; in calculate_max_frames_per_packet()
820 result = (effective_mtu_size - A2DP_HDR_SIZE) / frame_len; in calculate_max_frames_per_packet()
847 uint32_t frame_len = 0; in a2dp_sbc_frame_length() local
862 frame_len = A2DP_SBC_FRAME_HEADER_SIZE_BYTES + in a2dp_sbc_frame_length()
[all …]
Da2dp_aac_decoder.cc98 size_t frame_len = info->frameSize * info->numChannels * in a2dp_aac_decoder_decode_packet() local
102 frame_len); in a2dp_aac_decoder_decode_packet()
Da2dp_vendor_ldac_decoder.cc275 size_t frame_len = (size_t)wrote_bytes; in a2dp_vendor_ldac_decoder_decode_packet() local
278 frame_len); in a2dp_vendor_ldac_decoder_decode_packet()