ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
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 241 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 249 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 251 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 247 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 245 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 243 of file video_frame.h.

Referenced by video_frame_get_stats().


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