NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

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

Detailed Description

Holds H265-specific encode initialization parameters.

Definition at line 2369 of file nvmedia_common.h.

Collaboration diagram for NvMediaEncodeInitializeParamsH265:

Data Fields

uint32_t encodeWidth
 Holds the encode width. More...
 
uint32_t encodeHeight
 Holds the encode height. More...
 
NvMediaBool enableLimitedRGB
 Set this to NVMEDIA_TRUE for limited-RGB (16-235) input. More...
 
NvMediaBool enableSliceLevelEncode
 Set this to NVMEDIA_TRUE for slice level encode. 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 profile
 Holds the encoding profile. More...
 
uint8_t level
 Holds the encoding level. More...
 
uint8_t levelTier
 Holds the level tier information. More...
 
uint8_t maxNumRefFrames
 Holds the max reference numbers used for encoding. More...
 
NvMediaBool enableExternalMEHints
 Set to NVMEDIA_TRUE to enable external ME hints. More...
 
NvMediaEncodeExternalMeHintCountsPerBlocktype 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 enableReconCRC
 Enable support for recon CRC generation. More...
 
NvMediaBool enableMVC
 If client want to do MVC encoding then this flag need to be set. More...
 
NvMediaBool enableROIEncode
 Enable region of interest encoding. More...
 
NvMediaBool enableSliceEncode
 use slice encode to reduce latency in getting encoded buffers. More...
 
uint32_t useBFramesAsRef
 Enables B frames to be used as refernces frames. More...
 
NvMediaBool enableTwoPassRC
 Enable 2 pass RC support. More...
 
NvMediaBool enableSourceHalfScaled
 Enable 2 pass RC with quarter resolution first pass. More...
 
uint32_t mvNumViews: 4
 Number of views used for MV-Hevc. More...
 
uint32_t enableExternalPictureRC: 1
 enable external picture rate control More...
 
uint32_t enableAllIFrames: 1
 Encode all frames as I frames. More...
 
uint32_t reserved: 26
 Add padding. More...
 

Field Documentation

uint32_t NvMediaEncodeInitializeParamsH265::enableAllIFrames

Encode all frames as I frames.

Definition at line 2435 of file nvmedia_common.h.

NvMediaBool NvMediaEncodeInitializeParamsH265::enableExternalMEHints

Set to NVMEDIA_TRUE to enable external ME hints.

Currently this feature is not supported if B frames are used

Definition at line 2404 of file nvmedia_common.h.

uint32_t NvMediaEncodeInitializeParamsH265::enableExternalPictureRC

enable external picture rate control

Definition at line 2433 of file nvmedia_common.h.

NvMediaBool NvMediaEncodeInitializeParamsH265::enableLimitedRGB

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

Definition at line 2375 of file nvmedia_common.h.

NvMediaBool NvMediaEncodeInitializeParamsH265::enableMVC

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

Definition at line 2418 of file nvmedia_common.h.

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.

Definition at line 2416 of file nvmedia_common.h.

NvMediaBool NvMediaEncodeInitializeParamsH265::enableROIEncode

Enable region of interest encoding.

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

Definition at line 2421 of file nvmedia_common.h.

NvMediaBool NvMediaEncodeInitializeParamsH265::enableSliceEncode

use slice encode to reduce latency in getting encoded buffers.

Definition at line 2423 of file nvmedia_common.h.

NvMediaBool NvMediaEncodeInitializeParamsH265::enableSliceLevelEncode

Set this to NVMEDIA_TRUE for slice level encode.

Definition at line 2377 of file nvmedia_common.h.

NvMediaBool NvMediaEncodeInitializeParamsH265::enableSourceHalfScaled

Enable 2 pass RC with quarter resolution first pass.

Definition at line 2429 of file nvmedia_common.h.

NvMediaBool NvMediaEncodeInitializeParamsH265::enableTwoPassRC

Enable 2 pass RC support.

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

Definition at line 2427 of file nvmedia_common.h.

uint32_t NvMediaEncodeInitializeParamsH265::encodeHeight

Holds the encode height.

Definition at line 2373 of file nvmedia_common.h.

uint32_t NvMediaEncodeInitializeParamsH265::encodeWidth

Holds the encode width.

Definition at line 2371 of file nvmedia_common.h.

uint32_t NvMediaEncodeInitializeParamsH265::frameRateDen

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

Definition at line 2383 of file nvmedia_common.h.

uint32_t NvMediaEncodeInitializeParamsH265::frameRateNum

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

Definition at line 2380 of file nvmedia_common.h.

uint8_t NvMediaEncodeInitializeParamsH265::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.

Definition at line 2391 of file nvmedia_common.h.

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_AUTOSELECT.

Definition at line 2395 of file nvmedia_common.h.

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.

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.

Definition at line 2411 of file nvmedia_common.h.

uint8_t NvMediaEncodeInitializeParamsH265::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 2401 of file nvmedia_common.h.

uint32_t NvMediaEncodeInitializeParamsH265::mvNumViews

Number of views used for MV-Hevc.

Definition at line 2431 of file nvmedia_common.h.

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.

Definition at line 2387 of file nvmedia_common.h.

uint32_t NvMediaEncodeInitializeParamsH265::reserved

Add padding.

Definition at line 2437 of file nvmedia_common.h.

uint32_t NvMediaEncodeInitializeParamsH265::useBFramesAsRef

Enables B frames to be used as refernces frames.

Definition at line 2425 of file nvmedia_common.h.


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