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