#[repr(C)]pub struct _VAEncMiscParameterBufferMaxFrameSize {
pub type_: Type,
pub max_frame_size: u32,
pub va_reserved: [u32; 4],
}Expand description
\brief Defines a maximum frame size (in bits).
This misc parameter buffer defines the maximum size of a frame (in bits). The encoder will try to make sure that each frame does not exceed this size. Otherwise, if the frame size exceeds this size, the \c status flag of #VACodedBufferSegment will contain #VA_CODED_BUF_STATUS_FRAME_SIZE_OVERFLOW.
Fields§
§type_: Type\brief Type. Shall be set to #VAEncMiscParameterTypeMaxFrameSize. / /* duplicated with VAEncMiscParameterBuffer, should be deprecated
max_frame_size: u32\brief Maximum size of a frame (in bits).
va_reserved: [u32; 4]\brief Reserved bytes for future use, must be zero
Trait Implementations§
Source§impl Clone for _VAEncMiscParameterBufferMaxFrameSize
impl Clone for _VAEncMiscParameterBufferMaxFrameSize
Source§fn clone(&self) -> _VAEncMiscParameterBufferMaxFrameSize
fn clone(&self) -> _VAEncMiscParameterBufferMaxFrameSize
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for _VAEncMiscParameterBufferMaxFrameSize
impl Eq for _VAEncMiscParameterBufferMaxFrameSize
Source§impl PartialEq for _VAEncMiscParameterBufferMaxFrameSize
impl PartialEq for _VAEncMiscParameterBufferMaxFrameSize
Source§fn eq(&self, other: &_VAEncMiscParameterBufferMaxFrameSize) -> bool
fn eq(&self, other: &_VAEncMiscParameterBufferMaxFrameSize) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for _VAEncMiscParameterBufferMaxFrameSize
Auto Trait Implementations§
impl Freeze for _VAEncMiscParameterBufferMaxFrameSize
impl RefUnwindSafe for _VAEncMiscParameterBufferMaxFrameSize
impl Send for _VAEncMiscParameterBufferMaxFrameSize
impl Sync for _VAEncMiscParameterBufferMaxFrameSize
impl Unpin for _VAEncMiscParameterBufferMaxFrameSize
impl UnsafeUnpin for _VAEncMiscParameterBufferMaxFrameSize
impl UnwindSafe for _VAEncMiscParameterBufferMaxFrameSize
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