pub struct StdVideoEncodeH264SliceHeader<'a> {
pub flags: StdVideoEncodeH264SliceHeaderFlags,
pub first_mb_in_slice: u32,
pub slice_type: StdVideoH264SliceType,
pub slice_alpha_c0_offset_div2: i8,
pub slice_beta_offset_div2: i8,
pub slice_qp_delta: i8,
pub reserved1: u8,
pub cabac_init_idc: StdVideoH264CabacInitIdc,
pub disable_deblocking_filter_idc: StdVideoH264DisableDeblockingFilterIdc,
pub p_weight_table: *const StdVideoEncodeH264WeightTable,
/* private fields */
}Expand description
Native structure StdVideoEncodeH264SliceHeader.
Fields§
§flags: StdVideoEncodeH264SliceHeaderFlagsNative field flags.
first_mb_in_slice: u32Native field first_mb_in_slice.
slice_type: StdVideoH264SliceTypeNative field slice_type.
slice_alpha_c0_offset_div2: i8Native field slice_alpha_c0_offset_div2.
slice_beta_offset_div2: i8Native field slice_beta_offset_div2.
slice_qp_delta: i8Native field slice_qp_delta.
reserved1: u8Native field reserved1.
cabac_init_idc: StdVideoH264CabacInitIdcNative field cabac_init_idc.
disable_deblocking_filter_idc: StdVideoH264DisableDeblockingFilterIdcNative field disable_deblocking_filter_idc.
p_weight_table: *const StdVideoEncodeH264WeightTableNative field pWeightTable.
Implementations§
Source§impl<'a> StdVideoEncodeH264SliceHeader<'a>
impl<'a> StdVideoEncodeH264SliceHeader<'a>
Sourcepub fn set_flags(self, value: StdVideoEncodeH264SliceHeaderFlags) -> Self
pub fn set_flags(self, value: StdVideoEncodeH264SliceHeaderFlags) -> Self
Set native field flags without native effects.
Sourcepub fn set_first_mb_in_slice(self, value: u32) -> Self
pub fn set_first_mb_in_slice(self, value: u32) -> Self
Set native field first_mb_in_slice without native effects.
Sourcepub fn set_slice_type(self, value: StdVideoH264SliceType) -> Self
pub fn set_slice_type(self, value: StdVideoH264SliceType) -> Self
Set native field slice_type without native effects.
Sourcepub fn set_slice_alpha_c0_offset_div2(self, value: i8) -> Self
pub fn set_slice_alpha_c0_offset_div2(self, value: i8) -> Self
Set native field slice_alpha_c0_offset_div2 without native effects.
Sourcepub fn set_slice_beta_offset_div2(self, value: i8) -> Self
pub fn set_slice_beta_offset_div2(self, value: i8) -> Self
Set native field slice_beta_offset_div2 without native effects.
Sourcepub fn set_slice_qp_delta(self, value: i8) -> Self
pub fn set_slice_qp_delta(self, value: i8) -> Self
Set native field slice_qp_delta 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_cabac_init_idc(self, value: StdVideoH264CabacInitIdc) -> Self
pub fn set_cabac_init_idc(self, value: StdVideoH264CabacInitIdc) -> Self
Set native field cabac_init_idc without native effects.
Sourcepub fn set_disable_deblocking_filter_idc(
self,
value: StdVideoH264DisableDeblockingFilterIdc,
) -> Self
pub fn set_disable_deblocking_filter_idc( self, value: StdVideoH264DisableDeblockingFilterIdc, ) -> Self
Set native field disable_deblocking_filter_idc without native effects.
Sourcepub fn set_weight_table(self, value: &'a StdVideoEncodeH264WeightTable) -> Self
pub fn set_weight_table(self, value: &'a StdVideoEncodeH264WeightTable) -> Self
Set native field pWeightTable without native effects.