pub struct VideoEncodeH264RateControlInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> VideoEncodeH264RateControlInfoEXTBuilder<'a>
pub fn gop_frame_count(self, gop_frame_count: u32) -> Self
pub fn idr_period(self, idr_period: u32) -> Self
pub fn consecutive_b_frame_count(self, consecutive_b_frame_count: u32) -> Self
pub fn rate_control_structure( self, rate_control_structure: VideoEncodeH264RateControlStructureEXT, ) -> Self
pub fn temporal_layer_count(self, temporal_layer_count: u32) -> Self
Sourcepub fn build(self) -> VideoEncodeH264RateControlInfoEXT
pub fn build(self) -> VideoEncodeH264RateControlInfoEXT
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> Deref for VideoEncodeH264RateControlInfoEXTBuilder<'a>
Source§impl<'a> DerefMut for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> DerefMut for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl ExtendsVideoCodingControlInfoKHR for VideoEncodeH264RateControlInfoEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> RefUnwindSafe for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> !Send for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> !Sync for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> Unpin for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> UnwindSafe for VideoEncodeH264RateControlInfoEXTBuilder<'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