ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
video_frame_stats_t Struct Reference

Frame statistics structure. 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

Frame statistics structure.

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

Definition at line 235 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 243 of file video_frame.h.

◆ avg_render_time_ns

uint64_t video_frame_stats_t::avg_render_time_ns

Average frame render time in nanoseconds.

Definition at line 245 of file video_frame.h.

◆ drop_rate

float video_frame_stats_t::drop_rate

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

Definition at line 241 of file video_frame.h.

◆ dropped_frames

uint64_t video_frame_stats_t::dropped_frames

Total frames dropped (due to buffer full or errors)

Definition at line 239 of file video_frame.h.

◆ total_frames

uint64_t video_frame_stats_t::total_frames

Total frames received since creation.

Definition at line 237 of file video_frame.h.


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