• Home
  • Raw
  • Download

Lines Matching refs:stats_

123   stats_.ssrc = config_.rtp.remote_ssrc;  in ReceiveStatisticsProxy()
141 if (stats_.frame_counts.key_frames > 0 || in UpdateHistograms()
142 stats_.frame_counts.delta_frames > 0) { in UpdateHistograms()
149 log_stream << "Frames decoded " << stats_.frames_decoded << '\n'; in UpdateHistograms()
152 int num_dropped_frames = *num_unique_frames_ - stats_.frames_decoded; in UpdateHistograms()
172 (stats_.frames_decoded * 1000.0f / elapsed_ms) + 0.5f); in UpdateHistograms()
178 const uint32_t frames_rendered = stats_.frames_rendered; in UpdateHistograms()
221 stats_.frame_counts.key_frames + stats_.frame_counts.delta_frames; in UpdateHistograms()
223 int num_key_frames = stats_.frame_counts.key_frames; in UpdateHistograms()
438 const RtcpPacketTypeCounter& counters = stats_.rtcp_packet_type_counts; in UpdateHistograms()
556 stats_.network_frame_rate = static_cast<int>(framerate); in UpdateFramerate()
575 stats_.decoder_implementation_name.compare(0, 6, "libvpx") == 0; in UpdateDecodeTimeHistograms()
593 stats_.decoder_implementation_name.compare(0, 6, "FFmpeg") == 0; in UpdateDecodeTimeHistograms()
631 stats_.render_frame_rate = renders_fps_estimator_.Rate(now_ms).value_or(0); in GetStats()
632 stats_.decode_frame_rate = decode_fps_estimator_.Rate(now_ms).value_or(0); in GetStats()
633 stats_.interframe_delay_max_ms = in GetStats()
635 stats_.freeze_count = video_quality_observer_->NumFreezes(); in GetStats()
636 stats_.pause_count = video_quality_observer_->NumPauses(); in GetStats()
637 stats_.total_freezes_duration_ms = in GetStats()
639 stats_.total_pauses_duration_ms = in GetStats()
641 stats_.total_frames_duration_ms = in GetStats()
643 stats_.sum_squared_frame_durations = in GetStats()
645 stats_.content_type = last_content_type_; in GetStats()
646 stats_.timing_frame_info = timing_frame_info_counter_.Max(now_ms); in GetStats()
647 stats_.jitter_buffer_delay_seconds = in GetStats()
650 stats_.jitter_buffer_emitted_count = current_delay_counter_.NumSamples(); in GetStats()
651 stats_.estimated_playout_ntp_timestamp_ms = in GetStats()
653 return stats_; in GetStats()
658 stats_.current_payload_type = payload_type; in OnIncomingPayloadType()
664 stats_.decoder_implementation_name = implementation_name; in OnDecoderImplementationName()
675 stats_.max_decode_ms = max_decode_ms; in OnFrameBufferTimingsUpdated()
676 stats_.current_delay_ms = current_delay_ms; in OnFrameBufferTimingsUpdated()
677 stats_.target_delay_ms = target_delay_ms; in OnFrameBufferTimingsUpdated()
678 stats_.jitter_buffer_ms = jitter_buffer_ms; in OnFrameBufferTimingsUpdated()
679 stats_.min_playout_delay_ms = min_playout_delay_ms; in OnFrameBufferTimingsUpdated()
680 stats_.render_delay_ms = render_delay_ms; in OnFrameBufferTimingsUpdated()
707 if (stats_.first_frame_received_to_decoded_ms == -1 && in OnTimingFrameInfoUpdated()
709 stats_.first_frame_received_to_decoded_ms = in OnTimingFrameInfoUpdated()
718 if (stats_.ssrc != ssrc) in RtcpPacketTypesCounterUpdated()
720 stats_.rtcp_packet_type_counts = packet_counter; in RtcpPacketTypesCounterUpdated()
727 if (stats_.ssrc != ssrc) in OnCname()
729 stats_.c_name = std::string(cname); in OnCname()
752 ++stats_.frames_decoded; in OnDecodedFrame()
754 if (!stats_.qp_sum) { in OnDecodedFrame()
755 if (stats_.frames_decoded != 1) { in OnDecodedFrame()
759 stats_.qp_sum = 0; in OnDecodedFrame()
761 *stats_.qp_sum += *qp; in OnDecodedFrame()
763 } else if (stats_.qp_sum) { in OnDecodedFrame()
766 stats_.qp_sum.reset(); in OnDecodedFrame()
769 stats_.decode_ms = decode_time_ms; in OnDecodedFrame()
770 stats_.total_decode_time_ms += decode_time_ms; in OnDecodedFrame()
781 stats_.total_inter_frame_delay += interframe_delay; in OnDecodedFrame()
782 stats_.total_squared_inter_frame_delay += in OnDecodedFrame()
790 if (stats_.frames_decoded == 1) { in OnDecodedFrame()
809 ++stats_.frames_rendered; in OnRenderedFrame()
810 stats_.width = width; in OnRenderedFrame()
811 stats_.height = height; in OnRenderedFrame()
838 stats_.sync_offset_ms = sync_offset_ms; in OnSyncOffsetUpdated()
856 ++stats_.frame_counts.key_frames; in OnCompleteFrame()
858 ++stats_.frame_counts.delta_frames; in OnCompleteFrame()
885 stats_.frames_dropped += frames_dropped; in OnDroppedFrames()