NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
nvmedia_common_encode.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2021-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
13 
22 #ifndef NVMEDIA_COMMON_ENCODE_H
23 #define NVMEDIA_COMMON_ENCODE_H
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 #include <stdint.h>
30 #include <stdbool.h>
31 
32 #include "nvmedia_core.h"
34 
45 #define NVMEDIA_ENCODE_TIMEOUT_INFINITE 0xFFFFFFFFU
46 
52 #define NVMEDIA_ENCODE_INFINITE_GOPLENGTH 0xFFFFFFFFU
53 
59 #define NVMEDIA_ENCODE_MAX_PII_REGIONS 64U
60 
66 typedef enum {
76 
81 typedef struct {
83  int16_t qpInterP;
85  int16_t qpInterB;
87  int16_t qpIntra;
88 
89  int16_t reserved[3];
91 
96 typedef struct {
100 
107 typedef enum
108 {
124 
129 typedef struct {
134  uint32_t numBFrames;
135  union {
136  struct {
138  uint32_t averageBitRate;
143  uint32_t vbvBufferSize;
147  uint32_t vbvInitialDelay;
148  } cbr;
149  struct {
153  } const_qp;
154  struct {
156  uint32_t averageBitRate;
158  uint32_t maxBitRate;
163  uint32_t vbvBufferSize;
167  uint32_t vbvInitialDelay;
168  } vbr;
169  struct {
171  uint32_t averageBitRate;
173  uint32_t maxBitRate;
178  uint32_t vbvBufferSize;
182  uint32_t vbvInitialDelay;
185  } vbr_minqp;
186  struct {
188  uint32_t averageBitRate;
193  uint32_t vbvBufferSize;
197  uint32_t vbvInitialDelay;
200  } cbr_minqp;
201  } params;
217  int8_t maxSessionQP;
218  int8_t reserved[3];
220 
225 typedef enum {
231 
244 typedef enum {
260 
265 typedef enum {
268 
290  //check eprf
291  //professional profile not part of above enum for h265?
292 
297 typedef enum {
300 
333 
338 typedef enum {
341 
379 
384 typedef enum {
387 
403 
409 typedef enum {
412 
441 
443 
449 typedef enum {
462 
467 typedef enum {
487 
488 
494 typedef enum {
500 
506 typedef enum {
516 
522 typedef enum {
531 
538 typedef enum {
557 
576 
585 
594 
604 
611 typedef enum {
631 
638 typedef enum {
646 
652 typedef enum {
661 
667 typedef enum {
675 
681 #define MAX_NON_SLICE_DATA_SIZE 2048U
682 
688 typedef struct {
690  uint32_t ulNalSize;
692  uint8_t data[MAX_NON_SLICE_DATA_SIZE];
694 
699 typedef struct {
705  uint8_t aspectRatioIdc;
708  uint16_t aspectSARWidth;
712  uint16_t aspectSARHeight;
723  uint8_t videoFormat;
738  uint8_t colourMatrix;
747 
753 typedef struct {
763 
769 typedef struct {
771  int32_t mvx : 12;
773  int32_t mvy : 10;
776  uint32_t refidx : 5;
778  uint32_t dir : 1;
781  uint32_t partType : 2;
783  uint32_t lastofPart : 1;
785  uint32_t lastOfMB : 1;
787 
793 typedef enum {
883 
888 typedef struct {
891  uint32_t features;
895  uint32_t gopLength;
905  uint32_t idrPeriod;
940  uint32_t intraRefreshCnt;
976 
981 typedef struct {
984  uint32_t payloadSize;
987  uint32_t payloadType;
989  uint8_t *payload;
991 
996 typedef struct {
1002  uint16_t encodeWidth;
1003  uint16_t reserved1;
1009  uint16_t encodeHeight;
1010  uint16_t reserved2;
1017  uint32_t frameRateNum;
1021  uint32_t frameRateDen;
1027  uint8_t profile;
1041  uint8_t level;
1116  uint8_t reserved3[3];
1131  uint32_t mvcNumViews : 4;
1137  uint32_t enableAllIFrames : 1;
1139  uint32_t reserved4 : 1;
1144  uint32_t enableAnonEncode : 1;
1148  uint32_t enableExtOutBuffer : 1;
1155  uint32_t enableAutoFullRange : 1;
1157  uint32_t reserved : 21;
1159 
1164 typedef struct {
1169  uint32_t encodePicFlags;
1176  uint32_t nextBFrames;
1213  union
1214  {
1216  uint8_t *meHints;
1217  };
1221  uint32_t frameRateNum;
1225  uint32_t frameRateDen;
1227  uint32_t viewId;
1231  uint32_t numPIIRegions;
1233  uint32_t noopMode;
1247 typedef struct {
1255  uint16_t aspectSARWidth;
1272  uint8_t videoFormat;
1287  uint8_t matrixCoeffs;
1296 
1301 typedef enum {
1386 
1391 typedef struct {
1394  uint32_t features;
1399  uint32_t gopLength;
1408  uint32_t idrPeriod;
1462 
1467 typedef struct {
1473  uint16_t encodeWidth;
1474  uint16_t reserved1;
1480  uint16_t encodeHeight;
1481  uint16_t reserved2;
1490  uint32_t frameRateNum;
1494  uint32_t frameRateDen;
1500  uint8_t profile;
1508  uint8_t level;
1512  uint8_t levelTier;
1595  uint32_t mvNumViews : 4;
1601  uint32_t enableAllIFrames : 1;
1603  uint32_t reserved3 : 1;
1607  uint32_t enableExtOutBuffer : 1;
1612  uint32_t enableAnonEncode : 1;
1619  uint32_t enableAutoFullRange : 1;
1621  uint32_t reserved : 21;
1627 
1632 typedef struct {
1635  uint32_t payloadSize;
1638  uint32_t payloadType;
1640  uint32_t nalUnitType;
1642  uint8_t *payload;
1644 
1649 typedef struct {
1654  uint32_t encodePicFlags;
1661  uint32_t nextBFrames;
1702  uint32_t frameRateNum;
1706  uint32_t frameRateDen;
1708  uint32_t viewId;
1712  uint32_t numPIIRegions;
1714 
1728 typedef enum {
1748 
1753 typedef struct {
1756  uint32_t features;
1760  uint32_t gopLength;
1767  uint32_t idrPeriod;
1768 
1778  uint32_t filter_type;
1780  uint32_t filter_level;
1785  int8_t ref_lf_deltas[4];
1788  int8_t mode_lf_deltas[2];
1794 
1801  uint32_t base_qindex;
1805  int32_t delta_y_dc_q;
1809  int32_t delta_uv_dc;
1813  int32_t delta_uv_ac;
1814 
1824  uint32_t transform_mode;
1825 
1831  uint32_t high_prec_mv;
1832 
1840 
1851 
1855 typedef struct {
1857  uint32_t encodeWidth;
1859  uint32_t encodeHeight;
1866  uint32_t frameRateNum;
1869  uint32_t frameRateDen;
1894  uint8_t numEpCores;
1897  uint32_t log2TileRows;
1900  uint32_t log2TileCols;
1902  uint32_t vp9SkipChroma;
1904 
1910 typedef struct {
1915  uint32_t encodePicFlags;
1922  uint32_t nextBFrames;
1952 
1966 typedef enum {
1982 
1989 typedef enum {
1997 
2001 typedef struct {
2003  uint32_t features;
2007  uint32_t gopLength;
2014  uint32_t idrPeriod;
2015 
2016  /* Set the feature flag \ref
2017  NVMEDIA_ENCODE_CONFIG_AV1_ENABLE_QUANTIZATION_PARAMS to set the
2018  following parameters */
2022  uint32_t base_qindex;
2026  int32_t delta_y_dc_q;
2030  int32_t delta_uv_dc;
2034  int32_t delta_uv_ac;
2035 
2050 
2054  uint32_t reserved[17];
2056 
2061 typedef struct {
2063  uint32_t encodeWidth;
2065  uint32_t encodeHeight;
2071  uint32_t frameRateNum;
2074  uint32_t frameRateDen;
2080  uint8_t profile;
2088  uint8_t level;
2103  /* Holds the frame restoration filter type*/
2105  /* Set to true to enable bi-compound for B-frames (Currently not
2106  supported)*/
2108  /* Set to true to enable uni-compound for P/B-frames (only
2109  support in Pframes)*/
2111  /* Set to true to enable Internal High Bit depth*/
2128  uint32_t reserved2 : 1;
2132  uint32_t reserved1 : 30;
2134  uint32_t reserved[19];
2136 
2142 typedef struct {
2147  uint32_t encodePicFlags;
2154  uint32_t nextBFrames;
2186  uint32_t frameRateNum;
2190  uint32_t frameRateDen;
2192  uint32_t reserved[18];
2194 
2200 #ifdef __cplusplus
2201 } /* extern "C" */
2202 #endif
2203 
2204 #endif /* NVMEDIA_COMMON_ENCODE_H */
NVMEDIA_ENCODE_H264_POC_TYPE_0
@ NVMEDIA_ENCODE_H264_POC_TYPE_0
Pic_order_cnt_type 0.
Definition: nvmedia_common_encode.h:671
NvMediaEncodeConfigAV1
Holds AV1 encoder configuration parameters.
Definition: nvmedia_common_encode.h:2001
NvMediaEncodePicParamsH264::nextBFrames
uint32_t nextBFrames
Specifies the number of B-frames that follow the current frame.
Definition: nvmedia_common_encode.h:1176
NVMEDIA_ENCODE_DISABLE_INTRA_8x8_HORIZONTAL_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_8x8_HORIZONTAL_PREDICTION
Disable Intra 8x8 horizontal prediction.
Definition: nvmedia_common_encode.h:561
NvMediaEncodeConfigVP9::high_prec_mv
uint32_t high_prec_mv
Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_HIGH_PRECISION_MV to set the following paramete...
Definition: nvmedia_common_encode.h:1831
NvMediaEncodeInitializeParamsVP9::frameRateNum
uint32_t frameRateNum
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum...
Definition: nvmedia_common_encode.h:1866
NvMediaEncodeConfigH265::repeatSPSPPS
NvMediaEncodeH264SPSPPSRepeatMode repeatSPSPPS
Holds the frequency of the writing of Sequence and Picture parameters.
Definition: nvmedia_common_encode.h:1403
NvMediaEncodeConfigH265::features
uint32_t features
Holds bit-wise OR`ed configuration feature flags.
Definition: nvmedia_common_encode.h:1394
NvMediaEncodeLevel
NvMediaEncodeLevel
Defines encoding levels for H264 encoder.
Definition: nvmedia_common_encode.h:338
NVMEDIA_ENCODE_DISABLE_INTER_L0_16x8_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTER_L0_16x8_PREDICTION
Disable Inter L0 partition 16x8 prediction.
Definition: nvmedia_common_encode.h:598
NvMediaEncodeParamsRCMode
NvMediaEncodeParamsRCMode
Rate Control Modes.
Definition: nvmedia_common_encode.h:107
NvMediaEncodeInitializeParamsH265::levelTier
uint8_t levelTier
Holds the level tier information.
Definition: nvmedia_common_encode.h:1512
NvMediaEncodePicParamsVP9::pictureType
NvMediaEncodePicType pictureType
Holds input picture type.
Definition: nvmedia_common_encode.h:1912
NVMEDIA_ENCODE_LEVEL_H265_62
@ NVMEDIA_ENCODE_LEVEL_H265_62
H.265 Level 6.2.
Definition: nvmedia_common_encode.h:438
NVMEDIA_ENCODE_DISABLE_INTRA_8x8_VERTICAL_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_8x8_VERTICAL_PREDICTION
Disable Intra 8x8 vertical prediction.
Definition: nvmedia_common_encode.h:559
NvMediaEncodeConfigH265VUIParams::vuiTimingInfoPresentFlag
bool vuiTimingInfoPresentFlag
Holds that num_units_in_tick, time_scale and fixed_frame_rate_flag are present in the bitstream (as d...
Definition: nvmedia_common_encode.h:1291
NvMediaEncodeConfigVP9::maxQP
NvMediaEncodeQP maxQP
Holds maximum QP parameters.
Definition: nvmedia_common_encode.h:1849
NvMediaEncodeH264SEIPayload::payloadSize
uint32_t payloadSize
SEI payload size in bytes.
Definition: nvmedia_common_encode.h:984
NvMediaEncodeConfigH265VUIParams::transferCharacteristics
uint8_t transferCharacteristics
Holds the opto-electronic transfer characteristics to use (as defined in Annex E of the ITU-T Specifi...
Definition: nvmedia_common_encode.h:1284
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_INTRA_REFRESH
@ NVMEDIA_ENCODE_CONFIG_H264_ENABLE_INTRA_REFRESH
Enable gradual decoder refresh or intra refresh.
Definition: nvmedia_common_encode.h:798
NvMediaEncodeConfigH264::rcParams
NvMediaEncodeRCParams rcParams
Holds the rate control parameters for the current encoding session.
Definition: nvmedia_common_encode.h:897
NvMediaEncodeConfigH264
Holds an H264 encoder configuration.
Definition: nvmedia_common_encode.h:888
NvMediaEncodeInitializeParamsH264::enableMVC
bool enableMVC
If client want to do MVC encoding then this flag need to be set.
Definition: nvmedia_common_encode.h:1094
NvMediaEncodeConfigH265::intraRefreshPeriod
uint32_t intraRefreshPeriod
Holds the interval between frames that trigger a new intra refresh cycle and this cycle lasts for int...
Definition: nvmedia_common_encode.h:1429
NVMEDIA_ENCODE_H264_ADAPTIVE_TRANSFORM_AUTOSELECT
@ NVMEDIA_ENCODE_H264_ADAPTIVE_TRANSFORM_AUTOSELECT
Specifies that Adaptive Transform 8x8 mode is auto selected by the encoder driver.
Definition: nvmedia_common_encode.h:525
NVMEDIA_ENCODE_ENABLE_COLOC_REFINE
@ NVMEDIA_ENCODE_ENABLE_COLOC_REFINE
Enable coloc_refine.
Definition: nvmedia_common_encode.h:623
NVMEDIA_ENCODE_CONFIG_H264_INIT_QP
@ NVMEDIA_ENCODE_CONFIG_H264_INIT_QP
Enable support to use client provided Initial QP for all frame types.
Definition: nvmedia_common_encode.h:842
NVMEDIA_ENCODE_LEVEL_H264_1b
@ NVMEDIA_ENCODE_LEVEL_H264_1b
H.264 Level 1b.
Definition: nvmedia_common_encode.h:345
NvMediaEncodeConfigVP9::delta_y_dc_q
int32_t delta_y_dc_q
Specifies explicit qindex adjustment for y dccoefficient, -15...15.
Definition: nvmedia_common_encode.h:1805
NVMEDIA_ENCODE_LEVEL_H264_22
@ NVMEDIA_ENCODE_LEVEL_H264_22
H.264 Level 2.2.
Definition: nvmedia_common_encode.h:357
NvMediaEncodePicParamsVP9::encodePicFlags
uint32_t encodePicFlags
Holds bit-wise OR`ed encode pic flags.
Definition: nvmedia_common_encode.h:1915
NvMediaEncodeInitializeParamsH265::enableSliceEncode
bool enableSliceEncode
use slice encode to reduce latency in getting encoded buffers.
Definition: nvmedia_common_encode.h:1571
NvMediaEncodeConfigH264::enableWeightedPrediction
uint8_t enableWeightedPrediction
Enable/disable weighted prediction.
Definition: nvmedia_common_encode.h:971
NvMediaEncodeConfigH264VUIParams::transferCharacteristics
uint8_t transferCharacteristics
Holds the opto-electronic transfer characteristics to use (as defined in Annex E of the ITU-T Specifi...
Definition: nvmedia_common_encode.h:735
NvMediaEncodeRCParams::@23::@26::vbvInitialDelay
uint32_t vbvInitialDelay
Holds the VBV(HRD) initial delay in bits.
Definition: nvmedia_common_encode.h:167
NvMediaEncodeConfigH265VUIParams::aspectSARWidth
uint16_t aspectSARWidth
If aspectRatioIdc is Extended SAR it indicates horizontal size of the sample aspect ratio (in arbitra...
Definition: nvmedia_common_encode.h:1255
NvMediaEncodeConfigAV1::idrPeriod
uint32_t idrPeriod
Holds the IDR interval.
Definition: nvmedia_common_encode.h:2014
NvMediaEncodeInitializeParamsAV1::reserved2
uint32_t reserved2
Reserved.
Definition: nvmedia_common_encode.h:2128
NvMediaEncodeConfigH264::numMacroblocksPerSlice
uint32_t numMacroblocksPerSlice
Holds the number of macroblocks per slice.
Definition: nvmedia_common_encode.h:949
NvMediaEncodeConfigAV1::repeatSeqHdr
NvMediaEncodeAV1SeqHdrRepeatMode repeatSeqHdr
Holds the frequency of the writing of Sequence header.
Definition: nvmedia_common_encode.h:2052
NVMEDIA_ENCODE_EXT_PROFILE_HIGH10_INTRA
@ NVMEDIA_ENCODE_EXT_PROFILE_HIGH10_INTRA
High10_intra predictive profile.
Definition: nvmedia_common_encode.h:325
NvMediaEncodePicParamsH264::frameRateDen
uint32_t frameRateDen
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum...
Definition: nvmedia_common_encode.h:1225
NVMEDIA_ENCODE_EXT_PROFILE_HIGH
@ NVMEDIA_ENCODE_EXT_PROFILE_HIGH
High profile.
Definition: nvmedia_common_encode.h:311
NvMediaEncodeInitializeParamsH264::encodeWidth
uint16_t encodeWidth
Holds the encode width.
Definition: nvmedia_common_encode.h:1002
nvmedia_common_encode_decode.h
NVIDIA Media Interface: Common Types for Encode and Decode
NVMEDIA_ENCODE_EXT_PROFILE_CAVLC444_INTRA
@ NVMEDIA_ENCODE_EXT_PROFILE_CAVLC444_INTRA
Cavlc444_intra predictive profile.
Definition: nvmedia_common_encode.h:331
NvMediaEncodeH265SEIPayload::nalUnitType
uint32_t nalUnitType
SEI nal_unit_type.
Definition: nvmedia_common_encode.h:1640
NvMediaEncodeConfigVP9::filter_level
uint32_t filter_level
Specifies the loop filter strength for each segment.
Definition: nvmedia_common_encode.h:1780
NVMEDIA_ENCODE_DISABLE_INTRA_4x4_DC_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_4x4_DC_PREDICTION
Disable Intra 4x4 DC prediction.
Definition: nvmedia_common_encode.h:544
NvMediaEncodeConfigVP9::features
uint32_t features
Holds bit-wise OR`ed configuration feature flags.
Definition: nvmedia_common_encode.h:1756
NvMediaEncodePicParamsH265::pictureType
NvMediaEncodePicType pictureType
Holds input picture type.
Definition: nvmedia_common_encode.h:1651
NvMediaEncodeConfigH264::adaptiveTransformMode
NvMediaEncodeH264AdaptiveTransformMode adaptiveTransformMode
Holds the Adaptive Transform Mode.
Definition: nvmedia_common_encode.h:915
NvMediaEncodeConfigVP9::sharpness_level
uint32_t sharpness_level
Specifies Sharpness level.
Definition: nvmedia_common_encode.h:1782
NvMediaEncodeH265SEIPayload::payload
uint8_t * payload
pointer to user data
Definition: nvmedia_common_encode.h:1642
NVMEDIA_ENCODE_PIC_TYPE_AUTOSELECT
@ NVMEDIA_ENCODE_PIC_TYPE_AUTOSELECT
Auto selected picture type.
Definition: nvmedia_common_encode.h:246
NvMediaEncodeConfigVP9::initQP
NvMediaEncodeQP initQP
Holds Initial QP parameters.
Definition: nvmedia_common_encode.h:1844
NVMEDIA_ENCODE_CONFIG_H265_ENABLE_INTRA_REFRESH
@ NVMEDIA_ENCODE_CONFIG_H265_ENABLE_INTRA_REFRESH
Enable gradual decoder refresh or intra refresh.
Definition: nvmedia_common_encode.h:1306
NvMediaBool
uint32_t NvMediaBool
A boolean value, holding NVMEDIA_TRUE or NVMEDIA_FALSE.
Definition: nvmedia_core.h:79
NVMEDIA_ENCODE_LEVEL_H265_52
@ NVMEDIA_ENCODE_LEVEL_H265_52
H.265 Level 5.2.
Definition: nvmedia_common_encode.h:432
NvMediaEncodeInitializeParamsAV1::enableTileEncode
bool enableTileEncode
Set to true to enable Multiple tile mode.
Definition: nvmedia_common_encode.h:2098
NVMEDIA_ENCODE_CONFIG_AV1_ENABLE_QUANTIZATION_PARAMS
@ NVMEDIA_ENCODE_CONFIG_AV1_ENABLE_QUANTIZATION_PARAMS
Enable to set quantization parameters.
Definition: nvmedia_common_encode.h:1968
NvMediaEncodeH264SEIPayload::payloadType
uint32_t payloadType
SEI payload types and syntax can be found in Annex D of the H.264 Specification.
Definition: nvmedia_common_encode.h:987
NvMediaEncodeConfigH265VUIParams::matrixCoeffs
uint8_t matrixCoeffs
Holds the matrix coefficients used in deriving the luma and chroma from the RGB primaries (as defined...
Definition: nvmedia_common_encode.h:1287
NvMediaEncodeInitializeParamsH264::encodeHeight
uint16_t encodeHeight
Holds the encode height.
Definition: nvmedia_common_encode.h:1009
NvMediaEncodeConfigH265VUIParams::videoFullRangeFlag
bool videoFullRangeFlag
Holds the output range of the luma and chroma samples (as defined in Annex E of the ITU-T Specificati...
Definition: nvmedia_common_encode.h:1275
NvMediaEncodeRCParams::@23::@27::vbvBufferSize
uint32_t vbvBufferSize
Holds the VBV(HRD) buffer size, in bits.
Definition: nvmedia_common_encode.h:178
NVMEDIA_ENCODE_ENABLE_EXTERNAL_REFINE
@ NVMEDIA_ENCODE_ENABLE_EXTERNAL_REFINE
Enable external_refine.
Definition: nvmedia_common_encode.h:625
NVMEDIA_ENCODE_H265_PROFILE_MAIN_STILLPICTURE
@ NVMEDIA_ENCODE_H265_PROFILE_MAIN_STILLPICTURE
Main still profile.
Definition: nvmedia_common_encode.h:393
NvMediaEncodePicParamsVP9::meExternalHints
NvMediaEncodeExternalMEHint * meExternalHints
Holds the pointer to ME external hints for the current frame.
Definition: nvmedia_common_encode.h:1950
NvMediaEncodeInitializeParamsH265::enableExternalPictureRC
uint32_t enableExternalPictureRC
Enable external picture rate control.
Definition: nvmedia_common_encode.h:1598
NVMEDIA_ENCODE_LEVEL_H264_2
@ NVMEDIA_ENCODE_LEVEL_H264_2
H.264 Level 2.
Definition: nvmedia_common_encode.h:353
NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk16x16
uint32_t numCandsPerBlk16x16
Holds the number of candidates per 16x16 block.
Definition: nvmedia_common_encode.h:755
NVMEDIA_ENCODE_LEVEL_H265_1
@ NVMEDIA_ENCODE_LEVEL_H265_1
H.265 Level 1.0.
Definition: nvmedia_common_encode.h:414
NvMediaEncodeInitializeParamsH265::enableAnonEncode
uint32_t enableAnonEncode
Enables video anonymization of PII regions Value range: 0 to 1.
Definition: nvmedia_common_encode.h:1612
NvMediaEncodeInitializeParamsAV1::enableLimitedRGB
bool enableLimitedRGB
Holds a flag indicating whether input is limited-RGB (16-235).
Definition: nvmedia_common_encode.h:2068
NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk16x8
uint32_t numCandsPerBlk16x8
Holds the number of candidates per 16x8 block.
Definition: nvmedia_common_encode.h:757
NVMEDIA_ENCODE_LEVEL_H264_END
@ NVMEDIA_ENCODE_LEVEL_H264_END
Definition: nvmedia_common_encode.h:377
NvMediaEncodePicParamsH265::rcParams
NvMediaEncodeRCParams rcParams
Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECO...
Definition: nvmedia_common_encode.h:1668
NvMediaEncodeInitializeParamsH265::reserved
uint32_t reserved
Add padding.
Definition: nvmedia_common_encode.h:1621
NvMediaEncodeInitializeParamsH265::enableSliceLevelEncode
bool enableSliceLevelEncode
Set this to true for slice level encode.
Definition: nvmedia_common_encode.h:1486
NvMediaEncodeInitializeParamsH265::encodeHeight
uint16_t encodeHeight
Holds the encode height.
Definition: nvmedia_common_encode.h:1480
NVMEDIA_ENCODE_PIC_TYPE_P
@ NVMEDIA_ENCODE_PIC_TYPE_P
Forward predicted.
Definition: nvmedia_common_encode.h:248
NvMediaEncodeExternalMEHint::partType
uint32_t partType
Holds the block partition type.
Definition: nvmedia_common_encode.h:781
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_MV_BUFFER_DUMP
@ NVMEDIA_ENCODE_CONFIG_H264_ENABLE_MV_BUFFER_DUMP
Enable support for motion vector buffer dump.
Definition: nvmedia_common_encode.h:836
NvMediaEncodePicParamsH264::encodePicFlags
uint32_t encodePicFlags
Holds bit-wise OR`ed encode pic flags.
Definition: nvmedia_common_encode.h:1169
NvMediaEncodeInitializeParamsVP9::encodeWidth
uint32_t encodeWidth
Holds the encode width.
Definition: nvmedia_common_encode.h:1857
NvMediaEncodeConfigH264::entropyCodingMode
NvMediaEncodeH264EntropyCodingMode entropyCodingMode
Holds the entropy coding mode.
Definition: nvmedia_common_encode.h:919
NVMEDIA_ENCODE_H264_BDIRECT_MODE_DISABLE
@ NVMEDIA_ENCODE_H264_BDIRECT_MODE_DISABLE
Disable BDirect mode.
Definition: nvmedia_common_encode.h:511
NVMEDIA_ENCODE_LEVEL_H265_41
@ NVMEDIA_ENCODE_LEVEL_H265_41
H.265 Level 4.1.
Definition: nvmedia_common_encode.h:426
NVMEDIA_ENCODE_EXT_PROFILE_HIGH444_PREDICTIVE
@ NVMEDIA_ENCODE_EXT_PROFILE_HIGH444_PREDICTIVE
High444 predictive profile.
Definition: nvmedia_common_encode.h:323
NVMEDIA_ENCODE_BLOCKING_TYPE_NEVER
@ NVMEDIA_ENCODE_BLOCKING_TYPE_NEVER
Never blocks.
Definition: nvmedia_common_encode.h:227
NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_HIGH_PRECISION_MV
@ NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_HIGH_PRECISION_MV
Enable high precision mv.
Definition: nvmedia_common_encode.h:1736
NvMediaEncodeInitializeParamsH265::enableMVC
bool enableMVC
If client want to do MVC encoding then this flag need to be set.
Definition: nvmedia_common_encode.h:1564
NvMediaEncodeConfigH265::disableDeblockingFilter
uint8_t disableDeblockingFilter
Holds disable the deblocking filter.
Definition: nvmedia_common_encode.h:1416
NvMediaEncodeConfigH264VUIParams::aspectRatioIdc
uint8_t aspectRatioIdc
Holds the aspect ratio IDC (as defined in Annex E of the ITU-T Specification).
Definition: nvmedia_common_encode.h:705
NvMediaEncodeConfigVP9::filter_type
uint32_t filter_type
Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_LOOP_FILTER_PARAMS to change the following para...
Definition: nvmedia_common_encode.h:1778
NvMediaEncodeConfigVP9::bmode_ref_lf_delta_enabled
bool bmode_ref_lf_delta_enabled
Set it to true if MB-level loop filter adjustment is on.
Definition: nvmedia_common_encode.h:1790
NvMediaEncodeInitializeParamsAV1::enableSsimRdo
bool enableSsimRdo
Set to true to enable SSIM RDO.
Definition: nvmedia_common_encode.h:2096
NVMEDIA_ENCODE_LEVEL_H265_6
@ NVMEDIA_ENCODE_LEVEL_H265_6
H.265 Level 6.0.
Definition: nvmedia_common_encode.h:434
NvMediaEncAttr_GetVPS
@ NvMediaEncAttr_GetVPS
This attribute is used to get VPS data for current h265 encoding session.
Definition: nvmedia_common_encode.h:659
NvMediaEncodeConfigH265::rcParams
NvMediaEncodeRCParams rcParams
Holds the rate control parameters for the current encoding session.
Definition: nvmedia_common_encode.h:1401
NVMEDIA_ENCODE_LEVEL_H265_5
@ NVMEDIA_ENCODE_LEVEL_H265_5
H.265 Level 5.0.
Definition: nvmedia_common_encode.h:428
NvMediaEncodeConfigH264VUIParams
Holds H264 video usability information parameters.
Definition: nvmedia_common_encode.h:699
NvMediaEncodeInitializeParamsVP9
Holds VP9-specific encode initialization parameters.
Definition: nvmedia_common_encode.h:1855
NvMediaEncodeInitializeParamsH264::extProfile
NvMediaEncodeExtProfile extProfile
Holds the extended encoding profile.
Definition: nvmedia_common_encode.h:1033
NVMEDIA_ENCODE_DISABLE_INTRA_4x4_DIAGONAL_DOWN_LEFT_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_4x4_DIAGONAL_DOWN_LEFT_PREDICTION
Disable Intra 4x4 diagonal down left prediction.
Definition: nvmedia_common_encode.h:546
NvMediaEncodePicParamsAV1::nextBFrames
uint32_t nextBFrames
Holds the number of B-frames that follow the current frame.
Definition: nvmedia_common_encode.h:2154
NvMediaEncodeH264AdaptiveTransformMode
NvMediaEncodeH264AdaptiveTransformMode
Defines H.264 specific Adaptive Transform modes.
Definition: nvmedia_common_encode.h:522
NvMediaEncodeInitializeParamsAV1::frameRateDen
uint32_t frameRateDen
Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateN...
Definition: nvmedia_common_encode.h:2074
NVMEDIA_ENCODE_LEVEL_H265_AUTOSELECT
@ NVMEDIA_ENCODE_LEVEL_H265_AUTOSELECT
Automatic level selection.
Definition: nvmedia_common_encode.h:411
NVMEDIA_ENCODE_PIC_FLAG_CONSTRAINED_FRAME
@ NVMEDIA_ENCODE_PIC_FLAG_CONSTRAINED_FRAME
Indicates that this frame is encoded with each slice completely independent of other slices in the fr...
Definition: nvmedia_common_encode.h:460
NvMediaEncodeConfigH265::gopLength
uint32_t gopLength
Holds the number of pictures in one GOP.
Definition: nvmedia_common_encode.h:1399
NvMediaEncodeConfigH264VUIParams::timingInfoPresentFlag
bool timingInfoPresentFlag
Holds that num_units_in_tick, time_scale and fixed_frame_rate_flag are present in the bitstream (as d...
Definition: nvmedia_common_encode.h:742
NVMEDIA_ENCODE_ENABLE_SELF_SPATIAL_REFINE
@ NVMEDIA_ENCODE_ENABLE_SELF_SPATIAL_REFINE
Enable self_spatial_refine.
Definition: nvmedia_common_encode.h:621
NVMEDIA_ENCODE_LEVEL_H264_21
@ NVMEDIA_ENCODE_LEVEL_H264_21
H.264 Level 2.1.
Definition: nvmedia_common_encode.h:355
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_MV_BUFFER_DUMP_V2
@ NVMEDIA_ENCODE_CONFIG_H264_ENABLE_MV_BUFFER_DUMP_V2
Enable support for motion vector buffer dump in a simplified (V2) format.
Definition: nvmedia_common_encode.h:881
NVMEDIA_ENCODE_LEVEL_H265_3
@ NVMEDIA_ENCODE_LEVEL_H265_3
H.265 Level 3.0.
Definition: nvmedia_common_encode.h:420
NVMEDIA_ENCODE_CONFIG_H265_ENABLE_MV_BUFFER_DUMP
@ NVMEDIA_ENCODE_CONFIG_H265_ENABLE_MV_BUFFER_DUMP
Enable support for motion vector buffer dump.
Definition: nvmedia_common_encode.h:1339
NvMediaEncodeInitializeParamsAV1::frameRestorationType
uint8_t frameRestorationType
Definition: nvmedia_common_encode.h:2104
NvMediaEncodeInitializeParamsH265::frameRateNum
uint32_t frameRateNum
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum...
Definition: nvmedia_common_encode.h:1490
NvMediaEncodeConfigAV1::features
uint32_t features
Holds bit-wise OR`ed configuration feature flags.
Definition: nvmedia_common_encode.h:2003
NvMediaEncodePicParamsH265::frameRateNum
uint32_t frameRateNum
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum...
Definition: nvmedia_common_encode.h:1702
NvMediaEncodeQP::qpInterP
int16_t qpInterP
QP value for P frames.
Definition: nvmedia_common_encode.h:83
NVMEDIA_ENCODE_DISABLE_INTRA_4x4_VERTICAL_RIGHT_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_4x4_VERTICAL_RIGHT_PREDICTION
Disable Intra 4x4 vertical right prediction.
Definition: nvmedia_common_encode.h:550
NvMediaEncodePicParamsH264::@29::meHints
uint8_t * meHints
Definition: nvmedia_common_encode.h:1216
NvMediaEncodeConfigH265VUIParams::videoSignalTypePresentFlag
bool videoSignalTypePresentFlag
If set to true, it specifies that the videoFormat, videoFullRangeFlag, and colourDescriptionPresentFl...
Definition: nvmedia_common_encode.h:1269
NvMediaEncodeConfigH265
Holds the H265 encoder configuration parameters.
Definition: nvmedia_common_encode.h:1391
NvMediaEncodePicParamsH265::numPIIRegions
uint32_t numPIIRegions
Holds the number of PII regions for current pic.
Definition: nvmedia_common_encode.h:1712
NVMEDIA_ENCODE_CONFIG_H265_ENABLE_EXT_PIC_RC_HINT
@ NVMEDIA_ENCODE_CONFIG_H265_ENABLE_EXT_PIC_RC_HINT
Enable support for external picture RC hint.
Definition: nvmedia_common_encode.h:1328
NvMediaEncodeConfigH264::maxQP
NvMediaEncodeQP maxQP
Holds the maximum QP parameters.
Definition: nvmedia_common_encode.h:968
NvMediaEncodeConfigH264VUIParams::colourPrimaries
uint8_t colourPrimaries
Holds color primaries for converting to RGB (as defined in Annex E of the ITU-T Specification).
Definition: nvmedia_common_encode.h:732
NVMEDIA_ENCODE_CONFIG_VP9_DISABLE_ERROR_RESILIENT
@ NVMEDIA_ENCODE_CONFIG_VP9_DISABLE_ERROR_RESILIENT
Disable error resiliency.
Definition: nvmedia_common_encode.h:1738
NvMediaEncodeRCParams::@23::@25::constQP
NvMediaEncodeQP constQP
Holds the initial QP to be used for encoding, these values would be used for all frames in Constant Q...
Definition: nvmedia_common_encode.h:152
NVMEDIA_ENCODE_CONFIG_H264_QP_MAX
@ NVMEDIA_ENCODE_CONFIG_H264_QP_MAX
Enable support to use client provided QP max for all frame types.
Definition: nvmedia_common_encode.h:844
NvMediaEncodeInitializeParamsAV1::maxNumRefFrames
uint8_t maxNumRefFrames
Holds the max reference numbers used for encoding.
Definition: nvmedia_common_encode.h:2094
NVMEDIA_ENCODE_DISABLE_INTRA_8x8_VERTICAL_LEFT_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_8x8_VERTICAL_LEFT_PREDICTION
Disable Intra 8x8 vertical left prediction.
Definition: nvmedia_common_encode.h:573
NVMEDIA_ENCODE_EXT_PROFILE_CONSTRAINED_BASELINE
@ NVMEDIA_ENCODE_EXT_PROFILE_CONSTRAINED_BASELINE
Constrained Baseline profile.
Definition: nvmedia_common_encode.h:304
NvMediaEncodeConfigH264VUIParams::videoSignalTypePresentFlag
bool videoSignalTypePresentFlag
If set to true, it specifies that the videoFormat, videoFullRangeFlag and colourDescriptionPresentFla...
Definition: nvmedia_common_encode.h:720
NvMediaEncodeConfigH264VUIParams::overscanInfoPresentFlag
bool overscanInfoPresentFlag
If set to true, it specifies that the overscanInfo is present.
Definition: nvmedia_common_encode.h:714
NvMediaEncodePicParamsH265
Holds H265-specific encoder picture parameters.
Definition: nvmedia_common_encode.h:1649
NvMediaEncodeConfigH264::maxSliceSizeInBytes
uint32_t maxSliceSizeInBytes
Holds the maximum slice size in bytes for dynamic slice mode.
Definition: nvmedia_common_encode.h:945
NVMEDIA_ENCODE_H265_PROFILES_SCREEN_CONTENT_CODING_EXTENSIONS
@ NVMEDIA_ENCODE_H265_PROFILES_SCREEN_CONTENT_CODING_EXTENSIONS
Screen content coding extensions profiles.
Definition: nvmedia_common_encode.h:399
NvMediaEncodeInitializeParamsH264::frameRateDen
uint32_t frameRateDen
Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateN...
Definition: nvmedia_common_encode.h:1021
NvMediaEncodeInitializeParamsH264::enableSliceEncode
bool enableSliceEncode
Use slice encode to reduce latency in getting encoded buffers.
Definition: nvmedia_common_encode.h:1106
NVMEDIA_ENCODE_CONFIG_H265_ENABLE_OUTPUT_AUD
@ NVMEDIA_ENCODE_CONFIG_H265_ENABLE_OUTPUT_AUD
Enable to write access unit delimiter syntax in bitstream.
Definition: nvmedia_common_encode.h:1303
NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP
@ NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP
Variable bitrate mode with MinQP.
Definition: nvmedia_common_encode.h:118
NvMediaEncodePicParamsH264::seiPayloadArray
NvMediaEncodeH264SEIPayload * seiPayloadArray
Array of SEI payloads which will be inserted for this frame.
Definition: nvmedia_common_encode.h:1188
NVMEDIA_ENCODE_DISABLE_INTER_L0_8x16_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTER_L0_8x16_PREDICTION
Disable Inter L0 partition 8x16 prediction.
Definition: nvmedia_common_encode.h:600
NvMediaEncodeConfigH264::motionPredictionExclusionFlags
uint32_t motionPredictionExclusionFlags
Holds bitwise OR`ed exclusion flags.
Definition: nvmedia_common_encode.h:956
NvMediaEncodeInitializeParamsH265::enableExtOutBuffer
uint32_t enableExtOutBuffer
Set 1 to enable zero copy optimization for output bitstream.
Definition: nvmedia_common_encode.h:1607
NVMEDIA_ENCODE_PARAMS_RC_CBR
@ NVMEDIA_ENCODE_PARAMS_RC_CBR
Constant bitrate mode.
Definition: nvmedia_common_encode.h:110
NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS
@ NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS
Enable to set quantization parameters.
Definition: nvmedia_common_encode.h:1732
NvMediaEncodeConfigH265VUIParams
Holds the H.265 video usability information parameters.
Definition: nvmedia_common_encode.h:1247
NVMEDIA_ENCODE_CONFIG_VP9_QP_MAX
@ NVMEDIA_ENCODE_CONFIG_VP9_QP_MAX
Enable support to use client provided QP max for all frame types.
Definition: nvmedia_common_encode.h:1746
NVMEDIA_ENCODE_H265_PROFILE_AUTOSELECT
@ NVMEDIA_ENCODE_H265_PROFILE_AUTOSELECT
Automatic profile selection.
Definition: nvmedia_common_encode.h:386
NvMediaEncodePicParamsAV1::encodePicFlags
uint32_t encodePicFlags
Holds bit-wise OR`ed encode pic flags.
Definition: nvmedia_common_encode.h:2147
NvMediaEncodeConfigH264::idrPeriod
uint32_t idrPeriod
Holds the IDR interval.
Definition: nvmedia_common_encode.h:905
NvMediaEncodeConfigVP9::gopLength
uint32_t gopLength
Holds the number of pictures in one GOP.
Definition: nvmedia_common_encode.h:1760
NvMediaEncodeConfigH265::maxQP
NvMediaEncodeQP maxQP
Holds maximum QP parameters.
Definition: nvmedia_common_encode.h:1457
NvMediaEncodePicParamsAV1::frameRateDen
uint32_t frameRateDen
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum...
Definition: nvmedia_common_encode.h:2190
NvMediaEncodeConfigVP9
Holds VP9 encoder configuration parameters.
Definition: nvmedia_common_encode.h:1753
NvMediaEncodePicParamsVP9::nextBFrames
uint32_t nextBFrames
Holds the number of B-frames that follow the current frame.
Definition: nvmedia_common_encode.h:1922
NVMEDIA_ENCODE_LEVEL_H264_4
@ NVMEDIA_ENCODE_LEVEL_H264_4
H.264 Level 4.
Definition: nvmedia_common_encode.h:365
NvMediaEncAttr_GetSPS
@ NvMediaEncAttr_GetSPS
This attribute is used to get SPS data for current encoding session.
Definition: nvmedia_common_encode.h:654
NvMediaEncodeConfigH265VUIParams::overscanAppropriateFlag
bool overscanAppropriateFlag
Holds the overscan info (as defined in Annex E of the ITU-T Specification).
Definition: nvmedia_common_encode.h:1265
NvMediaEncodeAV1SeqHdrRepeatMode
NvMediaEncodeAV1SeqHdrRepeatMode
Specifies the frequency of the writing of Sequence header for AV1.
Definition: nvmedia_common_encode.h:1989
NVMEDIA_ENCODE_DISABLE_INTRA_8x8_HORIZONTAL_DOWN_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_8x8_HORIZONTAL_DOWN_PREDICTION
Disable Intra 8x8 horizontal down prediction.
Definition: nvmedia_common_encode.h:571
NVMEDIA_ENCODE_CONFIG_H265_ENABLE_SLICE_LEVEL_OUTPUT
@ NVMEDIA_ENCODE_CONFIG_H265_ENABLE_SLICE_LEVEL_OUTPUT
Enable slice level output encoding.
Definition: nvmedia_common_encode.h:1317
NvMediaEncodeInitializeParamsH264::enableExternalMEHints
bool enableExternalMEHints
Set to true to enable external ME hints.
Definition: nvmedia_common_encode.h:1069
NvMediaEncodeInitializeParamsH264::reserved1
uint16_t reserved1
Definition: nvmedia_common_encode.h:1003
NvMediaEncodeH264SPSPPSRepeatMode
NvMediaEncodeH264SPSPPSRepeatMode
Specifies the frequency of the writing of Sequence and Picture parameters for H.264.
Definition: nvmedia_common_encode.h:638
NvMediaEncodeConfigH265::initQP
NvMediaEncodeQP initQP
Holds Initial QP parameters.
Definition: nvmedia_common_encode.h:1452
NvMediaEncodeRCParams::@23::@28::minQP
NvMediaEncodeQP minQP
Holds the minimum QP used for rate control.
Definition: nvmedia_common_encode.h:199
NvMediaEncodeInitializeParamsH264::reserved
uint32_t reserved
Add padding.
Definition: nvmedia_common_encode.h:1157
NvMediaEncAttr_GetPPS
@ NvMediaEncAttr_GetPPS
This attribute is used to get PPS data for current encoding session.
Definition: nvmedia_common_encode.h:656
NvMediaEncodeInitializeParamsH264::level
uint8_t level
Holds the encoding level.
Definition: nvmedia_common_encode.h:1041
NvMediaEncodeExternalMEHint::mvy
int32_t mvy
Holds the y component of integer pixel MV (relative to current MB) S10.0 .
Definition: nvmedia_common_encode.h:773
NvMediaEncodePicParamsH265::frameRateDen
uint32_t frameRateDen
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum...
Definition: nvmedia_common_encode.h:1706
NvMediaBlockingType
NvMediaBlockingType
Blocking type.
Definition: nvmedia_common_encode.h:225
NVMEDIA_ENC_PRESET_HP
@ NVMEDIA_ENC_PRESET_HP
Encoder Quality Preset HP Relative comparison with respect to other presets:
Definition: nvmedia_common_encode.h:477
NVMEDIA_ENCODE_CONFIG_AV1_ENABLE_PROFILING
@ NVMEDIA_ENCODE_CONFIG_AV1_ENABLE_PROFILING
Enable encoder profiling.
Definition: nvmedia_common_encode.h:1976
NvMediaEncodeRCParams::numBFrames
uint32_t numBFrames
Specified number of B frames between two reference frames.
Definition: nvmedia_common_encode.h:134
NvMediaEncodePicParamsH265::meExternalHints
NvMediaEncodeExternalMEHint * meExternalHints
Holds the pointer to ME external hints for the current frame.
Definition: nvmedia_common_encode.h:1698
NvMediaEncodeConfigAV1::disableCdfUpdate
NvMediaBool disableCdfUpdate
Set to true to disable CDF update.
Definition: nvmedia_common_encode.h:2046
NvMediaEncodeInitializeParamsAV1
Holds AV1-specific encode initialization parameters.
Definition: nvmedia_common_encode.h:2061
NVMEDIA_ENCODE_LEVEL_H264_32
@ NVMEDIA_ENCODE_LEVEL_H264_32
H.264 Level 3.2.
Definition: nvmedia_common_encode.h:363
NVMEDIA_ENCODER_INSTANCE_0
@ NVMEDIA_ENCODER_INSTANCE_0
Specifies the encoder instance ID 0.
Definition: nvmedia_common_encode.h:68
NvMediaEncodeInitializeParamsAV1::encodeHeight
uint32_t encodeHeight
Holds the encode height.
Definition: nvmedia_common_encode.h:2065
NvMediaEncodeConfigH264::h264VUIParameters
NvMediaEncodeConfigH264VUIParams * h264VUIParameters
Holds the H.264 video usability information pamameters.
Definition: nvmedia_common_encode.h:952
NvMediaEncodeInitializeParamsVP9::encodeHeight
uint32_t encodeHeight
Holds the encode height.
Definition: nvmedia_common_encode.h:1859
NVMEDIA_ENCODER_INSTANCE_1
@ NVMEDIA_ENCODER_INSTANCE_1
Specifies the encoder instance ID 1.
Definition: nvmedia_common_encode.h:70
NvMediaEncodeH265SEIPayload::payloadSize
uint32_t payloadSize
SEI payload size in bytes.
Definition: nvmedia_common_encode.h:1635
NvMediaEncodeRCParams::@23::@26::vbvBufferSize
uint32_t vbvBufferSize
Holds the VBV(HRD) buffer size, in bits.
Definition: nvmedia_common_encode.h:163
NVMEDIA_ENCODE_PROFILE_EXTENDED
@ NVMEDIA_ENCODE_PROFILE_EXTENDED
Extended profile.
Definition: nvmedia_common_encode.h:275
NvMediaEncodeInitializeParamsH264::mvcNumViews
uint32_t mvcNumViews
Number of views used for MVC.
Definition: nvmedia_common_encode.h:1131
NVMEDIA_ENCODE_SPSPPS_REPEAT_DISABLED
@ NVMEDIA_ENCODE_SPSPPS_REPEAT_DISABLED
Repeating of SPS/PPS is disabled.
Definition: nvmedia_common_encode.h:640
NvMediaEncodeInitializeParamsH265::ampDisable
bool ampDisable
Use ampDisable to enable or disable assymetric partition types.
Definition: nvmedia_common_encode.h:1625
NvMediaEncodeExternalMEHint::dir
uint32_t dir
Holds the direction of motion estimation .
Definition: nvmedia_common_encode.h:778
NvMediaEncodeConfigH265VUIParams::videoFormat
uint8_t videoFormat
Holds the source video format (as defined in Annex E of the ITU-T Specification).
Definition: nvmedia_common_encode.h:1272
NvMediaEncodeConfigH265VUIParams::bitstreamRestrictionFlag
bool bitstreamRestrictionFlag
Specified the bitstream restriction info (as defined in Annex E of the ITU-T Specification).
Definition: nvmedia_common_encode.h:1294
NvMediaEncodeInitializeParamsAV1::reserved1
uint32_t reserved1
Reserved.
Definition: nvmedia_common_encode.h:2132
NvMediaEncodeConfigH264::intraRefreshCnt
uint32_t intraRefreshCnt
Holds the number of frames over which intra refresh happens.
Definition: nvmedia_common_encode.h:940
NvMediaEncodeInitializeParamsH265::reserved2
uint16_t reserved2
Definition: nvmedia_common_encode.h:1481
NvMediaEncodePicParamsH264::pictureType
NvMediaEncodePicType pictureType
Holds input picture type.
Definition: nvmedia_common_encode.h:1166
NVMEDIA_ENCODE_H264_POC_TYPE_2
@ NVMEDIA_ENCODE_H264_POC_TYPE_2
Pic_order_cnt_type 2.
Definition: nvmedia_common_encode.h:673
NvMediaEncodeInitializeParamsH264::enableAutoFullRange
uint32_t enableAutoFullRange
Set 1 to enable automatic VUI videoFullRangeFlag detection \ from input surface properties Value ra...
Definition: nvmedia_common_encode.h:1155
NVMEDIA_ENCODE_EXT_PROFILE_AUTOSELECT
@ NVMEDIA_ENCODE_EXT_PROFILE_AUTOSELECT
Automatic profile selection.
Definition: nvmedia_common_encode.h:299
NVMEDIA_ENCODE_PROFILE_HIGH
@ NVMEDIA_ENCODE_PROFILE_HIGH
High profile.
Definition: nvmedia_common_encode.h:277
NvMediaEncodeRCParams::@23::@26::averageBitRate
uint32_t averageBitRate
Holds the average bitrate (in bits/sec) used for encoding.
Definition: nvmedia_common_encode.h:156
NvMediaEncodeExternalMEHint
Holds an External Motion Vector hint.
Definition: nvmedia_common_encode.h:769
NvMediaEncodeConfigH264VUIParams::aspectSARHeight
uint16_t aspectSARHeight
If aspectRatioIdc is Extended SAR then it indicates vertical size of the sample aspect ratio (in the ...
Definition: nvmedia_common_encode.h:712
NvMediaEncodeExternalMEHint::lastofPart
uint32_t lastofPart
Set to true for the last MV of (sub) partition
Definition: nvmedia_common_encode.h:783
NVMEDIA_ENCODE_BLOCKING_TYPE_IF_PENDING
@ NVMEDIA_ENCODE_BLOCKING_TYPE_IF_PENDING
Block only when operation is pending.
Definition: nvmedia_common_encode.h:229
NVMEDIA_ENCODE_H265_PROFILES_HIGH_THROUGHPUT
@ NVMEDIA_ENCODE_H265_PROFILES_HIGH_THROUGHPUT
High throughput profiles.
Definition: nvmedia_common_encode.h:397
NvMediaEncodeQP::qpIntra
int16_t qpIntra
QP value for Intra frames.
Definition: nvmedia_common_encode.h:87
NvMediaEncodeConfigH265VUIParams::aspectRatioInfoPresentFlag
bool aspectRatioInfoPresentFlag
If set to true, specifies the aspectRatioIdc is present.
Definition: nvmedia_common_encode.h:1249
NVMEDIA_ENCODE_CONFIG_AV1_QP_MAX
@ NVMEDIA_ENCODE_CONFIG_AV1_QP_MAX
Enable support to use client provided QP max for all frame types.
Definition: nvmedia_common_encode.h:1980
NvMediaEncPreset
NvMediaEncPreset
Defines encode preset level settings.
Definition: nvmedia_common_encode.h:467
NvMediaEncodeInitializeParamsH265::enableAutoFullRange
uint32_t enableAutoFullRange
Set 1 to enable automatic VUI videoFullRangeFlag detection \ from input surface properties Value ra...
Definition: nvmedia_common_encode.h:1619
NvMediaEncodeH264BDirectMode
NvMediaEncodeH264BDirectMode
Defines H.264 specific Bdirect modes.
Definition: nvmedia_common_encode.h:506
NVMEDIA_ENCODE_DISABLE_INTRA_4x4_HORIZONTAL_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_4x4_HORIZONTAL_PREDICTION
Disable Intra 4x4 horizontal prediction.
Definition: nvmedia_common_encode.h:542
NVMEDIA_ENC_PRESET_HQ
@ NVMEDIA_ENC_PRESET_HQ
Encoder Quality Preset HQ Relative comparison with respect to other presets:
Definition: nvmedia_common_encode.h:472
NVMEDIA_ENCODE_MOTION_SEARCH_CONTROL_FLAG_VALID
@ NVMEDIA_ENCODE_MOTION_SEARCH_CONTROL_FLAG_VALID
Enable the flag set.
Definition: nvmedia_common_encode.h:629
NvMediaEncodeConfigH265::maxSliceSizeInBytes
uint32_t maxSliceSizeInBytes
Holds the maximum slice size in bytes for dynamic slice mode.
Definition: nvmedia_common_encode.h:1441
NVMEDIA_ENCODE_LEVEL_H264_42
@ NVMEDIA_ENCODE_LEVEL_H264_42
H.264 Level 4.2.
Definition: nvmedia_common_encode.h:369
NVMEDIA_ENCODE_PARAMS_RC_CONSTQP
@ NVMEDIA_ENCODE_PARAMS_RC_CONSTQP
Constant QP mode.
Definition: nvmedia_common_encode.h:112
NVMEDIA_ENCODE_LEVEL_H265_END
@ NVMEDIA_ENCODE_LEVEL_H265_END
Definition: nvmedia_common_encode.h:440
NvMediaEncodeConfigH264VUIParams::bitstreamRestrictionFlag
bool bitstreamRestrictionFlag
Holds the bitstream restriction info (as defined in Annex E of the ITU-T Specification).
Definition: nvmedia_common_encode.h:745
NvMediaEncodeConfigAV1::delta_uv_ac
int32_t delta_uv_ac
Specifies qindex adjustment for uv dccoefficient, -15...15.
Definition: nvmedia_common_encode.h:2034
NVMEDIA_ENCODE_SEQUENCEHDR_REPEAT_INTRA_FRAMES
@ NVMEDIA_ENCODE_SEQUENCEHDR_REPEAT_INTRA_FRAMES
SPS is repeated for every intra frame.
Definition: nvmedia_common_encode.h:1993
NVMEDIA_ENCODE_LEVEL_H265_31
@ NVMEDIA_ENCODE_LEVEL_H265_31
H.265 Level 3.1.
Definition: nvmedia_common_encode.h:422
NVMEDIA_ENCODE_EXT_PROFILE_HIGH444_INTRA
@ NVMEDIA_ENCODE_EXT_PROFILE_HIGH444_INTRA
High444_intra predictive profile.
Definition: nvmedia_common_encode.h:329
NvMediaEncodePicParamsAV1::meExternalHints
NvMediaEncodeExternalMEHint * meExternalHints
Holds the pointer to ME external hints for the current frame.
Definition: nvmedia_common_encode.h:2182
NvMediaEncodeConfigH264::pocType
NvMediaEncodeH264POCType pocType
Holds pic_ordec_cnt_type.
Definition: nvmedia_common_encode.h:958
NVMEDIA_ENCODE_DISABLE_INTER_L0_16x16_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTER_L0_16x16_PREDICTION
Disable Inter L0 partition 16x16 prediction.
Definition: nvmedia_common_encode.h:596
NVMEDIA_ENCODE_ENABLE_IP_SEARCH_INTRA_8x8
@ NVMEDIA_ENCODE_ENABLE_IP_SEARCH_INTRA_8x8
IP Search mode bit Intra 8x8.
Definition: nvmedia_common_encode.h:615
NvMediaEncodeInitializeParamsH265::level
uint8_t level
Holds the encoding level.
Definition: nvmedia_common_encode.h:1508
NvMediaEncodeInitializeParamsVP9::numEpCores
uint8_t numEpCores
Holds number of HW entropy cores for encoding.
Definition: nvmedia_common_encode.h:1894
NVMEDIA_ENCODE_PIC_FLAG_OUTPUT_SPSPPS
@ NVMEDIA_ENCODE_PIC_FLAG_OUTPUT_SPSPPS
Writes the sequence and picture header in encoded bitstream of the current picture.
Definition: nvmedia_common_encode.h:452
NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk8x8
uint32_t numCandsPerBlk8x8
Holds the number of candidates per 8x8 block.
Definition: nvmedia_common_encode.h:761
NvMediaEncodeInitializeParamsVP9::frameRateDen
uint32_t frameRateDen
Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateN...
Definition: nvmedia_common_encode.h:1869
NvMediaEncodeInitializeParamsH264::enableExternalPictureRC
uint32_t enableExternalPictureRC
Enable external picture rate control.
Definition: nvmedia_common_encode.h:1134
NVMEDIA_ENCODE_DISABLE_INTRA_4x4_DIAGONAL_DOWN_RIGHT_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_4x4_DIAGONAL_DOWN_RIGHT_PREDICTION
Disable Intra 4x4 diagonal down right prediction.
Definition: nvmedia_common_encode.h:548
NvMediaEncodeRCParams::@23::@27::maxBitRate
uint32_t maxBitRate
Holds the maximum bitrate for the encoded output.
Definition: nvmedia_common_encode.h:173
NVMEDIA_ENCODE_EXT_PROFILE_PROGRESSIVE_HIGH
@ NVMEDIA_ENCODE_EXT_PROFILE_PROGRESSIVE_HIGH
Progressive High profile.
Definition: nvmedia_common_encode.h:313
NvMediaEncodeConfigH264::disableDeblockingFilterIDC
uint8_t disableDeblockingFilterIDC
Holds the deblocking filter mode.
Definition: nvmedia_common_encode.h:913
NVMEDIA_ENCODE_EXT_PROFILE_EXTENDED
@ NVMEDIA_ENCODE_EXT_PROFILE_EXTENDED
Extended profile.
Definition: nvmedia_common_encode.h:309
NvMediaEncodeInitializeParamsH265::profile
uint8_t profile
Holds the encoding profile to be set based on NvMediaEncodeH265Profile.
Definition: nvmedia_common_encode.h:1500
NvMediaEncodeExternalMEHint::lastOfMB
uint32_t lastOfMB
Set to true for the last MV of macroblock.
Definition: nvmedia_common_encode.h:785
NvMediaEncodeInitializeParamsAV1::enableBiCompound
bool enableBiCompound
Definition: nvmedia_common_encode.h:2107
NvMediaEncodeH264MotionSearchControlFlags
NvMediaEncodeH264MotionSearchControlFlags
Defines motion search mode control flags for H.264.
Definition: nvmedia_common_encode.h:611
NvMediaEncodeConfigAV1::encPreset
NvMediaEncPreset encPreset
Holds the encode quality pre-set.
Definition: nvmedia_common_encode.h:2049
NvMediaEncodePicParamsH264
H264 specific encoder picture params.
Definition: nvmedia_common_encode.h:1164
NvMediaEncodeRCParams::bConstFrameQP
bool bConstFrameQP
Use constant QP at frame level or MB row level.
Definition: nvmedia_common_encode.h:208
NvMediaEncodeRCParams::@23::@27::minQP
NvMediaEncodeQP minQP
Holds the minimum QP used for rate control.
Definition: nvmedia_common_encode.h:184
NVMEDIA_ENCODE_PARAMS_RC_VBR
@ NVMEDIA_ENCODE_PARAMS_RC_VBR
Variable bitrate mode.
Definition: nvmedia_common_encode.h:114
NvMediaEncodeH265Profile
NvMediaEncodeH265Profile
Defines H265encoding profiles.
Definition: nvmedia_common_encode.h:384
NVMEDIA_ENCODE_LEVEL_H265_61
@ NVMEDIA_ENCODE_LEVEL_H265_61
H.265 Level 6.1.
Definition: nvmedia_common_encode.h:436
NvMediaEncodeInitializeParamsAV1::disableMemoryOptimization
uint32_t disableMemoryOptimization
Set to 1 to disable the memory optimizations.
Definition: nvmedia_common_encode.h:2130
NvMediaEncodePicParamsH264::numPIIRegions
uint32_t numPIIRegions
Holds the number of PII regions for current pic.
Definition: nvmedia_common_encode.h:1231
NvMediaEncodeConfigVP9::bmode_ref_lf_delta_update
bool bmode_ref_lf_delta_update
Set it to true if MB-level loop filter adjustment delta values are updated.
Definition: nvmedia_common_encode.h:1793
NvMediaEncodeConfigH264::features
uint32_t features
Holds bit-wise OR`ed configuration feature flags.
Definition: nvmedia_common_encode.h:891
NvMediaEncodeH265SEIPayload
Holds an H265-specific User SEI message.
Definition: nvmedia_common_encode.h:1632
NvMediaEncodeInitializeParamsH264::enableTwoPassRC
bool enableTwoPassRC
Enable 2 pass RC support.
Definition: nvmedia_common_encode.h:1120
NVMEDIA_ENCODE_PROFILE_AUTOSELECT
@ NVMEDIA_ENCODE_PROFILE_AUTOSELECT
Automatic profile selection.
Definition: nvmedia_common_encode.h:267
NVMEDIA_ENCODE_DISABLE_INTRA_16x16_PLANE_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_16x16_PLANE_PREDICTION
Disable Intra 16x16 plane prediction.
Definition: nvmedia_common_encode.h:584
NvMediaEncodeQP
Holds quantization parameters (QP) value for frames.
Definition: nvmedia_common_encode.h:81
NvMediaEncodeConfigAV1::base_qindex
uint32_t base_qindex
Specifies quant base index (used only when rc_mode = 0) for each segment 0...255.
Definition: nvmedia_common_encode.h:2022
NVMEDIA_ENCODE_LEVEL_H264_11
@ NVMEDIA_ENCODE_LEVEL_H264_11
H.264 Level 1.1.
Definition: nvmedia_common_encode.h:347
NvMediaEncodeInitializeParamsAV1::enableExternalMEHints
bool enableExternalMEHints
Holds a flag indicating whether to enable or disable the external ME hints.
Definition: nvmedia_common_encode.h:2116
NVMEDIA_ENCODE_LEVEL_H264_1
@ NVMEDIA_ENCODE_LEVEL_H264_1
H.264 Level 1.
Definition: nvmedia_common_encode.h:343
NvMediaEncodeRCParams::@23::@26::maxBitRate
uint32_t maxBitRate
Holds the maximum bitrate for the encoded output.
Definition: nvmedia_common_encode.h:158
NvMediaEncodePicParamsH264::viewId
uint32_t viewId
Holds the viewId of current picture.
Definition: nvmedia_common_encode.h:1227
NvMediaEncodeConfigVP9::delta_uv_dc
int32_t delta_uv_dc
Specifies qindex adjustment for uv accoefficient, -15...15.
Definition: nvmedia_common_encode.h:1809
NvMediaEncodeConfigH264::gopLength
uint32_t gopLength
Holds the number of pictures in one GOP.
Definition: nvmedia_common_encode.h:895
NvMediaEncodeConfigAV1::initQP
NvMediaEncodeQP initQP
Holds Initial QP parameters.
Definition: nvmedia_common_encode.h:2039
NvMediaEncodeInitializeParamsH265::frameRateDen
uint32_t frameRateDen
Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateN...
Definition: nvmedia_common_encode.h:1494
NvMediaEncodeInitializeParamsH264::enableAllIFrames
uint32_t enableAllIFrames
Encode all frames as I frames.
Definition: nvmedia_common_encode.h:1137
NvMediaEncodeConfigVP9::idrPeriod
uint32_t idrPeriod
Holds the IDR interval.
Definition: nvmedia_common_encode.h:1767
NvMediaRect
Holds a rectangular region of a surface.
Definition: nvmedia_core.h:98
NvMediaEncodeConfigH265VUIParams::colourPrimaries
uint8_t colourPrimaries
Holds color primaries for converting to RGB (as defined in Annex E of the ITU-T Specification).
Definition: nvmedia_common_encode.h:1281
NvMediaEncodeConfigH265::numSliceCountMinus1
uint16_t numSliceCountMinus1
Holds a number that is 1 less than the desired number of slices per frame.
Definition: nvmedia_common_encode.h:1413
nvmedia_core.h
NVIDIA Media Interface: Core
NVMEDIA_ENCODE_LEVEL_H265_21
@ NVMEDIA_ENCODE_LEVEL_H265_21
H.265 Level 2.1.
Definition: nvmedia_common_encode.h:418
NvMediaEncodePicParamsH265::encodePicFlags
uint32_t encodePicFlags
Holds bit-wise OR`ed encode pic flags.
Definition: nvmedia_common_encode.h:1654
NvMediaEncodeInitializeParamsH264::useBFramesAsRef
uint8_t useBFramesAsRef
Enables B frames to be used as reference frames.
Definition: nvmedia_common_encode.h:1115
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_OUTPUT_AUD
@ NVMEDIA_ENCODE_CONFIG_H264_ENABLE_OUTPUT_AUD
Enable to write access unit delimiter syntax in bitstream.
Definition: nvmedia_common_encode.h:795
NvMediaEncodeInitializeParamsH265::encodeWidth
uint16_t encodeWidth
Holds the encode width.
Definition: nvmedia_common_encode.h:1473
NvMediaEncodeInitializeParamsH264::enableROIEncode
bool enableROIEncode
Enable region of interest encoding.
Definition: nvmedia_common_encode.h:1103
NVMEDIA_ENCODE_DISABLE_INTER_L0_8x8_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTER_L0_8x8_PREDICTION
Disable Inter L0 partition 8x8 prediction.
Definition: nvmedia_common_encode.h:602
NVMEDIA_ENCODE_DISABLE_INTRA_CHROMA_PLANE_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_CHROMA_PLANE_PREDICTION
Disable Intra chroma plane prediction.
Definition: nvmedia_common_encode.h:593
NVMEDIA_ENCODE_PROFILE_BASELINE
@ NVMEDIA_ENCODE_PROFILE_BASELINE
Baseline profile.
Definition: nvmedia_common_encode.h:270
NvMediaEncodeConfigAV1::gopLength
uint32_t gopLength
Holds the number of pictures in one GOP.
Definition: nvmedia_common_encode.h:2007
NvMediaEncodeInitializeParamsH265
Holds H265-specific encode initialization parameters.
Definition: nvmedia_common_encode.h:1467
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_ULTRA_FAST_ENCODE
@ NVMEDIA_ENCODE_CONFIG_H264_ENABLE_ULTRA_FAST_ENCODE
Use "NvMediaEncPreset" instead to set ultra fast encode.
Definition: nvmedia_common_encode.h:850
NvMediaEncodeRCParams::@23::@24::vbvInitialDelay
uint32_t vbvInitialDelay
Holds the VBV(HRD) initial delay in bits.
Definition: nvmedia_common_encode.h:147
NVMEDIA_ENCODE_EXT_PROFILE_PROGRESSIVE_HIGH10
@ NVMEDIA_ENCODE_EXT_PROFILE_PROGRESSIVE_HIGH10
Progressive High10 profile.
Definition: nvmedia_common_encode.h:319
NVMEDIA_ENCODE_DISABLE_INTRA_16x16_DC_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_16x16_DC_PREDICTION
Disable Intra 16x16 DC prediction.
Definition: nvmedia_common_encode.h:582
NvMediaEncodeInitializeParamsH265::maxNumRefFrames
uint8_t maxNumRefFrames
Holds the maximum number of reference frames used for encoding.
Definition: nvmedia_common_encode.h:1535
NVMEDIA_ENCODE_ENABLE_IP_SEARCH_INTRA_16x16
@ NVMEDIA_ENCODE_ENABLE_IP_SEARCH_INTRA_16x16
IP Search mode bit Intra 16x16.
Definition: nvmedia_common_encode.h:617
NvMediaEncodeRCParams::@23::@24::averageBitRate
uint32_t averageBitRate
Holds the average bitrate (in bits/sec) used for encoding.
Definition: nvmedia_common_encode.h:138
NVMEDIA_ENCODE_LEVEL_H264_3
@ NVMEDIA_ENCODE_LEVEL_H264_3
H.264 Level 3.
Definition: nvmedia_common_encode.h:359
NvMediaEncodeConfigH264VUIParams::colourDescriptionPresentFlag
bool colourDescriptionPresentFlag
If set to true, it specifies that the colourPrimaries, transferCharacteristics and colourMatrix are p...
Definition: nvmedia_common_encode.h:729
NVMEDIA_ENCODE_CONFIG_H265_ENABLE_LOSSLESS_COMPRESSION
@ NVMEDIA_ENCODE_CONFIG_H265_ENABLE_LOSSLESS_COMPRESSION
Enable lossless compression.
Definition: nvmedia_common_encode.h:1314
NvMediaEncodeRCParams::@23::@28::averageBitRate
uint32_t averageBitRate
Holds the average bitrate (in bits/sec) used for encoding.
Definition: nvmedia_common_encode.h:188
NvMediaEncodeInitializeParamsH264::reserved2
uint16_t reserved2
Definition: nvmedia_common_encode.h:1010
NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE
@ NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE
Indicates change in rate control parameters from the current picture onwards.
Definition: nvmedia_common_encode.h:455
NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk8x16
uint32_t numCandsPerBlk8x16
Holds the number of candidates per 8x16 block.
Definition: nvmedia_common_encode.h:759
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_LOSSLESS_COMPRESSION
@ NVMEDIA_ENCODE_CONFIG_H264_ENABLE_LOSSLESS_COMPRESSION
Enable lossless compression.
Definition: nvmedia_common_encode.h:808
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_FOUR_BYTE_START_CODE
@ NVMEDIA_ENCODE_CONFIG_H264_ENABLE_FOUR_BYTE_START_CODE
Enable support to use 4 byte start code in all the slices in a picture.
Definition: nvmedia_common_encode.h:846
NVMEDIA_ENCODE_LEVEL_H264_41
@ NVMEDIA_ENCODE_LEVEL_H264_41
H.264 Level 4.1.
Definition: nvmedia_common_encode.h:367
NvMediaEncodeInitializeParamsAV1::enableInternalHighBitDepth
bool enableInternalHighBitDepth
Definition: nvmedia_common_encode.h:2112
NVMEDIA_ENCODE_CONFIG_VP9_INIT_QP
@ NVMEDIA_ENCODE_CONFIG_VP9_INIT_QP
Enable support to use client provided Initial QP for all frame types.
Definition: nvmedia_common_encode.h:1744
NVMEDIA_ENCODE_CONFIG_H265_ENABLE_FOUR_BYTE_START_CODE
@ 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: nvmedia_common_encode.h:1353
NVMEDIA_ENCODE_H265_PROFILE_MAIN10
@ NVMEDIA_ENCODE_H265_PROFILE_MAIN10
Main10.
Definition: nvmedia_common_encode.h:391
NvMediaEncodeConfigAV1::delta_y_dc_q
int32_t delta_y_dc_q
Specifies explicit qindex adjustment for y dccoefficient, -15...15.
Definition: nvmedia_common_encode.h:2026
NvMediaEncodeH264MotionPredictionExclusionFlags
NvMediaEncodeH264MotionPredictionExclusionFlags
Defines motion prediction exclusion flags for H.264.
Definition: nvmedia_common_encode.h:538
NVMEDIA_ENCODE_DISABLE_INTRA_CHROMA_DC_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_CHROMA_DC_PREDICTION
Disable Intra chroma DC prediction.
Definition: nvmedia_common_encode.h:591
NVMEDIA_ENC_PRESET_UHP
@ NVMEDIA_ENC_PRESET_UHP
Encoder Quality Preset UHP Relative comparison with respect to other presets:
Definition: nvmedia_common_encode.h:482
NVMEDIA_ENCODE_EXT_PROFILE_CONSTRAINED_HIGH
@ NVMEDIA_ENCODE_EXT_PROFILE_CONSTRAINED_HIGH
Constrained High profile.
Definition: nvmedia_common_encode.h:315
NVMEDIA_ENCODE_H265_PROFILES_HIGH_THROUGHPUT_SCREEN_CONTENT_CODING_EXTENSIONS
@ NVMEDIA_ENCODE_H265_PROFILES_HIGH_THROUGHPUT_SCREEN_CONTENT_CODING_EXTENSIONS
High throughput screen content coding extensions profiles.
Definition: nvmedia_common_encode.h:401
NVMEDIA_ENCODE_CONFIG_AV1_FRAME_END_CDF_UPDATE
@ NVMEDIA_ENCODE_CONFIG_AV1_FRAME_END_CDF_UPDATE
enable/disable CDF update at end of frame
Definition: nvmedia_common_encode.h:1972
NvMediaEncodeInitializeParamsVP9::enableLimitedRGB
bool enableLimitedRGB
Holds a flag indicating whether input is limited-RGB (16-235).
Definition: nvmedia_common_encode.h:1863
NvMediaEncodeConfigH264VUIParams::aspectRatioInfoPresentFlag
bool aspectRatioInfoPresentFlag
If set to true, it specifies that the aspectRatioIdc is present.
Definition: nvmedia_common_encode.h:702
NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_TRANSFORM_MODE
@ NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_TRANSFORM_MODE
Enable transform mode.
Definition: nvmedia_common_encode.h:1734
NVMEDIA_ENC_PRESET_DEFAULT
@ NVMEDIA_ENC_PRESET_DEFAULT
Encoder Quality Preset Default.
Definition: nvmedia_common_encode.h:485
NVMEDIA_ENCODE_CONFIG_AV1_INIT_QP
@ NVMEDIA_ENCODE_CONFIG_AV1_INIT_QP
Enable support to use client provided Initial QP for all frame types.
Definition: nvmedia_common_encode.h:1978
NvMediaEncodeInitializeParamsVP9::log2TileRows
uint32_t log2TileRows
Holds number of log2Rows used in a frame.
Definition: nvmedia_common_encode.h:1897
NvMediaEncodeInitializeParamsAV1::enableUniCompound
bool enableUniCompound
Definition: nvmedia_common_encode.h:2110
NVMEDIA_ENCODE_SPSPPS_REPEAT_INTRA_FRAMES
@ NVMEDIA_ENCODE_SPSPPS_REPEAT_INTRA_FRAMES
SPS/PPS is repeated for every intra frame.
Definition: nvmedia_common_encode.h:642
NVMEDIA_ENCODE_H264_ENTROPY_CODING_MODE_CAVLC
@ NVMEDIA_ENCODE_H264_ENTROPY_CODING_MODE_CAVLC
Entropy coding mode is CAVLC.
Definition: nvmedia_common_encode.h:496
NvMediaNalData::ulNalSize
uint32_t ulNalSize
Nal size for header.
Definition: nvmedia_common_encode.h:690
NvMediaEncodePicType
NvMediaEncodePicType
Input picture type.
Definition: nvmedia_common_encode.h:244
NVMEDIA_ENCODE_CONFIG_AV1_DISABLE_CDF_UPDATE
@ NVMEDIA_ENCODE_CONFIG_AV1_DISABLE_CDF_UPDATE
Disable CDF update during symbol decoding.
Definition: nvmedia_common_encode.h:1970
NVMEDIA_ENCODER_INSTANCE_3
@ NVMEDIA_ENCODER_INSTANCE_3
Specifies the encoder instance ID 3.
Definition: nvmedia_common_encode.h:74
NvMediaEncodeConfigVP9::transform_mode
uint32_t transform_mode
Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_TRANSFORM_MODE to set the following parameter.
Definition: nvmedia_common_encode.h:1824
NVMEDIA_ENCODE_DISABLE_INTRA_8x8_DIAGONAL_DOWN_RIGHT_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_8x8_DIAGONAL_DOWN_RIGHT_PREDICTION
Disable Intra 8x8 diagonal down right prediction.
Definition: nvmedia_common_encode.h:567
NVMEDIA_ENCODE_PROFILE_HIGH422
@ NVMEDIA_ENCODE_PROFILE_HIGH422
High422 profile.
Definition: nvmedia_common_encode.h:281
NvMediaEncodeH264Features
NvMediaEncodeH264Features
Defines H264 encoder configuration features.
Definition: nvmedia_common_encode.h:793
NVMEDIA_ENCODE_LEVEL_H264_5
@ NVMEDIA_ENCODE_LEVEL_H264_5
H.264 Level 5.0.
Definition: nvmedia_common_encode.h:371
NvMediaEncodeConfigH264::repeatSPSPPS
NvMediaEncodeH264SPSPPSRepeatMode repeatSPSPPS
Holds the frequency of the writing of Sequence and Picture parameters.
Definition: nvmedia_common_encode.h:900
NvMediaEncodeConfigH264VUIParams::videoFullRangeFlag
bool videoFullRangeFlag
Holds the output range of the luma and chroma samples (as defined in Annex E of the ITU-T Specificati...
Definition: nvmedia_common_encode.h:726
NvMediaEncodeInitializeParamsH265::reserved3
uint32_t reserved3
Reserved.
Definition: nvmedia_common_encode.h:1603
NvMediaEncoderInstanceId
NvMediaEncoderInstanceId
Specifies the encoder instance ID.
Definition: nvmedia_common_encode.h:66
NvMediaEncodeInitializeParamsH264::frameRateNum
uint32_t frameRateNum
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum...
Definition: nvmedia_common_encode.h:1017
NVMEDIA_ENCODE_LEVEL_H264_12
@ NVMEDIA_ENCODE_LEVEL_H264_12
H.264 Level 1.2.
Definition: nvmedia_common_encode.h:349
NVMEDIA_ENCODE_EXT_PROFILE_MAIN
@ NVMEDIA_ENCODE_EXT_PROFILE_MAIN
Main profile.
Definition: nvmedia_common_encode.h:306
NvMediaEncodeInitializeParamsH265::enableAllIFrames
uint32_t enableAllIFrames
Encode all frames as I frames.
Definition: nvmedia_common_encode.h:1601
NvMediaEncodeExtProfile
NvMediaEncodeExtProfile
Defines extended encoding profiles.
Definition: nvmedia_common_encode.h:297
NvMediaEncodeInitializeParamsH265::enableReconCRC
bool enableReconCRC
Enable support for recon CRC generation.
Definition: nvmedia_common_encode.h:1561
NVMEDIA_ENCODE_CONFIG_H265_ENABLE_RTP_MODE_OUTPUT
@ NVMEDIA_ENCODE_CONFIG_H265_ENABLE_RTP_MODE_OUTPUT
Enable RTP mode output.
Definition: nvmedia_common_encode.h:1320
NvMediaEncodePicParamsH265::seiPayloadArray
NvMediaEncodeH265SEIPayload * seiPayloadArray
Array of SEI payloads which will be inserted for this frame.
Definition: nvmedia_common_encode.h:1673
NVMEDIA_ENCODE_PROFILE_HIGH10
@ NVMEDIA_ENCODE_PROFILE_HIGH10
High10 profile.
Definition: nvmedia_common_encode.h:279
NvMediaEncodeProfile
NvMediaEncodeProfile
Defines encoding profiles.
Definition: nvmedia_common_encode.h:265
NVMEDIA_ENCODE_DISABLE_INTRA_8x8_VERTICAL_RIGHT_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_8x8_VERTICAL_RIGHT_PREDICTION
Disable Intra 8x8 vertical right prediction.
Definition: nvmedia_common_encode.h:569
NvMediaEncodeRCParams::rateControlMode
NvMediaEncodeParamsRCMode rateControlMode
Holds the rate control mode.
Definition: nvmedia_common_encode.h:131
NVMEDIA_ENCODE_H265_PROFILE_MAIN
@ NVMEDIA_ENCODE_H265_PROFILE_MAIN
Main profile.
Definition: nvmedia_common_encode.h:389
NVMEDIA_ENCODE_H264_BDIRECT_MODE_TEMPORAL
@ NVMEDIA_ENCODE_H264_BDIRECT_MODE_TEMPORAL
Temporal BDirect mode.
Definition: nvmedia_common_encode.h:514
NVMEDIA_ENCODE_CONFIG_H265_ENABLE_PROFILING
@ NVMEDIA_ENCODE_CONFIG_H265_ENABLE_PROFILING
Enable encoder profiling.
Definition: nvmedia_common_encode.h:1343
NvMediaNalData
This is used to get header info (SPS/PPS/VPS) using GetAttribute call.
Definition: nvmedia_common_encode.h:688
NvMediaEncodeRCParams::maxSessionQP
int8_t maxSessionQP
Holds the max QP for encoding session when external picture RC hint is used.
Definition: nvmedia_common_encode.h:217
NvMediaEncodeConfigH265VUIParams::aspectRatioIdc
uint8_t aspectRatioIdc
Holds the aspect ratio IDC (as defined in Annex E of the ITU-T specification).
Definition: nvmedia_common_encode.h:1252
NvMediaEncodeConfigVP9::delta_uv_ac
int32_t delta_uv_ac
Specifies qindex adjustment for uv dccoefficient, -15...15.
Definition: nvmedia_common_encode.h:1813
NvMediaEncodeConfigH265VUIParams::aspectSARHeight
uint16_t aspectSARHeight
If aspectRatioIdc is Extended SAR it indicates vertical size of the sample aspect ratio (in the same ...
Definition: nvmedia_common_encode.h:1259
NVMEDIA_ENCODE_DISABLE_INTRA_4x4_HORIZONTAL_UP_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_4x4_HORIZONTAL_UP_PREDICTION
Disable Intra 4x4 horizontal up prediction.
Definition: nvmedia_common_encode.h:556
NvMediaEncodeH264EntropyCodingMode
NvMediaEncodeH264EntropyCodingMode
Defines H.264 entropy coding modes.
Definition: nvmedia_common_encode.h:494
NVMEDIA_ENCODE_ENABLE_SELF_TEMPORAL_REFINE
@ NVMEDIA_ENCODE_ENABLE_SELF_TEMPORAL_REFINE
Enable self_temporal_refine.
Definition: nvmedia_common_encode.h:619
NvMediaEncodeConfigH265::encPreset
NvMediaEncPreset encPreset
Holds the encode quality pre-set.
Definition: nvmedia_common_encode.h:1460
NvMediaEncodeH265Features
NvMediaEncodeH265Features
Defines H265 encoder configuration features.
Definition: nvmedia_common_encode.h:1301
NVMEDIA_ENCODE_LEVEL_H264_31
@ NVMEDIA_ENCODE_LEVEL_H264_31
H.264 Level 3.1.
Definition: nvmedia_common_encode.h:361
NVMEDIA_ENCODE_H265_PROFILES_FORMAT_RANGE_EXTENSIONS
@ NVMEDIA_ENCODE_H265_PROFILES_FORMAT_RANGE_EXTENSIONS
Format range exetnsions profiles.
Definition: nvmedia_common_encode.h:395
NvMediaEncodeH264POCType
NvMediaEncodeH264POCType
Define H.264 pic_order_cnt_type.
Definition: nvmedia_common_encode.h:667
NvMediaEncodeConfigH264::initQP
NvMediaEncodeQP initQP
Holds the initial QP parameters.
Definition: nvmedia_common_encode.h:963
NvMediaEncodeConfigH264VUIParams::colourMatrix
uint8_t colourMatrix
Holds the matrix coefficients used in deriving the luma and chroma from the RGB primaries (as defined...
Definition: nvmedia_common_encode.h:738
NVMEDIA_ENCODE_H264_BDIRECT_MODE_SPATIAL
@ NVMEDIA_ENCODE_H264_BDIRECT_MODE_SPATIAL
Spatial BDirect mode.
Definition: nvmedia_common_encode.h:509
NVMEDIA_ENCODE_LEVEL_H264_13
@ NVMEDIA_ENCODE_LEVEL_H264_13
H.264 Level 1.3.
Definition: nvmedia_common_encode.h:351
NvMediaEncodeInitializeParamsAV1::log2NumTilesInRow
uint8_t log2NumTilesInRow
Holds the log2 value of number of tiles used in a row.
Definition: nvmedia_common_encode.h:2100
NvMediaEncodeInitializeParamsH264::enableAnonEncode
uint32_t enableAnonEncode
Enables video anonymization of PII regions Value range: 0 to 1.
Definition: nvmedia_common_encode.h:1144
NVMEDIA_ENCODE_DISABLE_INTRA_8x8_DC_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_8x8_DC_PREDICTION
Disable Intra 8x8 DC prediction.
Definition: nvmedia_common_encode.h:563
NvMediaEncodeConfigVP9::base_qindex
uint32_t base_qindex
Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS to set the following parame...
Definition: nvmedia_common_encode.h:1801
NvMediaEncodePicParamsH265::seiPayloadArrayCnt
uint32_t seiPayloadArrayCnt
Holds the number of elements allocated in seiPayloadArray array.
Definition: nvmedia_common_encode.h:1671
NvMediaEncodeConfigH265::h265VUIParameters
NvMediaEncodeConfigH265VUIParams * h265VUIParameters
Holds the H265 video usability info pamameters.
Definition: nvmedia_common_encode.h:1448
NvMediaEncodeExternalMeHintCountsPerBlocktype
Holds an external motion vector hint with counts per block type.
Definition: nvmedia_common_encode.h:753
NVMEDIA_ENCODE_PIC_TYPE_I
@ NVMEDIA_ENCODE_PIC_TYPE_I
Intra predicted picture.
Definition: nvmedia_common_encode.h:252
NVMEDIA_ENCODE_SPSPPS_REPEAT_IDR_FRAMES
@ NVMEDIA_ENCODE_SPSPPS_REPEAT_IDR_FRAMES
SPS/PPS is repeated for every IDR frame.
Definition: nvmedia_common_encode.h:644
NvMediaEncodeExternalMEHint::refidx
uint32_t refidx
Holds the reference index (31=invalid).
Definition: nvmedia_common_encode.h:776
NvMediaEncodeConfigH264VUIParams::videoFormat
uint8_t videoFormat
Holds the source video format (as defined in Annex E of the ITU-T Specification).
Definition: nvmedia_common_encode.h:723
NvMediaEncodeConfigH265::intraRefreshCnt
uint32_t intraRefreshCnt
Holds the number of frames over which intra refresh will happen.
Definition: nvmedia_common_encode.h:1437
NvMediaEncodePicParamsH264::@29::meExternalHints
NvMediaEncodeExternalMEHint * meExternalHints
Definition: nvmedia_common_encode.h:1215
NvMediaEncodeInitializeParamsAV1::level
uint8_t level
Holds the encoding level.
Definition: nvmedia_common_encode.h:2088
NvMediaEncodeInitializeParamsVP9::vp9SkipChroma
uint32_t vp9SkipChroma
Skip Chroma Processing.
Definition: nvmedia_common_encode.h:1902
NvMediaEncodeInitializeParamsH265::enableLimitedRGB
bool enableLimitedRGB
Set this to true for limited-RGB (16-235) input.
Definition: nvmedia_common_encode.h:1484
NVMEDIA_ENCODER_INSTANCE_2
@ NVMEDIA_ENCODER_INSTANCE_2
Specifies the encoder instance ID 2.
Definition: nvmedia_common_encode.h:72
NVMEDIA_ENCODE_CONFIG_H265_ENABLE_DYNAMIC_RPS
@ NVMEDIA_ENCODE_CONFIG_H265_ENABLE_DYNAMIC_RPS
Enable support for dynamic reference picture set RPS/DPB control support.
Definition: nvmedia_common_encode.h:1335
NvMediaEncodeInitializeParamsH265::reserved1
uint16_t reserved1
Definition: nvmedia_common_encode.h:1474
NVMEDIA_ENCODE_CONFIG_H265_ENABLE_DYNAMIC_SLICE_MODE
@ NVMEDIA_ENCODE_CONFIG_H265_ENABLE_DYNAMIC_SLICE_MODE
Enable dynamic slice mode.
Definition: nvmedia_common_encode.h:1309
NVMEDIA_ENCODE_DISABLE_INTRA_CHROMA_HORIZONTAL_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_CHROMA_HORIZONTAL_PREDICTION
Disable Intra chroma horizontal prediction.
Definition: nvmedia_common_encode.h:589
NvMediaEncodePicParamsH265::nextBFrames
uint32_t nextBFrames
Specifies the number of B-frames that follow the current frame.
Definition: nvmedia_common_encode.h:1661
NvMediaEncodeInitializeParamsH265::enableExternalMEHints
bool enableExternalMEHints
Set to true to enable external ME hints.
Definition: nvmedia_common_encode.h:1539
NVMEDIA_ENCODE_CONFIG_H265_ENABLE_ULTRA_FAST_ENCODE
@ NVMEDIA_ENCODE_CONFIG_H265_ENABLE_ULTRA_FAST_ENCODE
Use "NvMediaEncPreset" instead to set ultra fast encode.
Definition: nvmedia_common_encode.h:1347
NVMEDIA_ENCODE_PIC_TYPE_B
@ NVMEDIA_ENCODE_PIC_TYPE_B
Bi-directionally predicted picture.
Definition: nvmedia_common_encode.h:250
NVMEDIA_ENCODE_MAX_PII_REGIONS
#define NVMEDIA_ENCODE_MAX_PII_REGIONS
Maximum number of Personal Identifiable Information (PII) regions.
Definition: nvmedia_common_encode.h:59
NvMediaEncodeInitializeParamsVP9::maxNumRefFrames
uint8_t maxNumRefFrames
Holds the max reference numbers used for encoding.
Definition: nvmedia_common_encode.h:1875
NvMediaEncodeInitializeParamsH265::mvNumViews
uint32_t mvNumViews
Number of views used for MV-Hevc.
Definition: nvmedia_common_encode.h:1595
NVMEDIA_ENCODE_H264_ADAPTIVE_TRANSFORM_ENABLE
@ NVMEDIA_ENCODE_H264_ADAPTIVE_TRANSFORM_ENABLE
Specifies that Adaptive Transform 8x8 mode must be used.
Definition: nvmedia_common_encode.h:529
NvMediaEncodeAV1Features
NvMediaEncodeAV1Features
Defines AV1 encoder configuration features.
Definition: nvmedia_common_encode.h:1966
NvMediaEncodeInitializeParamsH264::maxNumRefFrames
uint8_t maxNumRefFrames
Holds the maximum number of reference frames used for encoding.
Definition: nvmedia_common_encode.h:1064
NvMediaEncodeInitializeParamsAV1::frameRateNum
uint32_t frameRateNum
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum...
Definition: nvmedia_common_encode.h:2071
NvMediaEncodeInitializeParamsH264
Holds H264-specific encode initialization parameters.
Definition: nvmedia_common_encode.h:996
NvMediaEncodePicParamsVP9
Holds VP9-specific encoder picture parameters, which are sent on a per frame basis.
Definition: nvmedia_common_encode.h:1910
NVMEDIA_ENCODE_SEQUENCEHDR_REPEAT_DISABLED
@ NVMEDIA_ENCODE_SEQUENCEHDR_REPEAT_DISABLED
Repeating of SPS is disabled.
Definition: nvmedia_common_encode.h:1991
NVMEDIA_ENCODE_CONFIG_H265_QP_MAX
@ NVMEDIA_ENCODE_CONFIG_H265_QP_MAX
Enable support to use client provided QP max for all frame types.
Definition: nvmedia_common_encode.h:1351
NvMediaEncodeConfigAV1::delta_uv_dc
int32_t delta_uv_dc
Specifies qindex adjustment for uv accoefficient, -15...15.
Definition: nvmedia_common_encode.h:2030
NvMediaEncodeInitializeParamsH265::enableTwoPassRC
bool enableTwoPassRC
Enable 2 pass RC support.
Definition: nvmedia_common_encode.h:1584
NVMEDIA_ENCODE_DISABLE_INTRA_16x16_VERTICAL_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_16x16_VERTICAL_PREDICTION
Disable Intra 16x16 vertical prediction.
Definition: nvmedia_common_encode.h:578
NVMEDIA_ENCODE_LEVEL_H265_2
@ NVMEDIA_ENCODE_LEVEL_H265_2
H.265 Level 2.0.
Definition: nvmedia_common_encode.h:416
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_PROFILING
@ NVMEDIA_ENCODE_CONFIG_H264_ENABLE_PROFILING
Enable encoder profiling.
Definition: nvmedia_common_encode.h:840
NVMEDIA_ENCODE_H264_ADAPTIVE_TRANSFORM_DISABLE
@ NVMEDIA_ENCODE_H264_ADAPTIVE_TRANSFORM_DISABLE
Specifies that Adaptive Transform 8x8 mode is disabled.
Definition: nvmedia_common_encode.h:527
NVMEDIA_ENCODE_DISABLE_INTRA_CHROMA_VERTICAL_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_CHROMA_VERTICAL_PREDICTION
Disable Intra chroma vertical prediction.
Definition: nvmedia_common_encode.h:587
NvMediaEncodeConfigH264::bdirectMode
NvMediaEncodeH264BDirectMode bdirectMode
Holds the BDirect mode.
Definition: nvmedia_common_encode.h:917
NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_LOOP_FILTER_PARAMS
@ NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_LOOP_FILTER_PARAMS
Enable to set loop filter parameters.
Definition: nvmedia_common_encode.h:1730
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_DYNAMIC_RPS
@ NVMEDIA_ENCODE_CONFIG_H264_ENABLE_DYNAMIC_RPS
Enable support for dynamic reference picture set RPS/DPB control support.
Definition: nvmedia_common_encode.h:831
NvMediaEncodeInitializeParamsH264::enableLimitedRGB
bool enableLimitedRGB
Set this to true for limited-RGB (16-235) input.
Definition: nvmedia_common_encode.h:1013
NVMEDIA_ENCODE_LEVEL_H265_4
@ NVMEDIA_ENCODE_LEVEL_H265_4
H.265 Level 4.0.
Definition: nvmedia_common_encode.h:424
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_SLICE_LEVEL_OUTPUT
@ NVMEDIA_ENCODE_CONFIG_H264_ENABLE_SLICE_LEVEL_OUTPUT
Enable slice level output encoding.
Definition: nvmedia_common_encode.h:812
NvMediaEncodeConfigH264::encPreset
NvMediaEncPreset encPreset
Holds the encode quality pre-set.
Definition: nvmedia_common_encode.h:974
NvMediaEncodeInitializeParamsH264::enableReconCRC
bool enableReconCRC
Enable support for recon CRC generation.
Definition: nvmedia_common_encode.h:1091
NVMEDIA_ENCODE_LEVEL_H264_52
@ NVMEDIA_ENCODE_LEVEL_H264_52
H.264 Level 5.2.
Definition: nvmedia_common_encode.h:375
NvMediaEncodeRCParams::@23::@27::vbvInitialDelay
uint32_t vbvInitialDelay
Holds the VBV(HRD) initial delay in bits.
Definition: nvmedia_common_encode.h:182
NvMediaEncodeInitializeParamsVP9::log2TileCols
uint32_t log2TileCols
Holds number of log2Cols used in a frame.
Definition: nvmedia_common_encode.h:1900
NvMediaEncodeLevelH265
NvMediaEncodeLevelH265
Defines encoding levels for H265 encoder.
Definition: nvmedia_common_encode.h:409
NvMediaEncodeExternalMEHint::mvx
int32_t mvx
Holds the x component of integer pixel MV (relative to current MB) S12.0.
Definition: nvmedia_common_encode.h:771
NvMediaEncodeConfigH265::idrPeriod
uint32_t idrPeriod
Holds the IDR interval.
Definition: nvmedia_common_encode.h:1408
NvMediaEncodeInitializeParamsH264::disableMemoryOptimization
uint32_t disableMemoryOptimization
Set to 1 to disable the memory optimizations.
Definition: nvmedia_common_encode.h:1146
NvMediaEncodeH265SEIPayload::payloadType
uint32_t payloadType
SEI payload types and syntax can be found in Annex D of the H265 Specification.
Definition: nvmedia_common_encode.h:1638
NvMediaEncodePicParamsH264::rcParams
NvMediaEncodeRCParams rcParams
Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECO...
Definition: nvmedia_common_encode.h:1183
NvMediaEncodeInitializeParamsH265::enableSourceHalfScaled
bool enableSourceHalfScaled
Enable 2 pass RC with quarter resolution first pass.
Definition: nvmedia_common_encode.h:1592
NvMediaEncodePicParamsH264::noopMode
uint32_t noopMode
Holds the noop mode.
Definition: nvmedia_common_encode.h:1233
NvMediaEncodeConfigH264VUIParams::aspectSARWidth
uint16_t aspectSARWidth
If aspectRatioIdc is Extended SAR then it indicates horizontal size of the sample aspect ratio (in ar...
Definition: nvmedia_common_encode.h:708
NvMediaEncodeConfigVP9::error_resilient
bool error_resilient
Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_DISABLE_ERROR_RESILIENT to set the following parameter...
Definition: nvmedia_common_encode.h:1839
NVMEDIA_ENCODE_DISABLE_INTRA_8x8_DIAGONAL_DOWN_LEFT_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_8x8_DIAGONAL_DOWN_LEFT_PREDICTION
Disable Intra 8x8 diagonal down left prediction.
Definition: nvmedia_common_encode.h:565
NVMEDIA_ENCODE_LEVEL_AUTOSELECT
@ NVMEDIA_ENCODE_LEVEL_AUTOSELECT
Automatic level selection.
Definition: nvmedia_common_encode.h:340
NVMEDIA_ENCODE_EXT_PROFILE_HIGH10
@ NVMEDIA_ENCODE_EXT_PROFILE_HIGH10
High10 profile.
Definition: nvmedia_common_encode.h:317
NVMEDIA_ENCODE_EXT_PROFILE_HIGH422_INTRA
@ NVMEDIA_ENCODE_EXT_PROFILE_HIGH422_INTRA
High422_intra predictive profile.
Definition: nvmedia_common_encode.h:327
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_EXT_PIC_RC_HINT
@ NVMEDIA_ENCODE_CONFIG_H264_ENABLE_EXT_PIC_RC_HINT
Enable support for external picture RC hint.
Definition: nvmedia_common_encode.h:823
NvMediaEncodeInitializeParamsH264::reserved4
uint32_t reserved4
Reserved.
Definition: nvmedia_common_encode.h:1139
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_RTP_MODE_OUTPUT
@ NVMEDIA_ENCODE_CONFIG_H264_ENABLE_RTP_MODE_OUTPUT
Enable RTP mode output.
Definition: nvmedia_common_encode.h:815
NvMediaEncodeInitializeParamsH264::enableExtProfile
bool enableExtProfile
Enables extended encoding profiles.
Definition: nvmedia_common_encode.h:1029
NvMediaEncodeRCParams::@23::@24::vbvBufferSize
uint32_t vbvBufferSize
Holds the VBV(HRD) buffer size, in bits.
Definition: nvmedia_common_encode.h:143
NVMEDIA_ENCODE_PROFILE_MAIN
@ NVMEDIA_ENCODE_PROFILE_MAIN
Main profile.
Definition: nvmedia_common_encode.h:272
NVMEDIA_ENCODE_ENABLE_IP_SEARCH_INTRA_4x4
@ NVMEDIA_ENCODE_ENABLE_IP_SEARCH_INTRA_4x4
IP Search mode bit Intra 4x4.
Definition: nvmedia_common_encode.h:613
NvMediaEncodePicParamsAV1::rcParams
NvMediaEncodeRCParams rcParams
Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECO...
Definition: nvmedia_common_encode.h:2159
NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_PROFILING
@ NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_PROFILING
Enable encoder profiling.
Definition: nvmedia_common_encode.h:1742
NVMEDIA_ENCODE_PIC_TYPE_IDR
@ NVMEDIA_ENCODE_PIC_TYPE_IDR
IDR picture.
Definition: nvmedia_common_encode.h:254
NvMediaEncodeInitializeParamsAV1::encodeWidth
uint32_t encodeWidth
Holds the encode width.
Definition: nvmedia_common_encode.h:2063
NvMediaEncodeRCParams::@23::@27::averageBitRate
uint32_t averageBitRate
Holds the average bitrate (in bits/sec) used for encoding.
Definition: nvmedia_common_encode.h:171
NvMediaEncodeConfigAV1::maxQP
NvMediaEncodeQP maxQP
Holds maximum QP parameters.
Definition: nvmedia_common_encode.h:2044
NVMEDIA_ENCODE_PROFILE_CAVLC444_INTRA
@ NVMEDIA_ENCODE_PROFILE_CAVLC444_INTRA
Cavlc444_intra predictive profile.
Definition: nvmedia_common_encode.h:288
NvMediaEncodeInitializeParamsAV1::profile
uint8_t profile
Holds the encoding profile.
Definition: nvmedia_common_encode.h:2080
NvMediaEncodeVP9Features
NvMediaEncodeVP9Features
Defines VP9 encoder configuration features.
Definition: nvmedia_common_encode.h:1728
NvMediaEncodeConfigAV1::rcParams
NvMediaEncodeRCParams rcParams
Holds the rate control parameters for the current encoding session.
Definition: nvmedia_common_encode.h:2009
NvMediaEncodePicParamsAV1::pictureType
NvMediaEncodePicType pictureType
Holds input picture type.
Definition: nvmedia_common_encode.h:2144
NvMediaEncodeConfigH265VUIParams::colourDescriptionPresentFlag
bool colourDescriptionPresentFlag
If set to true, it specifies that the colourPrimaries, transferCharacteristics, and colourMatrix are ...
Definition: nvmedia_common_encode.h:1278
NvMediaEncodeInitializeParamsH265::enableROIEncode
bool enableROIEncode
Enable region of interest encoding.
Definition: nvmedia_common_encode.h:1569
NVMEDIA_ENCODE_H264_POC_TYPE_AUTOSELECT
@ NVMEDIA_ENCODE_H264_POC_TYPE_AUTOSELECT
Automatic level selection.
Definition: nvmedia_common_encode.h:669
NVMEDIA_ENCODE_CONFIG_H265_INIT_QP
@ NVMEDIA_ENCODE_CONFIG_H265_INIT_QP
Enable support to use client provided Initial QP for all frame types.
Definition: nvmedia_common_encode.h:1349
NvMediaEncodeConfigH264::intraRefreshPeriod
uint32_t intraRefreshPeriod
Holds the interval between frames that triggers a new intra refresh cycle.
Definition: nvmedia_common_encode.h:931
NvMediaEncodePicParamsH264::seiPayloadArrayCnt
uint32_t seiPayloadArrayCnt
Holds the number of elements allocated in seiPayloadArray array.
Definition: nvmedia_common_encode.h:1186
NvMediaEncodePicParamsAV1::frameRateNum
uint32_t frameRateNum
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum...
Definition: nvmedia_common_encode.h:2186
NVMEDIA_ENCODE_DISABLE_INTRA_4x4_VERTICAL_LEFT_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_4x4_VERTICAL_LEFT_PREDICTION
Disable Intra 4x4 vertical left prediction.
Definition: nvmedia_common_encode.h:554
NvMediaEncodeConfigH265::numCTUsPerSlice
uint32_t numCTUsPerSlice
Number of CTU per slice.
Definition: nvmedia_common_encode.h:1445
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_CONSTRANED_ENCODING
@ NVMEDIA_ENCODE_CONFIG_H264_ENABLE_CONSTRANED_ENCODING
Enable constrainedFrame encoding where each slice in the constrained picture is independent of other ...
Definition: nvmedia_common_encode.h:805
NvMediaEncodeQP::qpInterB
int16_t qpInterB
QP value for B frames.
Definition: nvmedia_common_encode.h:85
NVMEDIA_ENCODE_EXT_PROFILE_BASELINE
@ NVMEDIA_ENCODE_EXT_PROFILE_BASELINE
Baseline profile.
Definition: nvmedia_common_encode.h:302
NvMediaEncodeInitializeParamsH265::disableMemoryOptimization
uint32_t disableMemoryOptimization
Set to 1 to disable the memory optimizations.
Definition: nvmedia_common_encode.h:1605
NvMediaEncodeInitializeParamsH264::enableSourceHalfScaled
bool enableSourceHalfScaled
Enable 2 pass RC with quarter resolution first pass.
Definition: nvmedia_common_encode.h:1128
NvMediaEncodeConfigVP9::rcParams
NvMediaEncodeRCParams rcParams
Holds the rate control parameters for the current encoding session.
Definition: nvmedia_common_encode.h:1762
NvMediaEncodeConfigH264::numSliceCountMinus1
uint16_t numSliceCountMinus1
Holds a number that is 1 less than the desired number of slices per frame.
Definition: nvmedia_common_encode.h:910
MAX_NON_SLICE_DATA_SIZE
#define MAX_NON_SLICE_DATA_SIZE
Maximum encoded header info size.
Definition: nvmedia_common_encode.h:681
NvMediaEncodeInitializeParamsAV1::log2NumTilesInCol
uint8_t log2NumTilesInCol
Holds the log2 value of number of tiles used in a column.
Definition: nvmedia_common_encode.h:2102
NVMEDIA_ENCODE_H264_ENTROPY_CODING_MODE_CABAC
@ NVMEDIA_ENCODE_H264_ENTROPY_CODING_MODE_CABAC
Entropy coding mode is CABAC.
Definition: nvmedia_common_encode.h:498
NvMediaEncodeRCParams
Holds rate control configuration parameters.
Definition: nvmedia_common_encode.h:129
NvMediaEncodeH264SEIPayload
H.264 specific User SEI message.
Definition: nvmedia_common_encode.h:981
NVMEDIA_ENCODE_PROFILE_HIGH444
@ NVMEDIA_ENCODE_PROFILE_HIGH444
High 444 profile.
Definition: nvmedia_common_encode.h:286
NvMediaEncodeConfigH265VUIParams::overscanInfoPresentFlag
bool overscanInfoPresentFlag
If set to true, it specifies that the overscanInfo is present.
Definition: nvmedia_common_encode.h:1262
NvMediaEncodePicParamsH265::viewId
uint32_t viewId
Holds the viewId of current picture.
Definition: nvmedia_common_encode.h:1708
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_DYNAMIC_SLICE_MODE
@ NVMEDIA_ENCODE_CONFIG_H264_ENABLE_DYNAMIC_SLICE_MODE
Enable dynamic slice mode.
Definition: nvmedia_common_encode.h:802
NvMediaEncPIIParams::piiRect
NvMediaRect piiRect
PII region rectangle.
Definition: nvmedia_common_encode.h:98
NvMediaEncodeConfigH265::enableWeightedPrediction
uint8_t enableWeightedPrediction
Holds enable weighted prediction.
Definition: nvmedia_common_encode.h:1419
NvMediaEncPIIParams
Holds Personal Identifiable Information (PII) regions.
Definition: nvmedia_common_encode.h:96
NvMediaEncodePicParamsAV1
Holds AV1-specific encoder picture parameters, which are sent on a per frame basis.
Definition: nvmedia_common_encode.h:2142
NVMEDIA_ENCODE_DISABLE_INTRA_4x4_VERTICAL_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_4x4_VERTICAL_PREDICTION
Disable Intra 4x4 vertical prediction.
Definition: nvmedia_common_encode.h:540
NvMediaEncodeInitializeParamsH264::enableExtOutBuffer
uint32_t enableExtOutBuffer
Set 1 to enable zero copy optimization for output bitstream.
Definition: nvmedia_common_encode.h:1148
NVMEDIA_ENCODE_CONFIG_H265_ENABLE_MV_BUFFER_DUMP_V2
@ NVMEDIA_ENCODE_CONFIG_H265_ENABLE_MV_BUFFER_DUMP_V2
Enable support for motion vector buffer dump in a simplified (V2) format.
Definition: nvmedia_common_encode.h:1384
NvMediaEncodeRCParams::@23::@28::vbvInitialDelay
uint32_t vbvInitialDelay
Holds the VBV(HRD) initial delay in bits.
Definition: nvmedia_common_encode.h:197
NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP
@ NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP
Constant bitrate mode with MinQP.
Definition: nvmedia_common_encode.h:122
NvMediaEncodeInitializeParamsVP9::enableExternalMEHints
bool enableExternalMEHints
Holds a flag indicating whether to enable or disable the external ME hints.
Definition: nvmedia_common_encode.h:1880
NvMediaEncodePicParamsVP9::rcParams
NvMediaEncodeRCParams rcParams
Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECO...
Definition: nvmedia_common_encode.h:1927
NvMediaEncodeInitializeParamsH264::profile
uint8_t profile
Holds the encoding profile.
Definition: nvmedia_common_encode.h:1027
NvMediaEncodeH264SEIPayload::payload
uint8_t * payload
Pointer to user data.
Definition: nvmedia_common_encode.h:989
NvMediaEncodePicParamsH264::frameRateNum
uint32_t frameRateNum
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum...
Definition: nvmedia_common_encode.h:1221
NVMEDIA_ENCODE_DISABLE_INTRA_16x16_HORIZONTAL_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_16x16_HORIZONTAL_PREDICTION
Disable Intra 16x16 horizontal prediction.
Definition: nvmedia_common_encode.h:580
NvMediaEncodeConfigH264VUIParams::overscanAppropriateFlag
bool overscanAppropriateFlag
Holds the overscan info (as defined in Annex E of the ITU-T Specification).
Definition: nvmedia_common_encode.h:717
NvMediaEncodeInitializeParamsH265::useBFramesAsRef
uint32_t useBFramesAsRef
Enables B frames to be used as reference frames.
Definition: nvmedia_common_encode.h:1580
NvMediaEncAttrType
NvMediaEncAttrType
Specifies the encoder get attribute type.
Definition: nvmedia_common_encode.h:652
NVMEDIA_ENCODE_SEQUENCEHDR_REPEAT_IDR_FRAMES
@ NVMEDIA_ENCODE_SEQUENCEHDR_REPEAT_IDR_FRAMES
SPS is repeated for every IDR frame.
Definition: nvmedia_common_encode.h:1995
NVMEDIA_ENCODE_ENABLE_CONST_MV_REFINE
@ NVMEDIA_ENCODE_ENABLE_CONST_MV_REFINE
Enable const_mv_refine.
Definition: nvmedia_common_encode.h:627
NVMEDIA_ENCODE_LEVEL_H265_51
@ NVMEDIA_ENCODE_LEVEL_H265_51
H.265 Level 5.1.
Definition: nvmedia_common_encode.h:430
NvMediaEncodeRCParams::@23::@28::vbvBufferSize
uint32_t vbvBufferSize
Holds the VBV(HRD) buffer size, in bits.
Definition: nvmedia_common_encode.h:193
NVMEDIA_ENCODE_DISABLE_INTRA_4x4_HORIZONTAL_DOWN_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_4x4_HORIZONTAL_DOWN_PREDICTION
Disable Intra 4x4 horizontal down prediction.
Definition: nvmedia_common_encode.h:552
NVMEDIA_ENCODE_LEVEL_H264_51
@ NVMEDIA_ENCODE_LEVEL_H264_51
H.264 Level 5.1.
Definition: nvmedia_common_encode.h:373
NVMEDIA_ENCODE_PIC_TYPE_P_INTRA_REFRESH
@ NVMEDIA_ENCODE_PIC_TYPE_P_INTRA_REFRESH
Starts a new intra refresh cycle if intra refresh support is enabled otherwise it indicates a P frame...
Definition: nvmedia_common_encode.h:258
NVMEDIA_ENCODE_CONFIG_H265_ENABLE_CONSTRANED_ENCODING
@ NVMEDIA_ENCODE_CONFIG_H265_ENABLE_CONSTRANED_ENCODING
Enable constrainedFrame encoding where each slice in the constrained picture is independent of other ...
Definition: nvmedia_common_encode.h:1312
NVMEDIA_ENCODE_EXT_PROFILE_HIGH422
@ NVMEDIA_ENCODE_EXT_PROFILE_HIGH422
High422 profile.
Definition: nvmedia_common_encode.h:321
NVMEDIA_ENCODE_DISABLE_INTRA_8x8_HORIZONTAL_UP_PREDICTION
@ NVMEDIA_ENCODE_DISABLE_INTRA_8x8_HORIZONTAL_UP_PREDICTION
Disable Intra 8x8 horizontal up prediction.
Definition: nvmedia_common_encode.h:575
NvMediaEncodePicFlags
NvMediaEncodePicFlags
Defines encoding Picture encode flags.
Definition: nvmedia_common_encode.h:449