NVIDIA DRIVE OS Linux SDK API Reference

5.2.6 Release
For Test and Development only

Detailed Description

Holds VP9-specific encode initialization parameters.

Definition at line 1623 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

◆ enableExternalMEHints

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

◆ enableLimitedRGB

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

◆ encodeHeight

uint32_t NvMediaEncodeInitializeParamsVP9::encodeHeight

Holds the encode height.

Definition at line 1627 of file nvmedia_common_encode.h.

◆ encodeWidth

uint32_t NvMediaEncodeInitializeParamsVP9::encodeWidth

Holds the encode width.

Definition at line 1625 of file nvmedia_common_encode.h.

◆ frameRateDen

uint32_t NvMediaEncodeInitializeParamsVP9::frameRateDen

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

Definition at line 1637 of file nvmedia_common_encode.h.

◆ frameRateNum

uint32_t NvMediaEncodeInitializeParamsVP9::frameRateNum

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

Definition at line 1634 of file nvmedia_common_encode.h.

◆ maxMEHintCountsPerBlock

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.

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

Definition at line 1656 of file nvmedia_common_encode.h.

◆ maxNumRefFrames

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


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