pub struct Pps {Show 38 fields
pub id: u32,
pub sps_id: u32,
pub dependent_slices: bool,
pub output_flag_present: bool,
pub extra_slice_header_bits: u32,
pub sign_data_hiding: bool,
pub cabac_init_present: bool,
pub num_ref_idx_default: [u32; 2],
pub init_qp: i32,
pub constrained_intra_pred: bool,
pub transform_skip: bool,
pub cu_qp_delta: bool,
pub diff_cu_qp_delta_depth: u32,
pub cb_qp_offset: i32,
pub cr_qp_offset: i32,
pub slice_chroma_qp_offsets_present: bool,
pub chroma_qp_offset_list: Vec<[i32; 2]>,
pub diff_cu_chroma_qp_offset_depth: u32,
pub log2_max_transform_skip: u32,
pub cross_component_prediction: bool,
pub log2_sao_offset_scale: [u32; 2],
pub weighted_pred: bool,
pub weighted_bipred: bool,
pub transquant_bypass: bool,
pub tiles: bool,
pub entropy_sync: bool,
pub tile_cols: TileSpacing,
pub tile_rows: TileSpacing,
pub loop_filter_across_tiles: bool,
pub loop_filter_across_slices: bool,
pub deblocking_override_enabled: bool,
pub deblocking_disabled: bool,
pub beta_offset: i32,
pub tc_offset: i32,
pub scaling: Option<ScalingFactors>,
pub lists_modification_present: bool,
pub log2_parallel_merge_level: u32,
pub slice_header_extension_present: bool,
}Fields§
§id: u32§sps_id: u32§dependent_slices: bool§output_flag_present: bool§extra_slice_header_bits: u32§sign_data_hiding: bool§cabac_init_present: bool§num_ref_idx_default: [u32; 2]§init_qp: i32§constrained_intra_pred: bool§transform_skip: bool§cu_qp_delta: bool§diff_cu_qp_delta_depth: u32§cb_qp_offset: i32§cr_qp_offset: i32§slice_chroma_qp_offsets_present: bool§chroma_qp_offset_list: Vec<[i32; 2]>Range extension: the (Cb, Cr) QP offsets a coding unit can pick from,
empty when chroma_qp_offset_list_enabled_flag is off.
diff_cu_chroma_qp_offset_depth: u32Depth below the CTB of the groups that each code one choice.
log2_max_transform_skip: u32Range extension: largest transform-skip block, log2 (2 without it).
cross_component_prediction: boolRange extension: chroma residuals may add a scaled luma residual.
log2_sao_offset_scale: [u32; 2]Range extension: SAO offsets are scaled up by these, luma and chroma.
weighted_pred: bool§weighted_bipred: bool§transquant_bypass: bool§tiles: bool§entropy_sync: bool§tile_cols: TileSpacingExplicit tile column widths / row heights in CTBs, or None for
uniform spacing with the given count.
tile_rows: TileSpacing§loop_filter_across_tiles: bool§loop_filter_across_slices: bool§deblocking_override_enabled: bool§deblocking_disabled: bool§beta_offset: i32§tc_offset: i32§scaling: Option<ScalingFactors>§lists_modification_present: bool§log2_parallel_merge_level: u32§slice_header_extension_present: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Pps
impl Freeze for Pps
impl Move for Pps
impl RefUnwindSafe for Pps
impl Send for Pps
impl Sync for Pps
impl Unpin for Pps
impl UnsafeUnpin for Pps
impl UnwindSafe for Pps
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
Mutably borrows from an owned value. Read more
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> ⓘ
Converts
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> ⓘ
Converts
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