struct cv::cudacodec::EncoderParams

Overview

Different parameters for CUDA video encoder. Moreā€¦

#include <cudacodec.hpp>

struct EncoderParams
{
    // fields

    int AvgBitrate;
    int ClearStat;
    int DeblockMode;
    int DIMode;
    int DisableCabac;
    int DisableSPSPPS;
    int DynamicGOP;
    int ForceIDR;
    int ForceIntra;
    int IDR_Period;
    int NaluFramingType;
    int P_Interval;
    int PeakBitrate;
    int Presets;
    int ProfileLevel;
    int QP_Level_InterB;
    int QP_Level_InterP;
    int QP_Level_Intra;
    int RCType;

    // construction

    EncoderParams();
    EncoderParams(const String& configFile);

    // methods

    void
    load(const String& configFile);

    void
    save(const String& configFile) const;
};

Detailed Documentation

Different parameters for CUDA video encoder.

Fields

int AvgBitrate

NVVE_AVG_BITRATE,.

int ClearStat

NVVE_CLEAR_STAT,.

int DeblockMode

NVVE_DEBLOCK_MODE,.

int DIMode

NVVE_SET_DEINTERLACE,.

int DisableCabac

NVVE_DISABLE_CABAC,.

int DisableSPSPPS

NVVE_DISABLE_SPS_PPS.

int DynamicGOP

NVVE_DYNAMIC_GOP,.

int ForceIDR

NVVE_FORCE_IDR,.

int ForceIntra

NVVE_FORCE_INTRA,.

int IDR_Period

NVVE_IDR_PERIOD,.

int NaluFramingType

NVVE_CONFIGURE_NALU_FRAMING_TYPE.

int P_Interval

NVVE_P_INTERVAL,.

int PeakBitrate

NVVE_PEAK_BITRATE,.

int Presets

NVVE_PRESETS,.

int ProfileLevel

NVVE_PROFILE_LEVEL,.

int QP_Level_InterB

NVVE_QP_LEVEL_INTER_B,.

int QP_Level_InterP

NVVE_QP_LEVEL_INTER_P,.

int QP_Level_Intra

NVVE_QP_LEVEL_INTRA,.

int RCType

NVVE_RC_TYPE,.

Construction

EncoderParams(const String& configFile)

Constructors.

Creates default parameters or reads parameters from config file.

Parameters:

configFile Config file name.

Methods

void
load(const String& configFile)

Reads parameters from config file.

Parameters:

configFile Config file name.
void
save(const String& configFile) const

Saves parameters to config file.

Parameters:

configFile Config file name.