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

CUDA 影片編碼器的不同引數。 更多...

#include <opencv2/cudacodec.hpp>

cv::cudacodec::EncoderParams 協作圖

公共成員函式

 EncoderParams ()
 

公共屬性

int averageBitRate
 ENC_PARAMS_RC_VBRENC_PARAMS_RC_CBR 的目標位元率。
 
EncodeQp constQp
 ENC_PARAMS_RC_CONSTQP 的 QP。
 
EncodeProfile encodingProfile
 
int gopLength
 一個 GOP 中的影像數量,確保 idrPeriod >= gopLength
 
int idrPeriod
 IDR 間隔,確保 idrPeriod >= gopLength
 
int maxBitRate
 ENC_PARAMS_RC_VBRENC_PARAMS_RC_CONSTQP 的位元率上限。
 
EncodeMultiPass multiPassEncoding
 
EncodePreset nvPreset
 
EncodeParamsRcMode rateControlMode
 
uint8_t targetQuality
 值在 0 - 51 之間,targetQuality 增加時影片質量下降,與 ENC_PARAMS_RC_VBR 一起使用。
 
EncodeTuningInfo tuningInfo
 
bool videoFullRangeFlag
 指示源的黑電平、亮度色度和色度是否使用 ITU-T 規範附件 E 中定義的完整範圍或有限範圍(又稱電視或“模擬”範圍)的值表示。
 

詳細描述

CUDA 影片編碼器的不同引數。

建構函式 & 解構函式文件

◆ EncoderParams()

cv::cudacodec::EncoderParams::EncoderParams ( )
inline

成員資料文件

◆ averageBitRate

int cv::cudacodec::EncoderParams::averageBitRate

ENC_PARAMS_RC_VBRENC_PARAMS_RC_CBR 的目標位元率。

◆ constQp

EncodeQp cv::cudacodec::EncoderParams::constQp

◆ encodingProfile

EncodeProfile cv::cudacodec::EncoderParams::encodingProfile

◆ gopLength

int cv::cudacodec::EncoderParams::gopLength

一個 GOP 中的影像數量,確保 idrPeriod >= gopLength

◆ idrPeriod

int cv::cudacodec::EncoderParams::idrPeriod

IDR 間隔,確保 idrPeriod >= gopLength

◆ maxBitRate

int cv::cudacodec::EncoderParams::maxBitRate

ENC_PARAMS_RC_VBRENC_PARAMS_RC_CONSTQP 的位元率上限。

◆ multiPassEncoding

EncodeMultiPass cv::cudacodec::EncoderParams::multiPassEncoding

◆ nvPreset

EncodePreset cv::cudacodec::EncoderParams::nvPreset

◆ rateControlMode

EncodeParamsRcMode cv::cudacodec::EncoderParams::rateControlMode

◆ targetQuality

uint8_t cv::cudacodec::EncoderParams::targetQuality

值在 0 - 51 之間,targetQuality 增加時影片質量下降,與 ENC_PARAMS_RC_VBR 一起使用。

◆ tuningInfo

EncodeTuningInfo cv::cudacodec::EncoderParams::tuningInfo

◆ videoFullRangeFlag

bool cv::cudacodec::EncoderParams::videoFullRangeFlag

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


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