#[repr(C)]pub struct StdVideoEncodeH264ReferenceInfo {
pub flags: StdVideoEncodeH264ReferenceInfoFlags,
pub primary_pic_type: StdVideoH264PictureType,
pub frame_num: u32,
pub pic_order_cnt: i32,
pub long_term_pic_num: u16,
pub long_term_frame_idx: u16,
pub temporal_id: u8,
}Expand description
Native structure StdVideoEncodeH264ReferenceInfo.
Fields§
§flags: StdVideoEncodeH264ReferenceInfoFlagsNative field flags.
primary_pic_type: StdVideoH264PictureTypeNative field primary_pic_type.
frame_num: u32Native field FrameNum.
pic_order_cnt: i32Native field PicOrderCnt.
long_term_pic_num: u16Native field long_term_pic_num.
long_term_frame_idx: u16Native field long_term_frame_idx.
temporal_id: u8Native field temporal_id.
Implementations§
Source§impl StdVideoEncodeH264ReferenceInfo
impl StdVideoEncodeH264ReferenceInfo
Sourcepub fn set_flags(self, value: StdVideoEncodeH264ReferenceInfoFlags) -> Self
pub fn set_flags(self, value: StdVideoEncodeH264ReferenceInfoFlags) -> Self
Set native field flags without native effects.
Sourcepub fn set_primary_pic_type(self, value: StdVideoH264PictureType) -> Self
pub fn set_primary_pic_type(self, value: StdVideoH264PictureType) -> Self
Set native field primary_pic_type without native effects.
Sourcepub fn set_frame_num(self, value: u32) -> Self
pub fn set_frame_num(self, value: u32) -> Self
Set native field FrameNum without native effects.
Sourcepub fn set_pic_order_cnt(self, value: i32) -> Self
pub fn set_pic_order_cnt(self, value: i32) -> Self
Set native field PicOrderCnt without native effects.
Sourcepub fn set_long_term_pic_num(self, value: u16) -> Self
pub fn set_long_term_pic_num(self, value: u16) -> Self
Set native field long_term_pic_num without native effects.
Sourcepub fn set_long_term_frame_idx(self, value: u16) -> Self
pub fn set_long_term_frame_idx(self, value: u16) -> Self
Set native field long_term_frame_idx without native effects.
Sourcepub fn set_temporal_id(self, value: u8) -> Self
pub fn set_temporal_id(self, value: u8) -> Self
Set native field temporal_id without native effects.
Trait Implementations§
impl Copy for StdVideoEncodeH264ReferenceInfo
Auto Trait Implementations§
impl Forget for StdVideoEncodeH264ReferenceInfo
impl Freeze for StdVideoEncodeH264ReferenceInfo
impl RefUnwindSafe for StdVideoEncodeH264ReferenceInfo
impl Send for StdVideoEncodeH264ReferenceInfo
impl Sync for StdVideoEncodeH264ReferenceInfo
impl Unpin for StdVideoEncodeH264ReferenceInfo
impl UnsafeUnpin for StdVideoEncodeH264ReferenceInfo
impl UnwindSafe for StdVideoEncodeH264ReferenceInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more