#[repr(C)]
pub enum Codec {
Show 18 variants
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,
}
Expand description
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 Copy for Codec
impl Eq for Codec
impl StructuralEq for Codec
impl StructuralPartialEq for Codec
Auto Trait Implementations
impl RefUnwindSafe for Codec
impl Send for Codec
impl Sync for Codec
impl Unpin for Codec
impl UnwindSafe for Codec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more