#include <opencv2/videoio/utils.private.hpp>
|
| 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.
|
|
virtual | ~IStreamReader () |
|
◆ 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 |
◆ read()
long long cv::PluginStreamReader::read |
( |
char * | buffer, |
|
|
long long | size ) |
|
inlineoverridevirtual |
◆ seek()
long long cv::PluginStreamReader::seek |
( |
long long | offset, |
|
|
int | origin ) |
|
inlineoverridevirtual |
Sets the stream position.
- Parameters
-
offset | Seek offset |
origin | SEEK_SET / SEEK_END / SEEK_CUR |
- See also
- fseek
Implements cv::IStreamReader.
The documentation for this class was generated from the following file: