pub struct StdVideoEncodeH264PictureInfo<'a> {
pub flags: StdVideoEncodeH264PictureInfoFlags,
pub seq_parameter_set_id: u8,
pub pic_parameter_set_id: u8,
pub idr_pic_id: u16,
pub primary_pic_type: StdVideoH264PictureType,
pub frame_num: u32,
pub pic_order_cnt: i32,
pub temporal_id: u8,
pub reserved1: [u8; 3],
pub p_ref_lists: *const StdVideoEncodeH264ReferenceListsInfo<'a>,
/* private fields */
}Expand description
Native structure StdVideoEncodeH264PictureInfo.
Fields§
§flags: StdVideoEncodeH264PictureInfoFlagsNative field flags.
seq_parameter_set_id: u8Native field seq_parameter_set_id.
pic_parameter_set_id: u8Native field pic_parameter_set_id.
idr_pic_id: u16Native field idr_pic_id.
primary_pic_type: StdVideoH264PictureTypeNative field primary_pic_type.
frame_num: u32Native field frame_num.
pic_order_cnt: i32Native field PicOrderCnt.
temporal_id: u8Native field temporal_id.
reserved1: [u8; 3]Native field reserved1.
p_ref_lists: *const StdVideoEncodeH264ReferenceListsInfo<'a>Native field pRefLists.
Implementations§
Source§impl<'a> StdVideoEncodeH264PictureInfo<'a>
impl<'a> StdVideoEncodeH264PictureInfo<'a>
Sourcepub fn set_flags(self, value: StdVideoEncodeH264PictureInfoFlags) -> Self
pub fn set_flags(self, value: StdVideoEncodeH264PictureInfoFlags) -> 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_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_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 frame_num 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_temporal_id(self, value: u8) -> Self
pub fn set_temporal_id(self, value: u8) -> Self
Set native field temporal_id without native effects.
Sourcepub fn set_reserved1(self, value: [u8; 3]) -> Self
pub fn set_reserved1(self, value: [u8; 3]) -> Self
Set native field reserved1 without native effects.
Sourcepub fn set_ref_lists(
self,
value: &'a StdVideoEncodeH264ReferenceListsInfo<'a>,
) -> Self
pub fn set_ref_lists( self, value: &'a StdVideoEncodeH264ReferenceListsInfo<'a>, ) -> Self
Set native field pRefLists without native effects.