OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項
cv::cudacodec::FormatInfo 結構體參考

提供影片檔案格式資訊的結構體。: 更多...

#include <opencv2/cudacodec.hpp>

cv::cudacodec::FormatInfo 的協作圖

公有成員函式

 FormatInfo ()
 

公共屬性

ChromaFormat chromaFormat
 
Codec codec
 
ColorSpaceStandard colorSpaceStandard
 VideoReader 源的影片訊號描述色彩基色(H265 規範檔案 E.2.1 節 VUI 引數語義)
 
DeinterlaceMode deinterlaceMode
 
Rect displayArea
 nextFrame(frame) 返回的解碼幀內的 ROI (感興趣區域),包含可用影片幀。
 
bool 啟用直方圖
 如果支援,則請求直方圖輸出的標誌。Exception 將在請求但不支援時丟擲。
 
double fps
 
int height
 nextFrame(frame) 返回的解碼幀的高度。
 
int nBitDepthChromaMinus8
 
int nBitDepthMinus8
 
int nCounterBitDepth
 如果請求並支援直方圖輸出,則直方圖 bin 的位深度。
 
int nMaxHistogramBins
 如果請求並支援直方圖輸出,則直方圖 bin 的最大數量。
 
cv::Rect srcRoi
 從影片源解碼的感興趣區域。
 
SurfaceFormat surfaceFormat
 解碼幀的表面格式。
 
cv::Rect 目標感興趣區域
 包含解碼幀的輸出幀中的感興趣區域。
 
cv::Size 目標尺寸
 輸出幀的後處理尺寸。
 
int ulHeight
 編碼序列的畫素高度。
 
int ulMaxHeight
 
int ulMaxWidth
 
int ulNumDecodeSurfaces
 內部解碼錶面的最大數量。
 
int ulWidth
 編碼序列的畫素寬度。
 
bool valid
 
bool videoFullRangeFlag
 輸出值,指示源的黑電平、亮度(luma)和色度(chroma)是否使用 ITU-T 規範附件 E 中定義的完整範圍或有限範圍(即電視或“模擬”範圍)的值表示。
 
int width
 nextFrame(frame) 返回的解碼幀的寬度。
 

詳細描述

提供影片檔案格式資訊的結構體。

建構函式 & 解構函式文件

◆ FormatInfo()

cv::cudacodec::FormatInfo::FormatInfo ( )
inline

成員資料文件

◆ chromaFormat

ChromaFormat cv::cudacodec::FormatInfo::chromaFormat

◆ codec

Codec cv::cudacodec::FormatInfo::codec

◆ colorSpaceStandard

ColorSpaceStandard cv::cudacodec::FormatInfo::colorSpaceStandard

VideoReader 源的影片訊號描述色彩基色(H265 規範檔案 E.2.1 節 VUI 引數語義)

◆ deinterlaceMode

DeinterlaceMode cv::cudacodec::FormatInfo::deinterlaceMode

◆ displayArea

Rect cv::cudacodec::FormatInfo::displayArea

nextFrame(frame) 返回的解碼幀內的 ROI (感興趣區域),包含可用影片幀。

◆ enableHistogram

bool cv::cudacodec::FormatInfo::enableHistogram

如果支援,則請求直方圖輸出的標誌。Exception 將在請求但不支援時丟擲。

◆ fps

double cv::cudacodec::FormatInfo::fps

◆ height

int cv::cudacodec::FormatInfo::height

nextFrame(frame) 返回的解碼幀的高度。

◆ nBitDepthChromaMinus8

int cv::cudacodec::FormatInfo::nBitDepthChromaMinus8

◆ nBitDepthMinus8

int cv::cudacodec::FormatInfo::nBitDepthMinus8

◆ nCounterBitDepth

int cv::cudacodec::FormatInfo::nCounterBitDepth

如果請求並支援直方圖輸出,則直方圖 bin 的位深度。

◆ nMaxHistogramBins

int cv::cudacodec::FormatInfo::nMaxHistogramBins

如果請求並支援直方圖輸出,則直方圖 bin 的最大數量。

◆ srcRoi

cv::Rect cv::cudacodec::FormatInfo::srcRoi

從影片源解碼的感興趣區域。

◆ surfaceFormat

SurfaceFormat cv::cudacodec::FormatInfo::surfaceFormat

解碼幀的表面格式。

◆ targetRoi

cv::Rect cv::cudacodec::FormatInfo::targetRoi

包含解碼幀的輸出幀中的感興趣區域。

◆ targetSz

cv::Size cv::cudacodec::FormatInfo::targetSz

輸出幀的後處理尺寸。

◆ ulHeight

int cv::cudacodec::FormatInfo::ulHeight

編碼序列的畫素高度。

◆ ulMaxHeight

int cv::cudacodec::FormatInfo::ulMaxHeight

◆ ulMaxWidth

int cv::cudacodec::FormatInfo::ulMaxWidth

◆ ulNumDecodeSurfaces

int cv::cudacodec::FormatInfo::ulNumDecodeSurfaces

內部解碼錶面的最大數量。

◆ ulWidth

int cv::cudacodec::FormatInfo::ulWidth

編碼序列的畫素寬度。

◆ valid

bool cv::cudacodec::FormatInfo::valid

◆ videoFullRangeFlag

bool cv::cudacodec::FormatInfo::videoFullRangeFlag

輸出值,指示源的黑電平、亮度(luma)和色度(chroma)是否使用 ITU-T 規範附件 E 中定義的完整範圍或有限範圍(即電視或“模擬”範圍)的值表示。

◆ width

int cv::cudacodec::FormatInfo::width

nextFrame(frame) 返回的解碼幀的寬度。


此結構體的文件由以下檔案生成