#[repr(C)]pub struct VideoEncodeAV1CapabilitiesKHR<'a> {Show 27 fields
pub s_type: StructureType,
pub p_next: *mut c_void,
pub flags: VideoEncodeAV1CapabilityFlagsKHR,
pub max_level: StdVideoAV1Level,
pub coded_picture_alignment: Extent2D,
pub max_tiles: Extent2D,
pub min_tile_size: Extent2D,
pub max_tile_size: Extent2D,
pub superblock_sizes: VideoEncodeAV1SuperblockSizeFlagsKHR,
pub max_single_reference_count: u32,
pub single_reference_name_mask: u32,
pub max_unidirectional_compound_reference_count: u32,
pub max_unidirectional_compound_group1_reference_count: u32,
pub unidirectional_compound_reference_name_mask: u32,
pub max_bidirectional_compound_reference_count: u32,
pub max_bidirectional_compound_group1_reference_count: u32,
pub max_bidirectional_compound_group2_reference_count: u32,
pub bidirectional_compound_reference_name_mask: u32,
pub max_temporal_layer_count: u32,
pub max_spatial_layer_count: u32,
pub max_operating_points: u32,
pub min_q_index: u32,
pub max_q_index: u32,
pub prefers_gop_remaining_frames: Bool32,
pub requires_gop_remaining_frames: Bool32,
pub std_syntax_flags: VideoEncodeAV1StdFlagsKHR,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *mut c_void§flags: VideoEncodeAV1CapabilityFlagsKHR§max_level: StdVideoAV1Level§coded_picture_alignment: Extent2D§max_tiles: Extent2D§min_tile_size: Extent2D§max_tile_size: Extent2D§superblock_sizes: VideoEncodeAV1SuperblockSizeFlagsKHR§max_single_reference_count: u32§single_reference_name_mask: u32§max_unidirectional_compound_reference_count: u32§max_unidirectional_compound_group1_reference_count: u32§unidirectional_compound_reference_name_mask: u32§max_bidirectional_compound_reference_count: u32§max_bidirectional_compound_group1_reference_count: u32§max_bidirectional_compound_group2_reference_count: u32§bidirectional_compound_reference_name_mask: u32§max_temporal_layer_count: u32§max_spatial_layer_count: u32§max_operating_points: u32§min_q_index: u32§max_q_index: u32§prefers_gop_remaining_frames: Bool32§requires_gop_remaining_frames: Bool32§std_syntax_flags: VideoEncodeAV1StdFlagsKHR§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> VideoEncodeAV1CapabilitiesKHR<'a>
impl<'a> VideoEncodeAV1CapabilitiesKHR<'a>
pub fn flags(self, flags: VideoEncodeAV1CapabilityFlagsKHR) -> Self
pub fn max_level(self, max_level: StdVideoAV1Level) -> Self
pub fn coded_picture_alignment(self, coded_picture_alignment: Extent2D) -> Self
pub fn max_tiles(self, max_tiles: Extent2D) -> Self
pub fn min_tile_size(self, min_tile_size: Extent2D) -> Self
pub fn max_tile_size(self, max_tile_size: Extent2D) -> Self
pub fn superblock_sizes( self, superblock_sizes: VideoEncodeAV1SuperblockSizeFlagsKHR, ) -> Self
pub fn max_single_reference_count(self, max_single_reference_count: u32) -> Self
pub fn single_reference_name_mask(self, single_reference_name_mask: u32) -> Self
pub fn max_unidirectional_compound_reference_count( self, max_unidirectional_compound_reference_count: u32, ) -> Self
pub fn max_unidirectional_compound_group1_reference_count( self, max_unidirectional_compound_group1_reference_count: u32, ) -> Self
pub fn unidirectional_compound_reference_name_mask( self, unidirectional_compound_reference_name_mask: u32, ) -> Self
pub fn max_bidirectional_compound_reference_count( self, max_bidirectional_compound_reference_count: u32, ) -> Self
pub fn max_bidirectional_compound_group1_reference_count( self, max_bidirectional_compound_group1_reference_count: u32, ) -> Self
pub fn max_bidirectional_compound_group2_reference_count( self, max_bidirectional_compound_group2_reference_count: u32, ) -> Self
pub fn bidirectional_compound_reference_name_mask( self, bidirectional_compound_reference_name_mask: u32, ) -> Self
pub fn max_temporal_layer_count(self, max_temporal_layer_count: u32) -> Self
pub fn max_spatial_layer_count(self, max_spatial_layer_count: u32) -> Self
pub fn max_operating_points(self, max_operating_points: u32) -> Self
pub fn min_q_index(self, min_q_index: u32) -> Self
pub fn max_q_index(self, max_q_index: u32) -> Self
pub fn prefers_gop_remaining_frames( self, prefers_gop_remaining_frames: bool, ) -> Self
pub fn requires_gop_remaining_frames( self, requires_gop_remaining_frames: bool, ) -> Self
pub fn std_syntax_flags( self, std_syntax_flags: VideoEncodeAV1StdFlagsKHR, ) -> Self
Trait Implementations§
Source§impl<'a> Clone for VideoEncodeAV1CapabilitiesKHR<'a>
impl<'a> Clone for VideoEncodeAV1CapabilitiesKHR<'a>
Source§fn clone(&self) -> VideoEncodeAV1CapabilitiesKHR<'a>
fn clone(&self) -> VideoEncodeAV1CapabilitiesKHR<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for VideoEncodeAV1CapabilitiesKHR<'a>
impl<'a> Debug for VideoEncodeAV1CapabilitiesKHR<'a>
Source§impl Default for VideoEncodeAV1CapabilitiesKHR<'_>
impl Default for VideoEncodeAV1CapabilitiesKHR<'_>
Source§impl<'a> TaggedStructure for VideoEncodeAV1CapabilitiesKHR<'a>
impl<'a> TaggedStructure for VideoEncodeAV1CapabilitiesKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::VIDEO_ENCODE_AV1_CAPABILITIES_KHR
impl<'a> Copy for VideoEncodeAV1CapabilitiesKHR<'a>
impl ExtendsVideoCapabilitiesKHR for VideoEncodeAV1CapabilitiesKHR<'_>
impl Send for VideoEncodeAV1CapabilitiesKHR<'_>
impl Sync for VideoEncodeAV1CapabilitiesKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for VideoEncodeAV1CapabilitiesKHR<'a>
impl<'a> RefUnwindSafe for VideoEncodeAV1CapabilitiesKHR<'a>
impl<'a> Unpin for VideoEncodeAV1CapabilitiesKHR<'a>
impl<'a> UnwindSafe for VideoEncodeAV1CapabilitiesKHR<'a>
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