Skip to main content

PpsRangeExtension

Struct PpsRangeExtension 

Source
pub struct PpsRangeExtension {
    pub log2_max_transform_skip_block_size_minus2: u32,
    pub cross_component_prediction_enabled_flag: bool,
    pub chroma_qp_offset_list_enabled_flag: bool,
    pub diff_cu_chroma_qp_offset_depth: u32,
    pub chroma_qp_offset_list_len_minus1: u32,
    pub cb_qp_offset_list: [i32; 6],
    pub cr_qp_offset_list: [i32; 6],
    pub log2_sao_offset_scale_luma: u32,
    pub log2_sao_offset_scale_chroma: u32,
}

Fields§

§log2_max_transform_skip_block_size_minus2: u32

log2_max_transform_skip_block_size_minus2 plus 2 specifies the maximum transform block size for which transform_skip_flag may be present in coded pictures referring to the PPS. When not present, the value of log2_max_transform_skip_block_size_minus2 is inferred to be equal to 0. When present, the value of log2_max_transform_skip_block_size_minus2 shall be less than or equal to MaxTbLog2SizeY − 2.

§cross_component_prediction_enabled_flag: bool

When set, specifies that log2_res_scale_abs_plus1 and res_scale_sign_flag may be present in the transform unit syntax for pictures referring to the PPS. When not set, specifies that log2_res_scale_abs_plus1 and res_scale_sign_flag are not present for pictures referring to the PPS.

§chroma_qp_offset_list_enabled_flag: bool

When set, specifies that the cu_chroma_qp_offset_flag may be present in the transform unit syntax. When not set, specifies that the cu_chroma_qp_offset_flag is not present in the transform unit syntax.

§diff_cu_chroma_qp_offset_depth: u32

Specifies the difference between the luma CTB size and the minimum luma coding block size of coding units that convey cu_chroma_qp_offset_flag.

§chroma_qp_offset_list_len_minus1: u32

chroma_qp_offset_list_len_minus1 plus 1 specifies the number of cb_qp_offset_list[ i ] and cr_qp_offset_list[ i ] syntax elements that are present in the PPS.

§cb_qp_offset_list: [i32; 6]

Specify offsets used in the derivation of Qp′Cb and Qp′Cr, respectively.

§cr_qp_offset_list: [i32; 6]

Specify offsets used in the derivation of Qp′Cb and Qp′Cr, respectively.

§log2_sao_offset_scale_luma: u32

The base 2 logarithm of the scaling parameter that is used to scale sample adaptive offset (SAO) offset values for luma samples.

§log2_sao_offset_scale_chroma: u32

The base 2 logarithm of the scaling parameter that is used to scale SAO offset values for chroma samples.

Trait Implementations§

Source§

impl Clone for PpsRangeExtension

Source§

fn clone(&self) -> PpsRangeExtension

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PpsRangeExtension

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PpsRangeExtension

Source§

fn default() -> PpsRangeExtension

Returns the “default value” for a type. Read more
Source§

impl Eq for PpsRangeExtension

Source§

impl PartialEq for PpsRangeExtension

Source§

fn eq(&self, other: &PpsRangeExtension) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for PpsRangeExtension

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.