#[repr(u32)]pub enum cudaVideoCodec {
Show 18 variants
cudaVideoCodec_MPEG1,
cudaVideoCodec_MPEG2,
cudaVideoCodec_MPEG4,
cudaVideoCodec_VC1,
cudaVideoCodec_H264,
cudaVideoCodec_JPEG,
cudaVideoCodec_H264_SVC,
cudaVideoCodec_H264_MVC,
cudaVideoCodec_HEVC,
cudaVideoCodec_VP8,
cudaVideoCodec_VP9,
cudaVideoCodec_AV1,
cudaVideoCodec_NumCodecs,
cudaVideoCodec_YUV420,
cudaVideoCodec_YV12,
cudaVideoCodec_NV12,
cudaVideoCodec_YUYV,
cudaVideoCodec_UYVY,
}
Variants§
cudaVideoCodec_MPEG1
cudaVideoCodec_MPEG2
cudaVideoCodec_MPEG4
cudaVideoCodec_VC1
cudaVideoCodec_H264
cudaVideoCodec_JPEG
cudaVideoCodec_H264_SVC
cudaVideoCodec_H264_MVC
cudaVideoCodec_HEVC
cudaVideoCodec_VP8
cudaVideoCodec_VP9
cudaVideoCodec_AV1
cudaVideoCodec_NumCodecs
cudaVideoCodec_YUV420
cudaVideoCodec_YV12
cudaVideoCodec_NV12
cudaVideoCodec_YUYV
cudaVideoCodec_UYVY
Trait Implementations§
source§impl Clone for cudaVideoCodec_enum
impl Clone for cudaVideoCodec_enum
source§fn clone(&self) -> cudaVideoCodec_enum
fn clone(&self) -> cudaVideoCodec_enum
Returns a copy 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 cudaVideoCodec_enum
impl Debug for cudaVideoCodec_enum
source§impl Hash for cudaVideoCodec_enum
impl Hash for cudaVideoCodec_enum
source§impl Ord for cudaVideoCodec_enum
impl Ord for cudaVideoCodec_enum
source§fn cmp(&self, other: &cudaVideoCodec_enum) -> Ordering
fn cmp(&self, other: &cudaVideoCodec_enum) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<cudaVideoCodec_enum> for cudaVideoCodec_enum
impl PartialEq<cudaVideoCodec_enum> for cudaVideoCodec_enum
source§fn eq(&self, other: &cudaVideoCodec_enum) -> bool
fn eq(&self, other: &cudaVideoCodec_enum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<cudaVideoCodec_enum> for cudaVideoCodec_enum
impl PartialOrd<cudaVideoCodec_enum> for cudaVideoCodec_enum
source§fn partial_cmp(&self, other: &cudaVideoCodec_enum) -> Option<Ordering>
fn partial_cmp(&self, other: &cudaVideoCodec_enum) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for cudaVideoCodec_enum
impl Eq for cudaVideoCodec_enum
impl StructuralEq for cudaVideoCodec_enum
impl StructuralPartialEq for cudaVideoCodec_enum
Auto Trait Implementations§
impl RefUnwindSafe for cudaVideoCodec_enum
impl Send for cudaVideoCodec_enum
impl Sync for cudaVideoCodec_enum
impl Unpin for cudaVideoCodec_enum
impl UnwindSafe for cudaVideoCodec_enum
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