| OpenCV 3.4.7 Open Source Computer Vision

Public Member Functions | List of all members
cv::cudacodec::RawVideoSource Class Referenceabstract
CUDA-accelerated Computer Vision » Video Encoding/Decoding

Interface for video demultiplexing. : More...

`#include <opencv2/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

## § ~RawVideoSource()

virtual cv::cudacodec::RawVideoSource::~RawVideoSource | ( |  | ) |
| inline virtual

## Member Function Documentation

## § format()

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

Returns information about video file format.

## § getNextPacket()

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

Returns next packet with RAW video frame.

Parameters

  data | Pointer to frame data.
  size | Size in bytes of current frame.
  endOfFile | Indicates that it is end of stream.

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

- opencv2/cudacodec.hpp