#[repr(C)]pub struct StdVideoAV1ColorConfig {
pub flags: StdVideoAV1ColorConfigFlags,
pub bit_depth: u8,
pub subsampling_x: u8,
pub subsampling_y: u8,
pub reserved1: u8,
pub color_primaries: StdVideoAV1ColorPrimaries,
pub transfer_characteristics: StdVideoAV1TransferCharacteristics,
pub matrix_coefficients: StdVideoAV1MatrixCoefficients,
pub chroma_sample_position: StdVideoAV1ChromaSamplePosition,
}Expand description
Native structure StdVideoAV1ColorConfig.
Fields§
§flags: StdVideoAV1ColorConfigFlagsNative field flags.
bit_depth: u8Native field BitDepth.
subsampling_x: u8Native field subsampling_x.
subsampling_y: u8Native field subsampling_y.
reserved1: u8Native field reserved1.
color_primaries: StdVideoAV1ColorPrimariesNative field color_primaries.
transfer_characteristics: StdVideoAV1TransferCharacteristicsNative field transfer_characteristics.
matrix_coefficients: StdVideoAV1MatrixCoefficientsNative field matrix_coefficients.
chroma_sample_position: StdVideoAV1ChromaSamplePositionNative field chroma_sample_position.
Implementations§
Source§impl StdVideoAV1ColorConfig
impl StdVideoAV1ColorConfig
Sourcepub fn set_flags(self, value: StdVideoAV1ColorConfigFlags) -> Self
pub fn set_flags(self, value: StdVideoAV1ColorConfigFlags) -> Self
Set native field flags without native effects.
Sourcepub fn set_bit_depth(self, value: u8) -> Self
pub fn set_bit_depth(self, value: u8) -> Self
Set native field BitDepth without native effects.
Sourcepub fn set_subsampling_x(self, value: u8) -> Self
pub fn set_subsampling_x(self, value: u8) -> Self
Set native field subsampling_x without native effects.
Sourcepub fn set_subsampling_y(self, value: u8) -> Self
pub fn set_subsampling_y(self, value: u8) -> Self
Set native field subsampling_y 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_color_primaries(self, value: StdVideoAV1ColorPrimaries) -> Self
pub fn set_color_primaries(self, value: StdVideoAV1ColorPrimaries) -> Self
Set native field color_primaries without native effects.
Sourcepub fn set_transfer_characteristics(
self,
value: StdVideoAV1TransferCharacteristics,
) -> Self
pub fn set_transfer_characteristics( self, value: StdVideoAV1TransferCharacteristics, ) -> Self
Set native field transfer_characteristics without native effects.
Sourcepub fn set_matrix_coefficients(
self,
value: StdVideoAV1MatrixCoefficients,
) -> Self
pub fn set_matrix_coefficients( self, value: StdVideoAV1MatrixCoefficients, ) -> Self
Set native field matrix_coefficients without native effects.
Sourcepub fn set_chroma_sample_position(
self,
value: StdVideoAV1ChromaSamplePosition,
) -> Self
pub fn set_chroma_sample_position( self, value: StdVideoAV1ChromaSamplePosition, ) -> Self
Set native field chroma_sample_position without native effects.