NVIDIA DRIVE 5.0 Linux SDK API Reference

5.0.5.0 Release

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

Detailed Description

Holds VP9-specific encode initialization parameters.

Definition at line 2591 of file nvmedia_common.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 limted-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 2614 of file nvmedia_common.h.

NvMediaBool NvMediaEncodeInitializeParamsVP9::enableLimitedRGB

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

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

Definition at line 2598 of file nvmedia_common.h.

uint32_t NvMediaEncodeInitializeParamsVP9::encodeHeight

Holds the encode height.

Definition at line 2595 of file nvmedia_common.h.

uint32_t NvMediaEncodeInitializeParamsVP9::encodeWidth

Holds the encode width.

Definition at line 2593 of file nvmedia_common.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 2604 of file nvmedia_common.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 2601 of file nvmedia_common.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 2621 of file nvmedia_common.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 2610 of file nvmedia_common.h.


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