Skip to main content

Module pipeline

Module pipeline 

Source
Expand description

Frame-processing policy shared by the X11 and Wayland backends. Frame-processing policy shared by the two capture backends. It lives in its own module for one reason: the Wayland path (dmabuf, compositor damage) and the X11 path (host-ARGB, stripe-hash damage) capture pixels in completely different ways, but a viewer must never be able to tell which one produced a frame — a paint-over refresh or a recovery keyframe has to behave identically either way. Keeping the decision logic here, source-agnostic, is what guarantees it.

Structs§

HwFrameDecision
Outcome of the full-frame H.264 send decision produced by decide_hw_fullframe.
X11Pipeline
Everything the X11 host-ARGB path has to remember between frames.

Functions§

decide_hw_fullframe
The send / quality / keyframe policy every full-frame H.264 encoder obeys.
periodic_idr_due
Whether a scheduled keyframe is due this tick.