Skip to main content

VideoEncodeAV1CapabilitiesKHR

Struct VideoEncodeAV1CapabilitiesKHR 

Source
#[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>

Source

pub fn flags(self, flags: VideoEncodeAV1CapabilityFlagsKHR) -> Self

Source

pub fn max_level(self, max_level: StdVideoAV1Level) -> Self

Source

pub fn coded_picture_alignment(self, coded_picture_alignment: Extent2D) -> Self

Source

pub fn max_tiles(self, max_tiles: Extent2D) -> Self

Source

pub fn min_tile_size(self, min_tile_size: Extent2D) -> Self

Source

pub fn max_tile_size(self, max_tile_size: Extent2D) -> Self

Source

pub fn superblock_sizes( self, superblock_sizes: VideoEncodeAV1SuperblockSizeFlagsKHR, ) -> Self

Source

pub fn max_single_reference_count(self, max_single_reference_count: u32) -> Self

Source

pub fn single_reference_name_mask(self, single_reference_name_mask: u32) -> Self

Source

pub fn max_unidirectional_compound_reference_count( self, max_unidirectional_compound_reference_count: u32, ) -> Self

Source

pub fn max_unidirectional_compound_group1_reference_count( self, max_unidirectional_compound_group1_reference_count: u32, ) -> Self

Source

pub fn unidirectional_compound_reference_name_mask( self, unidirectional_compound_reference_name_mask: u32, ) -> Self

Source

pub fn max_bidirectional_compound_reference_count( self, max_bidirectional_compound_reference_count: u32, ) -> Self

Source

pub fn max_bidirectional_compound_group1_reference_count( self, max_bidirectional_compound_group1_reference_count: u32, ) -> Self

Source

pub fn max_bidirectional_compound_group2_reference_count( self, max_bidirectional_compound_group2_reference_count: u32, ) -> Self

Source

pub fn bidirectional_compound_reference_name_mask( self, bidirectional_compound_reference_name_mask: u32, ) -> Self

Source

pub fn max_temporal_layer_count(self, max_temporal_layer_count: u32) -> Self

Source

pub fn max_spatial_layer_count(self, max_spatial_layer_count: u32) -> Self

Source

pub fn max_operating_points(self, max_operating_points: u32) -> Self

Source

pub fn min_q_index(self, min_q_index: u32) -> Self

Source

pub fn max_q_index(self, max_q_index: u32) -> Self

Source

pub fn prefers_gop_remaining_frames( self, prefers_gop_remaining_frames: bool, ) -> Self

Source

pub fn requires_gop_remaining_frames( self, requires_gop_remaining_frames: bool, ) -> Self

Source

pub fn std_syntax_flags( self, std_syntax_flags: VideoEncodeAV1StdFlagsKHR, ) -> Self

Trait Implementations§

Source§

impl<'a> Clone for VideoEncodeAV1CapabilitiesKHR<'a>

Source§

fn clone(&self) -> VideoEncodeAV1CapabilitiesKHR<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for VideoEncodeAV1CapabilitiesKHR<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for VideoEncodeAV1CapabilitiesKHR<'_>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'a> TaggedStructure for VideoEncodeAV1CapabilitiesKHR<'a>

Source§

const STRUCTURE_TYPE: StructureType = StructureType::VIDEO_ENCODE_AV1_CAPABILITIES_KHR

Source§

impl<'a> Copy for VideoEncodeAV1CapabilitiesKHR<'a>

Source§

impl ExtendsVideoCapabilitiesKHR for VideoEncodeAV1CapabilitiesKHR<'_>

Source§

impl Send for VideoEncodeAV1CapabilitiesKHR<'_>

Source§

impl Sync for VideoEncodeAV1CapabilitiesKHR<'_>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.