[][src]Enum opencv::cudacodec::Codec

#[repr(C)]pub enum Codec {
    MPEG1,
    MPEG2,
    MPEG4,
    VC1,
    H264,
    JPEG,
    H264_SVC,
    H264_MVC,
    HEVC,
    VP8,
    VP9,
    AV1,
    NumCodecs,
    Uncompressed_YUV420,
    Uncompressed_YV12,
    Uncompressed_NV12,
    Uncompressed_YUYV,
    Uncompressed_UYVY,
}

Video codecs supported by cudacodec::VideoReader .

Variants

MPEG1
MPEG2
MPEG4
VC1
H264
JPEG
H264_SVC
H264_MVC
HEVC
VP8
VP9
AV1
NumCodecs
Uncompressed_YUV420

Y,U,V (4:2:0)

Uncompressed_YV12

Y,V,U (4:2:0)

Uncompressed_NV12

Y,UV (4:2:0)

Uncompressed_YUYV

YUYV/YUY2 (4:2:2)

Uncompressed_UYVY

UYVY (4:2:2)

Trait Implementations

impl Clone for Codec[src]

impl Copy for Codec[src]

impl Debug for Codec[src]

impl PartialEq<Codec> for Codec[src]

impl StructuralPartialEq for Codec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.