NVIDIA DRIVE OS Linux SDK API Reference

5.1.12.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvMediaEncodeInitializeParamsVP9 Struct Reference

Detailed Description

Holds VP9-specific encode initialization parameters.

Definition at line 1274 of file nvmedia_common_encode.h.

Collaboration diagram for NvMediaEncodeInitializeParamsVP9:

Data Fields

uint32_t encodeWidth
 Holds the encode width. More...
 
uint32_t encodeHeight
 Holds the encode height. More...
 
NvMediaBool enableLimitedRGB
 Holds a flag indicating whether input is limited-RGB (16-235). More...
 
uint32_t frameRateNum
 Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint32_t frameRateDen
 Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint8_t maxNumRefFrames
 Holds the max reference numbers used for encoding. More...
 
NvMediaBool enableExternalMEHints
 Holds a flag indicating whether to enable or disable the external ME hints. More...
 
NvMediaEncodeExternalMeHintCountsPerBlocktype 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...
 

Field Documentation

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.

Definition at line 1297 of file nvmedia_common_encode.h.

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.

Definition at line 1281 of file nvmedia_common_encode.h.

uint32_t NvMediaEncodeInitializeParamsVP9::encodeHeight

Holds the encode height.

Definition at line 1278 of file nvmedia_common_encode.h.

uint32_t NvMediaEncodeInitializeParamsVP9::encodeWidth

Holds the encode width.

Definition at line 1276 of file nvmedia_common_encode.h.

uint32_t NvMediaEncodeInitializeParamsVP9::frameRateDen

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

Definition at line 1287 of file nvmedia_common_encode.h.

uint32_t NvMediaEncodeInitializeParamsVP9::frameRateNum

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

Definition at line 1284 of file nvmedia_common_encode.h.

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.

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.

Definition at line 1304 of file nvmedia_common_encode.h.

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 1293 of file nvmedia_common_encode.h.


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