Skip to main content

qsv_av1_params

Function qsv_av1_params 

Source
pub fn qsv_av1_params(
    target: QualityTarget,
    tier: SpeedTier,
    width: u32,
    height: u32,
) -> QsvAv1Params
Expand description

Derive Intel QSV AV1 params for a given quality target + speed tier + resolution.

oneVPL exposes two sensible modes for quality-driven encoding: ICQ (intelligent constant quality, 1..51 for AV1 — 1=best) and CQP (constant q-index, 0..255). ICQ is the default; CQP is the archival path. ICQ quality maps near-linearly to libaom cq-level at the range we care about (research §2.6, calibrated from Intel’s public oneVPL sample_encode benchmarks).