#[repr(C)]pub struct StdVideoEncodeH264WeightTable {
pub flags: StdVideoEncodeH264WeightTableFlags,
pub luma_log2_weight_denom: u8,
pub chroma_log2_weight_denom: u8,
pub luma_weight_l0: [i8; 32],
pub luma_offset_l0: [i8; 32],
pub chroma_weight_l0: [[i8; 2]; 32],
pub chroma_offset_l0: [[i8; 2]; 32],
pub luma_weight_l1: [i8; 32],
pub luma_offset_l1: [i8; 32],
pub chroma_weight_l1: [[i8; 2]; 32],
pub chroma_offset_l1: [[i8; 2]; 32],
}Expand description
Native structure StdVideoEncodeH264WeightTable.
Fields§
§flags: StdVideoEncodeH264WeightTableFlagsNative field flags.
luma_log2_weight_denom: u8Native field luma_log2_weight_denom.
chroma_log2_weight_denom: u8Native field chroma_log2_weight_denom.
luma_weight_l0: [i8; 32]Native field luma_weight_l0.
luma_offset_l0: [i8; 32]Native field luma_offset_l0.
chroma_weight_l0: [[i8; 2]; 32]Native field chroma_weight_l0.
chroma_offset_l0: [[i8; 2]; 32]Native field chroma_offset_l0.
luma_weight_l1: [i8; 32]Native field luma_weight_l1.
luma_offset_l1: [i8; 32]Native field luma_offset_l1.
chroma_weight_l1: [[i8; 2]; 32]Native field chroma_weight_l1.
chroma_offset_l1: [[i8; 2]; 32]Native field chroma_offset_l1.
Implementations§
Source§impl StdVideoEncodeH264WeightTable
impl StdVideoEncodeH264WeightTable
Sourcepub fn set_flags(self, value: StdVideoEncodeH264WeightTableFlags) -> Self
pub fn set_flags(self, value: StdVideoEncodeH264WeightTableFlags) -> Self
Set native field flags without native effects.
Sourcepub fn set_luma_log2_weight_denom(self, value: u8) -> Self
pub fn set_luma_log2_weight_denom(self, value: u8) -> Self
Set native field luma_log2_weight_denom without native effects.
Sourcepub fn set_chroma_log2_weight_denom(self, value: u8) -> Self
pub fn set_chroma_log2_weight_denom(self, value: u8) -> Self
Set native field chroma_log2_weight_denom without native effects.
Sourcepub fn set_luma_weight_l0(self, value: [i8; 32]) -> Self
pub fn set_luma_weight_l0(self, value: [i8; 32]) -> Self
Set native field luma_weight_l0 without native effects.
Sourcepub fn set_luma_offset_l0(self, value: [i8; 32]) -> Self
pub fn set_luma_offset_l0(self, value: [i8; 32]) -> Self
Set native field luma_offset_l0 without native effects.
Sourcepub fn set_chroma_weight_l0(self, value: [[i8; 2]; 32]) -> Self
pub fn set_chroma_weight_l0(self, value: [[i8; 2]; 32]) -> Self
Set native field chroma_weight_l0 without native effects.
Sourcepub fn set_chroma_offset_l0(self, value: [[i8; 2]; 32]) -> Self
pub fn set_chroma_offset_l0(self, value: [[i8; 2]; 32]) -> Self
Set native field chroma_offset_l0 without native effects.
Sourcepub fn set_luma_weight_l1(self, value: [i8; 32]) -> Self
pub fn set_luma_weight_l1(self, value: [i8; 32]) -> Self
Set native field luma_weight_l1 without native effects.
Sourcepub fn set_luma_offset_l1(self, value: [i8; 32]) -> Self
pub fn set_luma_offset_l1(self, value: [i8; 32]) -> Self
Set native field luma_offset_l1 without native effects.
Sourcepub fn set_chroma_weight_l1(self, value: [[i8; 2]; 32]) -> Self
pub fn set_chroma_weight_l1(self, value: [[i8; 2]; 32]) -> Self
Set native field chroma_weight_l1 without native effects.
Sourcepub fn set_chroma_offset_l1(self, value: [[i8; 2]; 32]) -> Self
pub fn set_chroma_offset_l1(self, value: [[i8; 2]; 32]) -> Self
Set native field chroma_offset_l1 without native effects.