Struct ash::vk::definitions::VideoEncodeH264CapabilitiesKHR
source · #[repr(C)]pub struct VideoEncodeH264CapabilitiesKHR<'a> {Show 16 fields
pub s_type: StructureType,
pub p_next: *mut c_void,
pub flags: VideoEncodeH264CapabilityFlagsKHR,
pub max_level_idc: StdVideoH264LevelIdc,
pub max_slice_count: u32,
pub max_p_picture_l0_reference_count: u32,
pub max_b_picture_l0_reference_count: u32,
pub max_l1_reference_count: u32,
pub max_temporal_layer_count: u32,
pub expect_dyadic_temporal_layer_pattern: Bool32,
pub min_qp: i32,
pub max_qp: i32,
pub prefers_gop_remaining_frames: Bool32,
pub requires_gop_remaining_frames: Bool32,
pub std_syntax_flags: VideoEncodeH264StdFlagsKHR,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§flags: VideoEncodeH264CapabilityFlagsKHR
§max_level_idc: StdVideoH264LevelIdc
§max_slice_count: u32
§max_p_picture_l0_reference_count: u32
§max_b_picture_l0_reference_count: u32
§max_l1_reference_count: u32
§max_temporal_layer_count: u32
§expect_dyadic_temporal_layer_pattern: Bool32
§min_qp: i32
§max_qp: i32
§prefers_gop_remaining_frames: Bool32
§requires_gop_remaining_frames: Bool32
§std_syntax_flags: VideoEncodeH264StdFlagsKHR
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> VideoEncodeH264CapabilitiesKHR<'a>
impl<'a> VideoEncodeH264CapabilitiesKHR<'a>
pub fn flags(self, flags: VideoEncodeH264CapabilityFlagsKHR) -> Self
pub fn max_level_idc(self, max_level_idc: StdVideoH264LevelIdc) -> Self
pub fn max_slice_count(self, max_slice_count: u32) -> Self
pub fn max_p_picture_l0_reference_count( self, max_p_picture_l0_reference_count: u32, ) -> Self
pub fn max_b_picture_l0_reference_count( self, max_b_picture_l0_reference_count: u32, ) -> Self
pub fn max_l1_reference_count(self, max_l1_reference_count: u32) -> Self
pub fn max_temporal_layer_count(self, max_temporal_layer_count: u32) -> Self
pub fn expect_dyadic_temporal_layer_pattern( self, expect_dyadic_temporal_layer_pattern: bool, ) -> Self
pub fn min_qp(self, min_qp: i32) -> Self
pub fn max_qp(self, max_qp: i32) -> 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: VideoEncodeH264StdFlagsKHR, ) -> Self
Trait Implementations§
source§impl<'a> Clone for VideoEncodeH264CapabilitiesKHR<'a>
impl<'a> Clone for VideoEncodeH264CapabilitiesKHR<'a>
source§fn clone(&self) -> VideoEncodeH264CapabilitiesKHR<'a>
fn clone(&self) -> VideoEncodeH264CapabilitiesKHR<'a>
Returns a copy 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 VideoEncodeH264CapabilitiesKHR<'a>
impl<'a> Debug for VideoEncodeH264CapabilitiesKHR<'a>
source§impl Default for VideoEncodeH264CapabilitiesKHR<'_>
impl Default for VideoEncodeH264CapabilitiesKHR<'_>
source§impl<'a> TaggedStructure for VideoEncodeH264CapabilitiesKHR<'a>
impl<'a> TaggedStructure for VideoEncodeH264CapabilitiesKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::VIDEO_ENCODE_H264_CAPABILITIES_KHR
impl<'a> Copy for VideoEncodeH264CapabilitiesKHR<'a>
impl ExtendsVideoCapabilitiesKHR for VideoEncodeH264CapabilitiesKHR<'_>
impl Send for VideoEncodeH264CapabilitiesKHR<'_>
impl Sync for VideoEncodeH264CapabilitiesKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for VideoEncodeH264CapabilitiesKHR<'a>
impl<'a> RefUnwindSafe for VideoEncodeH264CapabilitiesKHR<'a>
impl<'a> Unpin for VideoEncodeH264CapabilitiesKHR<'a>
impl<'a> UnwindSafe for VideoEncodeH264CapabilitiesKHR<'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