pub struct PictureData {
Show 31 fields pub pic_order_cnt_type: u8, pub top_field_order_cnt: i32, pub bottom_field_order_cnt: i32, pub pic_order_cnt: i32, pub pic_order_cnt_msb: i32, pub pic_order_cnt_lsb: i32, pub delta_pic_order_cnt_bottom: i32, pub delta_pic_order_cnt0: i32, pub delta_pic_order_cnt1: i32, pub pic_num: i32, pub long_term_pic_num: i32, pub frame_num: i32, pub frame_num_offset: i32, pub frame_num_wrap: i32, pub long_term_frame_idx: i32, pub coded_resolution: Resolution, pub display_resolution: Resolution, pub type_: SliceType, pub nal_ref_idc: u8, pub is_idr: IsIdr, reference: Reference, pub ref_pic_list_modification_flag_l0: i32, pub abs_diff_pic_num_minus1: i32, pub needed_for_output: bool, pub has_mmco_5: bool, pub nonexisting: bool, pub field: Field, pub ref_pic_marking: RefPicMarking, is_second_field: bool, other_field: Option<Weak<RefCell<Self>>>, pub timestamp: u64,
}

Fields

pic_order_cnt_type: u8top_field_order_cnt: i32bottom_field_order_cnt: i32pic_order_cnt: i32pic_order_cnt_msb: i32pic_order_cnt_lsb: i32delta_pic_order_cnt_bottom: i32delta_pic_order_cnt0: i32delta_pic_order_cnt1: i32pic_num: i32long_term_pic_num: i32frame_num: i32frame_num_offset: i32frame_num_wrap: i32long_term_frame_idx: i32coded_resolution: Resolutiondisplay_resolution: Resolutiontype_: SliceTypenal_ref_idc: u8is_idr: IsIdrreference: Referenceref_pic_list_modification_flag_l0: i32abs_diff_pic_num_minus1: i32needed_for_output: boolhas_mmco_5: boolnonexisting: boolfield: Fieldref_pic_marking: RefPicMarkingis_second_field: boolother_field: Option<Weak<RefCell<Self>>>timestamp: u64

Implementations

Whether the current picture is a reference, either ShortTerm or LongTerm.

Whether this picture is a second field.

Returns a reference to the picture’s Reference

Mark the picture as a reference picture.

Returns the other field when we know it must be there.

Get a reference to the picture’s other field, if any.

Set this picture’s second field.

Whether the current picture is the second field of a complementary ref pair.

Set this picture’s first field.

Split a frame into two complementary fields.

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Returns the display resolution of this frame.

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 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.