OpenCV
Open Source Computer Vision
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
cv::cudacodec::EncoderParams Struct Reference

Different parameters for CUDA video encoder. More...

#include <opencv2/cudacodec.hpp>

Collaboration diagram for cv::cudacodec::EncoderParams:

Public Member Functions

 EncoderParams ()
 

Public Attributes

int averageBitRate
 target bitrate for ENC_PARAMS_RC_VBR and ENC_PARAMS_RC_CBR.
 
EncodeQp constQp
 QP's for ENC_PARAMS_RC_CONSTQP.
 
EncodeProfile encodingProfile
 
int gopLength
 the number of pictures in one GOP, ensuring idrPeriod >= gopLength.
 
int idrPeriod
 IDR interval, ensuring idrPeriod >= gopLength.
 
int maxBitRate
 upper bound on bitrate for ENC_PARAMS_RC_VBR and ENC_PARAMS_RC_CONSTQP.
 
EncodeMultiPass multiPassEncoding
 
EncodePreset nvPreset
 
EncodeParamsRcMode rateControlMode
 
uint8_t targetQuality
 value 0 - 51 where video quality decreases as targetQuality increases, used with ENC_PARAMS_RC_VBR.
 
EncodeTuningInfo tuningInfo
 
bool videoFullRangeFlag
 Indicates if the black level, luma and chroma of the source are represented using the full or limited range (AKA TV or "analogue" range) of values as defined in Annex E of the ITU-T Specification.
 

Detailed Description

Different parameters for CUDA video encoder.

Constructor & Destructor Documentation

◆ EncoderParams()

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

Member Data Documentation

◆ averageBitRate

int cv::cudacodec::EncoderParams::averageBitRate

target bitrate for ENC_PARAMS_RC_VBR and ENC_PARAMS_RC_CBR.

◆ constQp

EncodeQp cv::cudacodec::EncoderParams::constQp

◆ encodingProfile

EncodeProfile cv::cudacodec::EncoderParams::encodingProfile

◆ gopLength

int cv::cudacodec::EncoderParams::gopLength

the number of pictures in one GOP, ensuring idrPeriod >= gopLength.

◆ idrPeriod

int cv::cudacodec::EncoderParams::idrPeriod

IDR interval, ensuring idrPeriod >= gopLength.

◆ maxBitRate

int cv::cudacodec::EncoderParams::maxBitRate

upper bound on bitrate for ENC_PARAMS_RC_VBR and ENC_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

value 0 - 51 where video quality decreases as targetQuality increases, used with ENC_PARAMS_RC_VBR.

◆ tuningInfo

EncodeTuningInfo cv::cudacodec::EncoderParams::tuningInfo

◆ videoFullRangeFlag

bool cv::cudacodec::EncoderParams::videoFullRangeFlag

Indicates if the black level, luma and chroma of the source are represented using the full or limited range (AKA TV or "analogue" range) of values as defined in Annex E of the ITU-T Specification.


The documentation for this struct was generated from the following file: