pub struct QsvAv1Params {
pub rc_mode: QsvRateControl,
pub icq_quality: u16,
pub qp_i: u16,
pub qp_p: u16,
pub target_usage: u16,
pub gop_pic_size: u16,
pub num_tile_columns: u8,
pub num_tile_rows: u8,
pub low_power: u16,
}Expand description
Concrete parameters for Intel QSV AV1 (oneVPL on Arc / Meteor Lake+).
oneVPL is struct-driven: mfxVideoParam carries every knob in fixed
fields (no property bag). The adapter produces the exact values we
splat into the struct in crates/codec/src/encode/qsv.rs.
Fields§
§rc_mode: QsvRateControlmfxVideoParam.mfx.RateControlMethod. ICQ for the common
quality targets; CQP for archive.
icq_quality: u16mfxVideoParam.mfx.ICQQuality (ICQ mode) — 1..51 for AV1 per
oneVPL 2.8+ dispatcher. 1=best, 51=worst. Mapped from libaom CQ.
qp_i: u16mfxVideoParam.mfx.QPI (CQP mode) — AV1 q-index 0..255.
qp_p: u16mfxVideoParam.mfx.QPP (CQP mode) — inter-frame QP.
target_usage: u16mfxVideoParam.mfx.TargetUsage. 1=best quality, 7=best speed.
gop_pic_size: u16mfxVideoParam.mfx.GopPicSize. Frames between keyframes.
num_tile_columns: u8Tile grid — mfxExtAV1TileParam.NumTileColumns / NumTileRows.
num_tile_rows: u8§low_power: u16mfxVideoParam.mfx.LowPower. Always
MFX_CODINGOPTION_OFF = 32 for this service — the low-power
path on older Arc silicon has documented quality regressions;
leaving it explicitly OFF sidesteps that.
Trait Implementations§
Source§impl Clone for QsvAv1Params
impl Clone for QsvAv1Params
Source§fn clone(&self) -> QsvAv1Params
fn clone(&self) -> QsvAv1Params
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for QsvAv1Params
Source§impl Debug for QsvAv1Params
impl Debug for QsvAv1Params
impl Eq for QsvAv1Params
Source§impl PartialEq for QsvAv1Params
impl PartialEq for QsvAv1Params
Source§fn eq(&self, other: &QsvAv1Params) -> bool
fn eq(&self, other: &QsvAv1Params) -> bool
self and other values to be equal, and is used by ==.