NVIDIA DRIVE OS Linux SDK API Reference

6.0.3 Release
Video and Image Encode: Common Types

Detailed Description

Defines common types and declarations for image and video encode operations.

Data Structures

struct  NvMediaEncodeQP
 Holds quantization parameters(QP) value for frames. More...
 
struct  NvMediaEncodeRCParams
 Holds rate control configuration parameters. More...
 

Modules

 AV1 Encoder: Common Types
 The AV1 Encoder API provides AV1 related functions.
 
 H.264 Encoder
 The H.264 Encoder API provides basic encode picture types.
 
 H.265 Encoder: Common Types
 The H.265 Encoder API provides basic encode parameters.
 
 VP8 Encoder: Common Types
 The VP8 Encoder API provides VP8 related functions.
 
 VP9 Encoder: Common Types
 The VP9 Encoder API provides VP9 related functions.
 

Macros

#define NVMEDIA_COMMON_ENCODE_VERSION_MAJOR   1
 Major Version number. More...
 
#define NVMEDIA_COMMON_ENCODE_VERSION_MINOR   6
 Minor Version number. More...
 
#define NVMEDIA_VIDEO_ENCODER_TIMEOUT_INFINITE
 Infinite time-out for NvMediaVideoEncoderBitsAvailable. More...
 
#define NVMEDIA_ENCODE_INFINITE_GOPLENGTH   0xFFFFFFFFU
 Infinite GOP length so that keyframes are not inserted automatically. More...
 

Enumerations

enum  NvMediaEncodeParamsRCMode {
  NVMEDIA_ENCODE_PARAMS_RC_CBR = 0,
  NVMEDIA_ENCODE_PARAMS_RC_CONSTQP = 1,
  NVMEDIA_ENCODE_PARAMS_RC_VBR = 2,
  NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP = 3,
  NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP = 4,
  NVMEDIA_ENCODE_PARAMS_RC_CBR = 0,
  NVMEDIA_ENCODE_PARAMS_RC_CONSTQP = 1,
  NVMEDIA_ENCODE_PARAMS_RC_VBR = 2,
  NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP = 3,
  NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP = 4
}
 Rate Control Modes. More...
 
enum  NvMediaBlockingType {
  NVMEDIA_ENCODE_BLOCKING_TYPE_NEVER,
  NVMEDIA_ENCODE_BLOCKING_TYPE_IF_PENDING,
  NVMEDIA_ENCODE_BLOCKING_TYPE_NEVER,
  NVMEDIA_ENCODE_BLOCKING_TYPE_IF_PENDING
}
 Blocking type. More...
 

Variables

int16_t NvMediaEncodeQP::qpInterP
 QP value for P frames. More...
 
int16_t NvMediaEncodeQP::qpInterB
 QP value for B frames. More...
 
int16_t NvMediaEncodeQP::qpIntra
 QP value for Intra frames. More...
 
int16_t NvMediaEncodeQP::reserved [3]
 
NvMediaEncodeParamsRCMode NvMediaEncodeRCParams::rateControlMode
 Holds the rate control mode. More...
 
uint32_t NvMediaEncodeRCParams::numBFrames
 Specified number of B frames between two reference frames. More...
 
uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
struct {
   uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
   uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
   uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
}   NvMediaEncodeRCParams::cbr
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR mode. More...
 
NvMediaEncodeQP   NvMediaEncodeRCParams::constQP
 Holds the initial QP to be used for encoding, these values would be used for all frames in Constant QP mode. More...
 
struct {
   NvMediaEncodeQP   NvMediaEncodeRCParams::constQP
 Holds the initial QP to be used for encoding, these values would be used for all frames in Constant QP mode. More...
 
}   NvMediaEncodeRCParams::const_qp
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_CONSTQP mode. More...
 
uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
uint32_t   NvMediaEncodeRCParams::maxBitRate
 Holds the maximum bitrate for the encoded output. More...
 
uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
struct {
   uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
   uint32_t   NvMediaEncodeRCParams::maxBitRate
 Holds the maximum bitrate for the encoded output. More...
 
   uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
   uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
}   NvMediaEncodeRCParams::vbr
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR mode. More...
 
uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
uint32_t   NvMediaEncodeRCParams::maxBitRate
 Holds the maximum bitrate for the encoded output. More...
 
uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
NvMediaEncodeQP   NvMediaEncodeRCParams::minQP
 Holds the minimum QP used for rate control. More...
 
struct {
   uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
   uint32_t   NvMediaEncodeRCParams::maxBitRate
 Holds the maximum bitrate for the encoded output. More...
 
   uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
   uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
   NvMediaEncodeQP   NvMediaEncodeRCParams::minQP
 Holds the minimum QP used for rate control. More...
 
}   NvMediaEncodeRCParams::vbr_minqp
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP mode. More...
 
uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
NvMediaEncodeQP   NvMediaEncodeRCParams::minQP
 Holds the minimum QP used for rate control. More...
 
struct {
   uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
   uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
   uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
   NvMediaEncodeQP   NvMediaEncodeRCParams::minQP
 Holds the minimum QP used for rate control. More...
 
}   NvMediaEncodeRCParams::cbr_minqp
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP mode. More...
 
union {
   struct {
      uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
   }   NvMediaEncodeRCParams::cbr
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR mode. More...
 
   struct {
      NvMediaEncodeQP   NvMediaEncodeRCParams::constQP
 Holds the initial QP to be used for encoding, these values would be used for all frames in Constant QP mode. More...
 
   }   NvMediaEncodeRCParams::const_qp
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_CONSTQP mode. More...
 
   struct {
      uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
      uint32_t   NvMediaEncodeRCParams::maxBitRate
 Holds the maximum bitrate for the encoded output. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
   }   NvMediaEncodeRCParams::vbr
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR mode. More...
 
   struct {
      uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
      uint32_t   NvMediaEncodeRCParams::maxBitRate
 Holds the maximum bitrate for the encoded output. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
      NvMediaEncodeQP   NvMediaEncodeRCParams::minQP
 Holds the minimum QP used for rate control. More...
 
   }   NvMediaEncodeRCParams::vbr_minqp
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP mode. More...
 
   struct {
      uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
      NvMediaEncodeQP   NvMediaEncodeRCParams::minQP
 Holds the minimum QP used for rate control. More...
 
   }   NvMediaEncodeRCParams::cbr_minqp
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP mode. More...
 
NvMediaEncodeRCParams::params
 Rate Control parameters. More...
 
NvMediaBool NvMediaEncodeRCParams::bConstFrameQP
 Use constant QP at frame level or MB row level. More...
 
int8_t NvMediaEncodeRCParams::maxSessionQP
 Holds the max QP for encoding session when external picture RC hint is used. More...
 
int8_t NvMediaEncodeRCParams::reserved [3]
 
uint32_t NvMediaNalData::ulNalSize
 Nal size for header. More...
 
uint8_t NvMediaNalData::data [MAX_NON_SLICE_DATA_SIZE]
 header data passed on this buffer More...
 
NvMediaBool NvMediaEncodeConfigH264VUIParams::aspectRatioInfoPresentFlag
 If set to NVMEDIA_TRUE, it specifies that the aspectRatioIdc is present. More...
 
uint8_t NvMediaEncodeConfigH264VUIParams::aspectRatioIdc
 Holds the aspect ratio IDC (as defined in Annex E of the ITU-T Specification). More...
 
uint16_t NvMediaEncodeConfigH264VUIParams::aspectSARWidth
 If aspectRatioIdc is Extended SAR then it indicates horizontal size of the sample aspect ratio (in arbitrary units). More...
 
uint16_t NvMediaEncodeConfigH264VUIParams::aspectSARHeight
 If aspectRatioIdc is Extended SAR then it indicates vertical size of the sample aspect ratio (in the same arbitrary units as aspectSARWidth) More...
 
NvMediaBool NvMediaEncodeConfigH264VUIParams::overscanInfoPresentFlag
 If set to NVMEDIA_TRUE, it specifies that the overscanInfo is present. More...
 
NvMediaBool NvMediaEncodeConfigH264VUIParams::overscanAppropriateFlag
 Holds the overscan info (as defined in Annex E of the ITU-T Specification). More...
 
NvMediaBool NvMediaEncodeConfigH264VUIParams::videoSignalTypePresentFlag
 If set to NVMEDIA_TRUE, it specifies that the videoFormat, videoFullRangeFlag and colourDescriptionPresentFlag are present. More...
 
uint8_t NvMediaEncodeConfigH264VUIParams::videoFormat
 Holds the source video format (as defined in Annex E of the ITU-T Specification). More...
 
NvMediaBool NvMediaEncodeConfigH264VUIParams::videoFullRangeFlag
 Holds the output range of the luma and chroma samples (as defined in Annex E of the ITU-T Specification). More...
 
NvMediaBool NvMediaEncodeConfigH264VUIParams::colourDescriptionPresentFlag
 If set to NVMEDIA_TRUE, it specifies that the colourPrimaries, transferCharacteristics and colourMatrix are present. More...
 
uint8_t NvMediaEncodeConfigH264VUIParams::colourPrimaries
 Holds color primaries for converting to RGB (as defined in Annex E of the ITU-T Specification). More...
 
uint8_t NvMediaEncodeConfigH264VUIParams::transferCharacteristics
 Holds the opto-electronic transfer characteristics to use (as defined in Annex E of the ITU-T Specification). More...
 
uint8_t NvMediaEncodeConfigH264VUIParams::colourMatrix
 Holds the matrix coefficients used in deriving the luma and chroma from the RGB primaries (as defined in Annex E of the ITU-T Specification). More...
 
NvMediaBool NvMediaEncodeConfigH264VUIParams::timingInfoPresentFlag
 Holds that num_units_in_tick, time_scale and fixed_frame_rate_flag are present in the bitstream (as defined in Annex E of the ITU-T Specification). More...
 
NvMediaBool NvMediaEncodeConfigH264VUIParams::bitstreamRestrictionFlag
 Holds the bitstream restriction info (as defined in Annex E of the ITU-T Specification). More...
 
uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk16x16
 Holds the number of candidates per 16x16 block. More...
 
uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk16x8
 Holds the number of candidates per 16x8 block. More...
 
uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk8x16
 Holds the number of candidates per 8x16 block. More...
 
uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk8x8
 Holds the number of candidates per 8x8 block. More...
 
int32_t NvMediaEncodeExternalMEHint::mvx: 12
 Holds the x component of integer pixel MV (relative to current MB) S12.0. More...
 
int32_t NvMediaEncodeExternalMEHint::mvy: 10
 Holds the y component of integer pixel MV (relative to current MB) S10.0 . More...
 
uint32_t NvMediaEncodeExternalMEHint::refidx: 5
 Holds the reference index (31=invalid). More...
 
uint32_t NvMediaEncodeExternalMEHint::dir: 1
 Holds the direction of motion estimation . More...
 
uint32_t NvMediaEncodeExternalMEHint::partType: 2
 Holds the block partition type. More...
 
uint32_t NvMediaEncodeExternalMEHint::lastofPart: 1
 Set to NVMEDIA_TRUE for the last MV of (sub) partition
More...
 
uint32_t NvMediaEncodeExternalMEHint::lastOfMB: 1
 Set to NVMEDIA_TRUE for the last MV of macroblock. More...
 
uint32_t NvMediaEncodeConfigH264::features
 Holds bit-wise OR`ed configuration feature flags. More...
 
uint32_t NvMediaEncodeConfigH264::gopLength
 Holds the number of pictures in one GOP. More...
 
NvMediaEncodeRCParams NvMediaEncodeConfigH264::rcParams
 Holds the rate control parameters for the current encoding session. More...
 
NvMediaEncodeH264SPSPPSRepeatMode NvMediaEncodeConfigH264::repeatSPSPPS
 Holds the frequency of the writing of Sequence and Picture parameters. More...
 
uint32_t NvMediaEncodeConfigH264::idrPeriod
 Holds the IDR interval. More...
 
uint16_t NvMediaEncodeConfigH264::numSliceCountMinus1
 Holds a number that is 1 less than the desired number of slices per frame. More...
 
uint8_t NvMediaEncodeConfigH264::disableDeblockingFilterIDC
 Holds the deblocking filter mode. More...
 
NvMediaEncodeH264AdaptiveTransformMode NvMediaEncodeConfigH264::adaptiveTransformMode
 Holds the Adaptive Transform Mode. More...
 
NvMediaEncodeH264BDirectMode NvMediaEncodeConfigH264::bdirectMode
 Holds the BDirect mode. More...
 
NvMediaEncodeH264EntropyCodingMode NvMediaEncodeConfigH264::entropyCodingMode
 Holds the entropy coding mode. More...
 
uint32_t NvMediaEncodeConfigH264::intraRefreshPeriod
 Holds the interval between frames that triggers a new intra refresh cycle. More...
 
uint32_t NvMediaEncodeConfigH264::intraRefreshCnt
 Holds the number of frames over which intra refresh happens. More...
 
uint32_t NvMediaEncodeConfigH264::maxSliceSizeInBytes
 Holds the maximum slice size in bytes for dynamic slice mode. More...
 
uint32_t NvMediaEncodeConfigH264::numMacroblocksPerSlice
 Holds the number of macroblocks per slice. More...
 
NvMediaEncodeConfigH264VUIParamsNvMediaEncodeConfigH264::h264VUIParameters
 Holds the H.264 video usability information pamameters. More...
 
uint32_t NvMediaEncodeConfigH264::motionPredictionExclusionFlags
 Holds bitwise OR`ed exclusion flags. More...
 
NvMediaEncodeQuality NvMediaEncodeConfigH264::quality
 Holds the encode quality pre-set. More...
 
NvMediaEncodeH264POCType NvMediaEncodeConfigH264::pocType
 Holds pic_ordec_cnt_type. More...
 
NvMediaEncodeQP NvMediaEncodeConfigH264::initQP
 Holds the initial QP parameters. More...
 
NvMediaEncodeQP NvMediaEncodeConfigH264::maxQP
 Holds the maximum QP parameters. More...
 
uint8_t NvMediaEncodeConfigH264::enableWeightedPrediction
 Enable/disable weighted prediction. More...
 
uint32_t NvMediaEncodeH264SEIPayload::payloadSize
 SEI payload size in bytes. More...
 
uint32_t NvMediaEncodeH264SEIPayload::payloadType
 SEI payload types and syntax can be found in Annex D of the H.264 Specification. More...
 
uint8_t * NvMediaEncodeH264SEIPayload::payload
 Pointer to user data. More...
 
uint16_t NvMediaEncodeInitializeParamsH264::encodeWidth
 Holds the encode width. More...
 
uint16_t NvMediaEncodeInitializeParamsH264::reserved1
 
uint16_t NvMediaEncodeInitializeParamsH264::encodeHeight
 Holds the encode height. More...
 
uint16_t NvMediaEncodeInitializeParamsH264::reserved2
 
NvMediaBool NvMediaEncodeInitializeParamsH264::enableLimitedRGB
 Set this to NVMEDIA_TRUE for limited-RGB (16-235) input. More...
 
uint32_t NvMediaEncodeInitializeParamsH264::frameRateNum
 Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint32_t NvMediaEncodeInitializeParamsH264::frameRateDen
 Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint8_t NvMediaEncodeInitializeParamsH264::profile
 Holds the encoding profile. More...
 
uint8_t NvMediaEncodeInitializeParamsH264::level
 Holds the encoding level. More...
 
uint8_t NvMediaEncodeInitializeParamsH264::maxNumRefFrames
 Holds the maximum number of reference frames used for encoding. More...
 
NvMediaBool NvMediaEncodeInitializeParamsH264::enableExternalMEHints
 Set to NVMEDIA_TRUE to enable external ME hints. More...
 
NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodeInitializeParamsH264::maxMEHintCountsPerBlock [2]
 If Client wants to pass external motion vectors in NvMediaEncodePicParamsH264 meExternalHints buffer it must specify the maximum number of hint candidates per block per direction for the encode session. More...
 
NvMediaBool NvMediaEncodeInitializeParamsH264::enableReconCRC
 Enable support for recon CRC generation. More...
 
NvMediaBool NvMediaEncodeInitializeParamsH264::enableMVC
 If client want to do MVC encoding then this flag need to be set. More...
 
NvMediaBool NvMediaEncodeInitializeParamsH264::enableROIEncode
 Enable region of interest encoding. More...
 
NvMediaBool NvMediaEncodeInitializeParamsH264::enableSliceEncode
 Use slice encode to reduce latency in getting encoded buffers. More...
 
uint8_t NvMediaEncodeInitializeParamsH264::useBFramesAsRef
 Enables B frames to be used as reference frames. More...
 
uint8_t NvMediaEncodeInitializeParamsH264::reserved3 [3]
 
NvMediaBool NvMediaEncodeInitializeParamsH264::enableTwoPassRC
 Enable 2 pass RC support. More...
 
NvMediaBool NvMediaEncodeInitializeParamsH264::enableSourceHalfScaled
 Enable 2 pass RC with quarter resolution first pass. More...
 
uint32_t NvMediaEncodeInitializeParamsH264::mvcNumViews: 4
 Number of views used for MVC. More...
 
uint32_t NvMediaEncodeInitializeParamsH264::enableExternalPictureRC: 1
 Enable external picture rate control. More...
 
uint32_t NvMediaEncodeInitializeParamsH264::enableAllIFrames: 1
 Encode all frames as I frames. More...
 
uint32_t NvMediaEncodeInitializeParamsH264::reserved: 26
 Add padding. More...
 
NvMediaEncodePicType NvMediaEncodePicParamsH264::pictureType
 Holds input picture type. More...
 
uint32_t NvMediaEncodePicParamsH264::encodePicFlags
 Holds bit-wise OR`ed encode pic flags. More...
 
uint32_t NvMediaEncodePicParamsH264::nextBFrames
 Specifies the number of B-frames that follow the current frame. More...
 
NvMediaEncodeRCParams NvMediaEncodePicParamsH264::rcParams
 Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE is set in the encodePicFlags. More...
 
uint32_t NvMediaEncodePicParamsH264::seiPayloadArrayCnt
 Holds the number of elements allocated in seiPayloadArray array. More...
 
NvMediaEncodeH264SEIPayloadNvMediaEncodePicParamsH264::seiPayloadArray
 Array of SEI payloads which will be inserted for this frame. More...
 
NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodePicParamsH264::meHintCountsPerBlock [2]
 Holds the number of hint candidates per block per direction for the current frame. More...
 
NvMediaEncodeExternalMEHint *   NvMediaEncodePicParamsH264::meExternalHints
 
uint8_t *   NvMediaEncodePicParamsH264::meHints
 
union {
   NvMediaEncodeExternalMEHint *   NvMediaEncodePicParamsH264::meExternalHints
 
   uint8_t *   NvMediaEncodePicParamsH264::meHints
 
}; 
 Holds the pointer to ME external hints for the current frame. More...
 
uint32_t NvMediaEncodePicParamsH264::frameRateNum
 Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint32_t NvMediaEncodePicParamsH264::frameRateDen
 Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint32_t NvMediaEncodePicParamsH264::viewId
 Holds the viewId of current picture. More...
 
NvMediaBool NvMediaEncodeConfigH265VUIParams::aspectRatioInfoPresentFlag
 If set to NVMEDIA_TRUE, specifies the aspectRatioIdc is present. More...
 
uint8_t NvMediaEncodeConfigH265VUIParams::aspectRatioIdc
 Holds the aspect ratio IDC (as defined in Annex E of the ITU-T specification). More...
 
uint16_t NvMediaEncodeConfigH265VUIParams::aspectSARWidth
 If aspectRatioIdc is Extended SAR it indicates horizontal size of the sample aspect ratio (in arbitrary units). More...
 
uint16_t NvMediaEncodeConfigH265VUIParams::aspectSARHeight
 If aspectRatioIdc is Extended SAR it indicates vertical size of the sample aspect ratio (in the same arbitrary units as aspectSARWidth). More...
 
NvMediaBool NvMediaEncodeConfigH265VUIParams::overscanInfoPresentFlag
 If set to NVMEDIA_TRUE, it specifies that the overscanInfo is present. More...
 
NvMediaBool NvMediaEncodeConfigH265VUIParams::overscanAppropriateFlag
 Holds the overscan info (as defined in Annex E of the ITU-T Specification). More...
 
NvMediaBool NvMediaEncodeConfigH265VUIParams::videoSignalTypePresentFlag
 If set to NVMEDIA_TRUE, it specifies that the videoFormat, videoFullRangeFlag, and colourDescriptionPresentFlag are present. More...
 
uint8_t NvMediaEncodeConfigH265VUIParams::videoFormat
 Holds the source video format (as defined in Annex E of the ITU-T Specification). More...
 
NvMediaBool NvMediaEncodeConfigH265VUIParams::videoFullRangeFlag
 Holds the output range of the luma and chroma samples (as defined in Annex E of the ITU-T Specification). More...
 
NvMediaBool NvMediaEncodeConfigH265VUIParams::colourDescriptionPresentFlag
 If set to NVMEDIA_TRUE, it specifies that the colourPrimaries, transferCharacteristics, and colourMatrix are present. More...
 
uint8_t NvMediaEncodeConfigH265VUIParams::colourPrimaries
 Holds color primaries for converting to RGB (as defined in Annex E of the ITU-T Specification). More...
 
uint8_t NvMediaEncodeConfigH265VUIParams::transferCharacteristics
 Holds the opto-electronic transfer characteristics to use (as defined in Annex E of the ITU-T Specification). More...
 
uint8_t NvMediaEncodeConfigH265VUIParams::matrixCoeffs
 Holds the matrix coefficients used in deriving the luma and chroma from the RGB primaries (as defined in Annex E of the ITU-T Specification). More...
 
NvMediaBool NvMediaEncodeConfigH265VUIParams::vuiTimingInfoPresentFlag
 Holds that num_units_in_tick, time_scale and fixed_frame_rate_flag are present in the bitstream (as defined in Annex E of the ITU-T Specification). More...
 
NvMediaBool NvMediaEncodeConfigH265VUIParams::bitstreamRestrictionFlag
 Specified the bitstream restriction info (as defined in Annex E of the ITU-T Specification). More...
 
uint32_t NvMediaEncodeConfigH265::features
 Holds bit-wise OR`ed configuration feature flags. More...
 
uint32_t NvMediaEncodeConfigH265::gopLength
 Holds the number of pictures in one GOP. More...
 
NvMediaEncodeRCParams NvMediaEncodeConfigH265::rcParams
 Holds the rate control parameters for the current encoding session. More...
 
NvMediaEncodeH264SPSPPSRepeatMode NvMediaEncodeConfigH265::repeatSPSPPS
 Holds the frequency of the writing of Sequence and Picture parameters. More...
 
uint32_t NvMediaEncodeConfigH265::idrPeriod
 Holds the IDR interval. More...
 
uint16_t NvMediaEncodeConfigH265::numSliceCountMinus1
 Holds a number that is 1 less than the desired number of slices per frame. More...
 
uint8_t NvMediaEncodeConfigH265::disableDeblockingFilter
 Holds disable the deblocking filter. More...
 
uint8_t NvMediaEncodeConfigH265::enableWeightedPrediction
 Holds enable weighted prediction. More...
 
uint32_t NvMediaEncodeConfigH265::intraRefreshPeriod
 Holds the interval between frames that trigger a new intra refresh cycle and this cycle lasts for intraRefreshCnt frames. More...
 
uint32_t NvMediaEncodeConfigH265::intraRefreshCnt
 Holds the number of frames over which intra refresh will happen. More...
 
uint32_t NvMediaEncodeConfigH265::maxSliceSizeInBytes
 Holds the maximum slice size in bytes for dynamic slice mode. More...
 
uint32_t NvMediaEncodeConfigH265::numCTUsPerSlice
 Number of CTU per slice. More...
 
NvMediaEncodeConfigH265VUIParamsNvMediaEncodeConfigH265::h265VUIParameters
 Holds the H265 video usability info pamameters. More...
 
NvMediaEncodeQuality NvMediaEncodeConfigH265::quality
 Holds encode quality pre-set. More...
 
NvMediaEncodeQP NvMediaEncodeConfigH265::initQP
 Holds Initial QP parameters. More...
 
NvMediaEncodeQP NvMediaEncodeConfigH265::maxQP
 Holds maximum QP parameters. More...
 
uint16_t NvMediaEncodeInitializeParamsH265::encodeWidth
 Holds the encode width. More...
 
uint16_t NvMediaEncodeInitializeParamsH265::reserved1
 
uint16_t NvMediaEncodeInitializeParamsH265::encodeHeight
 Holds the encode height. More...
 
uint16_t NvMediaEncodeInitializeParamsH265::reserved2
 
NvMediaBool NvMediaEncodeInitializeParamsH265::enableLimitedRGB
 Set this to NVMEDIA_TRUE for limited-RGB (16-235) input. More...
 
NvMediaBool NvMediaEncodeInitializeParamsH265::enableSliceLevelEncode
 Set this to NVMEDIA_TRUE for slice level encode. More...
 
uint32_t NvMediaEncodeInitializeParamsH265::frameRateNum
 Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint32_t NvMediaEncodeInitializeParamsH265::frameRateDen
 Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint8_t NvMediaEncodeInitializeParamsH265::profile
 Holds the encoding profile. More...
 
uint8_t NvMediaEncodeInitializeParamsH265::level
 Holds the encoding level. More...
 
uint8_t NvMediaEncodeInitializeParamsH265::levelTier
 Holds the level tier information. More...
 
uint8_t NvMediaEncodeInitializeParamsH265::maxNumRefFrames
 Holds the maximum number of reference frames used for encoding. More...
 
NvMediaBool NvMediaEncodeInitializeParamsH265::enableExternalMEHints
 Set to NVMEDIA_TRUE to enable external ME hints. More...
 
NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodeInitializeParamsH265::maxMEHintCountsPerBlock [2]
 If Client wants to pass external motion vectors in NvMediaEncodePicParamsH265 meExternalHints buffer it must specify the maximum number of hint candidates per block per direction for the encode session. More...
 
NvMediaBool NvMediaEncodeInitializeParamsH265::enableReconCRC
 Enable support for recon CRC generation. More...
 
NvMediaBool NvMediaEncodeInitializeParamsH265::enableMVC
 If client want to do MVC encoding then this flag need to be set. More...
 
NvMediaBool NvMediaEncodeInitializeParamsH265::enableROIEncode
 Enable region of interest encoding. More...
 
NvMediaBool NvMediaEncodeInitializeParamsH265::enableSliceEncode
 use slice encode to reduce latency in getting encoded buffers. More...
 
uint32_t NvMediaEncodeInitializeParamsH265::useBFramesAsRef
 Enables B frames to be used as reference frames. More...
 
NvMediaBool NvMediaEncodeInitializeParamsH265::enableTwoPassRC
 Enable 2 pass RC support. More...
 
NvMediaBool NvMediaEncodeInitializeParamsH265::enableSourceHalfScaled
 Enable 2 pass RC with quarter resolution first pass. More...
 
uint32_t NvMediaEncodeInitializeParamsH265::mvNumViews: 4
 Number of views used for MV-Hevc. More...
 
uint32_t NvMediaEncodeInitializeParamsH265::enableExternalPictureRC: 1
 Enable external picture rate control. More...
 
uint32_t NvMediaEncodeInitializeParamsH265::enableAllIFrames: 1
 Encode all frames as I frames. More...
 
uint32_t NvMediaEncodeInitializeParamsH265::reserved: 26
 Add padding. More...
 
uint32_t NvMediaEncodeH265SEIPayload::payloadSize
 SEI payload size in bytes. More...
 
uint32_t NvMediaEncodeH265SEIPayload::payloadType
 SEI payload types and syntax can be found in Annex D of the H265 Specification. More...
 
uint32_t NvMediaEncodeH265SEIPayload::nalUnitType
 SEI nal_unit_type. More...
 
uint8_t * NvMediaEncodeH265SEIPayload::payload
 pointer to user data More...
 
NvMediaEncodePicType NvMediaEncodePicParamsH265::pictureType
 Holds input picture type. More...
 
uint32_t NvMediaEncodePicParamsH265::encodePicFlags
 Holds bit-wise OR`ed encode pic flags. More...
 
uint32_t NvMediaEncodePicParamsH265::nextBFrames
 Specifies the number of B-frames that follow the current frame. More...
 
NvMediaEncodeRCParams NvMediaEncodePicParamsH265::rcParams
 Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE is set in the encodePicFlags. More...
 
uint32_t NvMediaEncodePicParamsH265::seiPayloadArrayCnt
 Holds the number of elements allocated in seiPayloadArray array. More...
 
NvMediaEncodeH265SEIPayloadNvMediaEncodePicParamsH265::seiPayloadArray
 Array of SEI payloads which will be inserted for this frame. More...
 
NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodePicParamsH265::meHintCountsPerBlock [2]
 Holds the number of hint candidates per block per direction for the current frame. More...
 
NvMediaEncodeExternalMEHintNvMediaEncodePicParamsH265::meExternalHints
 Holds the pointer to ME external hints for the current frame. More...
 
uint32_t NvMediaEncodePicParamsH265::frameRateNum
 Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint32_t NvMediaEncodePicParamsH265::frameRateDen
 Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint32_t NvMediaEncodePicParamsH265::viewId
 Holds the viewId of current picture. More...
 
uint32_t NvMediaEncodeConfigVP9::features
 Holds bit-wise OR`ed configuration feature flags. More...
 
uint32_t NvMediaEncodeConfigVP9::gopLength
 Holds the number of pictures in one GOP. More...
 
NvMediaEncodeRCParams NvMediaEncodeConfigVP9::rcParams
 Holds the rate control parameters for the current encoding session. More...
 
uint32_t NvMediaEncodeConfigVP9::idrPeriod
 Holds the IDR interval. More...
 
uint32_t NvMediaEncodeConfigVP9::filter_type
 Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_LOOP_FILTER_PARAMS to change the following parameters. More...
 
uint32_t NvMediaEncodeConfigVP9::filter_level
 Specifies the loop filter strength for each segment. More...
 
uint32_t NvMediaEncodeConfigVP9::sharpness_level
 Specifies Sharpness level. More...
 
int8_t NvMediaEncodeConfigVP9::ref_lf_deltas [4]
 Specifies the Loop filter strength adjustments based on frame type (intra, inter). More...
 
int8_t NvMediaEncodeConfigVP9::mode_lf_deltas [2]
 Specifies the Loop filter strength adjustments based on mode (zero, new mv). More...
 
NvMediaBool NvMediaEncodeConfigVP9::bmode_ref_lf_delta_enabled
 Set it to true if MB-level loop filter adjustment is on. More...
 
NvMediaBool NvMediaEncodeConfigVP9::bmode_ref_lf_delta_update
 Set it to true if MB-level loop filter adjustment delta values are updated. More...
 
uint32_t NvMediaEncodeConfigVP9::base_qindex
 Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS to set the following parameters. More...
 
int32_t NvMediaEncodeConfigVP9::delta_y_dc_q
 Specifies explicit qindex adjustment for y dccoefficient, -15...15. More...
 
int32_t NvMediaEncodeConfigVP9::delta_uv_dc
 Specifies qindex adjustment for uv accoefficient, -15...15. More...
 
int32_t NvMediaEncodeConfigVP9::delta_uv_ac
 Specifies qindex adjustment for uv dccoefficient, -15...15. More...
 
uint32_t NvMediaEncodeConfigVP9::transform_mode
 Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_TRANSFORM_MODE to set the following parameter. More...
 
uint32_t NvMediaEncodeConfigVP9::high_prec_mv
 Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_HIGH_PRECISION_MV to set the following parameter. More...
 
NvMediaBool NvMediaEncodeConfigVP9::error_resilient
 Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_DISABLE_ERROR_RESILIENT to set the following parameter. More...
 
NvMediaEncodeQP NvMediaEncodeConfigVP9::initQP
 Holds Initial QP parameters. More...
 
NvMediaEncodeQP NvMediaEncodeConfigVP9::maxQP
 Holds maximum QP parameters. More...
 
uint32_t NvMediaEncodeInitializeParamsVP9::encodeWidth
 Holds the encode width. More...
 
uint32_t NvMediaEncodeInitializeParamsVP9::encodeHeight
 Holds the encode height. More...
 
NvMediaBool NvMediaEncodeInitializeParamsVP9::enableLimitedRGB
 Holds a flag indicating whether input is limited-RGB (16-235). More...
 
uint32_t NvMediaEncodeInitializeParamsVP9::frameRateNum
 Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint32_t NvMediaEncodeInitializeParamsVP9::frameRateDen
 Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint8_t NvMediaEncodeInitializeParamsVP9::maxNumRefFrames
 Holds the max reference numbers used for encoding. More...
 
NvMediaBool NvMediaEncodeInitializeParamsVP9::enableExternalMEHints
 Holds a flag indicating whether to enable or disable the external ME hints. More...
 
NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodeInitializeParamsVP9::maxMEHintCountsPerBlock [2]
 If Client wants to pass external motion vectors in NvMediaEncodePicParamsVP9 meExternalHints buffer it must specify the maximum number of hint candidates, per block and per direction, for the encode session. More...
 
uint8_t NvMediaEncodeInitializeParamsVP9::numEpCores
 Holds number of HW entropy cores for encoding. More...
 
uint32_t NvMediaEncodeInitializeParamsVP9::log2TileRows
 Holds number of log2Rows used in a frame. More...
 
uint32_t NvMediaEncodeInitializeParamsVP9::log2TileCols
 Holds number of log2Cols used in a frame. More...
 
NvMediaEncodePicType NvMediaEncodePicParamsVP9::pictureType
 Holds input picture type. More...
 
uint32_t NvMediaEncodePicParamsVP9::encodePicFlags
 Holds bit-wise OR`ed encode pic flags. More...
 
uint32_t NvMediaEncodePicParamsVP9::nextBFrames
 Holds the number of B-frames that follow the current frame. More...
 
NvMediaEncodeRCParams NvMediaEncodePicParamsVP9::rcParams
 Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE is set in the encodePicFlags. More...
 
NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodePicParamsVP9::meHintCountsPerBlock [2]
 Holds the number of hint candidates per block per direction for the current frame. More...
 
NvMediaEncodeExternalMEHintNvMediaEncodePicParamsVP9::meExternalHints
 Holds the pointer to ME external hints for the current frame. More...
 
uint32_t NvMediaEncodeConfigVP8::features
 Holds bit-wise OR`ed configuration feature flags. More...
 
uint32_t NvMediaEncodeConfigVP8::gopLength
 Holds the number of pictures in one GOP. More...
 
uint32_t NvMediaEncodeConfigVP8::numReferenceFrames
 Number of reference frame. More...
 
uint32_t NvMediaEncodeConfigVP8::version
 VP8 version type. More...
 
NvMediaEncodeRCParams NvMediaEncodeConfigVP8::rcParams
 Holds the rate control parameters for the current encoding session. More...
 
uint32_t NvMediaEncodeConfigVP8::filter_type
 Set the feature flag NVMEDIA_ENCODE_CONFIG_VP8_ENABLE_LOOP_FILTER_PARAMS to change the following parameters. More...
 
uint32_t NvMediaEncodeConfigVP8::filter_level
 Specifies the loop filter strength for each segment. More...
 
uint32_t NvMediaEncodeConfigVP8::sharpness_level
 Specifies Sharpness level. More...
 
int8_t NvMediaEncodeConfigVP8::ref_lf_deltas [4]
 Specifies the Loop filter strength adjustments based on frame type (intra, inter) More...
 
int8_t NvMediaEncodeConfigVP8::mode_lf_deltas [4]
 Specifies the Loop filter strength adjustments based on mode (zero, new mv) More...
 
NvMediaBool NvMediaEncodeConfigVP8::bmode_ref_lf_delta_enabled
 Set it to true if MB-level loop filter adjustment is on. More...
 
NvMediaBool NvMediaEncodeConfigVP8::bmode_ref_lf_delta_update
 Set it to true if MB-level loop filter adjustment delta values are updated. More...
 
uint32_t NvMediaEncodeConfigVP8::base_qindex
 Set the feature flag NVMEDIA_ENCODE_CONFIG_VP8_ENABLE_QUANTIZATION_PARAMS to set the following parameters. More...
 
uint32_t NvMediaEncodeConfigVP8::y1dc_delta_q
 VP8 delta (subtracted from baseline quant index) More...
 
uint32_t NvMediaEncodeConfigVP8::y2dc_delta_q
 VP8 Y2 dc delta. More...
 
uint32_t NvMediaEncodeConfigVP8::y2ac_delta_q
 VP8 Y2 ac delta. More...
 
uint32_t NvMediaEncodeConfigVP8::uvdc_delta_q
 VP8 UV dc delta. More...
 
uint32_t NvMediaEncodeConfigVP8::uvac_delta_q
 VP8 UV ac delta. More...
 
uint32_t NvMediaEncodeConfigVP8::refresh_entropy_probs
 VP8 refresh entropy probs. More...
 
uint32_t NvMediaEncodeConfigVP8::update_mb_segmentation_map
 Set the feature flag NVMEDIA_ENCODE_CONFIG_VP8_ENABLE_SEGMENTATION to set the following parameters. More...
 
uint32_t NvMediaEncodeConfigVP8::update_mb_segmentation_data
 VP8 update mb segmentation data. More...
 
uint32_t NvMediaEncodeConfigVP8::mb_segment_abs_delta
 VP8 mb segment abs delta. More...
 
int8_t NvMediaEncodeConfigVP8::seg_filter_level [4]
 VP8 segment filter level. More...
 
int8_t NvMediaEncodeConfigVP8::seg_qindex [4]
 VP8 segment qp index. More...
 
NvMediaBool NvMediaEncodeConfigVP8::mb_no_coeff_skip_flag
 Set to enable skipping of macroblocks with no non-zero coefficients at the frame level. More...
 
NvMediaBool NvMediaEncodeConfigVP8::no_temporal_mv_hints
 Set to disable temporal mv hints. More...
 
NvMediaBool NvMediaEncodeConfigVP8::stop_prob_update
 Set to turn off all probability updates to save hw testing time. More...
 
NvMediaEncodeQP NvMediaEncodeConfigVP8::initQP
 Holds Initial QP parameters. More...
 
NvMediaEncodeQP NvMediaEncodeConfigVP8::maxQP
 Holds max QP parameters. More...
 
NvMediaEncodeQuality NvMediaEncodeConfigVP8::quality
 Holds encode quality pre-set. More...
 
uint32_t NvMediaEncodeInitializeParamsVP8::encodeWidth
 Holds the encode width. More...
 
uint32_t NvMediaEncodeInitializeParamsVP8::encodeHeight
 Holds the encode height. More...
 
uint32_t NvMediaEncodeInitializeParamsVP8::frameRateNum
 Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint32_t NvMediaEncodeInitializeParamsVP8::frameRateDen
 Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint8_t NvMediaEncodeInitializeParamsVP8::maxNumRefFrames
 Holds the max reference numbers used for encoding. More...
 
NvMediaEncodePicType NvMediaEncodePicParamsVP8::pictureType
 Holds input picture type. More...
 
uint32_t NvMediaEncodePicParamsVP8::encodePicFlags
 Holds bit-wise OR`ed encode pic flags. More...
 
NvMediaEncodeRCParams NvMediaEncodePicParamsVP8::rcParams
 Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE is set in the encodePicFlags. More...
 
uint32_t NvMediaEncodePicParamsVP8::frameRateNum
 Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint32_t NvMediaEncodePicParamsVP8::frameRateDen
 Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint32_t NvMediaEncodeConfigAV1::features
 Holds bit-wise OR`ed configuration feature flags. More...
 
uint32_t NvMediaEncodeConfigAV1::gopLength
 Holds the number of pictures in one GOP. More...
 
NvMediaEncodeRCParams NvMediaEncodeConfigAV1::rcParams
 Holds the rate control parameters for the current encoding session. More...
 
uint32_t NvMediaEncodeConfigAV1::idrPeriod
 Holds the IDR interval. More...
 
uint32_t NvMediaEncodeConfigAV1::base_qindex
 Specifies quant base index (used only when rc_mode = 0) for each segment 0...255. More...
 
int32_t NvMediaEncodeConfigAV1::delta_y_dc_q
 Specifies explicit qindex adjustment for y dccoefficient, -15...15. More...
 
int32_t NvMediaEncodeConfigAV1::delta_uv_dc
 Specifies qindex adjustment for uv accoefficient, -15...15. More...
 
int32_t NvMediaEncodeConfigAV1::delta_uv_ac
 Specifies qindex adjustment for uv dccoefficient, -15...15. More...
 
NvMediaEncodeQP NvMediaEncodeConfigAV1::initQP
 Holds Initial QP parameters. More...
 
NvMediaEncodeQP NvMediaEncodeConfigAV1::maxQP
 Holds maximum QP parameters. More...
 
NvMediaEncodeQuality NvMediaEncodeConfigAV1::quality
 Holds the encode quality pre-set. More...
 
NvMediaBool NvMediaEncodeConfigAV1::disableCdfUpdate
 Set to NVMEDIA_TRUE to disable CDF update. More...
 
uint32_t NvMediaEncodeConfigAV1::reserved [19]
 Reserved Bytes. More...
 
uint32_t NvMediaEncodeInitializeParamsAV1::encodeWidth
 Holds the encode width. More...
 
uint32_t NvMediaEncodeInitializeParamsAV1::encodeHeight
 Holds the encode height. More...
 
NvMediaBool NvMediaEncodeInitializeParamsAV1::enableLimitedRGB
 Holds a flag indicating whether input is limited-RGB (16-235). More...
 
uint32_t NvMediaEncodeInitializeParamsAV1::frameRateNum
 Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint32_t NvMediaEncodeInitializeParamsAV1::frameRateDen
 Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint8_t NvMediaEncodeInitializeParamsAV1::profile
 Holds the encoding profile. More...
 
uint8_t NvMediaEncodeInitializeParamsAV1::level
 Holds the encoding level. More...
 
uint8_t NvMediaEncodeInitializeParamsAV1::maxNumRefFrames
 Holds the max reference numbers used for encoding. More...
 
NvMediaBool NvMediaEncodeInitializeParamsAV1::enableSsimRdo
 Set to NVMEDIA_TRUE to enable SSIM RDO. More...
 
NvMediaBool NvMediaEncodeInitializeParamsAV1::enableTileEncode
 Set to NVMEDIA_TRUE to enable Multiple tile mode. More...
 
uint8_t NvMediaEncodeInitializeParamsAV1::log2NumTilesInRow
 Holds the log2 value of number of tiles used in a row. More...
 
uint8_t NvMediaEncodeInitializeParamsAV1::log2NumTilesInCol
 Holds the log2 value of number of tiles used in a column. More...
 
uint8_t NvMediaEncodeInitializeParamsAV1::frameRestorationType
 
NvMediaBool NvMediaEncodeInitializeParamsAV1::enableBiCompound
 
NvMediaBool NvMediaEncodeInitializeParamsAV1::enableUniCompound
 
NvMediaBool NvMediaEncodeInitializeParamsAV1::enableInternalHighBitDepth
 
NvMediaBool NvMediaEncodeInitializeParamsAV1::enableExternalMEHints
 Holds a flag indicating whether to enable or disable the external ME hints. More...
 
NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodeInitializeParamsAV1::maxMEHintCountsPerBlock [2]
 If Client wants to pass external motion vectors in NvMediaEncodePicParamsVP9 meExternalHints buffer it must specify the maximum number of hint candidates, per block and per direction, for the encode session. More...
 
uint32_t NvMediaEncodeInitializeParamsAV1::reserved [20]
 Reserved Bytes. More...
 
NvMediaEncodePicType NvMediaEncodePicParamsAV1::pictureType
 Holds input picture type. More...
 
uint32_t NvMediaEncodePicParamsAV1::encodePicFlags
 Holds bit-wise OR`ed encode pic flags. More...
 
uint32_t NvMediaEncodePicParamsAV1::nextBFrames
 Holds the number of B-frames that follow the current frame. More...
 
NvMediaEncodeRCParams NvMediaEncodePicParamsAV1::rcParams
 Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE is set in the encodePicFlags. More...
 
NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodePicParamsAV1::meHintCountsPerBlock [2]
 Holds the number of hint candidates per block per direction for the current frame. More...
 
NvMediaEncodeExternalMEHintNvMediaEncodePicParamsAV1::meExternalHints
 Holds the pointer to ME external hints for the current frame. More...
 
uint32_t NvMediaEncodePicParamsAV1::reserved [20]
 Reserved Bytes. More...
 

Macro Definition Documentation

◆ NVMEDIA_COMMON_ENCODE_VERSION_MAJOR

#define NVMEDIA_COMMON_ENCODE_VERSION_MAJOR   1

Major Version number.

Definition at line 39 of file tvmr/include/nvmedia_common_encode.h.

◆ NVMEDIA_COMMON_ENCODE_VERSION_MINOR

#define NVMEDIA_COMMON_ENCODE_VERSION_MINOR   6

Minor Version number.

Definition at line 41 of file tvmr/include/nvmedia_common_encode.h.

◆ NVMEDIA_ENCODE_INFINITE_GOPLENGTH

#define NVMEDIA_ENCODE_INFINITE_GOPLENGTH   0xFFFFFFFFU

Infinite GOP length so that keyframes are not inserted automatically.

Definition at line 53 of file tvmr/include/nvmedia_common_encode.h.

◆ NVMEDIA_VIDEO_ENCODER_TIMEOUT_INFINITE

#define NVMEDIA_VIDEO_ENCODER_TIMEOUT_INFINITE

Infinite time-out for NvMediaVideoEncoderBitsAvailable.

Definition at line 47 of file tvmr/include/nvmedia_common_encode.h.

Enumeration Type Documentation

◆ NvMediaBlockingType

Blocking type.

Enumerator
NVMEDIA_ENCODE_BLOCKING_TYPE_NEVER 

Never blocks.

NVMEDIA_ENCODE_BLOCKING_TYPE_IF_PENDING 

Block only when operation is pending.

NVMEDIA_ENCODE_BLOCKING_TYPE_NEVER 

Never blocks.

NVMEDIA_ENCODE_BLOCKING_TYPE_IF_PENDING 

Block only when operation is pending.

Definition at line 189 of file tvmr/include/nvmedia_common_encode.h.

◆ NvMediaEncodeParamsRCMode

Rate Control Modes.

Enumerator
NVMEDIA_ENCODE_PARAMS_RC_CBR 

Constant bitrate mode.

NVMEDIA_ENCODE_PARAMS_RC_CONSTQP 

Constant QP mode.

NVMEDIA_ENCODE_PARAMS_RC_VBR 

Variable bitrate mode.

NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP 

Variable bitrate mode with MinQP.

This value is not supported in the QNX Safety build.

Deprecated:
This feature will be deprecated in a future release.
NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP 

Constant bitrate mode with MinQP.

This value is not supported in the QNX Safety build.

Deprecated:
This feature will be deprecated in a future release.
NVMEDIA_ENCODE_PARAMS_RC_CBR 

Constant bitrate mode.

NVMEDIA_ENCODE_PARAMS_RC_CONSTQP 

Constant QP mode.

NVMEDIA_ENCODE_PARAMS_RC_VBR 

Variable bitrate mode.

NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP 

Variable bitrate mode with MinQP.

This value is not supported in the QNX Safety build.

Deprecated:
This feature will be deprecated in a future release.
NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP 

Constant bitrate mode with MinQP.

This value is not supported in the QNX Safety build.

Deprecated:
This feature will be deprecated in a future release.

Definition at line 75 of file tvmr/include/nvmedia_common_encode.h.

Variable Documentation

◆ @38

union { ... }

Holds the pointer to ME external hints for the current frame.

The size of ME hint buffer must be equal to number of macroblocks multiplied by the total number of candidates per macroblock. The total number of candidates per MB per direction =

1*meHintCountsPerBlock[Lx].numCandsPerBlk16x16 +
2*meHintCountsPerBlock[Lx].numCandsPerBlk16x8 +
2*meHintCountsPerBlock[Lx].numCandsPerBlk8x16 +
4*meHintCountsPerBlock[Lx].numCandsPerBlk8x8

For frames using bidirectional ME, the total number of candidates for a single macroblock is the sum of the total number of candidates per MB for each direction (L0 and L1).

If no external ME hints are needed, set this field to NULL.

Deprecated:
This feature will be deprecated in a future release.

◆ adaptiveTransformMode

NvMediaEncodeH264AdaptiveTransformMode NvMediaEncodeConfigH264::adaptiveTransformMode

Holds the Adaptive Transform Mode.

Definition at line 774 of file tvmr/include/nvmedia_common_encode.h.

◆ aspectRatioIdc [1/2]

uint8_t NvMediaEncodeConfigH264VUIParams::aspectRatioIdc

Holds the aspect ratio IDC (as defined in Annex E of the ITU-T Specification).

Definition at line 574 of file tvmr/include/nvmedia_common_encode.h.

◆ aspectRatioIdc [2/2]

uint8_t NvMediaEncodeConfigH265VUIParams::aspectRatioIdc

Holds the aspect ratio IDC (as defined in Annex E of the ITU-T specification).

Definition at line 1073 of file tvmr/include/nvmedia_common_encode.h.

◆ aspectRatioInfoPresentFlag [1/2]

NvMediaBool NvMediaEncodeConfigH264VUIParams::aspectRatioInfoPresentFlag

If set to NVMEDIA_TRUE, it specifies that the aspectRatioIdc is present.

Definition at line 571 of file tvmr/include/nvmedia_common_encode.h.

◆ aspectRatioInfoPresentFlag [2/2]

NvMediaBool NvMediaEncodeConfigH265VUIParams::aspectRatioInfoPresentFlag

If set to NVMEDIA_TRUE, specifies the aspectRatioIdc is present.

Definition at line 1070 of file tvmr/include/nvmedia_common_encode.h.

◆ aspectSARHeight [1/2]

uint16_t NvMediaEncodeConfigH264VUIParams::aspectSARHeight

If aspectRatioIdc is Extended SAR then it indicates vertical size of the sample aspect ratio (in the same arbitrary units as aspectSARWidth)

Definition at line 580 of file tvmr/include/nvmedia_common_encode.h.

◆ aspectSARHeight [2/2]

uint16_t NvMediaEncodeConfigH265VUIParams::aspectSARHeight

If aspectRatioIdc is Extended SAR it indicates vertical size of the sample aspect ratio (in the same arbitrary units as aspectSARWidth).

Definition at line 1079 of file tvmr/include/nvmedia_common_encode.h.

◆ aspectSARWidth [1/2]

uint16_t NvMediaEncodeConfigH264VUIParams::aspectSARWidth

If aspectRatioIdc is Extended SAR then it indicates horizontal size of the sample aspect ratio (in arbitrary units).

Definition at line 577 of file tvmr/include/nvmedia_common_encode.h.

◆ aspectSARWidth [2/2]

uint16_t NvMediaEncodeConfigH265VUIParams::aspectSARWidth

If aspectRatioIdc is Extended SAR it indicates horizontal size of the sample aspect ratio (in arbitrary units).

Definition at line 1076 of file tvmr/include/nvmedia_common_encode.h.

◆ averageBitRate [1/5]

uint32_t NvMediaEncodeRCParams::averageBitRate

Holds the average bitrate (in bits/sec) used for encoding.

Definition at line 106 of file tvmr/include/nvmedia_common_encode.h.

◆ averageBitRate [2/5]

uint32_t { ... } ::averageBitRate

Holds the average bitrate (in bits/sec) used for encoding.

Definition at line 106 of file tvmr/include/nvmedia_common_encode.h.

◆ averageBitRate [3/5]

uint32_t { ... } ::averageBitRate

Holds the average bitrate (in bits/sec) used for encoding.

Definition at line 123 of file tvmr/include/nvmedia_common_encode.h.

◆ averageBitRate [4/5]

uint32_t { ... } ::averageBitRate

Holds the average bitrate (in bits/sec) used for encoding.

Definition at line 137 of file tvmr/include/nvmedia_common_encode.h.

◆ averageBitRate [5/5]

uint32_t { ... } ::averageBitRate

Holds the average bitrate (in bits/sec) used for encoding.

Definition at line 153 of file tvmr/include/nvmedia_common_encode.h.

◆ base_qindex [1/3]

uint32_t NvMediaEncodeConfigVP9::base_qindex

Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS to set the following parameters.

Specifies quant base index (used only when rc_mode = 0) for each segment 0...255. This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS.

Definition at line 1576 of file tvmr/include/nvmedia_common_encode.h.

◆ base_qindex [2/3]

uint32_t NvMediaEncodeConfigVP8::base_qindex

Set the feature flag NVMEDIA_ENCODE_CONFIG_VP8_ENABLE_QUANTIZATION_PARAMS to set the following parameters.

Specifies quant base index (used only when rc_mode = 0) for each segment 0...255

Definition at line 1779 of file tvmr/include/nvmedia_common_encode.h.

◆ base_qindex [3/3]

uint32_t NvMediaEncodeConfigAV1::base_qindex

Specifies quant base index (used only when rc_mode = 0) for each segment 0...255.

This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_AV1_ENABLE_QUANTIZATION_PARAMS.

Definition at line 1914 of file tvmr/include/nvmedia_common_encode.h.

◆ bConstFrameQP

NvMediaBool NvMediaEncodeRCParams::bConstFrameQP

Use constant QP at frame level or MB row level.


Value range: One of the following:

  • NVMEDIA_TRUE for constant QP at frame level.
  • NVMEDIA_FALSE for constant QP at MB row level.
    Note
    This field is taken into consideration when the rate control mode is anything other than constQP.

Definition at line 172 of file tvmr/include/nvmedia_common_encode.h.

◆ bdirectMode

NvMediaEncodeH264BDirectMode NvMediaEncodeConfigH264::bdirectMode

Holds the BDirect mode.

Definition at line 776 of file tvmr/include/nvmedia_common_encode.h.

◆ bitstreamRestrictionFlag [1/2]

NvMediaBool NvMediaEncodeConfigH264VUIParams::bitstreamRestrictionFlag

Holds the bitstream restriction info (as defined in Annex E of the ITU-T Specification).

Definition at line 610 of file tvmr/include/nvmedia_common_encode.h.

◆ bitstreamRestrictionFlag [2/2]

NvMediaBool NvMediaEncodeConfigH265VUIParams::bitstreamRestrictionFlag

Specified the bitstream restriction info (as defined in Annex E of the ITU-T Specification).

Definition at line 1109 of file tvmr/include/nvmedia_common_encode.h.

◆ bmode_ref_lf_delta_enabled [1/2]

NvMediaBool NvMediaEncodeConfigVP9::bmode_ref_lf_delta_enabled

Set it to true if MB-level loop filter adjustment is on.

Definition at line 1565 of file tvmr/include/nvmedia_common_encode.h.

◆ bmode_ref_lf_delta_enabled [2/2]

NvMediaBool NvMediaEncodeConfigVP8::bmode_ref_lf_delta_enabled

Set it to true if MB-level loop filter adjustment is on.

Definition at line 1773 of file tvmr/include/nvmedia_common_encode.h.

◆ bmode_ref_lf_delta_update [1/2]

NvMediaBool NvMediaEncodeConfigVP9::bmode_ref_lf_delta_update

Set it to true if MB-level loop filter adjustment delta values are updated.

Definition at line 1568 of file tvmr/include/nvmedia_common_encode.h.

◆ bmode_ref_lf_delta_update [2/2]

NvMediaBool NvMediaEncodeConfigVP8::bmode_ref_lf_delta_update

Set it to true if MB-level loop filter adjustment delta values are updated.

Definition at line 1775 of file tvmr/include/nvmedia_common_encode.h.

◆ cbr [1/2]

struct { ... } NvMediaEncodeRCParams::cbr

Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR mode.

◆ cbr [2/2]

struct { ... } ::cbr

Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR mode.

◆ cbr_minqp [1/2]

struct { ... } NvMediaEncodeRCParams::cbr_minqp

Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP mode.

◆ cbr_minqp [2/2]

struct { ... } ::cbr_minqp

Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP mode.

◆ colourDescriptionPresentFlag [1/2]

NvMediaBool NvMediaEncodeConfigH264VUIParams::colourDescriptionPresentFlag

If set to NVMEDIA_TRUE, it specifies that the colourPrimaries, transferCharacteristics and colourMatrix are present.

Definition at line 596 of file tvmr/include/nvmedia_common_encode.h.

◆ colourDescriptionPresentFlag [2/2]

NvMediaBool NvMediaEncodeConfigH265VUIParams::colourDescriptionPresentFlag

If set to NVMEDIA_TRUE, it specifies that the colourPrimaries, transferCharacteristics, and colourMatrix are present.

Definition at line 1095 of file tvmr/include/nvmedia_common_encode.h.

◆ colourMatrix

uint8_t NvMediaEncodeConfigH264VUIParams::colourMatrix

Holds the matrix coefficients used in deriving the luma and chroma from the RGB primaries (as defined in Annex E of the ITU-T Specification).

Definition at line 605 of file tvmr/include/nvmedia_common_encode.h.

◆ colourPrimaries [1/2]

uint8_t NvMediaEncodeConfigH264VUIParams::colourPrimaries

Holds color primaries for converting to RGB (as defined in Annex E of the ITU-T Specification).

Definition at line 599 of file tvmr/include/nvmedia_common_encode.h.

◆ colourPrimaries [2/2]

uint8_t NvMediaEncodeConfigH265VUIParams::colourPrimaries

Holds color primaries for converting to RGB (as defined in Annex E of the ITU-T Specification).

Definition at line 1098 of file tvmr/include/nvmedia_common_encode.h.

◆ const_qp [1/2]

struct { ... } ::const_qp

Parameters for NVMEDIA_ENCODE_PARAMS_RC_CONSTQP mode.

◆ const_qp [2/2]

struct { ... } NvMediaEncodeRCParams::const_qp

Parameters for NVMEDIA_ENCODE_PARAMS_RC_CONSTQP mode.

◆ constQP [1/2]

NvMediaEncodeQP { ... } ::constQP

Holds the initial QP to be used for encoding, these values would be used for all frames in Constant QP mode.

Definition at line 119 of file tvmr/include/nvmedia_common_encode.h.

◆ constQP [2/2]

NvMediaEncodeQP NvMediaEncodeRCParams::constQP

Holds the initial QP to be used for encoding, these values would be used for all frames in Constant QP mode.

Definition at line 119 of file tvmr/include/nvmedia_common_encode.h.

◆ data

uint8_t NvMediaNalData::data

header data passed on this buffer

Definition at line 563 of file tvmr/include/nvmedia_common_encode.h.

◆ delta_uv_ac [1/2]

int32_t NvMediaEncodeConfigVP9::delta_uv_ac

Specifies qindex adjustment for uv dccoefficient, -15...15.

This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS.

Definition at line 1588 of file tvmr/include/nvmedia_common_encode.h.

◆ delta_uv_ac [2/2]

int32_t NvMediaEncodeConfigAV1::delta_uv_ac

Specifies qindex adjustment for uv dccoefficient, -15...15.

This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_AV1_ENABLE_QUANTIZATION_PARAMS.

Definition at line 1923 of file tvmr/include/nvmedia_common_encode.h.

◆ delta_uv_dc [1/2]

int32_t NvMediaEncodeConfigVP9::delta_uv_dc

Specifies qindex adjustment for uv accoefficient, -15...15.

This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS.

Definition at line 1584 of file tvmr/include/nvmedia_common_encode.h.

◆ delta_uv_dc [2/2]

int32_t NvMediaEncodeConfigAV1::delta_uv_dc

Specifies qindex adjustment for uv accoefficient, -15...15.

This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_AV1_ENABLE_QUANTIZATION_PARAMS.

Definition at line 1920 of file tvmr/include/nvmedia_common_encode.h.

◆ delta_y_dc_q [1/2]

int32_t NvMediaEncodeConfigVP9::delta_y_dc_q

Specifies explicit qindex adjustment for y dccoefficient, -15...15.

This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS.

Definition at line 1580 of file tvmr/include/nvmedia_common_encode.h.

◆ delta_y_dc_q [2/2]

int32_t NvMediaEncodeConfigAV1::delta_y_dc_q

Specifies explicit qindex adjustment for y dccoefficient, -15...15.

This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_AV1_ENABLE_QUANTIZATION_PARAMS.

Definition at line 1917 of file tvmr/include/nvmedia_common_encode.h.

◆ dir

uint32_t NvMediaEncodeExternalMEHint::dir

Holds the direction of motion estimation .

0=L0 1=L1.

Definition at line 640 of file tvmr/include/nvmedia_common_encode.h.

◆ disableCdfUpdate

NvMediaBool NvMediaEncodeConfigAV1::disableCdfUpdate

Set to NVMEDIA_TRUE to disable CDF update.

Definition at line 1937 of file tvmr/include/nvmedia_common_encode.h.

◆ disableDeblockingFilter

uint8_t NvMediaEncodeConfigH265::disableDeblockingFilter

Holds disable the deblocking filter.

Note
This feature is not supported.

Definition at line 1227 of file tvmr/include/nvmedia_common_encode.h.

◆ disableDeblockingFilterIDC

uint8_t NvMediaEncodeConfigH264::disableDeblockingFilterIDC

Holds the deblocking filter mode.


Value range: 0 to 2 in increments of 1.

Definition at line 772 of file tvmr/include/nvmedia_common_encode.h.

◆ enableAllIFrames [1/2]

uint32_t NvMediaEncodeInitializeParamsH264::enableAllIFrames

Encode all frames as I frames.


Value range: 0 to disable, non-zero value to enable

Definition at line 985 of file tvmr/include/nvmedia_common_encode.h.

◆ enableAllIFrames [2/2]

uint32_t NvMediaEncodeInitializeParamsH265::enableAllIFrames

Encode all frames as I frames.


Value range: 0 to disable, non-zero value to enable

Definition at line 1408 of file tvmr/include/nvmedia_common_encode.h.

◆ enableBiCompound

NvMediaBool NvMediaEncodeInitializeParamsAV1::enableBiCompound

Definition at line 1991 of file tvmr/include/nvmedia_common_encode.h.

◆ enableExternalMEHints [1/4]

NvMediaBool NvMediaEncodeInitializeParamsH264::enableExternalMEHints

Set to NVMEDIA_TRUE to enable external ME hints.

Currently this feature is not supported if B frames are used. This setting is not supported in the QNX Safety build.

Deprecated:
This feature will be deprecated in a future release.

Definition at line 920 of file tvmr/include/nvmedia_common_encode.h.

◆ enableExternalMEHints [2/4]

NvMediaBool NvMediaEncodeInitializeParamsH265::enableExternalMEHints

Set to NVMEDIA_TRUE to enable external ME hints.

Currently this feature is not supported if B frames are used.

Deprecated:
This feature will be deprecated in a future release.

Definition at line 1349 of file tvmr/include/nvmedia_common_encode.h.

◆ enableExternalMEHints [3/4]

NvMediaBool NvMediaEncodeInitializeParamsVP9::enableExternalMEHints

Holds a flag indicating whether to enable or disable the external ME hints.

Set to NVMEDIA_TRUE to enable external ME hints. Currently this feature is not supported if B frames are used.

Deprecated:
This feature will be deprecated in a future release.

Definition at line 1651 of file tvmr/include/nvmedia_common_encode.h.

◆ enableExternalMEHints [4/4]

NvMediaBool NvMediaEncodeInitializeParamsAV1::enableExternalMEHints

Holds a flag indicating whether to enable or disable the external ME hints.

Set to NVMEDIA_TRUE to enable external ME hints. Currently this feature is not supported if B frames are used.

Definition at line 1999 of file tvmr/include/nvmedia_common_encode.h.

◆ enableExternalPictureRC [1/2]

uint32_t NvMediaEncodeInitializeParamsH264::enableExternalPictureRC

Enable external picture rate control.

Note
This feature is not supported.

Definition at line 982 of file tvmr/include/nvmedia_common_encode.h.

◆ enableExternalPictureRC [2/2]

uint32_t NvMediaEncodeInitializeParamsH265::enableExternalPictureRC

Enable external picture rate control.

Note
This feature is not supported.

Definition at line 1405 of file tvmr/include/nvmedia_common_encode.h.

◆ enableInternalHighBitDepth

NvMediaBool NvMediaEncodeInitializeParamsAV1::enableInternalHighBitDepth

Definition at line 1995 of file tvmr/include/nvmedia_common_encode.h.

◆ enableLimitedRGB [1/4]

NvMediaBool NvMediaEncodeInitializeParamsH264::enableLimitedRGB

Set this to NVMEDIA_TRUE for limited-RGB (16-235) input.

Note
This feature is not supported.

Definition at line 870 of file tvmr/include/nvmedia_common_encode.h.

◆ enableLimitedRGB [2/4]

NvMediaBool NvMediaEncodeInitializeParamsH265::enableLimitedRGB

Set this to NVMEDIA_TRUE for limited-RGB (16-235) input.

Note
This feature is not supported.

Definition at line 1294 of file tvmr/include/nvmedia_common_encode.h.

◆ enableLimitedRGB [3/4]

NvMediaBool NvMediaEncodeInitializeParamsVP9::enableLimitedRGB

Holds a flag indicating whether input is limited-RGB (16-235).

Set this to NVMEDIA_TRUE for limited-RGB (16-235) input.

Note
This feature is not supported.

Definition at line 1634 of file tvmr/include/nvmedia_common_encode.h.

◆ enableLimitedRGB [4/4]

NvMediaBool NvMediaEncodeInitializeParamsAV1::enableLimitedRGB

Holds a flag indicating whether input is limited-RGB (16-235).

Set this to NVMEDIA_TRUE for limited-RGB (16-235) input.

Definition at line 1953 of file tvmr/include/nvmedia_common_encode.h.

◆ enableMVC [1/2]

NvMediaBool NvMediaEncodeInitializeParamsH264::enableMVC

If client want to do MVC encoding then this flag need to be set.

Note
This feature is not supported.

Definition at line 942 of file tvmr/include/nvmedia_common_encode.h.

◆ enableMVC [2/2]

NvMediaBool NvMediaEncodeInitializeParamsH265::enableMVC

If client want to do MVC encoding then this flag need to be set.

Note
This feature is not supported.

Definition at line 1371 of file tvmr/include/nvmedia_common_encode.h.

◆ enableReconCRC [1/2]

NvMediaBool NvMediaEncodeInitializeParamsH264::enableReconCRC

Enable support for recon CRC generation.

NVMEDIA will allocate extra surface for recon CRC calculation. This can be enabled at run time for any frame by enabling recon CRC and passing recon CRC rectangle.

Note
This feature is not supported.

Definition at line 939 of file tvmr/include/nvmedia_common_encode.h.

◆ enableReconCRC [2/2]

NvMediaBool NvMediaEncodeInitializeParamsH265::enableReconCRC

Enable support for recon CRC generation.

NVMEDIA will allocate extra surface for recon CRC calculation. This can be enabled at run time for any frame by enabling recon CRC and passing recon CRC rectangle.

Note
This feature is not supported.

Definition at line 1368 of file tvmr/include/nvmedia_common_encode.h.

◆ enableROIEncode [1/2]

NvMediaBool NvMediaEncodeInitializeParamsH264::enableROIEncode

Enable region of interest encoding.

Region of interest encoding parameters are passed with Input extra data parameters.

Note
This feature is not supported.

Definition at line 951 of file tvmr/include/nvmedia_common_encode.h.

◆ enableROIEncode [2/2]

NvMediaBool NvMediaEncodeInitializeParamsH265::enableROIEncode

Enable region of interest encoding.

Region of interest encoding parameters are passed with Input extra data parameters

Note
Setting input extra data is an internal feature. As a result, enableROIEncode is only supported internally.

Definition at line 1376 of file tvmr/include/nvmedia_common_encode.h.

◆ enableSliceEncode [1/2]

NvMediaBool NvMediaEncodeInitializeParamsH264::enableSliceEncode

Use slice encode to reduce latency in getting encoded buffers.

This setting is not supported in the QNX Safety build.

Definition at line 954 of file tvmr/include/nvmedia_common_encode.h.

◆ enableSliceEncode [2/2]

NvMediaBool NvMediaEncodeInitializeParamsH265::enableSliceEncode

use slice encode to reduce latency in getting encoded buffers.

Definition at line 1378 of file tvmr/include/nvmedia_common_encode.h.

◆ enableSliceLevelEncode

NvMediaBool NvMediaEncodeInitializeParamsH265::enableSliceLevelEncode

Set this to NVMEDIA_TRUE for slice level encode.

Definition at line 1296 of file tvmr/include/nvmedia_common_encode.h.

◆ enableSourceHalfScaled [1/2]

NvMediaBool NvMediaEncodeInitializeParamsH264::enableSourceHalfScaled

Enable 2 pass RC with quarter resolution first pass.

Note
This feature is not supported.

Definition at line 976 of file tvmr/include/nvmedia_common_encode.h.

◆ enableSourceHalfScaled [2/2]

NvMediaBool NvMediaEncodeInitializeParamsH265::enableSourceHalfScaled

Enable 2 pass RC with quarter resolution first pass.

Note
This feature is not supported.

Definition at line 1399 of file tvmr/include/nvmedia_common_encode.h.

◆ enableSsimRdo

NvMediaBool NvMediaEncodeInitializeParamsAV1::enableSsimRdo

Set to NVMEDIA_TRUE to enable SSIM RDO.

Definition at line 1981 of file tvmr/include/nvmedia_common_encode.h.

◆ enableTileEncode

NvMediaBool NvMediaEncodeInitializeParamsAV1::enableTileEncode

Set to NVMEDIA_TRUE to enable Multiple tile mode.

Definition at line 1983 of file tvmr/include/nvmedia_common_encode.h.

◆ enableTwoPassRC [1/2]

NvMediaBool NvMediaEncodeInitializeParamsH264::enableTwoPassRC

Enable 2 pass RC support.

First pass RC can be run on full or quarter resolution.

Note
enableTwoPassRC is an internal feature.

Definition at line 968 of file tvmr/include/nvmedia_common_encode.h.

◆ enableTwoPassRC [2/2]

NvMediaBool NvMediaEncodeInitializeParamsH265::enableTwoPassRC

Enable 2 pass RC support.

First pass RC can be run on full or quarter resolution.

Note
enableTwoPassRC is an internal feature.

Definition at line 1391 of file tvmr/include/nvmedia_common_encode.h.

◆ enableUniCompound

NvMediaBool NvMediaEncodeInitializeParamsAV1::enableUniCompound

Definition at line 1993 of file tvmr/include/nvmedia_common_encode.h.

◆ enableWeightedPrediction [1/2]

uint8_t NvMediaEncodeConfigH264::enableWeightedPrediction

Enable/disable weighted prediction.


Value range: 0 to disable, non-zero value to enable

Definition at line 833 of file tvmr/include/nvmedia_common_encode.h.

◆ enableWeightedPrediction [2/2]

uint8_t NvMediaEncodeConfigH265::enableWeightedPrediction

Holds enable weighted prediction.

Note
This feature is not supported.

Definition at line 1230 of file tvmr/include/nvmedia_common_encode.h.

◆ encodeHeight [1/5]

uint16_t NvMediaEncodeInitializeParamsH264::encodeHeight

Holds the encode height.


Value range: 64 to 4096 in increments of 2.

Definition at line 866 of file tvmr/include/nvmedia_common_encode.h.

◆ encodeHeight [2/5]

uint16_t NvMediaEncodeInitializeParamsH265::encodeHeight

Holds the encode height.


Value range: 64 to 4096 in increments of 2.

Definition at line 1290 of file tvmr/include/nvmedia_common_encode.h.

◆ encodeHeight [3/5]

uint32_t NvMediaEncodeInitializeParamsVP9::encodeHeight

Holds the encode height.

Definition at line 1630 of file tvmr/include/nvmedia_common_encode.h.

◆ encodeHeight [4/5]

uint32_t NvMediaEncodeInitializeParamsVP8::encodeHeight

Holds the encode height.

Definition at line 1829 of file tvmr/include/nvmedia_common_encode.h.

◆ encodeHeight [5/5]

uint32_t NvMediaEncodeInitializeParamsAV1::encodeHeight

Holds the encode height.

Definition at line 1950 of file tvmr/include/nvmedia_common_encode.h.

◆ encodePicFlags [1/5]

uint32_t NvMediaEncodePicParamsH264::encodePicFlags

Holds bit-wise OR`ed encode pic flags.

See enum NvMediaEncodePicFlags.

Definition at line 998 of file tvmr/include/nvmedia_common_encode.h.

◆ encodePicFlags [2/5]

uint32_t NvMediaEncodePicParamsH265::encodePicFlags

Holds bit-wise OR`ed encode pic flags.

See enum NvMediaEncodePicFlags.

Definition at line 1437 of file tvmr/include/nvmedia_common_encode.h.

◆ encodePicFlags [3/5]

uint32_t NvMediaEncodePicParamsVP9::encodePicFlags

Holds bit-wise OR`ed encode pic flags.

See enum NvMediaEncodePicFlags.

Definition at line 1676 of file tvmr/include/nvmedia_common_encode.h.

◆ encodePicFlags [4/5]

uint32_t NvMediaEncodePicParamsVP8::encodePicFlags

Holds bit-wise OR`ed encode pic flags.

See enum NvMediaEncodePicFlags.

Definition at line 1851 of file tvmr/include/nvmedia_common_encode.h.

◆ encodePicFlags [5/5]

uint32_t NvMediaEncodePicParamsAV1::encodePicFlags

Holds bit-wise OR`ed encode pic flags.

See enum NvMediaEncodePicFlags.

Definition at line 2019 of file tvmr/include/nvmedia_common_encode.h.

◆ encodeWidth [1/5]

uint16_t NvMediaEncodeInitializeParamsH264::encodeWidth

Holds the encode width.


Value range: 160 to 4096 in increments of 2.

Definition at line 859 of file tvmr/include/nvmedia_common_encode.h.

◆ encodeWidth [2/5]

uint16_t NvMediaEncodeInitializeParamsH265::encodeWidth

Holds the encode width.


Value range: 160 to 4096 in increments of 2.

Definition at line 1283 of file tvmr/include/nvmedia_common_encode.h.

◆ encodeWidth [3/5]

uint32_t NvMediaEncodeInitializeParamsVP9::encodeWidth

Holds the encode width.

Definition at line 1628 of file tvmr/include/nvmedia_common_encode.h.

◆ encodeWidth [4/5]

uint32_t NvMediaEncodeInitializeParamsVP8::encodeWidth

Holds the encode width.

Definition at line 1827 of file tvmr/include/nvmedia_common_encode.h.

◆ encodeWidth [5/5]

uint32_t NvMediaEncodeInitializeParamsAV1::encodeWidth

Holds the encode width.

Definition at line 1948 of file tvmr/include/nvmedia_common_encode.h.

◆ entropyCodingMode

NvMediaEncodeH264EntropyCodingMode NvMediaEncodeConfigH264::entropyCodingMode

Holds the entropy coding mode.

Definition at line 778 of file tvmr/include/nvmedia_common_encode.h.

◆ error_resilient

NvMediaBool NvMediaEncodeConfigVP9::error_resilient

Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_DISABLE_ERROR_RESILIENT to set the following parameter.

Enable Error resiliency. This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_DISABLE_ERROR_RESILIENT.

Definition at line 1611 of file tvmr/include/nvmedia_common_encode.h.

◆ features [1/5]

uint32_t NvMediaEncodeConfigH264::features

Holds bit-wise OR`ed configuration feature flags.

See enum NvMediaEncodeH264Features.

Definition at line 750 of file tvmr/include/nvmedia_common_encode.h.

◆ features [2/5]

uint32_t NvMediaEncodeConfigH265::features

Holds bit-wise OR`ed configuration feature flags.

See the NvMediaEncodeH265Features enum.

Definition at line 1206 of file tvmr/include/nvmedia_common_encode.h.

◆ features [3/5]

uint32_t NvMediaEncodeConfigVP9::features

Holds bit-wise OR`ed configuration feature flags.

See the NvMediaEncodeVP9Features enum.

Definition at line 1531 of file tvmr/include/nvmedia_common_encode.h.

◆ features [4/5]

uint32_t NvMediaEncodeConfigVP8::features

Holds bit-wise OR`ed configuration feature flags.

Definition at line 1747 of file tvmr/include/nvmedia_common_encode.h.

◆ features [5/5]

uint32_t NvMediaEncodeConfigAV1::features

Holds bit-wise OR`ed configuration feature flags.

TBD

Definition at line 1898 of file tvmr/include/nvmedia_common_encode.h.

◆ filter_level [1/2]

uint32_t NvMediaEncodeConfigVP9::filter_level

Specifies the loop filter strength for each segment.

Definition at line 1555 of file tvmr/include/nvmedia_common_encode.h.

◆ filter_level [2/2]

uint32_t NvMediaEncodeConfigVP8::filter_level

Specifies the loop filter strength for each segment.

Definition at line 1764 of file tvmr/include/nvmedia_common_encode.h.

◆ filter_type [1/2]

uint32_t NvMediaEncodeConfigVP9::filter_type

Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_LOOP_FILTER_PARAMS to change the following parameters.

Specifies the type of the filter used.
Value range: One of the following filter types:

  • 0: Eight-tap smooth
  • 1: Eight-tap
  • 2: Eight-tap sharp
  • 3: Bilinear
  • 4: Switchable

Definition at line 1553 of file tvmr/include/nvmedia_common_encode.h.

◆ filter_type [2/2]

uint32_t NvMediaEncodeConfigVP8::filter_type

Set the feature flag NVMEDIA_ENCODE_CONFIG_VP8_ENABLE_LOOP_FILTER_PARAMS to change the following parameters.

Specifies the type of the filter used. :0 eight-tap smooth, 1: eight-tap, 2: eight-tap sharp, 3: bilinear, 4: switchable

Definition at line 1762 of file tvmr/include/nvmedia_common_encode.h.

◆ frameRateDen [1/8]

uint32_t NvMediaEncodeInitializeParamsH264::frameRateDen

Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).


Value range: Frame rate can lie between 1 and 60 (float value).

Definition at line 878 of file tvmr/include/nvmedia_common_encode.h.

◆ frameRateDen [2/8]

uint32_t NvMediaEncodePicParamsH264::frameRateDen

Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).


Value range: Frame rate can lie between 1 and 60 (float value).

Definition at line 1053 of file tvmr/include/nvmedia_common_encode.h.

◆ frameRateDen [3/8]

uint32_t NvMediaEncodeInitializeParamsH265::frameRateDen

Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).


Value range: Frame rate can lie between 1 and 60 (float value).

Definition at line 1304 of file tvmr/include/nvmedia_common_encode.h.

◆ frameRateDen [4/8]

uint32_t NvMediaEncodePicParamsH265::frameRateDen

Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).


Value range: Frame rate can lie between 1 and 60 (float value).

Definition at line 1488 of file tvmr/include/nvmedia_common_encode.h.

◆ frameRateDen [5/8]

uint32_t NvMediaEncodeInitializeParamsVP9::frameRateDen

Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).

Definition at line 1640 of file tvmr/include/nvmedia_common_encode.h.

◆ frameRateDen [6/8]

uint32_t NvMediaEncodeInitializeParamsVP8::frameRateDen

Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).

Definition at line 1835 of file tvmr/include/nvmedia_common_encode.h.

◆ frameRateDen [7/8]

uint32_t NvMediaEncodePicParamsVP8::frameRateDen

Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).

Definition at line 1862 of file tvmr/include/nvmedia_common_encode.h.

◆ frameRateDen [8/8]

uint32_t NvMediaEncodeInitializeParamsAV1::frameRateDen

Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).

Definition at line 1959 of file tvmr/include/nvmedia_common_encode.h.

◆ frameRateNum [1/8]

uint32_t NvMediaEncodeInitializeParamsH264::frameRateNum

Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).


Value range: Frame rate can lie between 1 and 60 (float value).

Definition at line 874 of file tvmr/include/nvmedia_common_encode.h.

◆ frameRateNum [2/8]

uint32_t NvMediaEncodePicParamsH264::frameRateNum

Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).


Value range: Frame rate can lie between 1 and 60 (float value).

Definition at line 1049 of file tvmr/include/nvmedia_common_encode.h.

◆ frameRateNum [3/8]

uint32_t NvMediaEncodeInitializeParamsH265::frameRateNum

Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).


Value range: Frame rate can lie between 1 and 60 (float value).

Definition at line 1300 of file tvmr/include/nvmedia_common_encode.h.

◆ frameRateNum [4/8]

uint32_t NvMediaEncodePicParamsH265::frameRateNum

Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).


Value range: Frame rate can lie between 1 and 60 (float value).

Definition at line 1484 of file tvmr/include/nvmedia_common_encode.h.

◆ frameRateNum [5/8]

uint32_t NvMediaEncodeInitializeParamsVP9::frameRateNum

Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).

Definition at line 1637 of file tvmr/include/nvmedia_common_encode.h.

◆ frameRateNum [6/8]

uint32_t NvMediaEncodeInitializeParamsVP8::frameRateNum

Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).

Definition at line 1832 of file tvmr/include/nvmedia_common_encode.h.

◆ frameRateNum [7/8]

uint32_t NvMediaEncodePicParamsVP8::frameRateNum

Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).

Definition at line 1859 of file tvmr/include/nvmedia_common_encode.h.

◆ frameRateNum [8/8]

uint32_t NvMediaEncodeInitializeParamsAV1::frameRateNum

Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).

Definition at line 1956 of file tvmr/include/nvmedia_common_encode.h.

◆ frameRestorationType

uint8_t NvMediaEncodeInitializeParamsAV1::frameRestorationType

Definition at line 1989 of file tvmr/include/nvmedia_common_encode.h.

◆ gopLength [1/5]

uint32_t NvMediaEncodeConfigH264::gopLength

Holds the number of pictures in one GOP.

A low-latency application client can set goplength to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that keyframes are not inserted automatically.

Definition at line 754 of file tvmr/include/nvmedia_common_encode.h.

◆ gopLength [2/5]

uint32_t NvMediaEncodeConfigH265::gopLength

Holds the number of pictures in one GOP.

Low latency application client can set the goplength field to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that keyframes are not inserted automatically.

Definition at line 1210 of file tvmr/include/nvmedia_common_encode.h.

◆ gopLength [3/5]

uint32_t NvMediaEncodeConfigVP9::gopLength

Holds the number of pictures in one GOP.

Low-latency application client can set goplength to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that keyframes are not inserted automatically.

Definition at line 1535 of file tvmr/include/nvmedia_common_encode.h.

◆ gopLength [4/5]

uint32_t NvMediaEncodeConfigVP8::gopLength

Holds the number of pictures in one GOP.

Low-latency application client can set goplength to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that keyframes are not inserted automatically.

Definition at line 1751 of file tvmr/include/nvmedia_common_encode.h.

◆ gopLength [5/5]

uint32_t NvMediaEncodeConfigAV1::gopLength

Holds the number of pictures in one GOP.

Low-latency application client can set goplength to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that keyframes are not inserted automatically.

Definition at line 1902 of file tvmr/include/nvmedia_common_encode.h.

◆ h264VUIParameters

NvMediaEncodeConfigH264VUIParams * NvMediaEncodeConfigH264::h264VUIParameters

Holds the H.264 video usability information pamameters.

Set to NULL if VUI is not needed.

Definition at line 811 of file tvmr/include/nvmedia_common_encode.h.

◆ h265VUIParameters

NvMediaEncodeConfigH265VUIParams * NvMediaEncodeConfigH265::h265VUIParameters

Holds the H265 video usability info pamameters.

Set to NULL if VUI is not needed

Definition at line 1259 of file tvmr/include/nvmedia_common_encode.h.

◆ high_prec_mv

uint32_t NvMediaEncodeConfigVP9::high_prec_mv

Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_HIGH_PRECISION_MV to set the following parameter.

Specifies to enable high precision MV. This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_HIGH_PRECISION_MV.

Definition at line 1605 of file tvmr/include/nvmedia_common_encode.h.

◆ idrPeriod [1/4]

uint32_t NvMediaEncodeConfigH264::idrPeriod

Holds the IDR interval.

If not set, the interval is made equal to gopLength. A low-latency application client can set the IDR interval to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that IDR frames are not inserted automatically.

Definition at line 764 of file tvmr/include/nvmedia_common_encode.h.

◆ idrPeriod [2/4]

uint32_t NvMediaEncodeConfigH265::idrPeriod

Holds the IDR interval.

If not set, this is made equal to NvMediaEncodeConfigH265::gopLength. Low latency application client can set IDR interval to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that IDR frames are not inserted automatically.

Definition at line 1219 of file tvmr/include/nvmedia_common_encode.h.

◆ idrPeriod [3/4]

uint32_t NvMediaEncodeConfigVP9::idrPeriod

Holds the IDR interval.

If not set, this is made equal to gopLength in NvMediaEncodeConfigVP9. Low-latency application client can set IDR interval to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that IDR frames are not inserted automatically.

Definition at line 1542 of file tvmr/include/nvmedia_common_encode.h.

◆ idrPeriod [4/4]

uint32_t NvMediaEncodeConfigAV1::idrPeriod

Holds the IDR interval.

If not set, this is made equal to gopLength in NvMediaEncodeConfigVP9. Low-latency application client can set IDR interval to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that IDR frames are not inserted automatically.

Definition at line 1908 of file tvmr/include/nvmedia_common_encode.h.

◆ initQP [1/5]

NvMediaEncodeQP NvMediaEncodeConfigH264::initQP

Holds the initial QP parameters.

The client must set NVMEDIA_ENCODE_CONFIG_H264_INIT_QP in features to use this.
Value range: QP values can lie between 1 to 51 in increments of 1.

Definition at line 825 of file tvmr/include/nvmedia_common_encode.h.

◆ initQP [2/5]

NvMediaEncodeQP NvMediaEncodeConfigH265::initQP

Holds Initial QP parameters.

Client must set NVMEDIA_ENCODE_CONFIG_H265_INIT_QP in features to use this.
Value range: QP values can lie between 1 to 51 in increments of 1.

Definition at line 1266 of file tvmr/include/nvmedia_common_encode.h.

◆ initQP [3/5]

NvMediaEncodeQP NvMediaEncodeConfigVP9::initQP

Holds Initial QP parameters.

Client must set NVMEDIA_ENCODE_CONFIG_VP9_INIT_QP in features to use this. QP values should be within the range of 1 to 255

Definition at line 1615 of file tvmr/include/nvmedia_common_encode.h.

◆ initQP [4/5]

NvMediaEncodeQP NvMediaEncodeConfigVP8::initQP

Holds Initial QP parameters.

Client must set NVMEDIA_ENCODE_CONFIG_VP8_INIT_QP in features to use this. QP values should be within the range of 1 to 255

Definition at line 1813 of file tvmr/include/nvmedia_common_encode.h.

◆ initQP [5/5]

NvMediaEncodeQP NvMediaEncodeConfigAV1::initQP

Holds Initial QP parameters.

Client must set NVMEDIA_ENCODE_CONFIG_VP9_INIT_QP in features to use this. QP values should be within the range of 1 to 255

Definition at line 1927 of file tvmr/include/nvmedia_common_encode.h.

◆ intraRefreshCnt [1/2]

uint32_t NvMediaEncodeConfigH264::intraRefreshCnt

Holds the number of frames over which intra refresh happens.

This value must be less than or equal to intraRefreshPeriod. Set to zero to disable intra refresh functionality. If it is set to one, then after every intraRefreshPeriod frames the encoded P frame contains only intra predicted macroblocks. This value is used only if NVMEDIA_ENCODE_CONFIG_H264_ENABLE_INTRA_REFRESH is set in features.

Definition at line 799 of file tvmr/include/nvmedia_common_encode.h.

◆ intraRefreshCnt [2/2]

uint32_t NvMediaEncodeConfigH265::intraRefreshCnt

Holds the number of frames over which intra refresh will happen.

This value must be less than or equal to intraRefreshPeriod. Setting it to zero turns off the intra refresh functionality. Setting it to one essentially means that after every intraRefreshPeriod frames the encoded P frame contains only intra predicted macroblocks. This value is used only if the NVMEDIA_ENCODE_CONFIG_H265_ENABLE_INTRA_REFRESH is set in features.

Definition at line 1248 of file tvmr/include/nvmedia_common_encode.h.

◆ intraRefreshPeriod [1/2]

uint32_t NvMediaEncodeConfigH264::intraRefreshPeriod

Holds the interval between frames that triggers a new intra refresh cycle.

This cycle lasts for intraRefreshCnt frames. This value is used only if NVMEDIA_ENCODE_CONFIG_H264_ENABLE_INTRA_REFRESH is set in features. NVMEDIA_ENCODE_PIC_TYPE_P_INTRA_REFRESH picture type also triggers a new intra refresh cycle and resets the current intra refresh period. Set to zero to suppress triggering of automatic refresh cycles. In this case only NVMEDIA_ENCODE_PIC_TYPE_P_INTRA_REFRESH picture type can trigger a new refresh cycle.

Definition at line 790 of file tvmr/include/nvmedia_common_encode.h.

◆ intraRefreshPeriod [2/2]

uint32_t NvMediaEncodeConfigH265::intraRefreshPeriod

Holds the interval between frames that trigger a new intra refresh cycle and this cycle lasts for intraRefreshCnt frames.

This value is used only if the NVMEDIA_ENCODE_CONFIG_H265_ENABLE_INTRA_REFRESH is set in features. The NVMEDIA_ENCODE_PIC_TYPE_P_INTRA_REFRESH picture type also triggers a new intra-refresh cycle and resets the current intra-refresh period. Setting it to zero results in that no automatic refresh cycles are triggered. In this case only NVMEDIA_ENCODE_PIC_TYPE_P_INTRA_REFRESH picture type can trigger a new refresh cycle.

Definition at line 1240 of file tvmr/include/nvmedia_common_encode.h.

◆ lastOfMB

uint32_t NvMediaEncodeExternalMEHint::lastOfMB

Set to NVMEDIA_TRUE for the last MV of macroblock.

Set to true for the last MV of macroblock.

Definition at line 646 of file tvmr/include/nvmedia_common_encode.h.

◆ lastofPart

uint32_t NvMediaEncodeExternalMEHint::lastofPart

Set to NVMEDIA_TRUE for the last MV of (sub) partition

Set to true for the last MV of (sub) partition

Definition at line 644 of file tvmr/include/nvmedia_common_encode.h.

◆ level [1/3]

uint8_t NvMediaEncodeInitializeParamsH264::level

Holds the encoding level.

Client is recommended to set this to NVMEDIA_ENCODE_LEVEL_AUTOSELECT in order to enable the Encode interface to select the correct level. If a specific level needs to be configured, this field can be set to one of the enumerations from NvMediaEncodeLevel. If the specified level is lower than that which is required by the H264 standard, the encoder auto-corrects it to the minimum required level.

Definition at line 892 of file tvmr/include/nvmedia_common_encode.h.

◆ level [2/3]

uint8_t NvMediaEncodeInitializeParamsH265::level

Holds the encoding level.

Client is recommended to set this to NVMEDIA_ENCODE_LEVEL_H265_AUTOSELECT in order to enable the Encode interface to select the correct level. If a specific level needs to be configured, this field can be set to one of the enumerations from NvMediaEncodeLevelH265. If the specified level is lower than that which is required by the H265 standard, the encoder auto-corrects it to the minimum required level.

Definition at line 1318 of file tvmr/include/nvmedia_common_encode.h.

◆ level [3/3]

uint8_t NvMediaEncodeInitializeParamsAV1::level

Holds the encoding level.

Client is recommended to set this to NVMEDIA_ENCODE_LEVEL_AUTOSELECT in order to enable the Encode interface to select the correct level. If a specific level needs to be configured, this field can be set to one of the enumerations from NvMediaEncodeLevel. If the specified level is lower than that which is required by the H264 standard, the encoder auto-corrects it to the minimum required level.

Definition at line 1973 of file tvmr/include/nvmedia_common_encode.h.

◆ levelTier

uint8_t NvMediaEncodeInitializeParamsH265::levelTier

Holds the level tier information.

This is set to 0 for main tier and 1 for high tier. This is valid only when level is not selected as NVMEDIA_ENCODE_LEVEL_H265_AUTOSELECT.

Definition at line 1322 of file tvmr/include/nvmedia_common_encode.h.

◆ log2NumTilesInCol

uint8_t NvMediaEncodeInitializeParamsAV1::log2NumTilesInCol

Holds the log2 value of number of tiles used in a column.

Definition at line 1987 of file tvmr/include/nvmedia_common_encode.h.

◆ log2NumTilesInRow

uint8_t NvMediaEncodeInitializeParamsAV1::log2NumTilesInRow

Holds the log2 value of number of tiles used in a row.

Definition at line 1985 of file tvmr/include/nvmedia_common_encode.h.

◆ log2TileCols

uint32_t NvMediaEncodeInitializeParamsVP9::log2TileCols

Holds number of log2Cols used in a frame.

Supported values are from 0 to 4

Definition at line 1665 of file tvmr/include/nvmedia_common_encode.h.

◆ log2TileRows

uint32_t NvMediaEncodeInitializeParamsVP9::log2TileRows

Holds number of log2Rows used in a frame.

Supported values are from 0 to 4

Definition at line 1663 of file tvmr/include/nvmedia_common_encode.h.

◆ matrixCoeffs

uint8_t NvMediaEncodeConfigH265VUIParams::matrixCoeffs

Holds the matrix coefficients used in deriving the luma and chroma from the RGB primaries (as defined in Annex E of the ITU-T Specification).

Definition at line 1104 of file tvmr/include/nvmedia_common_encode.h.

◆ maxBitRate [1/3]

uint32_t NvMediaEncodeRCParams::maxBitRate

Holds the maximum bitrate for the encoded output.

Definition at line 125 of file tvmr/include/nvmedia_common_encode.h.

◆ maxBitRate [2/3]

uint32_t { ... } ::maxBitRate

Holds the maximum bitrate for the encoded output.

Definition at line 125 of file tvmr/include/nvmedia_common_encode.h.

◆ maxBitRate [3/3]

uint32_t { ... } ::maxBitRate

Holds the maximum bitrate for the encoded output.

Definition at line 139 of file tvmr/include/nvmedia_common_encode.h.

◆ maxMEHintCountsPerBlock [1/4]

NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodeInitializeParamsH264::maxMEHintCountsPerBlock

If Client wants to pass external motion vectors in NvMediaEncodePicParamsH264 meExternalHints buffer it must specify the maximum number of hint candidates per block per direction for the encode session.

The NvMediaEncodeInitializeParamsH264 maxMEHintCountsPerBlock[0] is for L0 predictors and NvMediaEncodeInitializeParamsH264 maxMEHintCountsPerBlock[1] is for L1 predictors. This client must also set NvMediaEncodeInitializeParamsH264 enableExternalMEHints to NVMEDIA_TRUE.

Deprecated:
This feature will be deprecated in a future release.

The NvMediaEncodeInitializeParamsH264 maxMEHintCountsPerBlock[0] is for L0 predictors and NvMediaEncodeInitializeParamsH264 maxMEHintCountsPerBlock[1] is for L1 predictors. This client must also set NvMediaEncodeInitializeParamsH264 enableExternalMEHints to true.

Deprecated:
This feature will be deprecated in a future release.

Definition at line 928 of file tvmr/include/nvmedia_common_encode.h.

◆ maxMEHintCountsPerBlock [2/4]

NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodeInitializeParamsH265::maxMEHintCountsPerBlock

If Client wants to pass external motion vectors in NvMediaEncodePicParamsH265 meExternalHints buffer it must specify the maximum number of hint candidates per block per direction for the encode session.

The NvMediaEncodeInitializeParamsH265 maxMEHintCountsPerBlock[0] is for L0 predictors and NvMediaEncodeInitializeParamsH265 maxMEHintCountsPerBlock[1] is for L1 predictors. This client must also set NvMediaEncodeInitializeParamsH265 enableExternalMEHints to NVMEDIA_TRUE.

Deprecated:
This feature will be deprecated in a future release.

The NvMediaEncodeInitializeParamsH265 maxMEHintCountsPerBlock[0] is for L0 predictors and NvMediaEncodeInitializeParamsH265 maxMEHintCountsPerBlock[1] is for L1 predictors. This client must also set NvMediaEncodeInitializeParamsH265 enableExternalMEHints to true.

Deprecated:
This feature will be deprecated in a future release.

Definition at line 1357 of file tvmr/include/nvmedia_common_encode.h.

◆ maxMEHintCountsPerBlock [3/4]

NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodeInitializeParamsVP9::maxMEHintCountsPerBlock

If Client wants to pass external motion vectors in NvMediaEncodePicParamsVP9 meExternalHints buffer it must specify the maximum number of hint candidates, per block and per direction, for the encode session.

The NvMediaEncodeInitializeParamsVP9 maxMEHintCountsPerBlock[0] is for L0 predictors and NvMediaEncodeInitializeParamsVP9 maxMEHintCountsPerBlock[1] is for L1 predictors. This client must also set NvMediaEncodeInitializeParamsVP9 enableExternalMEHints to NVMEDIA_TRUE.

Deprecated:
This feature will be deprecated in a future release.

The NvMediaEncodeInitializeParamsVP9 maxMEHintCountsPerBlock[0] is for L0 predictors and NvMediaEncodeInitializeParamsVP9 maxMEHintCountsPerBlock[1] is for L1 predictors. This client must also set NvMediaEncodeInitializeParamsVP9 enableExternalMEHints to true.

Deprecated:
This feature will be deprecated in a future release.

Definition at line 1659 of file tvmr/include/nvmedia_common_encode.h.

◆ maxMEHintCountsPerBlock [4/4]

NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodeInitializeParamsAV1::maxMEHintCountsPerBlock

If Client wants to pass external motion vectors in NvMediaEncodePicParamsVP9 meExternalHints buffer it must specify the maximum number of hint candidates, per block and per direction, for the encode session.

The NvMediaEncodeInitializeParamsVP9 maxMEHintCountsPerBlock[0] is for L0 predictors and NvMediaEncodeInitializeParamsVP9 maxMEHintCountsPerBlock[1] is for L1 predictors. This client must also set NvMediaEncodeInitializeParamsVP9 enableExternalMEHints to NVMEDIA_TRUE.

The NvMediaEncodeInitializeParamsVP9 maxMEHintCountsPerBlock[0] is for L0 predictors and NvMediaEncodeInitializeParamsVP9 maxMEHintCountsPerBlock[1] is for L1 predictors. This client must also set NvMediaEncodeInitializeParamsVP9 enableExternalMEHints to true.

Definition at line 2006 of file tvmr/include/nvmedia_common_encode.h.

◆ maxNumRefFrames [1/5]

uint8_t NvMediaEncodeInitializeParamsH264::maxNumRefFrames

Holds the maximum number of reference frames used for encoding.


Value range: 0
For I-frame only mode (no reference frames), i.e., NvMediaEncodeInitializeParamsH264::enableAllIFrames is set to 1 and NvMediaEncodeRCParams::numBFrames is set to 0.
Value range: 1 to 8
For encoding with I and P frame types (p-frames as reference), i.e., NvMediaEncodeInitializeParamsH264::enableAllIFrames is set to 0 and NvMediaEncodeRCParams::numBFrames is set to 0.
Value range: 2 to 8
For encoding with I, P and B frame types (p and b-frames as reference), i.e., NvMediaEncodeInitializeParamsH264::enableAllIFrames is set to 0, NvMediaEncodeRCParams::numBFrames is set to a non-zero value and NvMediaEncodeInitializeParamsH264::useBFramesAsRef is set to 1.
Value range: 2 to 8
For encoding with I, P and B frame types (only p-frames as reference), i.e., NvMediaEncodeInitializeParamsH264::enableAllIFrames is set to 0, NvMediaEncodeRCParams::numBFrames is set to a non-zero value and NvMediaEncodeInitializeParamsH264::useBFramesAsRef is set to 0.

Definition at line 915 of file tvmr/include/nvmedia_common_encode.h.

◆ maxNumRefFrames [2/5]

uint8_t NvMediaEncodeInitializeParamsH265::maxNumRefFrames

Holds the maximum number of reference frames used for encoding.


Value range: 0
For I-frame only mode (no reference frames), i.e., NvMediaEncodeInitializeParamsH265::enableAllIFrames is set to 1 and NvMediaEncodeRCParams::numBFrames is set to 0.
Value range: 1 to 8
For encoding with I and P frame types (p-frames as reference), i.e., NvMediaEncodeInitializeParamsH265::enableAllIFrames is set to 0 and NvMediaEncodeRCParams::numBFrames is set to 0.
Value range: 2 to 8
For encoding with I, P and B frame types (p and b-frames as reference), i.e., NvMediaEncodeInitializeParamsH265::enableAllIFrames is set to 0, NvMediaEncodeRCParams::numBFrames is set to a non-zero value and NvMediaEncodeInitializeParamsH265::useBFramesAsRef is set to 1.
Value range: 2 to 8
For encoding with I, P and B frame types (only p-frames as reference), i.e., NvMediaEncodeInitializeParamsH265::enableAllIFrames is set to 0, NvMediaEncodeRCParams::numBFrames is set to a non-zero value and NvMediaEncodeInitializeParamsH265::useBFramesAsRef is set to 0.

Definition at line 1345 of file tvmr/include/nvmedia_common_encode.h.

◆ maxNumRefFrames [3/5]

uint8_t NvMediaEncodeInitializeParamsVP9::maxNumRefFrames

Holds the max reference numbers used for encoding.

Allowed range is [0, 2]. Values:

  • 0 allows only I frame encode
  • 1 allows I and IP encode
  • 2 allows I, IP and IBP encode

Definition at line 1646 of file tvmr/include/nvmedia_common_encode.h.

◆ maxNumRefFrames [4/5]

uint8_t NvMediaEncodeInitializeParamsVP8::maxNumRefFrames

Holds the max reference numbers used for encoding.

Allowed range is [0, 2]. Values:

  • 0 allows only I frame encode
  • 1 allows I and IP encode

Definition at line 1840 of file tvmr/include/nvmedia_common_encode.h.

◆ maxNumRefFrames [5/5]

uint8_t NvMediaEncodeInitializeParamsAV1::maxNumRefFrames

Holds the max reference numbers used for encoding.

Allowed range is [0, 2]. Values:

  • 0 allows only I frame encode
  • 1 allows I and IP encode
  • 2 allows I, IP and IBP encode

Definition at line 1979 of file tvmr/include/nvmedia_common_encode.h.

◆ maxQP [1/5]

NvMediaEncodeQP NvMediaEncodeConfigH264::maxQP

Holds the maximum QP parameters.

The client must set NVMEDIA_ENCODE_CONFIG_H264_QP_MAX in features to use this.
Value range: QP values can lie between 1 to 51 in increments of 1, must be greater than NvMediaEncodeRCParams::minQP.

Definition at line 830 of file tvmr/include/nvmedia_common_encode.h.

◆ maxQP [2/5]

NvMediaEncodeQP NvMediaEncodeConfigH265::maxQP

Holds maximum QP parameters.

Client must set NVMEDIA_ENCODE_CONFIG_H265_QP_MAX in features to use this.
Value range: QP values can lie between 1 to 51 in increments of 1, must be greater than NvMediaEncodeRCParams::minQP.

Definition at line 1271 of file tvmr/include/nvmedia_common_encode.h.

◆ maxQP [3/5]

NvMediaEncodeQP NvMediaEncodeConfigVP9::maxQP

Holds maximum QP parameters.

Client must set NVMEDIA_ENCODE_CONFIG_VP9_QP_MAX in features to use this. The maximum QP values must be within the range of 1 to 255 and must be set to a value greater than NvMediaEncodeRCParams::minQP.

Definition at line 1620 of file tvmr/include/nvmedia_common_encode.h.

◆ maxQP [4/5]

NvMediaEncodeQP NvMediaEncodeConfigVP8::maxQP

Holds max QP parameters.

Client must set NVMEDIA_ENCODE_CONFIG_VP8_QP_MAX in features to use this. max QP values must be within the range of 1 to 255 and must be greater than NvMediaEncodeRCParams::minQP

Definition at line 1817 of file tvmr/include/nvmedia_common_encode.h.

◆ maxQP [5/5]

NvMediaEncodeQP NvMediaEncodeConfigAV1::maxQP

Holds maximum QP parameters.

Client must set NVMEDIA_ENCODE_CONFIG_VP9_QP_MAX in features to use this. The maximum QP values must be within the range of 1 to 255 and must be set to a value greater than NvMediaEncodeRCParams::minQP.

Definition at line 1932 of file tvmr/include/nvmedia_common_encode.h.

◆ maxSessionQP

int8_t NvMediaEncodeRCParams::maxSessionQP

Holds the max QP for encoding session when external picture RC hint is used.

Note
This feature is not supported.

Definition at line 181 of file tvmr/include/nvmedia_common_encode.h.

◆ maxSliceSizeInBytes [1/2]

uint32_t NvMediaEncodeConfigH264::maxSliceSizeInBytes

Holds the maximum slice size in bytes for dynamic slice mode.

The client must set NVMEDIA_ENCODE_CONFIG_H264_ENABLE_DYNAMIC_SLICE_MODE in features for this setting to take effect.

Definition at line 804 of file tvmr/include/nvmedia_common_encode.h.

◆ maxSliceSizeInBytes [2/2]

uint32_t NvMediaEncodeConfigH265::maxSliceSizeInBytes

Holds the maximum slice size in bytes for dynamic slice mode.

The Client must set NVMEDIA_ENCODE_CONFIG_H265_ENABLE_DYNAMIC_SLICE_MODE in features in order for this to take effect.

Definition at line 1252 of file tvmr/include/nvmedia_common_encode.h.

◆ mb_no_coeff_skip_flag

NvMediaBool NvMediaEncodeConfigVP8::mb_no_coeff_skip_flag

Set to enable skipping of macroblocks with no non-zero coefficients at the frame level.

Definition at line 1806 of file tvmr/include/nvmedia_common_encode.h.

◆ mb_segment_abs_delta

uint32_t NvMediaEncodeConfigVP8::mb_segment_abs_delta

VP8 mb segment abs delta.

Definition at line 1800 of file tvmr/include/nvmedia_common_encode.h.

◆ meExternalHints [1/5]

NvMediaEncodeExternalMEHint* { ... } ::meExternalHints

Definition at line 1043 of file tvmr/include/nvmedia_common_encode.h.

◆ meExternalHints [2/5]

NvMediaEncodeExternalMEHint* NvMediaEncodePicParamsH264::meExternalHints

Definition at line 1043 of file tvmr/include/nvmedia_common_encode.h.

◆ meExternalHints [3/5]

NvMediaEncodeExternalMEHint * NvMediaEncodePicParamsH265::meExternalHints

Holds the pointer to ME external hints for the current frame.

The size of ME hint buffer must be equal to number of macroblocks multiplied by the total number of candidates per macroblock. The total number of candidates per MB per direction =

  1*meHintCountsPerBlock[Lx].numCandsPerBlk16x16 +
  2*meHintCountsPerBlock[Lx].numCandsPerBlk16x8 +
  2*meHintCountsPerBlock[Lx].numCandsPerBlk8x16 +
  4*meHintCountsPerBlock[Lx].numCandsPerBlk8x8

For frames using bidirectional ME, the total number of candidates for a single macroblock is the sum of the total number of candidates per MB for each direction (L0 and L1).

If no external ME hints are needed, set this field to NULL.

Deprecated:
This feature will be deprecated in a future release.

The size of ME hint buffer must be equal to number of macroblocks multiplied by the total number of candidates per macroblock. The total number of candidates per MB per direction =

  1*meHintCountsPerBlock[Lx].numCandsPerBlk16x16 +
  2*meHintCountsPerBlock[Lx].numCandsPerBlk16x8 +
  2*meHintCountsPerBlock[Lx].numCandsPerBlk8x16 +
  4*meHintCountsPerBlock[Lx].numCandsPerBlk8x8

For frames using bidirectional ME, the total number of candidates for a single macroblock is the sum of the total number of candidates per MB for each direction (L0 and L1).

If no external ME hints are needed, set this field to NULL.

Deprecated:
This feature will be deprecated in a future release.

Definition at line 1480 of file tvmr/include/nvmedia_common_encode.h.

◆ meExternalHints [4/5]

NvMediaEncodeExternalMEHint * NvMediaEncodePicParamsVP9::meExternalHints

Holds the pointer to ME external hints for the current frame.

The size of ME hint buffer must be equal to number of macroblocks multiplied by the total number of candidates per macroblock. The total number of candidates per MB per direction =

 1*meHintCountsPerBlock[Lx].numCandsPerBlk16x16 +
 2*meHintCountsPerBlock[Lx].numCandsPerBlk16x8 +
 2*meHintCountsPerBlock[Lx].numCandsPerBlk8x16 +
 4*meHintCountsPerBlock[Lx].numCandsPerBlk8x8

For frames using bidirectional ME , the total number of candidates for a single macroblock is the sum of the total number of candidates per MB for each direction (L0 and L1).

If no external ME hints are needed, set this field to NULL.

Definition at line 1710 of file tvmr/include/nvmedia_common_encode.h.

◆ meExternalHints [5/5]

NvMediaEncodeExternalMEHint * NvMediaEncodePicParamsAV1::meExternalHints

Holds the pointer to ME external hints for the current frame.

The size of ME hint buffer must be equal to number of macroblocks multiplied by the total number of candidates per macroblock. The total number of candidates per MB per direction =

 1*meHintCountsPerBlock[Lx].numCandsPerBlk16x16 +
 2*meHintCountsPerBlock[Lx].numCandsPerBlk16x8 +
 2*meHintCountsPerBlock[Lx].numCandsPerBlk8x16 +
 4*meHintCountsPerBlock[Lx].numCandsPerBlk8x8

For frames using bidirectional ME , the total number of candidates for a single macroblock is the sum of the total number of candidates per MB for each direction (L0 and L1).

If no external ME hints are needed, set this field to NULL.

Definition at line 2053 of file tvmr/include/nvmedia_common_encode.h.

◆ meHintCountsPerBlock [1/4]

NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodePicParamsH264::meHintCountsPerBlock

Holds the number of hint candidates per block per direction for the current frame.

meHintCountsPerBlock[0] is for L0 predictors and meHintCountsPerBlock[1] is for L1 predictors. The candidate count in NvMediaEncodePicParamsH264 meHintCountsPerBlock[lx] must never exceed NvMediaEncodeInitializeParamsH264 maxMEHintCountsPerBlock[lx] provided during encoder initialization.

Deprecated:
This feature will be deprecated in a future release.

meHintCountsPerBlock[0] is for L0 predictors and meHintCountsPerBlock[1] is for L1 predictors. The candidate count in NvMediaEncodePicParamsH264 meHintCountsPerBlock[lx] must never exceed NvMediaEncodeInitializeParamsH264 maxMEHintCountsPerBlock[lx] provided during encoder initialization.

Deprecated:
This feature will be deprecated in a future release.

Definition at line 1024 of file tvmr/include/nvmedia_common_encode.h.

◆ meHintCountsPerBlock [2/4]

NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodePicParamsH265::meHintCountsPerBlock

Holds the number of hint candidates per block per direction for the current frame.

meHintCountsPerBlock[0] is for L0 predictors and meHintCountsPerBlock[1] is for L1 predictors. The candidate count in NvMediaEncodePicParamsH265 meHintCountsPerBlock[lx] must never exceed NvMediaEncodeInitializeParamsH265 maxMEHintCountsPerBlock[lx] provided during encoder initialization.

Deprecated:
This feature will be deprecated in a future release.

meHintCountsPerBlock[0] is for L0 predictors and meHintCountsPerBlock[1] is for L1 predictors. The candidate count in NvMediaEncodePicParamsH265 meHintCountsPerBlock[lx] must never exceed NvMediaEncodeInitializeParamsH265 maxMEHintCountsPerBlock[lx] provided during encoder initialization.

Deprecated:
This feature will be deprecated in a future release.

Definition at line 1463 of file tvmr/include/nvmedia_common_encode.h.

◆ meHintCountsPerBlock [3/4]

NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodePicParamsVP9::meHintCountsPerBlock

Holds the number of hint candidates per block per direction for the current frame.

meHintCountsPerBlock[0] is for L0 predictors and meHintCountsPerBlock[1] is for L1 predictors. The candidate count in NvMediaEncodePicParamsVP9 meHintCountsPerBlock[lx] must never exceed NvMediaEncodeInitializeParamsVP9 maxMEHintCountsPerBlock[lx] provided during encoder initialization.

Definition at line 1694 of file tvmr/include/nvmedia_common_encode.h.

◆ meHintCountsPerBlock [4/4]

NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodePicParamsAV1::meHintCountsPerBlock

Holds the number of hint candidates per block per direction for the current frame.

meHintCountsPerBlock[0] is for L0 predictors and meHintCountsPerBlock[1] is for L1 predictors. The candidate count in NvMediaEncodePicParamsVP9 meHintCountsPerBlock[lx] must never exceed NvMediaEncodeInitializeParamsVP9 maxMEHintCountsPerBlock[lx] provided during encoder initialization.

Definition at line 2037 of file tvmr/include/nvmedia_common_encode.h.

◆ meHints [1/2]

uint8_t* NvMediaEncodePicParamsH264::meHints

Definition at line 1044 of file tvmr/include/nvmedia_common_encode.h.

◆ meHints [2/2]

uint8_t* { ... } ::meHints

Definition at line 1044 of file tvmr/include/nvmedia_common_encode.h.

◆ minQP [1/3]

NvMediaEncodeQP NvMediaEncodeRCParams::minQP

Holds the minimum QP used for rate control.

Definition at line 149 of file tvmr/include/nvmedia_common_encode.h.

◆ minQP [2/3]

NvMediaEncodeQP { ... } ::minQP

Holds the minimum QP used for rate control.

Definition at line 149 of file tvmr/include/nvmedia_common_encode.h.

◆ minQP [3/3]

NvMediaEncodeQP { ... } ::minQP

Holds the minimum QP used for rate control.

Definition at line 163 of file tvmr/include/nvmedia_common_encode.h.

◆ mode_lf_deltas [1/2]

int8_t NvMediaEncodeConfigVP9::mode_lf_deltas

Specifies the Loop filter strength adjustments based on mode (zero, new mv).

Definition at line 1563 of file tvmr/include/nvmedia_common_encode.h.

◆ mode_lf_deltas [2/2]

int8_t NvMediaEncodeConfigVP8::mode_lf_deltas[4]

Specifies the Loop filter strength adjustments based on mode (zero, new mv)

Definition at line 1771 of file tvmr/include/nvmedia_common_encode.h.

◆ motionPredictionExclusionFlags

uint32_t NvMediaEncodeConfigH264::motionPredictionExclusionFlags

Holds bitwise OR`ed exclusion flags.

See enum NvMediaEncodeH264MotionPredictionExclusionFlags.

Deprecated:
This feature will be deprecated in a future release.

See enum NvMediaEncodeH264MotionPredictionExclusionFlags.

Deprecated:
This feature will be deprecated in a future release.

Definition at line 815 of file tvmr/include/nvmedia_common_encode.h.

◆ mvcNumViews

uint32_t NvMediaEncodeInitializeParamsH264::mvcNumViews

Number of views used for MVC.

Note
This feature is not supported.

Definition at line 979 of file tvmr/include/nvmedia_common_encode.h.

◆ mvNumViews

uint32_t NvMediaEncodeInitializeParamsH265::mvNumViews

Number of views used for MV-Hevc.

Note
This feature is not supported.

Definition at line 1402 of file tvmr/include/nvmedia_common_encode.h.

◆ mvx

int32_t NvMediaEncodeExternalMEHint::mvx

Holds the x component of integer pixel MV (relative to current MB) S12.0.

Definition at line 634 of file tvmr/include/nvmedia_common_encode.h.

◆ mvy

int32_t NvMediaEncodeExternalMEHint::mvy

Holds the y component of integer pixel MV (relative to current MB) S10.0 .

Definition at line 636 of file tvmr/include/nvmedia_common_encode.h.

◆ nalUnitType

uint32_t NvMediaEncodeH265SEIPayload::nalUnitType

SEI nal_unit_type.

Definition at line 1424 of file tvmr/include/nvmedia_common_encode.h.

◆ nextBFrames [1/4]

uint32_t NvMediaEncodePicParamsH264::nextBFrames

Specifies the number of B-frames that follow the current frame.

This number can be set only for reference frames and the frames that follow the current frame must be nextBFrames count of B-frames. B-frames are supported only if the profile is greater than NVMEDIA_ENCODE_PROFILE_BASELINE and the maxNumRefFrames is set to 2. Set to zero if no B-frames are needed.

Definition at line 1005 of file tvmr/include/nvmedia_common_encode.h.

◆ nextBFrames [2/4]

uint32_t NvMediaEncodePicParamsH265::nextBFrames

Specifies the number of B-frames that follow the current frame.

This number can be set only for reference frames and the frames that follow the current frame must be nextBFrames count of B-frames. B-frames are supported only if the profile is greater than NVMEDIA_ENCODE_PROFILE_BASELINE and the maxNumRefFrames is set to 2. Set to zero if no B-frames are needed.

Definition at line 1444 of file tvmr/include/nvmedia_common_encode.h.

◆ nextBFrames [3/4]

uint32_t NvMediaEncodePicParamsVP9::nextBFrames

Holds the number of B-frames that follow the current frame.

This number can be set only for reference frames and the frames that follow the current frame must be nextBFrames count of B-frames. B-frames are supported only if the profile is greater than NVMEDIA_ENCODE_PROFILE_BASELINE and the maxNumRefFrames is set to 2. Set to zero if no B-frames are needed.

Definition at line 1683 of file tvmr/include/nvmedia_common_encode.h.

◆ nextBFrames [4/4]

uint32_t NvMediaEncodePicParamsAV1::nextBFrames

Holds the number of B-frames that follow the current frame.

This number can be set only for reference frames and the frames that follow the current frame must be nextBFrames count of B-frames. B-frames are supported only if the profile is greater than NVMEDIA_ENCODE_PROFILE_BASELINE and the maxNumRefFrames is set to 2. Set to zero if no B-frames are needed.

Definition at line 2026 of file tvmr/include/nvmedia_common_encode.h.

◆ no_temporal_mv_hints

NvMediaBool NvMediaEncodeConfigVP8::no_temporal_mv_hints

Set to disable temporal mv hints.

Definition at line 1808 of file tvmr/include/nvmedia_common_encode.h.

◆ numBFrames

uint32_t NvMediaEncodeRCParams::numBFrames

Specified number of B frames between two reference frames.


Value range: The values between 0 to 10, in increments of 1.

Definition at line 102 of file tvmr/include/nvmedia_common_encode.h.

◆ numCandsPerBlk16x16

uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk16x16

Holds the number of candidates per 16x16 block.

Definition at line 619 of file tvmr/include/nvmedia_common_encode.h.

◆ numCandsPerBlk16x8

uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk16x8

Holds the number of candidates per 16x8 block.

Definition at line 621 of file tvmr/include/nvmedia_common_encode.h.

◆ numCandsPerBlk8x16

uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk8x16

Holds the number of candidates per 8x16 block.

Definition at line 623 of file tvmr/include/nvmedia_common_encode.h.

◆ numCandsPerBlk8x8

uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk8x8

Holds the number of candidates per 8x8 block.

Definition at line 625 of file tvmr/include/nvmedia_common_encode.h.

◆ numCTUsPerSlice

uint32_t NvMediaEncodeConfigH265::numCTUsPerSlice

Number of CTU per slice.

Set to 0 if fix number of macroblocks not required or maxSliceSizeInBytes or numSliceCountMinus1 is set to non-zero value.

Definition at line 1256 of file tvmr/include/nvmedia_common_encode.h.

◆ numEpCores

uint8_t NvMediaEncodeInitializeParamsVP9::numEpCores

Holds number of HW entropy cores for encoding.

Supported cores are 1 and 4 cores

Definition at line 1661 of file tvmr/include/nvmedia_common_encode.h.

◆ numMacroblocksPerSlice

uint32_t NvMediaEncodeConfigH264::numMacroblocksPerSlice

Holds the number of macroblocks per slice.

Set to 0 if a fixed number of macroblocks not required or if maxSliceSizeInBytes or numSliceCountMinus1 is set to a non-zero value.

Definition at line 808 of file tvmr/include/nvmedia_common_encode.h.

◆ numReferenceFrames

uint32_t NvMediaEncodeConfigVP8::numReferenceFrames

Number of reference frame.

Definition at line 1753 of file tvmr/include/nvmedia_common_encode.h.

◆ numSliceCountMinus1 [1/2]

uint16_t NvMediaEncodeConfigH264::numSliceCountMinus1

Holds a number that is 1 less than the desired number of slices per frame.

NVMEDIA_ENCODE_CONFIG_H264_ENABLE_DYNAMIC_SLICE_MODE should NOT be set in features for this setting to take effect.
Value range: 0 to 31 in increments of 1.

Definition at line 769 of file tvmr/include/nvmedia_common_encode.h.

◆ numSliceCountMinus1 [2/2]

uint16_t NvMediaEncodeConfigH265::numSliceCountMinus1

Holds a number that is 1 less than the desired number of slices per frame.

NVMEDIA_ENCODE_CONFIG_H265_ENABLE_DYNAMIC_SLICE_MODE should NOT be set in features for this setting to take effect.
Value range: 0 to 31 in increments of 1.

Definition at line 1224 of file tvmr/include/nvmedia_common_encode.h.

◆ overscanAppropriateFlag [1/2]

NvMediaBool NvMediaEncodeConfigH264VUIParams::overscanAppropriateFlag

Holds the overscan info (as defined in Annex E of the ITU-T Specification).

Definition at line 584 of file tvmr/include/nvmedia_common_encode.h.

◆ overscanAppropriateFlag [2/2]

NvMediaBool NvMediaEncodeConfigH265VUIParams::overscanAppropriateFlag

Holds the overscan info (as defined in Annex E of the ITU-T Specification).

Definition at line 1083 of file tvmr/include/nvmedia_common_encode.h.

◆ overscanInfoPresentFlag [1/2]

NvMediaBool NvMediaEncodeConfigH264VUIParams::overscanInfoPresentFlag

If set to NVMEDIA_TRUE, it specifies that the overscanInfo is present.

Definition at line 582 of file tvmr/include/nvmedia_common_encode.h.

◆ overscanInfoPresentFlag [2/2]

NvMediaBool NvMediaEncodeConfigH265VUIParams::overscanInfoPresentFlag

If set to NVMEDIA_TRUE, it specifies that the overscanInfo is present.

Definition at line 1081 of file tvmr/include/nvmedia_common_encode.h.

◆ params

union { ... } NvMediaEncodeRCParams::params

Rate Control parameters.

◆ partType

uint32_t NvMediaEncodeExternalMEHint::partType

Holds the block partition type.

0=16x16 1=16x8 2=8x16 3=8x8 (blocks in partition must be consecutive).

Definition at line 642 of file tvmr/include/nvmedia_common_encode.h.

◆ payload [1/2]

uint8_t * NvMediaEncodeH264SEIPayload::payload

Pointer to user data.

Definition at line 847 of file tvmr/include/nvmedia_common_encode.h.

◆ payload [2/2]

uint8_t * NvMediaEncodeH265SEIPayload::payload

pointer to user data

Definition at line 1426 of file tvmr/include/nvmedia_common_encode.h.

◆ payloadSize [1/2]

uint32_t NvMediaEncodeH264SEIPayload::payloadSize

SEI payload size in bytes.

SEI payload must be byte aligned, as described in Annex D

Definition at line 842 of file tvmr/include/nvmedia_common_encode.h.

◆ payloadSize [2/2]

uint32_t NvMediaEncodeH265SEIPayload::payloadSize

SEI payload size in bytes.

SEI payload must be byte aligned, as described in Annex D

Definition at line 1419 of file tvmr/include/nvmedia_common_encode.h.

◆ payloadType [1/2]

uint32_t NvMediaEncodeH264SEIPayload::payloadType

SEI payload types and syntax can be found in Annex D of the H.264 Specification.

Definition at line 845 of file tvmr/include/nvmedia_common_encode.h.

◆ payloadType [2/2]

uint32_t NvMediaEncodeH265SEIPayload::payloadType

SEI payload types and syntax can be found in Annex D of the H265 Specification.

Definition at line 1422 of file tvmr/include/nvmedia_common_encode.h.

◆ pictureType [1/5]

NvMediaEncodePicType NvMediaEncodePicParamsH264::pictureType

Holds input picture type.

Definition at line 995 of file tvmr/include/nvmedia_common_encode.h.

◆ pictureType [2/5]

NvMediaEncodePicType NvMediaEncodePicParamsH265::pictureType

Holds input picture type.

Definition at line 1434 of file tvmr/include/nvmedia_common_encode.h.

◆ pictureType [3/5]

NvMediaEncodePicType NvMediaEncodePicParamsVP9::pictureType

Holds input picture type.

Definition at line 1673 of file tvmr/include/nvmedia_common_encode.h.

◆ pictureType [4/5]

NvMediaEncodePicType NvMediaEncodePicParamsVP8::pictureType

Holds input picture type.

Definition at line 1848 of file tvmr/include/nvmedia_common_encode.h.

◆ pictureType [5/5]

NvMediaEncodePicType NvMediaEncodePicParamsAV1::pictureType

Holds input picture type.

Definition at line 2016 of file tvmr/include/nvmedia_common_encode.h.

◆ pocType

NvMediaEncodeH264POCType NvMediaEncodeConfigH264::pocType

Holds pic_ordec_cnt_type.

Definition at line 820 of file tvmr/include/nvmedia_common_encode.h.

◆ profile [1/3]

uint8_t NvMediaEncodeInitializeParamsH264::profile

Holds the encoding profile.

Client is recommended to set this to NVMEDIA_ENCODE_PROFILE_AUTOSELECT in order to enable the Encode interface to select the correct profile. If a specific profile needs to be configured, this field can be set to one of the supported enumerations from NvMediaEncodeProfile.

Definition at line 884 of file tvmr/include/nvmedia_common_encode.h.

◆ profile [2/3]

uint8_t NvMediaEncodeInitializeParamsH265::profile

Holds the encoding profile.

Client is recommended to set this to NVMEDIA_ENCODE_PROFILE_AUTOSELECT in order to enable the Encode interface to select the correct profile. If a specific profile needs to be configured, this field can be set to one of the supported enumerations from NvMediaEncodeProfile.

Definition at line 1310 of file tvmr/include/nvmedia_common_encode.h.

◆ profile [3/3]

uint8_t NvMediaEncodeInitializeParamsAV1::profile

Holds the encoding profile.

Client is recommended to set this to NVMEDIA_ENCODE_PROFILE_AUTOSELECT in order to enable the Encode interface to select the correct profile. If a specific profile needs to be configured, this field can be set to one of the supported enumerations from NvMediaEncodeProfile.

Definition at line 1965 of file tvmr/include/nvmedia_common_encode.h.

◆ qpInterB

int16_t NvMediaEncodeQP::qpInterB

QP value for B frames.

Definition at line 63 of file tvmr/include/nvmedia_common_encode.h.

◆ qpInterP

int16_t NvMediaEncodeQP::qpInterP

QP value for P frames.

Definition at line 61 of file tvmr/include/nvmedia_common_encode.h.

◆ qpIntra

int16_t NvMediaEncodeQP::qpIntra

QP value for Intra frames.

Definition at line 65 of file tvmr/include/nvmedia_common_encode.h.

◆ quality [1/4]

NvMediaEncodeQuality NvMediaEncodeConfigH264::quality

Holds the encode quality pre-set.

See enum NvMediaEncodeQuality. Recommended pre-setting is NVMEDIA_ENCODE_QUALITY_L1.

Definition at line 818 of file tvmr/include/nvmedia_common_encode.h.

◆ quality [2/4]

NvMediaEncodeQuality NvMediaEncodeConfigH265::quality

Holds encode quality pre-set.

See NvMediaEncodeQuality enum. Recommended pre-setting is NVMEDIA_ENCODE_QUALITY_L0.

Definition at line 1262 of file tvmr/include/nvmedia_common_encode.h.

◆ quality [3/4]

NvMediaEncodeQuality NvMediaEncodeConfigVP8::quality

Holds encode quality pre-set.

See NvMediaEncodeQuality enum.

Definition at line 1819 of file tvmr/include/nvmedia_common_encode.h.

◆ quality [4/4]

NvMediaEncodeQuality NvMediaEncodeConfigAV1::quality

Holds the encode quality pre-set.

See enum NvMediaEncodeQuality. Recommended pre-setting is NVMEDIA_ENCODE_QUALITY_L1.

Definition at line 1935 of file tvmr/include/nvmedia_common_encode.h.

◆ rateControlMode

NvMediaEncodeParamsRCMode NvMediaEncodeRCParams::rateControlMode

Holds the rate control mode.

Definition at line 99 of file tvmr/include/nvmedia_common_encode.h.

◆ rcParams [1/10]

NvMediaEncodeRCParams NvMediaEncodeConfigH264::rcParams

Holds the rate control parameters for the current encoding session.

Definition at line 756 of file tvmr/include/nvmedia_common_encode.h.

◆ rcParams [2/10]

NvMediaEncodeRCParams NvMediaEncodePicParamsH264::rcParams

Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE is set in the encodePicFlags.

Note
The NvMediaEncodeRCParams::rateControlMode cannot be changed on a per-frame basis. Only the associated rate control parameters can be changed.

Definition at line 1012 of file tvmr/include/nvmedia_common_encode.h.

◆ rcParams [3/10]

NvMediaEncodeRCParams NvMediaEncodeConfigH265::rcParams

Holds the rate control parameters for the current encoding session.

Definition at line 1212 of file tvmr/include/nvmedia_common_encode.h.

◆ rcParams [4/10]

NvMediaEncodeRCParams NvMediaEncodePicParamsH265::rcParams

Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE is set in the encodePicFlags.

Note
The NvMediaEncodeRCParams::rateControlMode cannot be changed on a per-frame basis. Only the associated rate control parameters can be changed.

Definition at line 1451 of file tvmr/include/nvmedia_common_encode.h.

◆ rcParams [5/10]

NvMediaEncodeRCParams NvMediaEncodeConfigVP9::rcParams

Holds the rate control parameters for the current encoding session.

Definition at line 1537 of file tvmr/include/nvmedia_common_encode.h.

◆ rcParams [6/10]

NvMediaEncodeRCParams NvMediaEncodePicParamsVP9::rcParams

Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE is set in the encodePicFlags.

Please note that the rateControlMode cannot be changed on a per frame basis only the associated rate control parameters.

Definition at line 1688 of file tvmr/include/nvmedia_common_encode.h.

◆ rcParams [7/10]

NvMediaEncodeRCParams NvMediaEncodeConfigVP8::rcParams

Holds the rate control parameters for the current encoding session.

Definition at line 1757 of file tvmr/include/nvmedia_common_encode.h.

◆ rcParams [8/10]

NvMediaEncodeRCParams NvMediaEncodePicParamsVP8::rcParams

Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE is set in the encodePicFlags.

Please note that the rateControlMode cannot be changed on a per frame basis only the associated rate control parameters.

Definition at line 1856 of file tvmr/include/nvmedia_common_encode.h.

◆ rcParams [9/10]

NvMediaEncodeRCParams NvMediaEncodeConfigAV1::rcParams

Holds the rate control parameters for the current encoding session.

Definition at line 1904 of file tvmr/include/nvmedia_common_encode.h.

◆ rcParams [10/10]

NvMediaEncodeRCParams NvMediaEncodePicParamsAV1::rcParams

Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE is set in the encodePicFlags.

Please note that the rateControlMode cannot be changed on a per frame basis only the associated rate control parameters.

Definition at line 2031 of file tvmr/include/nvmedia_common_encode.h.

◆ ref_lf_deltas [1/2]

int8_t NvMediaEncodeConfigVP9::ref_lf_deltas

Specifies the Loop filter strength adjustments based on frame type (intra, inter).

Definition at line 1560 of file tvmr/include/nvmedia_common_encode.h.

◆ ref_lf_deltas [2/2]

int8_t NvMediaEncodeConfigVP8::ref_lf_deltas[4]

Specifies the Loop filter strength adjustments based on frame type (intra, inter)

Definition at line 1769 of file tvmr/include/nvmedia_common_encode.h.

◆ refidx

uint32_t NvMediaEncodeExternalMEHint::refidx

Holds the reference index (31=invalid).

Current we support only 1 reference frame per direction for external hints, so refidx must be 0.

Definition at line 638 of file tvmr/include/nvmedia_common_encode.h.

◆ refresh_entropy_probs

uint32_t NvMediaEncodeConfigVP8::refresh_entropy_probs

VP8 refresh entropy probs.

Definition at line 1792 of file tvmr/include/nvmedia_common_encode.h.

◆ repeatSPSPPS [1/2]

NvMediaEncodeH264SPSPPSRepeatMode NvMediaEncodeConfigH264::repeatSPSPPS

Holds the frequency of the writing of Sequence and Picture parameters.

Definition at line 759 of file tvmr/include/nvmedia_common_encode.h.

◆ repeatSPSPPS [2/2]

NvMediaEncodeH264SPSPPSRepeatMode NvMediaEncodeConfigH265::repeatSPSPPS

Holds the frequency of the writing of Sequence and Picture parameters.

Definition at line 1214 of file tvmr/include/nvmedia_common_encode.h.

◆ reserved [1/7]

uint32_t NvMediaEncodeConfigAV1::reserved

Reserved Bytes.

Definition at line 1940 of file tvmr/include/nvmedia_common_encode.h.

◆ reserved [2/7]

uint32_t NvMediaEncodeInitializeParamsAV1::reserved

Reserved Bytes.

Definition at line 2008 of file tvmr/include/nvmedia_common_encode.h.

◆ reserved [3/7]

uint32_t NvMediaEncodePicParamsAV1::reserved

Reserved Bytes.

Definition at line 2055 of file tvmr/include/nvmedia_common_encode.h.

◆ reserved [4/7]

int16_t NvMediaEncodeQP::reserved

Definition at line 67 of file tvmr/include/nvmedia_common_encode.h.

◆ reserved [5/7]

int8_t NvMediaEncodeRCParams::reserved

Definition at line 182 of file tvmr/include/nvmedia_common_encode.h.

◆ reserved [6/7]

uint32_t NvMediaEncodeInitializeParamsH264::reserved

Add padding.

Definition at line 987 of file tvmr/include/nvmedia_common_encode.h.

◆ reserved [7/7]

uint32_t NvMediaEncodeInitializeParamsH265::reserved

Add padding.

Definition at line 1410 of file tvmr/include/nvmedia_common_encode.h.

◆ reserved1 [1/2]

uint16_t NvMediaEncodeInitializeParamsH264::reserved1

Definition at line 860 of file tvmr/include/nvmedia_common_encode.h.

◆ reserved1 [2/2]

uint16_t NvMediaEncodeInitializeParamsH265::reserved1

Definition at line 1284 of file tvmr/include/nvmedia_common_encode.h.

◆ reserved2 [1/2]

uint16_t NvMediaEncodeInitializeParamsH264::reserved2

Definition at line 867 of file tvmr/include/nvmedia_common_encode.h.

◆ reserved2 [2/2]

uint16_t NvMediaEncodeInitializeParamsH265::reserved2

Definition at line 1291 of file tvmr/include/nvmedia_common_encode.h.

◆ reserved3

uint8_t NvMediaEncodeInitializeParamsH264::reserved3

Definition at line 964 of file tvmr/include/nvmedia_common_encode.h.

◆ seg_filter_level

int8_t NvMediaEncodeConfigVP8::seg_filter_level[4]

VP8 segment filter level.

Definition at line 1802 of file tvmr/include/nvmedia_common_encode.h.

◆ seg_qindex

int8_t NvMediaEncodeConfigVP8::seg_qindex[4]

VP8 segment qp index.

Definition at line 1804 of file tvmr/include/nvmedia_common_encode.h.

◆ seiPayloadArray [1/2]

NvMediaEncodeH264SEIPayload * NvMediaEncodePicParamsH264::seiPayloadArray

Array of SEI payloads which will be inserted for this frame.

Definition at line 1017 of file tvmr/include/nvmedia_common_encode.h.

◆ seiPayloadArray [2/2]

NvMediaEncodeH265SEIPayload * NvMediaEncodePicParamsH265::seiPayloadArray

Array of SEI payloads which will be inserted for this frame.

Definition at line 1456 of file tvmr/include/nvmedia_common_encode.h.

◆ seiPayloadArrayCnt [1/2]

uint32_t NvMediaEncodePicParamsH264::seiPayloadArrayCnt

Holds the number of elements allocated in seiPayloadArray array.

Set to 0 if no SEI messages are needed

Definition at line 1015 of file tvmr/include/nvmedia_common_encode.h.

◆ seiPayloadArrayCnt [2/2]

uint32_t NvMediaEncodePicParamsH265::seiPayloadArrayCnt

Holds the number of elements allocated in seiPayloadArray array.

Set to 0 if no SEI messages are needed

Definition at line 1454 of file tvmr/include/nvmedia_common_encode.h.

◆ sharpness_level [1/2]

uint32_t NvMediaEncodeConfigVP9::sharpness_level

Specifies Sharpness level.

Definition at line 1557 of file tvmr/include/nvmedia_common_encode.h.

◆ sharpness_level [2/2]

uint32_t NvMediaEncodeConfigVP8::sharpness_level

Specifies Sharpness level.

Definition at line 1766 of file tvmr/include/nvmedia_common_encode.h.

◆ stop_prob_update

NvMediaBool NvMediaEncodeConfigVP8::stop_prob_update

Set to turn off all probability updates to save hw testing time.

Definition at line 1810 of file tvmr/include/nvmedia_common_encode.h.

◆ timingInfoPresentFlag

NvMediaBool NvMediaEncodeConfigH264VUIParams::timingInfoPresentFlag

Holds that num_units_in_tick, time_scale and fixed_frame_rate_flag are present in the bitstream (as defined in Annex E of the ITU-T Specification).

Definition at line 608 of file tvmr/include/nvmedia_common_encode.h.

◆ transferCharacteristics [1/2]

uint8_t NvMediaEncodeConfigH264VUIParams::transferCharacteristics

Holds the opto-electronic transfer characteristics to use (as defined in Annex E of the ITU-T Specification).

Definition at line 602 of file tvmr/include/nvmedia_common_encode.h.

◆ transferCharacteristics [2/2]

uint8_t NvMediaEncodeConfigH265VUIParams::transferCharacteristics

Holds the opto-electronic transfer characteristics to use (as defined in Annex E of the ITU-T Specification).

Definition at line 1101 of file tvmr/include/nvmedia_common_encode.h.

◆ transform_mode

uint32_t NvMediaEncodeConfigVP9::transform_mode

Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_TRANSFORM_MODE to set the following parameter.

Specifies transform_mode.
Value range: One of the following modes:

  • 0: only4x4
  • 1: allow_8x8
  • 2: allow_16x16
  • 3: allow_32x32
  • 4:transform_mode_select.

Definition at line 1599 of file tvmr/include/nvmedia_common_encode.h.

◆ ulNalSize

uint32_t NvMediaNalData::ulNalSize

Nal size for header.

Definition at line 561 of file tvmr/include/nvmedia_common_encode.h.

◆ update_mb_segmentation_data

uint32_t NvMediaEncodeConfigVP8::update_mb_segmentation_data

VP8 update mb segmentation data.

Definition at line 1798 of file tvmr/include/nvmedia_common_encode.h.

◆ update_mb_segmentation_map

uint32_t NvMediaEncodeConfigVP8::update_mb_segmentation_map

Set the feature flag NVMEDIA_ENCODE_CONFIG_VP8_ENABLE_SEGMENTATION to set the following parameters.

VP8 update mb segmentation map

Definition at line 1796 of file tvmr/include/nvmedia_common_encode.h.

◆ useBFramesAsRef [1/2]

uint8_t NvMediaEncodeInitializeParamsH264::useBFramesAsRef

Enables B frames to be used as reference frames.


Value range: 0 to 1

Definition at line 963 of file tvmr/include/nvmedia_common_encode.h.

◆ useBFramesAsRef [2/2]

uint32_t NvMediaEncodeInitializeParamsH265::useBFramesAsRef

Enables B frames to be used as reference frames.


Value range: 0 to 1

Definition at line 1387 of file tvmr/include/nvmedia_common_encode.h.

◆ uvac_delta_q

uint32_t NvMediaEncodeConfigVP8::uvac_delta_q

VP8 UV ac delta.

Definition at line 1790 of file tvmr/include/nvmedia_common_encode.h.

◆ uvdc_delta_q

uint32_t NvMediaEncodeConfigVP8::uvdc_delta_q

VP8 UV dc delta.

Definition at line 1788 of file tvmr/include/nvmedia_common_encode.h.

◆ vbr [1/2]

struct { ... } ::vbr

Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR mode.

◆ vbr [2/2]

struct { ... } NvMediaEncodeRCParams::vbr

Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR mode.

◆ vbr_minqp [1/2]

struct { ... } ::vbr_minqp

Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP mode.

◆ vbr_minqp [2/2]

struct { ... } NvMediaEncodeRCParams::vbr_minqp

Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP mode.

◆ vbvBufferSize [1/5]

uint32_t NvMediaEncodeRCParams::vbvBufferSize

Holds the VBV(HRD) buffer size, in bits.

Set to 0 (zero) to automatically determine the right VBV buffer size as per tier and level limits specified in the relevant coding standard.

Definition at line 111 of file tvmr/include/nvmedia_common_encode.h.

◆ vbvBufferSize [2/5]

uint32_t { ... } ::vbvBufferSize

Holds the VBV(HRD) buffer size, in bits.

Set to 0 (zero) to automatically determine the right VBV buffer size as per tier and level limits specified in the relevant coding standard.

Definition at line 111 of file tvmr/include/nvmedia_common_encode.h.

◆ vbvBufferSize [3/5]

uint32_t { ... } ::vbvBufferSize

Holds the VBV(HRD) buffer size, in bits.

Set to 0 (zero) to automatically determine the right VBV buffer size as per tier and level limits specified in the relevant coding standard.

Definition at line 130 of file tvmr/include/nvmedia_common_encode.h.

◆ vbvBufferSize [4/5]

uint32_t { ... } ::vbvBufferSize

Holds the VBV(HRD) buffer size, in bits.

Set to 0 (zero) to automatically determine the right VBV buffer size as per tier and level limits specified in the relevant coding standard.

Definition at line 144 of file tvmr/include/nvmedia_common_encode.h.

◆ vbvBufferSize [5/5]

uint32_t { ... } ::vbvBufferSize

Holds the VBV(HRD) buffer size, in bits.

Set to 0 (zero) to automatically determine the right VBV buffer size as per tier and level limits specified in the relevant coding standard.

Definition at line 158 of file tvmr/include/nvmedia_common_encode.h.

◆ vbvInitialDelay [1/5]

uint32_t NvMediaEncodeRCParams::vbvInitialDelay

Holds the VBV(HRD) initial delay in bits.

Set to 0 (zero) to use the internally determined VBV initial delay.

Definition at line 114 of file tvmr/include/nvmedia_common_encode.h.

◆ vbvInitialDelay [2/5]

uint32_t { ... } ::vbvInitialDelay

Holds the VBV(HRD) initial delay in bits.

Set to 0 (zero) to use the internally determined VBV initial delay.

Definition at line 114 of file tvmr/include/nvmedia_common_encode.h.

◆ vbvInitialDelay [3/5]

uint32_t { ... } ::vbvInitialDelay

Holds the VBV(HRD) initial delay in bits.

Set to 0 (zero) to use the internally determined VBV initial delay.

Definition at line 133 of file tvmr/include/nvmedia_common_encode.h.

◆ vbvInitialDelay [4/5]

uint32_t { ... } ::vbvInitialDelay

Holds the VBV(HRD) initial delay in bits.

Set to 0 (zero) to use the internally determined VBV initial delay.

Definition at line 147 of file tvmr/include/nvmedia_common_encode.h.

◆ vbvInitialDelay [5/5]

uint32_t { ... } ::vbvInitialDelay

Holds the VBV(HRD) initial delay in bits.

Set to 0 (zero) to use the internally determined VBV initial delay.

Definition at line 161 of file tvmr/include/nvmedia_common_encode.h.

◆ version

uint32_t NvMediaEncodeConfigVP8::version

VP8 version type.

Definition at line 1755 of file tvmr/include/nvmedia_common_encode.h.

◆ videoFormat [1/2]

uint8_t NvMediaEncodeConfigH264VUIParams::videoFormat

Holds the source video format (as defined in Annex E of the ITU-T Specification).

Definition at line 590 of file tvmr/include/nvmedia_common_encode.h.

◆ videoFormat [2/2]

uint8_t NvMediaEncodeConfigH265VUIParams::videoFormat

Holds the source video format (as defined in Annex E of the ITU-T Specification).

Definition at line 1089 of file tvmr/include/nvmedia_common_encode.h.

◆ videoFullRangeFlag [1/2]

NvMediaBool NvMediaEncodeConfigH264VUIParams::videoFullRangeFlag

Holds the output range of the luma and chroma samples (as defined in Annex E of the ITU-T Specification).

Definition at line 593 of file tvmr/include/nvmedia_common_encode.h.

◆ videoFullRangeFlag [2/2]

NvMediaBool NvMediaEncodeConfigH265VUIParams::videoFullRangeFlag

Holds the output range of the luma and chroma samples (as defined in Annex E of the ITU-T Specification).

Definition at line 1092 of file tvmr/include/nvmedia_common_encode.h.

◆ videoSignalTypePresentFlag [1/2]

NvMediaBool NvMediaEncodeConfigH264VUIParams::videoSignalTypePresentFlag

If set to NVMEDIA_TRUE, it specifies that the videoFormat, videoFullRangeFlag and colourDescriptionPresentFlag are present.

Definition at line 587 of file tvmr/include/nvmedia_common_encode.h.

◆ videoSignalTypePresentFlag [2/2]

NvMediaBool NvMediaEncodeConfigH265VUIParams::videoSignalTypePresentFlag

If set to NVMEDIA_TRUE, it specifies that the videoFormat, videoFullRangeFlag, and colourDescriptionPresentFlag are present.

Definition at line 1086 of file tvmr/include/nvmedia_common_encode.h.

◆ viewId [1/2]

uint32_t NvMediaEncodePicParamsH264::viewId

Holds the viewId of current picture.

Definition at line 1055 of file tvmr/include/nvmedia_common_encode.h.

◆ viewId [2/2]

uint32_t NvMediaEncodePicParamsH265::viewId

Holds the viewId of current picture.

Definition at line 1490 of file tvmr/include/nvmedia_common_encode.h.

◆ vuiTimingInfoPresentFlag

NvMediaBool NvMediaEncodeConfigH265VUIParams::vuiTimingInfoPresentFlag

Holds that num_units_in_tick, time_scale and fixed_frame_rate_flag are present in the bitstream (as defined in Annex E of the ITU-T Specification).

Definition at line 1107 of file tvmr/include/nvmedia_common_encode.h.

◆ y1dc_delta_q

uint32_t NvMediaEncodeConfigVP8::y1dc_delta_q

VP8 delta (subtracted from baseline quant index)

VP8 Y1 dc delta

Definition at line 1782 of file tvmr/include/nvmedia_common_encode.h.

◆ y2ac_delta_q

uint32_t NvMediaEncodeConfigVP8::y2ac_delta_q

VP8 Y2 ac delta.

Definition at line 1786 of file tvmr/include/nvmedia_common_encode.h.

◆ y2dc_delta_q

uint32_t NvMediaEncodeConfigVP8::y2dc_delta_q

VP8 Y2 dc delta.

Definition at line 1784 of file tvmr/include/nvmedia_common_encode.h.