Home
last modified time | relevance | path

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

/system/bt/hci/src/
Dhci_inject.cc169 size_t frame_len = 3 + packet_len; in read_ready() local
171 if (client->buffer_size < frame_len) break; in read_ready()
190 size_t remainder = client->buffer_size - frame_len; in read_ready()
191 memmove(buffer, buffer + frame_len, remainder); in read_ready()
192 client->buffer_size -= frame_len; in read_ready()
/system/bt/stack/a2dp/
Da2dp_sbc_encoder.cc765 uint32_t frame_len; in calculate_max_frames_per_packet() local
801 frame_len = a2dp_sbc_frame_length(); in calculate_max_frames_per_packet()
808 if (frame_len == 0) { in calculate_max_frames_per_packet()
811 frame_len = A2DP_SBC_MAX_HQ_FRAME_SIZE_44_1; in calculate_max_frames_per_packet()
813 result = (effective_mtu_size - A2DP_HDR_SIZE) / frame_len; in calculate_max_frames_per_packet()
818 if (frame_len == 0) { in calculate_max_frames_per_packet()
821 frame_len = A2DP_SBC_MAX_HQ_FRAME_SIZE_48; in calculate_max_frames_per_packet()
823 result = (effective_mtu_size - A2DP_HDR_SIZE) / frame_len; in calculate_max_frames_per_packet()
849 uint32_t frame_len = 0; in a2dp_sbc_frame_length() local
863 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()