OpenCV 4.11.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::PluginStreamReader Class Reference

#include <opencv2/videoio/utils.private.hpp>

Collaboration diagram for cv::PluginStreamReader:

Public Member Functions

 PluginStreamReader (void *_opaque, long long(*_read)(void *opaque, char *buffer, long long size), long long(*_seek)(void *opaque, long long offset, int way))
 
virtual ~PluginStreamReader ()
 
long long read (char *buffer, long long size) override
 Read bytes from stream.
 
long long seek (long long offset, int way) override
 Sets the stream position.
 
- Public Member Functions inherited from cv::IStreamReader
virtual ~IStreamReader ()
 

Constructor & Destructor Documentation

◆ PluginStreamReader()

cv::PluginStreamReader::PluginStreamReader ( void * _opaque,
long long(* _read )(void *opaque, char *buffer, long long size),
long long(* _seek )(void *opaque, long long offset, int way) )
inline

◆ ~PluginStreamReader()

virtual cv::PluginStreamReader::~PluginStreamReader ( )
inlinevirtual

Member Function Documentation

◆ read()

long long cv::PluginStreamReader::read ( char * buffer,
long long size )
inlineoverridevirtual

Read bytes from stream.

Implements cv::IStreamReader.

◆ seek()

long long cv::PluginStreamReader::seek ( long long offset,
int origin )
inlineoverridevirtual

Sets the stream position.

Parameters
offsetSeek offset
originSEEK_SET / SEEK_END / SEEK_CUR
See also
fseek

Implements cv::IStreamReader.


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