pub struct FrameHeader {Show 33 fields
pub frame_type: u8,
pub show_frame: bool,
pub showable_frame: bool,
pub error_resilient_mode: bool,
pub disable_cdf_update: bool,
pub allow_screen_content_tools: bool,
pub frame_width: u32,
pub frame_height: u32,
pub upscaled_width: u32,
pub render_width: u32,
pub render_height: u32,
pub superres_denom: u32,
pub mi_cols: u32,
pub mi_rows: u32,
pub allow_intrabc: bool,
pub disable_frame_end_update_cdf: bool,
pub tile_info: TileInfo,
pub quantization: Quantization,
pub segmentation: Segmentation,
pub delta_q_present: bool,
pub delta_q_res: u32,
pub delta_lf_present: bool,
pub delta_lf_res: u32,
pub delta_lf_multi: bool,
pub coded_lossless: bool,
pub all_lossless: bool,
pub lossless: [bool; 8],
pub loop_filter: LoopFilter,
pub cdef: Cdef,
pub loop_restoration: LoopRestoration,
pub tx_mode: TxMode,
pub reduced_tx_set: bool,
pub film_grain: FilmGrain,
}Expand description
A fully parsed intra frame header.
Fields§
§frame_type: u8frame_type — KEY_FRAME or INTRA_ONLY_FRAME in this decoder.
show_frame: boolWhether the frame is shown.
showable_frame: boolWhether the frame is later showable.
error_resilient_mode: boolWhether error-resilient mode is set.
disable_cdf_update: boolWhether CDF updates are disabled for the frame.
allow_screen_content_tools: boolWhether screen-content tools are allowed.
frame_width: u32Coded frame width, after any super-resolution downscale.
frame_height: u32Coded frame height.
upscaled_width: u32Width before super-resolution upscale (the displayed coded width).
render_width: u32Render (display) width.
render_height: u32Render (display) height.
superres_denom: u32SuperresDenom.
mi_cols: u32Frame width in 4x4 mode-info units.
mi_rows: u32Frame height in 4x4 mode-info units.
allow_intrabc: boolWhether intra block copy is allowed.
disable_frame_end_update_cdf: boolWhether the frame-end CDF update is disabled.
tile_info: TileInfoThe tile layout.
quantization: QuantizationQuantizer parameters.
segmentation: SegmentationSegmentation parameters.
delta_q_present: boolWhether per-block delta-Q is present.
delta_q_res: u32Delta-Q resolution.
delta_lf_present: boolWhether per-block delta-LF is present.
delta_lf_res: u32Delta-LF resolution.
delta_lf_multi: boolWhether delta-LF is signalled per edge type.
coded_lossless: boolWhether every segment is coded losslessly.
all_lossless: boolWhether the frame is lossless and unscaled.
lossless: [bool; 8]Per-segment lossless flags.
loop_filter: LoopFilterLoop-filter parameters.
cdef: CdefCDEF parameters.
loop_restoration: LoopRestorationLoop-restoration parameters.
tx_mode: TxModeTxMode.
reduced_tx_set: boolWhether the reduced transform set is used.
film_grain: FilmGrainFilm-grain parameters.