Struct cros_codecs::decoders::h264::parser::RefPicMarkingInner
source · [−]pub struct RefPicMarkingInner {
memory_management_control_operation: u8,
difference_of_pic_nums_minus1: u32,
long_term_pic_num: u32,
long_term_frame_idx: u32,
max_long_term_frame_idx_plus1: i32,
}
Fields
memory_management_control_operation: u8
Specifies a control operation to be applied to affect the reference
picture marking. The memory_management_control_operation
syntax element
is followed by data necessary for the operation specified by the value
of memory_management_control_operation
. The values and control
operations associated with memory_management_control_operation
are
specified in Table 7-9
difference_of_pic_nums_minus1: u32
Used (with memory_management_control_operation equal to 3 or 1) to assign a long-term frame index to a short-term reference picture or to mark a short-term reference picture as “unused for reference”.
long_term_pic_num: u32
Used (with memory_management_control_operation equal to 2) to mark a long-term reference picture as “unused for reference”.
long_term_frame_idx: u32
Used (with memory_management_control_operation equal to 3 or 6) to assign a long-term frame index to a picture.
max_long_term_frame_idx_plus1: i32
Minus 1 specifies the maximum value of long-term frame index allowed for
long-term reference pictures (until receipt of another value of
max_long_term_frame_idx_plus1
).
Implementations
sourceimpl RefPicMarkingInner
impl RefPicMarkingInner
pub fn memory_management_control_operation(&self) -> u8
pub fn difference_of_pic_nums_minus1(&self) -> u32
pub fn long_term_pic_num(&self) -> u32
pub fn long_term_frame_idx(&self) -> u32
pub fn max_long_term_frame_idx_plus1(&self) -> i32
Trait Implementations
sourceimpl Clone for RefPicMarkingInner
impl Clone for RefPicMarkingInner
sourcefn clone(&self) -> RefPicMarkingInner
fn clone(&self) -> RefPicMarkingInner
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more