NVIDIA DRIVE OS Linux SDK API Reference

5.1.15.2 Release
For Test and Development only

Detailed Description

The H.265 Encoder API provides basic encode parameters.

Data Structures

struct  NvMediaEncodeConfigH265VUIParams
 Holds the H.265 video usability information parameters. More...
 
struct  NvMediaEncodeConfigH265
 Holds the H265 encoder configuration parameters. More...
 
struct  NvMediaEncodeInitializeParamsH265
 Holds H265-specific encode initialization parameters. More...
 
struct  NvMediaEncodeH265SEIPayload
 Holds an H265-specific User SEI message. More...
 
struct  NvMediaEncodePicParamsH265
 Holds H265-specific encoder picture parameters. More...
 

Enumerations

enum  NvMediaEncodeH265Features {
  NVMEDIA_ENCODE_CONFIG_H265_ENABLE_OUTPUT_AUD = (1 << 0),
  NVMEDIA_ENCODE_CONFIG_H265_ENABLE_INTRA_REFRESH = (1 << 1),
  NVMEDIA_ENCODE_CONFIG_H265_ENABLE_DYNAMIC_SLICE_MODE = (1 << 2),
  NVMEDIA_ENCODE_CONFIG_H265_ENABLE_CONSTRANED_ENCODING = (1 << 3),
  NVMEDIA_ENCODE_CONFIG_H265_ENABLE_LOSSLESS_COMPRESSION = (1 << 4),
  NVMEDIA_ENCODE_CONFIG_H265_ENABLE_SLICE_LEVEL_OUTPUT = (1 << 5),
  NVMEDIA_ENCODE_CONFIG_H265_ENABLE_RTP_MODE_OUTPUT = (1 << 6),
  NVMEDIA_ENCODE_CONFIG_H265_ENABLE_EXT_PIC_RC_HINT = (1 << 7),
  NVMEDIA_ENCODE_CONFIG_H265_ENABLE_DYNAMIC_RPS = (1 << 8),
  NVMEDIA_ENCODE_CONFIG_H265_ENABLE_MV_BUFFER_DUMP = (1 << 9),
  NVMEDIA_ENCODE_CONFIG_H265_ENABLE_PROFILING = (1 << 10),
  NVMEDIA_ENCODE_CONFIG_H265_ENABLE_ULTRA_FAST_ENCODE = (1 << 11),
  NVMEDIA_ENCODE_CONFIG_H265_INIT_QP = (1 << 12),
  NVMEDIA_ENCODE_CONFIG_H265_QP_MAX = (1 << 13),
  NVMEDIA_ENCODE_CONFIG_H265_ENABLE_FOUR_BYTE_START_CODE = (1 << 14)
}
 Defines H265 encoder configuration features. More...
 

Enumeration Type Documentation

◆ NvMediaEncodeH265Features

Defines H265 encoder configuration features.

Enumerator
NVMEDIA_ENCODE_CONFIG_H265_ENABLE_OUTPUT_AUD 

Enable to write access unit delimiter syntax in bitstream.

NVMEDIA_ENCODE_CONFIG_H265_ENABLE_INTRA_REFRESH 

Enable gradual decoder refresh or intra refresh.

If the GOP structure uses B frames this will be ignored

NVMEDIA_ENCODE_CONFIG_H265_ENABLE_DYNAMIC_SLICE_MODE 

Enable dynamic slice mode.

Client must specify max slice size using the maxSliceSizeInBytes field.

NVMEDIA_ENCODE_CONFIG_H265_ENABLE_CONSTRANED_ENCODING 

Enable constrainedFrame encoding where each slice in the constrained picture is independent of other slices.

NVMEDIA_ENCODE_CONFIG_H265_ENABLE_LOSSLESS_COMPRESSION 

Enable lossless compression.

NVMEDIA_ENCODE_CONFIG_H265_ENABLE_SLICE_LEVEL_OUTPUT 

Enable slice level output encoding.

This enables delivery endoded data slice by slice to client to reduce encode latency

NVMEDIA_ENCODE_CONFIG_H265_ENABLE_RTP_MODE_OUTPUT 

Enable RTP mode output.

Nal unit start code will be replaced with NAL size for the NAL units.

NVMEDIA_ENCODE_CONFIG_H265_ENABLE_EXT_PIC_RC_HINT 

Enable support for external picture RC hint.

NVMEDIA_ENCODE_CONFIG_H265_ENABLE_DYNAMIC_RPS 

Enable support for dynamic reference picture set RPS/DPB control support.

After receiving an input buffer and result of previous frame encoding, based on real time information, Some client software determines properties for the new input buffer (long term/short term/non-referenced, frame number/poc/LT index),

NVMEDIA_ENCODE_CONFIG_H265_ENABLE_MV_BUFFER_DUMP 

Enable support for motion vector buffer dump.

This will enable motion vector dump. Motion vector buffer will be appended at the end of encoded bitstream data

NVMEDIA_ENCODE_CONFIG_H265_ENABLE_PROFILING 

Enable encoder profiling.

Profiling information would be added as part of output extradata

NVMEDIA_ENCODE_CONFIG_H265_ENABLE_ULTRA_FAST_ENCODE 

Enable ultra fast encoding.

It overrides some of the quality settings to acheive ultra fast encoding. This is specific to H265 encode.

NVMEDIA_ENCODE_CONFIG_H265_INIT_QP 

Enable support to use client provided Initial QP for all frame types.

NVMEDIA_ENCODE_CONFIG_H265_QP_MAX 

Enable support to use client provided QP max for all frame types.

NVMEDIA_ENCODE_CONFIG_H265_ENABLE_FOUR_BYTE_START_CODE 

Enable support to use 4 byte start code in all the slices in a picture.

Definition at line 919 of file nvmedia_common_encode.h.