#[repr(C)]pub struct StdVideoDecodeH264PictureInfo {
pub flags: StdVideoDecodeH264PictureInfoFlags,
pub seq_parameter_set_id: u8,
pub pic_parameter_set_id: u8,
pub reserved1: u8,
pub reserved2: u8,
pub frame_num: u16,
pub idr_pic_id: u16,
pub pic_order_cnt: [i32; 2],
}Expand description
Native structure StdVideoDecodeH264PictureInfo.
Fields§
§flags: StdVideoDecodeH264PictureInfoFlagsNative field flags.
seq_parameter_set_id: u8Native field seq_parameter_set_id.
pic_parameter_set_id: u8Native field pic_parameter_set_id.
reserved1: u8Native field reserved1.
reserved2: u8Native field reserved2.
frame_num: u16Native field frame_num.
idr_pic_id: u16Native field idr_pic_id.
pic_order_cnt: [i32; 2]Native field PicOrderCnt.
Implementations§
Source§impl StdVideoDecodeH264PictureInfo
impl StdVideoDecodeH264PictureInfo
Sourcepub fn set_flags(self, value: StdVideoDecodeH264PictureInfoFlags) -> Self
pub fn set_flags(self, value: StdVideoDecodeH264PictureInfoFlags) -> Self
Set native field flags without native effects.
Sourcepub fn set_seq_parameter_set_id(self, value: u8) -> Self
pub fn set_seq_parameter_set_id(self, value: u8) -> Self
Set native field seq_parameter_set_id without native effects.
Sourcepub fn set_pic_parameter_set_id(self, value: u8) -> Self
pub fn set_pic_parameter_set_id(self, value: u8) -> Self
Set native field pic_parameter_set_id without native effects.
Sourcepub fn set_reserved1(self, value: u8) -> Self
pub fn set_reserved1(self, value: u8) -> Self
Set native field reserved1 without native effects.
Sourcepub fn set_reserved2(self, value: u8) -> Self
pub fn set_reserved2(self, value: u8) -> Self
Set native field reserved2 without native effects.
Sourcepub fn set_frame_num(self, value: u16) -> Self
pub fn set_frame_num(self, value: u16) -> Self
Set native field frame_num without native effects.
Sourcepub fn set_idr_pic_id(self, value: u16) -> Self
pub fn set_idr_pic_id(self, value: u16) -> Self
Set native field idr_pic_id without native effects.
Sourcepub fn set_pic_order_cnt(self, value: [i32; 2]) -> Self
pub fn set_pic_order_cnt(self, value: [i32; 2]) -> Self
Set native field PicOrderCnt without native effects.
Trait Implementations§
impl Copy for StdVideoDecodeH264PictureInfo
Auto Trait Implementations§
impl Forget for StdVideoDecodeH264PictureInfo
impl Freeze for StdVideoDecodeH264PictureInfo
impl Move for StdVideoDecodeH264PictureInfo
impl RefUnwindSafe for StdVideoDecodeH264PictureInfo
impl Send for StdVideoDecodeH264PictureInfo
impl Sync for StdVideoDecodeH264PictureInfo
impl Unpin for StdVideoDecodeH264PictureInfo
impl UnsafeUnpin for StdVideoDecodeH264PictureInfo
impl UnwindSafe for StdVideoDecodeH264PictureInfo
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