#[repr(C)]pub struct CUVIDPICPARAMS {Show 14 fields
pub PicWidthInMbs: c_int,
pub FrameHeightInMbs: c_int,
pub CurrPicIdx: c_int,
pub field_pic_flag: c_int,
pub bottom_field_flag: c_int,
pub second_field: c_int,
pub nBitstreamDataLen: c_uint,
pub pBitstreamData: *const u8,
pub nNumSlices: c_uint,
pub pSliceDataOffsets: *const c_uint,
pub ref_pic_flag: c_int,
pub intra_pic_flag: c_int,
pub Reserved: [c_uint; 30],
pub CodecSpecific: [u8; 1024],
}Expand description
Simplified picture params — full struct is codec-union, we use opaque bytes.
Fields§
§PicWidthInMbs: c_int§FrameHeightInMbs: c_int§CurrPicIdx: c_int§field_pic_flag: c_int§bottom_field_flag: c_int§second_field: c_int§nBitstreamDataLen: c_uint§pBitstreamData: *const u8§nNumSlices: c_uint§pSliceDataOffsets: *const c_uint§ref_pic_flag: c_int§intra_pic_flag: c_int§Reserved: [c_uint; 30]§CodecSpecific: [u8; 1024]Codec-specific packed data (H.264/HEVC/VP9/AV1 union).
Trait Implementations§
Source§impl Clone for CUVIDPICPARAMS
impl Clone for CUVIDPICPARAMS
Source§fn clone(&self) -> CUVIDPICPARAMS
fn clone(&self) -> CUVIDPICPARAMS
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 moreimpl Copy for CUVIDPICPARAMS
Auto Trait Implementations§
impl Freeze for CUVIDPICPARAMS
impl RefUnwindSafe for CUVIDPICPARAMS
impl !Send for CUVIDPICPARAMS
impl !Sync for CUVIDPICPARAMS
impl Unpin for CUVIDPICPARAMS
impl UnsafeUnpin for CUVIDPICPARAMS
impl UnwindSafe for CUVIDPICPARAMS
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