OpenCV
3.3.0-dev
Open Source Computer Vision
|
Classes | |
class | EncoderCallBack |
Callbacks for CUDA video encoder. More... | |
struct | EncoderParams |
Different parameters for CUDA video encoder. More... | |
struct | FormatInfo |
Struct providing information about video file format. : More... | |
class | RawVideoSource |
Interface for video demultiplexing. : More... | |
class | VideoReader |
Video reader interface. More... | |
class | VideoWriter |
Video writer interface. More... | |
Enumerations | |
enum | ChromaFormat { Monochrome = 0, YUV420, YUV422, YUV444 } |
Chroma formats supported by cudacodec::VideoReader . More... | |
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')) } |
Video codecs supported by cudacodec::VideoReader . More... | |
enum | SurfaceFormat { SF_UYVY = 0, SF_YUY2, SF_YV12, SF_NV12, SF_IYUV, SF_BGR, SF_GRAY = SF_BGR } |
Functions | |
Ptr< VideoReader > | createVideoReader (const String &filename) |
Creates video reader. More... | |
Ptr< VideoReader > | createVideoReader (const Ptr< RawVideoSource > &source) |
Ptr< VideoWriter > | createVideoWriter (const String &fileName, Size frameSize, double fps, SurfaceFormat format=SF_BGR) |
Creates video writer. More... | |
Ptr< VideoWriter > | createVideoWriter (const String &fileName, Size frameSize, double fps, const EncoderParams ¶ms, SurfaceFormat format=SF_BGR) |
Ptr< VideoWriter > | createVideoWriter (const Ptr< EncoderCallBack > &encoderCallback, Size frameSize, double fps, SurfaceFormat format=SF_BGR) |
Ptr< VideoWriter > | createVideoWriter (const Ptr< EncoderCallBack > &encoderCallback, Size frameSize, double fps, const EncoderParams ¶ms, SurfaceFormat format=SF_BGR) |