OpenCV  2.4.13.4
Open Source Computer Vision
cv::gpu::VideoReader_GPU Class Reference

#include <gpu.hpp>

Classes

struct  FormatInfo
 
class  VideoSource
 

Public Types

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'))
}
 
enum  ChromaFormat { Monochrome =0, YUV420, YUV422, YUV444 }
 

Public Member Functions

 VideoReader_GPU ()
 
 VideoReader_GPU (const std::string &filename)
 
 VideoReader_GPU (const cv::Ptr< VideoSource > &source)
 
 ~VideoReader_GPU ()
 
void open (const std::string &filename)
 
void open (const cv::Ptr< VideoSource > &source)
 
bool isOpened () const
 
void close ()
 
bool read (GpuMat &image)
 
FormatInfo format () const
 
void dumpFormat (std::ostream &st)
 

Member Enumeration Documentation

§ ChromaFormat

Enumerator
Monochrome 
YUV420 
YUV422 
YUV444 

§ Codec

Enumerator
MPEG1 
MPEG2 
MPEG4 
VC1 
H264 
JPEG 
H264_SVC 
H264_MVC 
Uncompressed_YUV420 
Uncompressed_YV12 
Uncompressed_NV12 
Uncompressed_YUYV 
Uncompressed_UYVY 

Constructor & Destructor Documentation

§ VideoReader_GPU() [1/3]

cv::gpu::VideoReader_GPU::VideoReader_GPU ( )

§ VideoReader_GPU() [2/3]

cv::gpu::VideoReader_GPU::VideoReader_GPU ( const std::string &  filename)
explicit

§ VideoReader_GPU() [3/3]

cv::gpu::VideoReader_GPU::VideoReader_GPU ( const cv::Ptr< VideoSource > &  source)
explicit

§ ~VideoReader_GPU()

cv::gpu::VideoReader_GPU::~VideoReader_GPU ( )

Member Function Documentation

§ close()

void cv::gpu::VideoReader_GPU::close ( )

§ dumpFormat()

void cv::gpu::VideoReader_GPU::dumpFormat ( std::ostream &  st)

§ format()

FormatInfo cv::gpu::VideoReader_GPU::format ( ) const

§ isOpened()

bool cv::gpu::VideoReader_GPU::isOpened ( ) const

§ open() [1/2]

void cv::gpu::VideoReader_GPU::open ( const std::string &  filename)

§ open() [2/2]

void cv::gpu::VideoReader_GPU::open ( const cv::Ptr< VideoSource > &  source)

§ read()

bool cv::gpu::VideoReader_GPU::read ( GpuMat image)

The documentation for this class was generated from the following file: