影片解複用介面。: 更多...
#include <opencv2/cudacodec.hpp>
影片解複用介面。
使用者可以透過實現此介面來實現自己的解複用。
◆ ~RawVideoSource()
| virtual cv::cudacodec::RawVideoSource::~RawVideoSource |
( |
| ) |
|
|
內聯虛 |
◆ format()
| virtual FormatInfo cv::cudacodec::RawVideoSource::format |
( |
| ) |
const |
|
純虛擬函式 |
◆ get()
| virtual bool cv::cudacodec::RawVideoSource::get |
( |
const int | propertyId, |
|
|
double & | propertyVal ) const |
|
純虛擬函式 |
檢索 VideoSource 使用的指定屬性。
- 引數
-
- 返回
true,除非屬性未設定或不支援。
◆ getExtraData()
| virtual void cv::cudacodec::RawVideoSource::getExtraData |
( |
cv::Mat & | extraData | ) |
const |
|
純虛擬函式 |
◆ getFirstFrameIdx()
| virtual int cv::cudacodec::RawVideoSource::getFirstFrameIdx |
( |
| ) |
const |
|
純虛擬函式 |
◆ getNextPacket()
| virtual bool cv::cudacodec::RawVideoSource::getNextPacket |
( |
unsigned char ** | data, |
|
|
size_t * | size ) |
|
純虛擬函式 |
返回包含 RAW 影片幀的下一個資料包。
- 引數
-
| data | 幀資料的指標。 |
| size | 當前幀的位元組大小。 |
◆ lastPacketContainsKeyFrame()
| virtual bool cv::cudacodec::RawVideoSource::lastPacketContainsKeyFrame |
( |
| ) |
const |
|
內聯虛 |
◆ updateFormat()
| virtual void cv::cudacodec::RawVideoSource::updateFormat |
( |
const FormatInfo & | videoFormat | ) |
|
|
純虛擬函式 |
此類的文件生成自以下檔案