enum cv::cudacodec::Codec

Overview

Video codecs supported by cudacodec::VideoReader. Moreā€¦

#include <cudacodec.hpp>

enum Codec
{
    MPEG1               = 0,
    MPEG2,
    MPEG4,
    VC1,
    H264,
    JPEG,
    H264_SVC,
    H264_MVC,
    Uncompressed_YUV420 = (('I'<<24)|('Y'<<16)|('U'<<8)|('V')),
    Uncompressed_YV12   = (('Y'<<24)|('V'<<16)|('1'<<8)|('2')),
    Uncompressed_NV12   = (('N'<<24)|('V'<<16)|('1'<<8)|('2')),
    Uncompressed_YUYV   = (('Y'<<24)|('U'<<16)|('Y'<<8)|('V')),
    Uncompressed_UYVY   = (('U'<<24)|('Y'<<16)|('V'<<8)|('Y')),
};

Detailed Documentation

Video codecs supported by cudacodec::VideoReader.

Enum Values

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)