OpenCV  3.2.0-dev
Open Source Computer Vision
cv::cudacodec::RawVideoSource Class Referenceabstract

Interface for video demultiplexing. More...

#include "cudacodec.hpp"

Public Member Functions

virtual ~RawVideoSource ()
 
virtual FormatInfo format () const =0
 Returns information about video file format. More...
 
virtual bool getNextPacket (unsigned char **data, int *size, bool *endOfFile)=0
 Returns next packet with RAW video frame. More...
 

Detailed Description

Interface for video demultiplexing.

:

User can implement own demultiplexing by implementing this interface.

Constructor & Destructor Documentation

virtual cv::cudacodec::RawVideoSource::~RawVideoSource ( )
inlinevirtual

References cv::cudacodec::createVideoReader(), CV_EXPORTS, and cv::format().

Here is the call graph for this function:

Member Function Documentation

virtual FormatInfo cv::cudacodec::RawVideoSource::format ( ) const
pure virtual

Returns information about video file format.

virtual bool cv::cudacodec::RawVideoSource::getNextPacket ( unsigned char **  data,
int *  size,
bool *  endOfFile 
)
pure virtual

Returns next packet with RAW video frame.

Parameters
dataPointer to frame data.
sizeSize in bytes of current frame.
endOfFileIndicates that it is end of stream.

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