ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
video_frame_stats_t Struct Reference

Counters and timing measurements used to monitor frame delivery and quality. More...

#include <include/ascii-chat/video/rgba/video_frame.h>

Data Fields

uint64_t total_frames
 Total frames received since creation.
uint64_t dropped_frames
 Total frames dropped (due to buffer full or errors).
float drop_rate
 Frame drop rate (dropped_frames / total_frames, 0.0-1.0).
uint64_t avg_decode_time_ns
 Average frame decode time in nanoseconds.
uint64_t avg_render_time_ns
 Average frame render time in nanoseconds.

Detailed Description

Counters and timing measurements used to monitor frame delivery and quality.

Contains aggregated statistics for video frame quality monitoring. Used for adaptive streaming quality control based on performance metrics.

Definition at line 240 of file video_frame.h.

Field Documentation

◆ avg_decode_time_ns

uint64_t video_frame_stats_t::avg_decode_time_ns

Average frame decode time in nanoseconds.

Definition at line 248 of file video_frame.h.

Referenced by video_frame_get_stats().

◆ avg_render_time_ns

uint64_t video_frame_stats_t::avg_render_time_ns

Average frame render time in nanoseconds.

Definition at line 250 of file video_frame.h.

Referenced by video_frame_get_stats().

◆ drop_rate

float video_frame_stats_t::drop_rate

Frame drop rate (dropped_frames / total_frames, 0.0-1.0).

Definition at line 246 of file video_frame.h.

Referenced by video_frame_get_stats().

◆ dropped_frames

uint64_t video_frame_stats_t::dropped_frames

Total frames dropped (due to buffer full or errors).

Definition at line 244 of file video_frame.h.

Referenced by video_frame_get_stats().

◆ total_frames

uint64_t video_frame_stats_t::total_frames

Total frames received since creation.

Definition at line 242 of file video_frame.h.

Referenced by video_frame_get_stats().


The documentation for this struct was generated from the following file: