Struct cros_codecs::decoders::h264::parser::RefPicMarking
source · [−]pub struct RefPicMarking {
no_output_of_prior_pics_flag: bool,
long_term_reference_flag: bool,
adaptive_ref_pic_marking_mode_flag: bool,
inner: Vec<RefPicMarkingInner>,
}
Fields
no_output_of_prior_pics_flag: bool
Specifies how the previously-decoded pictures in the decoded picture buffer are treated after decoding of an IDR picture. See Annex C.
long_term_reference_flag: bool
If unset, specifies that the MaxLongTermFrameIdx variable is set equal to “no long-term frame indices” and that the IDR picture is marked as “used for short-term reference”. If set, specifies that the MaxLongTermFrameIdx variable is set equal to 0 and that the current IDR picture is marked “used for long-term reference” and is assigned LongTermFrameIdx equal to 0.
adaptive_ref_pic_marking_mode_flag: bool
Selects the reference picture marking mode of the currently decoded picture as specified in Table 7-8.
inner: Vec<RefPicMarkingInner>
An Vec with additional data used in the marking process.
Implementations
sourceimpl RefPicMarking
impl RefPicMarking
pub fn no_output_of_prior_pics_flag(&self) -> bool
pub fn long_term_reference_flag(&self) -> bool
pub fn adaptive_ref_pic_marking_mode_flag(&self) -> bool
pub fn inner(&self) -> &Vec<RefPicMarkingInner>
Trait Implementations
sourceimpl Clone for RefPicMarking
impl Clone for RefPicMarking
sourcefn clone(&self) -> RefPicMarking
fn clone(&self) -> RefPicMarking
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RefPicMarking
impl Debug for RefPicMarking
sourceimpl Default for RefPicMarking
impl Default for RefPicMarking
sourcefn default() -> RefPicMarking
fn default() -> RefPicMarking
Returns the “default value” for a type. Read more
sourceimpl PartialEq<RefPicMarking> for RefPicMarking
impl PartialEq<RefPicMarking> for RefPicMarking
sourcefn eq(&self, other: &RefPicMarking) -> bool
fn eq(&self, other: &RefPicMarking) -> bool
impl Eq for RefPicMarking
impl StructuralEq for RefPicMarking
impl StructuralPartialEq for RefPicMarking
Auto Trait Implementations
impl RefUnwindSafe for RefPicMarking
impl Send for RefPicMarking
impl Sync for RefPicMarking
impl Unpin for RefPicMarking
impl UnwindSafe for RefPicMarking
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more