#[repr(C)]pub struct CUVIDDECODECREATEINFO {Show 21 fields
pub ulWidth: c_ulong,
pub ulHeight: c_ulong,
pub ulNumDecodeSurfaces: c_ulong,
pub CodecType: cudaVideoCodec,
pub ChromaFormat: cudaVideoChromaFormat,
pub ulCreationFlags: c_ulong,
pub bitDepthMinus8: c_ulong,
pub ulIntraDecodeOnly: c_ulong,
pub ulMaxWidth: c_ulong,
pub ulMaxHeight: c_ulong,
pub Reserved1: c_ulong,
pub display_area: CUVIDDECODECREATEINFO_display_area,
pub OutputFormat: cudaVideoSurfaceFormat,
pub DeinterlaceMode: cudaVideoDeinterlaceMode,
pub ulTargetWidth: c_ulong,
pub ulTargetHeight: c_ulong,
pub ulNumOutputSurfaces: c_ulong,
pub vidLock: *mut c_void,
pub target_rect: CUVIDDECODECREATEINFO_target_rect,
pub enableHistogram: c_ulong,
pub Reserved2: [c_ulong; 4],
}Expand description
Parameters for cuvidCreateDecoder.
Fields§
§ulWidth: c_ulong§ulHeight: c_ulong§ulNumDecodeSurfaces: c_ulong§CodecType: cudaVideoCodec§ChromaFormat: cudaVideoChromaFormat§ulCreationFlags: c_ulong§bitDepthMinus8: c_ulong§ulIntraDecodeOnly: c_ulong§ulMaxWidth: c_ulong§ulMaxHeight: c_ulong§Reserved1: c_ulong§display_area: CUVIDDECODECREATEINFO_display_area§OutputFormat: cudaVideoSurfaceFormat§DeinterlaceMode: cudaVideoDeinterlaceMode§ulTargetWidth: c_ulong§ulTargetHeight: c_ulong§ulNumOutputSurfaces: c_ulong§vidLock: *mut c_void§target_rect: CUVIDDECODECREATEINFO_target_rect§enableHistogram: c_ulong§Reserved2: [c_ulong; 4]Trait Implementations§
Source§impl Clone for CUVIDDECODECREATEINFO
impl Clone for CUVIDDECODECREATEINFO
Source§fn clone(&self) -> CUVIDDECODECREATEINFO
fn clone(&self) -> CUVIDDECODECREATEINFO
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 Debug for CUVIDDECODECREATEINFO
impl Debug for CUVIDDECODECREATEINFO
impl Copy for CUVIDDECODECREATEINFO
Auto Trait Implementations§
impl Freeze for CUVIDDECODECREATEINFO
impl RefUnwindSafe for CUVIDDECODECREATEINFO
impl !Send for CUVIDDECODECREATEINFO
impl !Sync for CUVIDDECODECREATEINFO
impl Unpin for CUVIDDECODECREATEINFO
impl UnsafeUnpin for CUVIDDECODECREATEINFO
impl UnwindSafe for CUVIDDECODECREATEINFO
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