Skip to main content

log_stream_settings_of

Function log_stream_settings_of 

Source
pub(crate) fn log_stream_settings_of(
    tag: &str,
    settings: &CaptureSettings,
    n_stripes: usize,
    backend: Option<(&str, bool)>,
    fixed_rate: Option<&str>,
    holds: bool,
    capped: bool,
    fullcolor: bool,
    full_range: bool,
)
Expand description

The “Stream settings active” line for a backend named outright, (name, hardware), where the session is not a FrameEncoder (NvFBC’s own NVENC session); None is the CPU path, fixed_rate is the backend’s one rate control where it has one (FrameEncoder::fixed_rate_control), holds says whether the session holds a cleanup at the quantizer asked for (FrameEncoder::holds_quantizer), and capped whether a constant quality runs under the peak of video_bitrate_kbps (encoders::session_capped).