#[repr(C)]pub struct VideoEncodeAV1RateControlInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: VideoEncodeAV1RateControlFlagBitsKHR,
pub gop_frame_count: u32,
pub key_frame_period: u32,
pub consecutive_bipredictive_frame_count: u32,
pub temporal_layer_count: u32,
}Expand description
VkVideoEncodeAV1RateControlInfoKHR
Provided by VK_KHR_video_encode_av1.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_RATE_CONTROL_INFO_KHR.
p_next: *const c_voidOptional, may be null.
flags: VideoEncodeAV1RateControlFlagBitsKHR§gop_frame_count: u32§key_frame_period: u32§consecutive_bipredictive_frame_count: u32§temporal_layer_count: u32Implementations§
Source§impl VideoEncodeAV1RateControlInfoKHR
impl VideoEncodeAV1RateControlInfoKHR
Sourcepub fn builder<'a>() -> VideoEncodeAV1RateControlInfoKHRBuilder<'a>
pub fn builder<'a>() -> VideoEncodeAV1RateControlInfoKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for VideoEncodeAV1RateControlInfoKHR
impl Clone for VideoEncodeAV1RateControlInfoKHR
Source§fn clone(&self) -> VideoEncodeAV1RateControlInfoKHR
fn clone(&self) -> VideoEncodeAV1RateControlInfoKHR
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 Default for VideoEncodeAV1RateControlInfoKHR
impl Default for VideoEncodeAV1RateControlInfoKHR
Source§fn default() -> VideoEncodeAV1RateControlInfoKHR
fn default() -> VideoEncodeAV1RateControlInfoKHR
Returns the “default value” for a type. Read more
impl Copy for VideoEncodeAV1RateControlInfoKHR
impl ExtendsVideoBeginCodingInfoKHR for VideoEncodeAV1RateControlInfoKHR
impl ExtendsVideoCodingControlInfoKHR for VideoEncodeAV1RateControlInfoKHR
Auto Trait Implementations§
impl Freeze for VideoEncodeAV1RateControlInfoKHR
impl RefUnwindSafe for VideoEncodeAV1RateControlInfoKHR
impl !Send for VideoEncodeAV1RateControlInfoKHR
impl !Sync for VideoEncodeAV1RateControlInfoKHR
impl Unpin for VideoEncodeAV1RateControlInfoKHR
impl UnsafeUnpin for VideoEncodeAV1RateControlInfoKHR
impl UnwindSafe for VideoEncodeAV1RateControlInfoKHR
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