#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)) |
|
虚函数 | ~PluginStreamReader () |
|
long long | read (char *buffer, long long size) override |
| 从流中读取字节。
|
|
long long | seek (long long offset, int way) override |
| 设置流位置。
|
|
虚函数 | ~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) ) |
|
内联 |
◆ ~PluginStreamReader()
virtual cv::PluginStreamReader::~PluginStreamReader |
( |
| ) |
|
|
内联虚函数 |
◆ read()
long long cv::PluginStreamReader::read |
( |
char * | buffer, |
|
|
long long | size ) |
|
内联重写虚函数 |
◆ seek()
long long cv::PluginStreamReader::seek |
( |
long long | offset, |
|
|
int | origin ) |
|
内联重写虚函数 |
设置流位置。
- 参数
-
offset | 查找偏移量 |
origin | SEEK_SET / SEEK_END / SEEK_CUR |
- 另请参阅
- fseek
实现 cv::IStreamReader。
此类的文档是从以下文件生成的