Lines Matching refs:frame_count
728 size_t frame_count = (link_mtu - rtp_size) / sbc_info->frame_length; in get_block_size() local
731 if (frame_count > 15) in get_block_size()
732 frame_count = 15; in get_block_size()
737 if (frame_count < 1) { in get_block_size()
739 frame_count = 1; in get_block_size()
742 return frame_count * sbc_info->codesize; in get_block_size()
788 uint8_t frame_count; in encode_buffer() local
793 frame_count = 0; in encode_buffer()
802 while (PA_LIKELY(to_encode > 0 && to_write > 0 && frame_count < 15)) { in encode_buffer()
833 frame_count++; in encode_buffer()
840 if (PA_UNLIKELY(frame_count == 0)) { in encode_buffer()
857 payload->frame_count = frame_count; in encode_buffer()
871 uint8_t frame_count; in decode_buffer() local
876 frame_count = payload->frame_count; in decode_buffer()
891 while (PA_LIKELY(to_decode > 0 && to_write > 0 && frame_count > 0)) { in decode_buffer()
920 frame_count--; in decode_buffer()