Struct ash::vk::VideoEncodeH264QualityLevelPropertiesKHR
source · #[repr(C)]pub struct VideoEncodeH264QualityLevelPropertiesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub preferred_rate_control_flags: VideoEncodeH264RateControlFlagsKHR,
pub preferred_gop_frame_count: u32,
pub preferred_idr_period: u32,
pub preferred_consecutive_b_frame_count: u32,
pub preferred_temporal_layer_count: u32,
pub preferred_constant_qp: VideoEncodeH264QpKHR,
pub preferred_max_l0_reference_count: u32,
pub preferred_max_l1_reference_count: u32,
pub preferred_std_entropy_coding_mode_flag: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§preferred_rate_control_flags: VideoEncodeH264RateControlFlagsKHR
§preferred_gop_frame_count: u32
§preferred_idr_period: u32
§preferred_consecutive_b_frame_count: u32
§preferred_temporal_layer_count: u32
§preferred_constant_qp: VideoEncodeH264QpKHR
§preferred_max_l0_reference_count: u32
§preferred_max_l1_reference_count: u32
§preferred_std_entropy_coding_mode_flag: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> VideoEncodeH264QualityLevelPropertiesKHR<'a>
impl<'a> VideoEncodeH264QualityLevelPropertiesKHR<'a>
pub fn preferred_rate_control_flags( self, preferred_rate_control_flags: VideoEncodeH264RateControlFlagsKHR, ) -> Self
pub fn preferred_gop_frame_count(self, preferred_gop_frame_count: u32) -> Self
pub fn preferred_idr_period(self, preferred_idr_period: u32) -> Self
pub fn preferred_consecutive_b_frame_count( self, preferred_consecutive_b_frame_count: u32, ) -> Self
pub fn preferred_temporal_layer_count( self, preferred_temporal_layer_count: u32, ) -> Self
pub fn preferred_constant_qp( self, preferred_constant_qp: VideoEncodeH264QpKHR, ) -> Self
pub fn preferred_max_l0_reference_count( self, preferred_max_l0_reference_count: u32, ) -> Self
pub fn preferred_max_l1_reference_count( self, preferred_max_l1_reference_count: u32, ) -> Self
pub fn preferred_std_entropy_coding_mode_flag( self, preferred_std_entropy_coding_mode_flag: bool, ) -> Self
Trait Implementations§
source§impl<'a> Clone for VideoEncodeH264QualityLevelPropertiesKHR<'a>
impl<'a> Clone for VideoEncodeH264QualityLevelPropertiesKHR<'a>
source§fn clone(&self) -> VideoEncodeH264QualityLevelPropertiesKHR<'a>
fn clone(&self) -> VideoEncodeH264QualityLevelPropertiesKHR<'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 VideoEncodeH264QualityLevelPropertiesKHR<'a>
impl<'a> Debug for VideoEncodeH264QualityLevelPropertiesKHR<'a>
source§impl Default for VideoEncodeH264QualityLevelPropertiesKHR<'_>
impl Default for VideoEncodeH264QualityLevelPropertiesKHR<'_>
source§impl<'a> TaggedStructure for VideoEncodeH264QualityLevelPropertiesKHR<'a>
impl<'a> TaggedStructure for VideoEncodeH264QualityLevelPropertiesKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::VIDEO_ENCODE_H264_QUALITY_LEVEL_PROPERTIES_KHR
impl<'a> Copy for VideoEncodeH264QualityLevelPropertiesKHR<'a>
impl ExtendsVideoEncodeQualityLevelPropertiesKHR for VideoEncodeH264QualityLevelPropertiesKHR<'_>
impl Send for VideoEncodeH264QualityLevelPropertiesKHR<'_>
impl Sync for VideoEncodeH264QualityLevelPropertiesKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for VideoEncodeH264QualityLevelPropertiesKHR<'a>
impl<'a> RefUnwindSafe for VideoEncodeH264QualityLevelPropertiesKHR<'a>
impl<'a> Unpin for VideoEncodeH264QualityLevelPropertiesKHR<'a>
impl<'a> UnwindSafe for VideoEncodeH264QualityLevelPropertiesKHR<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)