pub struct Header {Show 37 fields
pub profile: u8,
pub bpp: u8,
pub keyframe: bool,
pub invisible: bool,
pub errorres: bool,
pub intraonly: bool,
pub resetctx: u8,
pub refreshrefmask: u8,
pub highprecisionmvs: bool,
pub filtermode: FilterMode,
pub allowcompinter: bool,
pub refreshctx: bool,
pub parallelmode: bool,
pub framectxid: u8,
pub use_last_frame_mvs: bool,
pub refidx: [u8; 3],
pub signbias: [bool; 3],
pub fixcompref: u8,
pub varcompref: [u8; 2],
pub filter_level: u8,
pub sharpness: i8,
pub lf_delta_enabled: bool,
pub lf_delta_updated: bool,
pub lf_delta_mode: [i8; 2],
pub lf_delta_ref: [i8; 4],
pub yac_qi: u8,
pub ydc_qdelta: i8,
pub uvdc_qdelta: i8,
pub uvac_qdelta: i8,
pub lossless: bool,
pub segmentation: Segmentation,
pub txfmmode: u8,
pub comppredmode: CompPred,
pub log2_tile_cols: u32,
pub log2_tile_rows: u32,
pub tile_cols: u32,
pub tile_rows: u32,
}decode only.Expand description
VP9BitstreamHeader. It persists across frames: fields a frame does not
code keep the previous frame’s values, as in ffmpeg.
Fields§
§profile: u8profile.
bpp: u8Bits per sample.
keyframe: boolframe_type == KEY_FRAME.
invisible: bool!show_frame.
errorres: boolerror_resilient_mode.
intraonly: boolintra_only.
resetctx: u8reset_frame_context.
refreshrefmask: u8refresh_frame_flags.
highprecisionmvs: boolallow_high_precision_mv.
filtermode: FilterModeinterpolation_filter.
allowcompinter: boolCompound prediction is possible (sign biases differ).
refreshctx: boolrefresh_frame_context.
parallelmode: boolframe_parallel_decoding_mode.
framectxid: u8frame_context_idx.
use_last_frame_mvs: boolThe previous frame’s MVs are usable.
refidx: [u8; 3]ref_frame_idx for last, golden, altref.
signbias: [bool; 3]ref_frame_sign_bias for the same.
fixcompref: u8The fixed reference of compound prediction.
varcompref: [u8; 2]Its variable references.
filter_level: u8loop_filter_level.
sharpness: i8loop_filter_sharpness.
lf_delta_enabled: boolloop_filter_delta_enabled.
lf_delta_updated: boolloop_filter_delta_update.
lf_delta_mode: [i8; 2]loop_filter_mode_deltas.
lf_delta_ref: [i8; 4]loop_filter_ref_deltas.
yac_qi: u8base_q_idx.
ydc_qdelta: i8delta_q_y_dc.
uvdc_qdelta: i8delta_q_uv_dc.
uvac_qdelta: i8delta_q_uv_ac.
lossless: boolLossless: every quantizer 0.
segmentation: Segmentationsegmentation_params().
txfmmode: u8tx_mode.
comppredmode: CompPredreference_select.
log2_tile_cols: u32tile_cols_log2.
log2_tile_rows: u32tile_rows_log2.
tile_cols: u32Tile columns.
tile_rows: u32Tile rows.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Header
impl Freeze for Header
impl Move for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnsafeUnpin for Header
impl UnwindSafe for Header
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more