pub struct LoopFilterParams {
    level: u8,
    sharpness: u8,
    delta_enabled: bool,
    delta_update: bool,
    update_ref_delta: [bool; 4],
    ref_deltas: [i8; 4],
    update_mode_delta: [bool; 2],
    mode_deltas: [i8; 2],
}

Fields

level: u8

Indicates the loop filter strength.

sharpness: u8

Indicates the sharpness level. The loop filter level and loop filter_sharpness together determine when a block edge is filtered, and by how much the filtering can change the sample values.

delta_enabled: bool

If set, means that the filter level depends on the mode and reference frame used to predict a block. If unset, means that the filter level does not depend on the mode and reference frame.

delta_update: bool

If set, means that the bitstream contains additional syntax elements that specify which mode and reference frame deltas are to be updated. If unset, means that these syntax elements are not present.

update_ref_delta: [bool; 4]

If set, means that the bitstream contains additional syntax elements that specify which mode and reference frame deltas are to be updated. If unset, means that these syntax elements are not present.

ref_deltas: [i8; 4]

Contains the adjustment needed for the filter level based on the chosen reference frame. If this syntax element is not present in the bitstream, it maintains its previous value.

update_mode_delta: [bool; 2]

If set, means that the bitstream contains the syntax element loop_filter_mode_deltas. If unset, means that the bitstream does not contain this syntax element.

mode_deltas: [i8; 2]

Contains the adjustment needed for the filter level based on the chosen mode. If this syntax element is not present in the bitstream, it maintains its previous value.

Implementations

Get a reference to the loop filter params’s level.

Get a reference to the loop filter params’s sharpness.

Get a reference to the loop filter params’s delta enabled.

Get a reference to the loop filter params’s delta update.

Get a reference to the loop filter params’s update ref delta.

Get a reference to the loop filter params’s ref deltas.

Get a reference to the loop filter params’s update mode delta.

Get a reference to the loop filter params’s mode deltas.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.