Enum ModifierFamily Copy item path Source #[non_exhaustive]
pub enum ModifierFamily {
Exact,
BroadcomSand {
code: u64 ,
},
}Expand description The family a modifier belongs to, for eligibility matching.
This enum is marked as non-exhaustive Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
The modifier matches only itself. Everything not named below.
Broadcom SAND, one of SAND64 / SAND128 / SAND256.
The low byte is the layout code; bits 8..56 carry the column height. A
plane advertises the base (column height 0); a producer bakes the coded
image height in. rpi-hevc-dec exporting SAND128 with the column
height set is the case PR #231 fixed.
SAND32 (code 2) is deliberately not a member: the upstream commit
names SAND64/128/256 explicitly, and widening the range here would be
a behavior change with no driver evidence behind it.
Fields § code: u64 The SAND layout code: 3, 4, or 5.
The base modifier a plane advertises for this family, if the family is
parameterized.
ModifierFamily::Exact has no base — such a modifier is only ever
eligible against itself.
Performs copy-assignment from
source.
Read more Formats the value using the given formatter.
Read more Compares and returns the maximum of two values.
Read more Compares and returns the minimum of two values.
Read more Restrict a value to a certain interval.
Read more 🔬 This is a nightly-only experimental API. (clamp_to)
Restrict a value to a certain range.
Read more This method returns an ordering between
self and
other values if one exists.
Read more Tests less than (for
self and
other) and is used by the
< operator.
Read more Tests less than or equal to (for
self and
other) and is used by the
<= operator.
Read more Tests greater than (for
self and
other) and is used by the
>
operator.
Read more Tests greater than or equal to (for
self and
other) and is used by
the
>= operator.
Read more Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
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.