Types and declarations for H.264 Encoding.
6
Data Structures | |
struct | NvMediaNalData |
This is used to get header info (SPS/PPS/VPS) using GetAttribute call. More... | |
struct | NvMediaEncodeConfigH264VUIParams |
Holds H264 video usability information parameters. More... | |
struct | NvMediaEncodeExternalMeHintCountsPerBlocktype |
Holds an external motion vector hint with counts per block type. More... | |
struct | NvMediaEncodeExternalMEHint |
Holds an External Motion Vector hint. More... | |
struct | NvMediaEncodeConfigH264 |
Holds an H264 encoder configuration. More... | |
struct | NvMediaEncodeH264SEIPayload |
H.264 specific User SEI message. More... | |
struct | NvMediaEncodeInitializeParamsH264 |
Holds H264-specific encode initialization parameters. More... | |
struct | NvMediaEncodePicParamsH264 |
H264 specific encoder picture params. More... | |
Modules | |
Data types for AV1 encoding | |
Types and declarations for AV1 Encoding. | |
Data types for H.265/HEVC encoding | |
Types and declarations for H.265/HEVC Encoding. | |
Data types for VP9 encoding | |
Types and declarations for VP9 Encoding. | |
#define MAX_NON_SLICE_DATA_SIZE |
Maximum encoded header info size.
Definition at line 595 of file nvmedia_common_encode.h.
enum NvMediaEncAttrType |
Specifies the encoder get attribute type.
This can be extended to get other encoding parameter information.
Definition at line 568 of file nvmedia_common_encode.h.
Defines H.264 specific Adaptive Transform modes.
Definition at line 441 of file nvmedia_common_encode.h.
Defines H.264 specific Bdirect modes.
Definition at line 426 of file nvmedia_common_encode.h.
Defines H.264 entropy coding modes.
Enumerator | |
---|---|
NVMEDIA_ENCODE_H264_ENTROPY_CODING_MODE_CAVLC | Entropy coding mode is CAVLC. |
NVMEDIA_ENCODE_H264_ENTROPY_CODING_MODE_CABAC | Entropy coding mode is CABAC. |
Definition at line 415 of file nvmedia_common_encode.h.
Defines H264 encoder configuration features.
Enumerator | |
---|---|
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_OUTPUT_AUD | Enable to write access unit delimiter syntax in bitstream. |
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_INTRA_REFRESH | Enable gradual decoder refresh or intra refresh. If the GOP structure uses B frames this will be ignored |
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_DYNAMIC_SLICE_MODE | Enable dynamic slice mode. Client must specify max slice size using the NvMediaEncodeConfigH264::maxSliceSizeInBytes field. This setting is not supported in the QNX Safety build. |
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_CONSTRANED_ENCODING | Enable constrainedFrame encoding where each slice in the constrained picture is independent of other slices. |
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_LOSSLESS_COMPRESSION | Enable lossless compression.
|
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_SLICE_LEVEL_OUTPUT | Enable slice level output encoding. This enables delivery encoded data slice by slice to client to reduce encode latency. This setting is not supported in the QNX Safety build. |
NVMEDIA_ENCODE_CONFIG_H264_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_H264_ENABLE_EXT_PIC_RC_HINT | Enable support for external picture RC hint.
|
NVMEDIA_ENCODE_CONFIG_H264_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). This setting is not supported in the QNX Safety build. |
NVMEDIA_ENCODE_CONFIG_H264_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. This setting is not supported in the QNX Safety build. |
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_PROFILING | Enable encoder profiling. Profiling information would be added as part of output extradata. This setting is not supported in the QNX Safety build. |
NVMEDIA_ENCODE_CONFIG_H264_INIT_QP | Enable support to use client provided Initial QP for all frame types. |
NVMEDIA_ENCODE_CONFIG_H264_QP_MAX | Enable support to use client provided QP max for all frame types. |
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_FOUR_BYTE_START_CODE | Enable support to use 4 byte start code in all the slices in a picture. |
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_ULTRA_FAST_ENCODE | Enable ultra fast encoding. It overrides some of the quality settings to achieve ultra fast encoding. This is equivalent to setting NVMEDIA_ENCODE_QUALITY_L0 as the NvMediaEncodeQuality. |
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_MV_BUFFER_DUMP_V2 | Enable support for motion vector buffer dump in a simplified (V2) format. Motion vector buffer will be appended to the end of encoded bitstream data retrieved using NvMediaIEPGetBits. Refer NvMediaEncodeOutputExtradata for more information regarding the format of the dumped MV output. Either NVMEDIA_ENCODE_CONFIG_H264_ENABLE_MV_BUFFER_DUMP_V2 or NVMEDIA_ENCODE_CONFIG_H264_ENABLE_MV_BUFFER_DUMP should be enabled at a given time. If both are enabled, V2 format will be used. It should be ensured that size of NvMediaBitstreamBuffer passed to NvMediaIEPGetBits has sufficient space to store the MV buffer dump. The numBytesAvailable returned by NvMediaIEPBitsAvailable or numBytes returned by NvMediaIEPGetBits does not take MV buffer dump size into account - represents only the size of the encoded bits that are available. While allocating bitstream buffers, the additional amount of space required in bitstream to accommodate MV buffer data needs to be added. This can be calculated as follows: mvBufferSize = sizeof(NvMediaEncodeMVBufferHeader) +
ALIGN_256(numMacroBlocks * sizeof(NvMediaEncodeMVData))
where,
NumMacroBlocks =
(ALIGN_16(InputWidth)/16) * (ALIGN_16(InputHeight)/16)
bitstreamSize = ALIGN_8(bitsAvailable) + mvBufferSize
ALIGN_N refers to an operation which returns a multiple of N, greater than or equal to a number, closest to the number.
|
Definition at line 702 of file nvmedia_common_encode.h.
Defines motion prediction exclusion flags for H.264.
Definition at line 456 of file nvmedia_common_encode.h.
Defines motion search mode control flags for H.264.
Definition at line 528 of file nvmedia_common_encode.h.
Define H.264 pic_order_cnt_type.
Enumerator | |
---|---|
NVMEDIA_ENCODE_H264_POC_TYPE_AUTOSELECT | Automatic level selection. |
NVMEDIA_ENCODE_H264_POC_TYPE_0 | Pic_order_cnt_type 0. |
NVMEDIA_ENCODE_H264_POC_TYPE_2 | Pic_order_cnt_type 2. |
Definition at line 582 of file nvmedia_common_encode.h.
Specifies the frequency of the writing of Sequence and Picture parameters for H.264.
Definition at line 554 of file nvmedia_common_encode.h.
enum NvMediaEncodeLevel |
Defines encoding levels for H264 encoder.
Definition at line 263 of file nvmedia_common_encode.h.
Defines encoding levels for H265 encoder.
Definition at line 309 of file nvmedia_common_encode.h.
Defines encoding Picture encode flags.
Definition at line 348 of file nvmedia_common_encode.h.
enum NvMediaEncodePicType |
Input picture type.
Definition at line 219 of file nvmedia_common_encode.h.
enum NvMediaEncodeProfile |
Defines encoding profiles.
Definition at line 239 of file nvmedia_common_encode.h.
enum NvMediaEncodeQuality |
Defines encode quality level pre-settings.
Definition at line 365 of file nvmedia_common_encode.h.
enum NvMediaEncPreset |
Defines encode preset level settings.
Definition at line 389 of file nvmedia_common_encode.h.
union { ... } |
Holds the pointer to ME external hints for the current frame.
The size of ME hint buffer must be equal to number of macroblocks multiplied by the total number of candidates per macroblock. The total number of candidates per MB per direction =
1*meHintCountsPerBlock[Lx].numCandsPerBlk16x16 + 2*meHintCountsPerBlock[Lx].numCandsPerBlk16x8 + 2*meHintCountsPerBlock[Lx].numCandsPerBlk8x16 + 4*meHintCountsPerBlock[Lx].numCandsPerBlk8x8
For frames using bidirectional ME, the total number of candidates for a single macroblock is the sum of the total number of candidates per MB for each direction (L0 and L1).
If no external ME hints are needed, set this field to NULL.
NvMediaEncodeH264AdaptiveTransformMode NvMediaEncodeConfigH264::adaptiveTransformMode |
Holds the Adaptive Transform Mode.
Definition at line 823 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH264VUIParams::aspectRatioIdc |
Holds the aspect ratio IDC (as defined in Annex E of the ITU-T Specification).
Definition at line 617 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH265VUIParams::aspectRatioIdc |
Holds the aspect ratio IDC (as defined in Annex E of the ITU-T specification).
Definition at line 1131 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH264VUIParams::aspectRatioInfoPresentFlag |
If set to true, it specifies that the aspectRatioIdc is present.
Definition at line 614 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH265VUIParams::aspectRatioInfoPresentFlag |
If set to true, specifies the aspectRatioIdc is present.
Definition at line 1128 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeConfigH264VUIParams::aspectSARHeight |
If aspectRatioIdc is Extended SAR then it indicates vertical size of the sample aspect ratio (in the same arbitrary units as aspectSARWidth)
Definition at line 624 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeConfigH265VUIParams::aspectSARHeight |
If aspectRatioIdc is Extended SAR it indicates vertical size of the sample aspect ratio (in the same arbitrary units as aspectSARWidth).
Definition at line 1138 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeConfigH264VUIParams::aspectSARWidth |
If aspectRatioIdc is Extended SAR then it indicates horizontal size of the sample aspect ratio (in arbitrary units).
Definition at line 620 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeConfigH265VUIParams::aspectSARWidth |
If aspectRatioIdc is Extended SAR it indicates horizontal size of the sample aspect ratio (in arbitrary units).
Definition at line 1134 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeRCParams::averageBitRate |
Holds the average bitrate (in bits/sec) used for encoding.
Definition at line 115 of file nvmedia_common_encode.h.
uint32_t { ... } ::averageBitRate |
Holds the average bitrate (in bits/sec) used for encoding.
Definition at line 115 of file nvmedia_common_encode.h.
uint32_t { ... } ::averageBitRate |
Holds the average bitrate (in bits/sec) used for encoding.
Definition at line 133 of file nvmedia_common_encode.h.
uint32_t { ... } ::averageBitRate |
Holds the average bitrate (in bits/sec) used for encoding.
Definition at line 148 of file nvmedia_common_encode.h.
uint32_t { ... } ::averageBitRate |
Holds the average bitrate (in bits/sec) used for encoding.
Definition at line 165 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigVP9::base_qindex |
Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS to set the following parameters.
Specifies quant base index (used only when rc_mode = 0) for each segment 0...255. This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS.
Definition at line 1650 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigAV1::base_qindex |
Specifies quant base index (used only when rc_mode = 0) for each segment 0...255.
This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_AV1_ENABLE_QUANTIZATION_PARAMS.
Definition at line 1853 of file nvmedia_common_encode.h.
bool NvMediaEncodeRCParams::bConstFrameQP |
Use constant QP at frame level or MB row level.
Value range: One of the following:
Definition at line 185 of file nvmedia_common_encode.h.
NvMediaEncodeH264BDirectMode NvMediaEncodeConfigH264::bdirectMode |
Holds the BDirect mode.
Definition at line 825 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH264VUIParams::bitstreamRestrictionFlag |
Holds the bitstream restriction info (as defined in Annex E of the ITU-T Specification).
Definition at line 657 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH265VUIParams::bitstreamRestrictionFlag |
Specified the bitstream restriction info (as defined in Annex E of the ITU-T Specification).
Definition at line 1173 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigVP9::bmode_ref_lf_delta_enabled |
Set it to true if MB-level loop filter adjustment is on.
Definition at line 1639 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigVP9::bmode_ref_lf_delta_update |
Set it to true if MB-level loop filter adjustment delta values are updated.
Definition at line 1642 of file nvmedia_common_encode.h.
struct { ... } NvMediaEncodeRCParams::cbr |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR mode.
struct { ... } ::cbr |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR mode.
struct { ... } NvMediaEncodeRCParams::cbr_minqp |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP mode.
struct { ... } ::cbr_minqp |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP mode.
bool NvMediaEncodeConfigH264VUIParams::colourDescriptionPresentFlag |
If set to true, it specifies that the colourPrimaries, transferCharacteristics and colourMatrix are present.
Definition at line 641 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH265VUIParams::colourDescriptionPresentFlag |
If set to true, it specifies that the colourPrimaries, transferCharacteristics, and colourMatrix are present.
Definition at line 1157 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH264VUIParams::colourMatrix |
Holds the matrix coefficients used in deriving the luma and chroma from the RGB primaries (as defined in Annex E of the ITU-T Specification).
Definition at line 650 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH264VUIParams::colourPrimaries |
Holds color primaries for converting to RGB (as defined in Annex E of the ITU-T Specification).
Definition at line 644 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH265VUIParams::colourPrimaries |
Holds color primaries for converting to RGB (as defined in Annex E of the ITU-T Specification).
Definition at line 1160 of file nvmedia_common_encode.h.
struct { ... } ::const_qp |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_CONSTQP mode.
struct { ... } NvMediaEncodeRCParams::const_qp |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_CONSTQP mode.
NvMediaEncodeQP { ... } ::constQP |
Holds the initial QP to be used for encoding, these values would be used for all frames in Constant QP mode.
Definition at line 129 of file nvmedia_common_encode.h.
NvMediaEncodeQP NvMediaEncodeRCParams::constQP |
Holds the initial QP to be used for encoding, these values would be used for all frames in Constant QP mode.
Definition at line 129 of file nvmedia_common_encode.h.
uint8_t NvMediaNalData::data[MAX_NON_SLICE_DATA_SIZE] |
header data passed on this buffer
Definition at line 605 of file nvmedia_common_encode.h.
int32_t NvMediaEncodeConfigVP9::delta_uv_ac |
Specifies qindex adjustment for uv dccoefficient, -15...15.
This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS.
Definition at line 1662 of file nvmedia_common_encode.h.
int32_t NvMediaEncodeConfigAV1::delta_uv_ac |
Specifies qindex adjustment for uv dccoefficient, -15...15.
This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_AV1_ENABLE_QUANTIZATION_PARAMS.
Definition at line 1865 of file nvmedia_common_encode.h.
int32_t NvMediaEncodeConfigVP9::delta_uv_dc |
Specifies qindex adjustment for uv accoefficient, -15...15.
This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS.
Definition at line 1658 of file nvmedia_common_encode.h.
int32_t NvMediaEncodeConfigAV1::delta_uv_dc |
Specifies qindex adjustment for uv accoefficient, -15...15.
This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_AV1_ENABLE_QUANTIZATION_PARAMS.
Definition at line 1861 of file nvmedia_common_encode.h.
int32_t NvMediaEncodeConfigVP9::delta_y_dc_q |
Specifies explicit qindex adjustment for y dccoefficient, -15...15.
This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS.
Definition at line 1654 of file nvmedia_common_encode.h.
int32_t NvMediaEncodeConfigAV1::delta_y_dc_q |
Specifies explicit qindex adjustment for y dccoefficient, -15...15.
This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_AV1_ENABLE_QUANTIZATION_PARAMS.
Definition at line 1857 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMEHint::dir |
Holds the direction of motion estimation .
0=L0 1=L1.
Definition at line 688 of file nvmedia_common_encode.h.
NvMediaBool NvMediaEncodeConfigAV1::disableCdfUpdate |
Set to true to disable CDF update.
Definition at line 1880 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH265::disableDeblockingFilter |
Holds disable the deblocking filter.
Definition at line 1292 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH264::disableDeblockingFilterIDC |
Holds the deblocking filter mode.
Value range: 0 to 2 in increments of 1.
Definition at line 821 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH264::enableAllIFrames |
Encode all frames as I frames.
Value range: 0 to disable, non-zero value to enable
Definition at line 1042 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH265::enableAllIFrames |
Encode all frames as I frames.
Value range: 0 to disable, non-zero value to enable
Definition at line 1481 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsAV1::enableBiCompound |
Definition at line 1940 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH264::enableExternalMEHints |
Set to true to enable external ME hints.
Currently this feature is not supported if B frames are used. This setting is not supported in the QNX Safety build.
Definition at line 974 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::enableExternalMEHints |
Set to true to enable external ME hints.
Currently this feature is not supported if B frames are used.
Definition at line 1419 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsVP9::enableExternalMEHints |
Holds a flag indicating whether to enable or disable the external ME hints.
Set to true to enable external ME hints. Currently this feature is not supported if B frames are used.
Definition at line 1729 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsAV1::enableExternalMEHints |
Holds a flag indicating whether to enable or disable the external ME hints.
Set to true to enable external ME hints. Currently this feature is not supported if B frames are used.
Definition at line 1949 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH264::enableExternalPictureRC |
Enable external picture rate control.
Definition at line 1039 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH265::enableExternalPictureRC |
Enable external picture rate control.
Definition at line 1478 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsAV1::enableInternalHighBitDepth |
Definition at line 1945 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH264::enableLimitedRGB |
Set this to true for limited-RGB (16-235) input.
Definition at line 924 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::enableLimitedRGB |
Set this to true for limited-RGB (16-235) input.
Definition at line 1364 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsVP9::enableLimitedRGB |
Holds a flag indicating whether input is limited-RGB (16-235).
Set this to true for limited-RGB (16-235) input.
Definition at line 1712 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsAV1::enableLimitedRGB |
Holds a flag indicating whether input is limited-RGB (16-235).
Set this to true for limited-RGB (16-235) input.
Definition at line 1901 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH264::enableMVC |
If client want to do MVC encoding then this flag need to be set.
Definition at line 999 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::enableMVC |
If client want to do MVC encoding then this flag need to be set.
Definition at line 1444 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH264::enableNewPreset |
Set to true to use encPreset instead of quality.
Definition at line 887 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH265::enableNewPreset |
Set to true to use encPreset instead of quality.
Definition at line 1341 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigAV1::enableNewPreset |
Set to true to use encPreset instead of quality.
Definition at line 1885 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH264::enableReconCRC |
Enable support for recon CRC generation.
NVMEDIA will allocate extra surface for recon CRC calculation. This can be enabled at run time for any frame by enabling recon CRC and passing recon CRC rectangle.
Definition at line 996 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::enableReconCRC |
Enable support for recon CRC generation.
NVMEDIA will allocate extra surface for recon CRC calculation. This can be enabled at run time for any frame by enabling recon CRC and passing recon CRC rectangle.
Definition at line 1441 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH264::enableROIEncode |
Enable region of interest encoding.
Region of interest encoding parameters are passed with Input extra data parameters.
Definition at line 1008 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::enableROIEncode |
Enable region of interest encoding.
Region of interest encoding parameters are passed with Input extra data parameters
Definition at line 1449 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH264::enableSliceEncode |
Use slice encode to reduce latency in getting encoded buffers.
This setting is not supported in the QNX Safety build.
Definition at line 1011 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::enableSliceEncode |
use slice encode to reduce latency in getting encoded buffers.
Definition at line 1451 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::enableSliceLevelEncode |
Set this to true for slice level encode.
Definition at line 1366 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH264::enableSourceHalfScaled |
Enable 2 pass RC with quarter resolution first pass.
Definition at line 1033 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::enableSourceHalfScaled |
Enable 2 pass RC with quarter resolution first pass.
Definition at line 1472 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsAV1::enableSsimRdo |
Set to true to enable SSIM RDO.
Definition at line 1929 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsAV1::enableTileEncode |
Set to true to enable Multiple tile mode.
Definition at line 1931 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH264::enableTwoPassRC |
Enable 2 pass RC support.
First pass RC can be run on full or quarter resolution.
Definition at line 1025 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::enableTwoPassRC |
Enable 2 pass RC support.
First pass RC can be run on full or quarter resolution.
Definition at line 1464 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsAV1::enableUniCompound |
Definition at line 1943 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH264::enableWeightedPrediction |
Enable/disable weighted prediction.
Value range: 0 to disable, non-zero value to enable
Definition at line 882 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH265::enableWeightedPrediction |
Holds enable weighted prediction.
Definition at line 1295 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeInitializeParamsH264::encodeHeight |
Holds the encode height.
Value range: 64 to 4096 in increments of 2.
Definition at line 920 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeInitializeParamsH265::encodeHeight |
Holds the encode height.
Value range: 64 to 4096 in increments of 2.
Definition at line 1360 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsVP9::encodeHeight |
Holds the encode height.
Definition at line 1708 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsAV1::encodeHeight |
Holds the encode height.
Definition at line 1898 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH264::encodePicFlags |
Holds bit-wise OR`ed encode pic flags.
See enum NvMediaEncodePicFlags.
Definition at line 1055 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH265::encodePicFlags |
Holds bit-wise OR`ed encode pic flags.
See enum NvMediaEncodePicFlags.
Definition at line 1510 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsVP9::encodePicFlags |
Holds bit-wise OR`ed encode pic flags.
See enum NvMediaEncodePicFlags.
Definition at line 1763 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsAV1::encodePicFlags |
Holds bit-wise OR`ed encode pic flags.
See enum NvMediaEncodePicFlags.
Definition at line 1973 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeInitializeParamsH264::encodeWidth |
Holds the encode width.
Value range: 160 to 4096 in increments of 2.
Definition at line 913 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeInitializeParamsH265::encodeWidth |
Holds the encode width.
Value range: 160 to 4096 in increments of 2.
Definition at line 1353 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsVP9::encodeWidth |
Holds the encode width.
Definition at line 1706 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsAV1::encodeWidth |
Holds the encode width.
Definition at line 1896 of file nvmedia_common_encode.h.
NvMediaEncPreset NvMediaEncodeConfigH264::encPreset |
Holds the encode quality pre-set.
See enum NvMediaEncPreset. Recommended pre-setting is NVMEDIA_ENC_PRESET_HP
Definition at line 885 of file nvmedia_common_encode.h.
NvMediaEncPreset NvMediaEncodeConfigH265::encPreset |
Holds the encode quality pre-set.
See enum NvMediaEncPreset. Recommended pre-setting is NVMEDIA_ENC_PRESET_HP.
Definition at line 1339 of file nvmedia_common_encode.h.
NvMediaEncPreset NvMediaEncodeConfigAV1::encPreset |
Holds the encode quality pre-set.
See enum NvMediaEncPreset. Recommended pre-setting is NVMEDIA_ENC_PRESET_HP.
Definition at line 1883 of file nvmedia_common_encode.h.
NvMediaEncodeH264EntropyCodingMode NvMediaEncodeConfigH264::entropyCodingMode |
Holds the entropy coding mode.
Definition at line 827 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigVP9::error_resilient |
Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_DISABLE_ERROR_RESILIENT to set the following parameter.
Enable Error resiliency. This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_DISABLE_ERROR_RESILIENT.
Definition at line 1688 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::features |
Holds bit-wise OR`ed configuration feature flags.
See enum NvMediaEncodeH264Features.
Definition at line 799 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH265::features |
Holds bit-wise OR`ed configuration feature flags.
See the NvMediaEncodeH265Features enum.
Definition at line 1270 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigVP9::features |
Holds bit-wise OR`ed configuration feature flags.
See the NvMediaEncodeVP9Features enum.
Definition at line 1605 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigAV1::features |
Holds bit-wise OR`ed configuration feature flags.
TBD
Definition at line 1834 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigVP9::filter_level |
Specifies the loop filter strength for each segment.
Definition at line 1629 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigVP9::filter_type |
Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_LOOP_FILTER_PARAMS to change the following parameters.
Specifies the type of the filter used.
Value range: One of the following filter types:
Definition at line 1627 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH264::frameRateDen |
Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).
Value range: Frame rate can lie between 1 and 60 (float value).
Definition at line 932 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH264::frameRateDen |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).
Value range: Frame rate can lie between 1 and 60 (float value).
Definition at line 1111 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH265::frameRateDen |
Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).
Value range: Frame rate can lie between 1 and 60 (float value).
Definition at line 1374 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH265::frameRateDen |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).
Value range: Frame rate can lie between 1 and 60 (float value).
Definition at line 1562 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsVP9::frameRateDen |
Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).
Definition at line 1718 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsAV1::frameRateDen |
Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).
Definition at line 1907 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH264::frameRateNum |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).
Value range: Frame rate can lie between 1 and 60 (float value).
Definition at line 928 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH264::frameRateNum |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).
Value range: Frame rate can lie between 1 and 60 (float value).
Definition at line 1107 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH265::frameRateNum |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).
Value range: Frame rate can lie between 1 and 60 (float value).
Definition at line 1370 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH265::frameRateNum |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).
Value range: Frame rate can lie between 1 and 60 (float value).
Definition at line 1558 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsVP9::frameRateNum |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).
Definition at line 1715 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsAV1::frameRateNum |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).
Definition at line 1904 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsAV1::frameRestorationType |
Definition at line 1937 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::gopLength |
Holds the number of pictures in one GOP.
A low-latency application client can set goplength to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that keyframes are not inserted automatically.
Definition at line 803 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH265::gopLength |
Holds the number of pictures in one GOP.
Low latency application client can set the goplength field to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that keyframes are not inserted automatically.
Definition at line 1275 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigVP9::gopLength |
Holds the number of pictures in one GOP.
Low-latency application client can set goplength to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that keyframes are not inserted automatically.
Definition at line 1609 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigAV1::gopLength |
Holds the number of pictures in one GOP.
Low-latency application client can set goplength to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that keyframes are not inserted automatically.
Definition at line 1838 of file nvmedia_common_encode.h.
NvMediaEncodeConfigH264VUIParams* NvMediaEncodeConfigH264::h264VUIParameters |
Holds the H.264 video usability information pamameters.
Set to NULL if VUI is not needed.
Definition at line 860 of file nvmedia_common_encode.h.
NvMediaEncodeConfigH265VUIParams* NvMediaEncodeConfigH265::h265VUIParameters |
Holds the H265 video usability info pamameters.
Set to NULL if VUI is not needed
Definition at line 1324 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigVP9::high_prec_mv |
Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_HIGH_PRECISION_MV to set the following parameter.
Specifies to enable high precision MV. This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_HIGH_PRECISION_MV.
Definition at line 1680 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::idrPeriod |
Holds the IDR interval.
If not set, the interval is made equal to gopLength. A low-latency application client can set the IDR interval to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that IDR frames are not inserted automatically.
Definition at line 813 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH265::idrPeriod |
Holds the IDR interval.
If not set, this is made equal to NvMediaEncodeConfigH265::gopLength. Low latency application client can set IDR interval to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that IDR frames are not inserted automatically.
Definition at line 1284 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigVP9::idrPeriod |
Holds the IDR interval.
If not set, this is made equal to gopLength in NvMediaEncodeConfigVP9. Low-latency application client can set IDR interval to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that IDR frames are not inserted automatically.
Definition at line 1616 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigAV1::idrPeriod |
Holds the IDR interval.
If not set, this is made equal to gopLength in NvMediaEncodeConfigVP9. Low-latency application client can set IDR interval to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that IDR frames are not inserted automatically.
Definition at line 1845 of file nvmedia_common_encode.h.
NvMediaEncodeQP NvMediaEncodeConfigH264::initQP |
Holds the initial QP parameters.
The client must set NVMEDIA_ENCODE_CONFIG_H264_INIT_QP in features to use this.
Value range: QP values can lie between 1 to 51 in increments of 1.
Definition at line 874 of file nvmedia_common_encode.h.
NvMediaEncodeQP NvMediaEncodeConfigH265::initQP |
Holds Initial QP parameters.
Client must set NVMEDIA_ENCODE_CONFIG_H265_INIT_QP in features to use this.
Value range: QP values can lie between 1 to 51 in increments of 1.
Definition at line 1331 of file nvmedia_common_encode.h.
NvMediaEncodeQP NvMediaEncodeConfigVP9::initQP |
Holds Initial QP parameters.
Client must set NVMEDIA_ENCODE_CONFIG_VP9_INIT_QP in features to use this. QP values should be within the range of 1 to 255
Definition at line 1693 of file nvmedia_common_encode.h.
NvMediaEncodeQP NvMediaEncodeConfigAV1::initQP |
Holds Initial QP parameters.
Client must set NVMEDIA_ENCODE_CONFIG_VP9_INIT_QP in features to use this. QP values should be within the range of 1 to 255
Definition at line 1870 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::intraRefreshCnt |
Holds the number of frames over which intra refresh happens.
This value must be less than or equal to intraRefreshPeriod. Set to zero to disable intra refresh functionality. If it is set to one, then after every intraRefreshPeriod frames the encoded P frame contains only intra predicted macroblocks. This value is used only if NVMEDIA_ENCODE_CONFIG_H264_ENABLE_INTRA_REFRESH is set in features.
Definition at line 848 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH265::intraRefreshCnt |
Holds the number of frames over which intra refresh will happen.
This value must be less than or equal to intraRefreshPeriod. Setting it to zero turns off the intra refresh functionality. Setting it to one essentially means that after every intraRefreshPeriod frames the encoded P frame contains only intra predicted macroblocks. This value is used only if the NVMEDIA_ENCODE_CONFIG_H265_ENABLE_INTRA_REFRESH is set in features.
Definition at line 1313 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::intraRefreshPeriod |
Holds the interval between frames that triggers a new intra refresh cycle.
This cycle lasts for intraRefreshCnt frames. This value is used only if NVMEDIA_ENCODE_CONFIG_H264_ENABLE_INTRA_REFRESH is set in features. NVMEDIA_ENCODE_PIC_TYPE_P_INTRA_REFRESH picture type also triggers a new intra refresh cycle and resets the current intra refresh period. Set to zero to suppress triggering of automatic refresh cycles. In this case only NVMEDIA_ENCODE_PIC_TYPE_P_INTRA_REFRESH picture type can trigger a new refresh cycle.
Definition at line 839 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH265::intraRefreshPeriod |
Holds the interval between frames that trigger a new intra refresh cycle and this cycle lasts for intraRefreshCnt frames.
This value is used only if the NVMEDIA_ENCODE_CONFIG_H265_ENABLE_INTRA_REFRESH is set in features. The NVMEDIA_ENCODE_PIC_TYPE_P_INTRA_REFRESH picture type also triggers a new intra-refresh cycle and resets the current intra-refresh period. Setting it to zero results in that no automatic refresh cycles are triggered. In this case only NVMEDIA_ENCODE_PIC_TYPE_P_INTRA_REFRESH picture type can trigger a new refresh cycle.
Definition at line 1305 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMEHint::lastOfMB |
Set to true for the last MV of macroblock.
Definition at line 695 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMEHint::lastofPart |
Set to true for the last MV of (sub) partition
Definition at line 693 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsH264::level |
Holds the encoding level.
Client is recommended to set this to NVMEDIA_ENCODE_LEVEL_AUTOSELECT in order to enable the Encode interface to select the correct level. If a specific level needs to be configured, this field can be set to one of the enumerations from NvMediaEncodeLevel. If the specified level is lower than that which is required by the H264 standard, the encoder auto-corrects it to the minimum required level.
Definition at line 946 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsH265::level |
Holds the encoding level.
Client is recommended to set this to NVMEDIA_ENCODE_LEVEL_H265_AUTOSELECT in order to enable the Encode interface to select the correct level. If a specific level needs to be configured, this field can be set to one of the enumerations from NvMediaEncodeLevelH265. If the specified level is lower than that which is required by the H265 standard, the encoder auto-corrects it to the minimum required level.
Definition at line 1388 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsAV1::level |
Holds the encoding level.
Client is recommended to set this to NVMEDIA_ENCODE_LEVEL_AUTOSELECT in order to enable the Encode interface to select the correct level. If a specific level needs to be configured, this field can be set to one of the enumerations from NvMediaEncodeLevel. If the specified level is lower than that which is required by the H264 standard, the encoder auto-corrects it to the minimum required level.
Definition at line 1921 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsH265::levelTier |
Holds the level tier information.
This is set to 0 for main tier and 1 for high tier. This is valid only when level is not selected as NVMEDIA_ENCODE_LEVEL_H265_AUTOSELECT.
Definition at line 1392 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsAV1::log2NumTilesInCol |
Holds the log2 value of number of tiles used in a column.
Definition at line 1935 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsAV1::log2NumTilesInRow |
Holds the log2 value of number of tiles used in a row.
Definition at line 1933 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsVP9::log2TileCols |
Holds number of log2Cols used in a frame.
Supported values are from 0 to 4
Definition at line 1749 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsVP9::log2TileRows |
Holds number of log2Rows used in a frame.
Supported values are from 0 to 4
Definition at line 1746 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH265VUIParams::matrixCoeffs |
Holds the matrix coefficients used in deriving the luma and chroma from the RGB primaries (as defined in Annex E of the ITU-T Specification).
Definition at line 1166 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeRCParams::maxBitRate |
Holds the maximum bitrate for the encoded output.
Definition at line 135 of file nvmedia_common_encode.h.
uint32_t { ... } ::maxBitRate |
Holds the maximum bitrate for the encoded output.
Definition at line 135 of file nvmedia_common_encode.h.
uint32_t { ... } ::maxBitRate |
Holds the maximum bitrate for the encoded output.
Definition at line 150 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodeInitializeParamsH264::maxMEHintCountsPerBlock[2] |
If Client wants to pass external motion vectors in NvMediaEncodePicParamsH264 meExternalHints buffer it must specify the maximum number of hint candidates per block per direction for the encode session.
The NvMediaEncodeInitializeParamsH264 maxMEHintCountsPerBlock[0] is for L0 predictors and NvMediaEncodeInitializeParamsH264 maxMEHintCountsPerBlock[1] is for L1 predictors. This client must also set NvMediaEncodeInitializeParamsH264 enableExternalMEHints to true.
Definition at line 985 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodeInitializeParamsH265::maxMEHintCountsPerBlock[2] |
If Client wants to pass external motion vectors in NvMediaEncodePicParamsH265 meExternalHints buffer it must specify the maximum number of hint candidates per block per direction for the encode session.
The NvMediaEncodeInitializeParamsH265 maxMEHintCountsPerBlock[0] is for L0 predictors and NvMediaEncodeInitializeParamsH265 maxMEHintCountsPerBlock[1] is for L1 predictors. This client must also set NvMediaEncodeInitializeParamsH265 enableExternalMEHints to true.
Definition at line 1430 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodeInitializeParamsVP9::maxMEHintCountsPerBlock[2] |
If Client wants to pass external motion vectors in NvMediaEncodePicParamsVP9 meExternalHints buffer it must specify the maximum number of hint candidates, per block and per direction, for the encode session.
The NvMediaEncodeInitializeParamsVP9 maxMEHintCountsPerBlock[0] is for L0 predictors and NvMediaEncodeInitializeParamsVP9 maxMEHintCountsPerBlock[1] is for L1 predictors. This client must also set NvMediaEncodeInitializeParamsVP9 enableExternalMEHints to true.
Definition at line 1740 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodeInitializeParamsAV1::maxMEHintCountsPerBlock[2] |
If Client wants to pass external motion vectors in NvMediaEncodePicParamsVP9 meExternalHints buffer it must specify the maximum number of hint candidates, per block and per direction, for the encode session.
The NvMediaEncodeInitializeParamsVP9 maxMEHintCountsPerBlock[0] is for L0 predictors and NvMediaEncodeInitializeParamsVP9 maxMEHintCountsPerBlock[1] is for L1 predictors. This client must also set NvMediaEncodeInitializeParamsVP9 enableExternalMEHints to true.
Definition at line 1959 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsH264::maxNumRefFrames |
Holds the maximum number of reference frames used for encoding.
Value range: 0
For I-frame only mode (no reference frames), i.e., NvMediaEncodeInitializeParamsH264::enableAllIFrames is set to 1 and NvMediaEncodeRCParams::numBFrames is set to 0.
Value range: 1 to 8
For encoding with I and P frame types (p-frames as reference), i.e., NvMediaEncodeInitializeParamsH264::enableAllIFrames is set to 0 and NvMediaEncodeRCParams::numBFrames is set to 0.
Value range: 2 to 8
For encoding with I, P and B frame types (p and b-frames as reference), i.e., NvMediaEncodeInitializeParamsH264::enableAllIFrames is set to 0, NvMediaEncodeRCParams::numBFrames is set to a non-zero value and NvMediaEncodeInitializeParamsH264::useBFramesAsRef is set to 1.
Value range: 2 to 8
For encoding with I, P and B frame types (only p-frames as reference), i.e., NvMediaEncodeInitializeParamsH264::enableAllIFrames is set to 0, NvMediaEncodeRCParams::numBFrames is set to a non-zero value and NvMediaEncodeInitializeParamsH264::useBFramesAsRef is set to 0.
Definition at line 969 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsH265::maxNumRefFrames |
Holds the maximum number of reference frames used for encoding.
Value range: 0
For I-frame only mode (no reference frames), i.e., NvMediaEncodeInitializeParamsH265::enableAllIFrames is set to 1 and NvMediaEncodeRCParams::numBFrames is set to 0.
Value range: 1 to 8
For encoding with I and P frame types (p-frames as reference), i.e., NvMediaEncodeInitializeParamsH265::enableAllIFrames is set to 0 and NvMediaEncodeRCParams::numBFrames is set to 0.
Value range: 2 to 8
For encoding with I, P and B frame types (p and b-frames as reference), i.e., NvMediaEncodeInitializeParamsH265::enableAllIFrames is set to 0, NvMediaEncodeRCParams::numBFrames is set to a non-zero value and NvMediaEncodeInitializeParamsH265::useBFramesAsRef is set to 1.
Value range: 2 to 8
For encoding with I, P and B frame types (only p-frames as reference), i.e., NvMediaEncodeInitializeParamsH265::enableAllIFrames is set to 0, NvMediaEncodeRCParams::numBFrames is set to a non-zero value and NvMediaEncodeInitializeParamsH265::useBFramesAsRef is set to 0.
Definition at line 1415 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsVP9::maxNumRefFrames |
Holds the max reference numbers used for encoding.
Allowed range is [0, 2]. Values:
Definition at line 1724 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsAV1::maxNumRefFrames |
Holds the max reference numbers used for encoding.
Allowed range is [0, 2]. Values:
Definition at line 1927 of file nvmedia_common_encode.h.
NvMediaEncodeQP NvMediaEncodeConfigH264::maxQP |
Holds the maximum QP parameters.
The client must set NVMEDIA_ENCODE_CONFIG_H264_QP_MAX in features to use this.
Value range: QP values can lie between 1 to 51 in increments of 1, must be greater than NvMediaEncodeRCParams::minQP.
Definition at line 879 of file nvmedia_common_encode.h.
NvMediaEncodeQP NvMediaEncodeConfigH265::maxQP |
Holds maximum QP parameters.
Client must set NVMEDIA_ENCODE_CONFIG_H265_QP_MAX in features to use this.
Value range: QP values can lie between 1 to 51 in increments of 1, must be greater than NvMediaEncodeRCParams::minQP.
Definition at line 1336 of file nvmedia_common_encode.h.
NvMediaEncodeQP NvMediaEncodeConfigVP9::maxQP |
Holds maximum QP parameters.
Client must set NVMEDIA_ENCODE_CONFIG_VP9_QP_MAX in features to use this. The maximum QP values must be within the range of 1 to 255 and must be set to a value greater than NvMediaEncodeRCParams::minQP.
Definition at line 1698 of file nvmedia_common_encode.h.
NvMediaEncodeQP NvMediaEncodeConfigAV1::maxQP |
Holds maximum QP parameters.
Client must set NVMEDIA_ENCODE_CONFIG_VP9_QP_MAX in features to use this. The maximum QP values must be within the range of 1 to 255 and must be set to a value greater than NvMediaEncodeRCParams::minQP.
Definition at line 1875 of file nvmedia_common_encode.h.
int8_t NvMediaEncodeRCParams::maxSessionQP |
Holds the max QP for encoding session when external picture RC hint is used.
Definition at line 194 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::maxSliceSizeInBytes |
Holds the maximum slice size in bytes for dynamic slice mode.
The client must set NVMEDIA_ENCODE_CONFIG_H264_ENABLE_DYNAMIC_SLICE_MODE in features for this setting to take effect.
Definition at line 853 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH265::maxSliceSizeInBytes |
Holds the maximum slice size in bytes for dynamic slice mode.
The Client must set NVMEDIA_ENCODE_CONFIG_H265_ENABLE_DYNAMIC_SLICE_MODE in features in order for this to take effect.
Definition at line 1317 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMEHint* { ... } ::meExternalHints |
Definition at line 1101 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMEHint* NvMediaEncodePicParamsH264::meExternalHints |
Definition at line 1101 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMEHint* NvMediaEncodePicParamsH265::meExternalHints |
Holds the pointer to ME external hints for the current frame.
The size of ME hint buffer must be equal to number of macroblocks multiplied by the total number of candidates per macroblock. The total number of candidates per MB per direction =
1*meHintCountsPerBlock[Lx].numCandsPerBlk16x16 + 2*meHintCountsPerBlock[Lx].numCandsPerBlk16x8 + 2*meHintCountsPerBlock[Lx].numCandsPerBlk8x16 + 4*meHintCountsPerBlock[Lx].numCandsPerBlk8x8
For frames using bidirectional ME, the total number of candidates for a single macroblock is the sum of the total number of candidates per MB for each direction (L0 and L1).
If no external ME hints are needed, set this field to NULL.
Definition at line 1554 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMEHint* NvMediaEncodePicParamsVP9::meExternalHints |
Holds the pointer to ME external hints for the current frame.
The size of ME hint buffer must be equal to number of macroblocks multiplied by the total number of candidates per macroblock. The total number of candidates per MB per direction =
1*meHintCountsPerBlock[Lx].numCandsPerBlk16x16 + 2*meHintCountsPerBlock[Lx].numCandsPerBlk16x8 + 2*meHintCountsPerBlock[Lx].numCandsPerBlk8x16 + 4*meHintCountsPerBlock[Lx].numCandsPerBlk8x8
For frames using bidirectional ME , the total number of candidates for a single macroblock is the sum of the total number of candidates per MB for each direction (L0 and L1).
If no external ME hints are needed, set this field to NULL.
Definition at line 1798 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMEHint* NvMediaEncodePicParamsAV1::meExternalHints |
Holds the pointer to ME external hints for the current frame.
The size of ME hint buffer must be equal to number of macroblocks multiplied by the total number of candidates per macroblock. The total number of candidates per MB per direction =
1*meHintCountsPerBlock[Lx].numCandsPerBlk16x16 + 2*meHintCountsPerBlock[Lx].numCandsPerBlk16x8 + 2*meHintCountsPerBlock[Lx].numCandsPerBlk8x16 + 4*meHintCountsPerBlock[Lx].numCandsPerBlk8x8
For frames using bidirectional ME , the total number of candidates for a single macroblock is the sum of the total number of candidates per MB for each direction (L0 and L1).
If no external ME hints are needed, set this field to NULL.
Definition at line 2008 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodePicParamsH264::meHintCountsPerBlock[2] |
Holds the number of hint candidates per block per direction for the current frame.
meHintCountsPerBlock[0] is for L0 predictors and meHintCountsPerBlock[1] is for L1 predictors. The candidate count in NvMediaEncodePicParamsH264 meHintCountsPerBlock[lx] must never exceed NvMediaEncodeInitializeParamsH264 maxMEHintCountsPerBlock[lx] provided during encoder initialization.
Definition at line 1082 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodePicParamsH265::meHintCountsPerBlock[2] |
Holds the number of hint candidates per block per direction for the current frame.
meHintCountsPerBlock[0] is for L0 predictors and meHintCountsPerBlock[1] is for L1 predictors. The candidate count in NvMediaEncodePicParamsH265 meHintCountsPerBlock[lx] must never exceed NvMediaEncodeInitializeParamsH265 maxMEHintCountsPerBlock[lx] provided during encoder initialization.
Definition at line 1537 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodePicParamsVP9::meHintCountsPerBlock[2] |
Holds the number of hint candidates per block per direction for the current frame.
meHintCountsPerBlock[0] is for L0 predictors and meHintCountsPerBlock[1] is for L1 predictors. The candidate count in NvMediaEncodePicParamsVP9 meHintCountsPerBlock[lx] must never exceed NvMediaEncodeInitializeParamsVP9 maxMEHintCountsPerBlock[lx] provided during encoder initialization.
Definition at line 1782 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodePicParamsAV1::meHintCountsPerBlock[2] |
Holds the number of hint candidates per block per direction for the current frame.
meHintCountsPerBlock[0] is for L0 predictors and meHintCountsPerBlock[1] is for L1 predictors. The candidate count in NvMediaEncodePicParamsVP9 meHintCountsPerBlock[lx] must never exceed NvMediaEncodeInitializeParamsVP9 maxMEHintCountsPerBlock[lx] provided during encoder initialization.
Definition at line 1992 of file nvmedia_common_encode.h.
uint8_t* NvMediaEncodePicParamsH264::meHints |
Definition at line 1102 of file nvmedia_common_encode.h.
uint8_t* { ... } ::meHints |
Definition at line 1102 of file nvmedia_common_encode.h.
NvMediaEncodeQP NvMediaEncodeRCParams::minQP |
Holds the minimum QP used for rate control.
Definition at line 161 of file nvmedia_common_encode.h.
NvMediaEncodeQP { ... } ::minQP |
Holds the minimum QP used for rate control.
Definition at line 161 of file nvmedia_common_encode.h.
NvMediaEncodeQP { ... } ::minQP |
Holds the minimum QP used for rate control.
Definition at line 176 of file nvmedia_common_encode.h.
int8_t NvMediaEncodeConfigVP9::mode_lf_deltas[2] |
Specifies the Loop filter strength adjustments based on mode (zero, new mv).
Definition at line 1637 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::motionPredictionExclusionFlags |
Holds bitwise OR`ed exclusion flags.
See enum NvMediaEncodeH264MotionPredictionExclusionFlags.
Definition at line 864 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH264::mvcNumViews |
Number of views used for MVC.
Definition at line 1036 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH265::mvNumViews |
Number of views used for MV-Hevc.
Definition at line 1475 of file nvmedia_common_encode.h.
int32_t NvMediaEncodeExternalMEHint::mvx |
Holds the x component of integer pixel MV (relative to current MB) S12.0.
Definition at line 681 of file nvmedia_common_encode.h.
int32_t NvMediaEncodeExternalMEHint::mvy |
Holds the y component of integer pixel MV (relative to current MB) S10.0 .
Definition at line 683 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeH265SEIPayload::nalUnitType |
SEI nal_unit_type.
Definition at line 1497 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH264::nextBFrames |
Specifies the number of B-frames that follow the current frame.
This number can be set only for reference frames and the frames that follow the current frame must be nextBFrames count of B-frames. B-frames are supported only if the profile is greater than NVMEDIA_ENCODE_PROFILE_BASELINE and the maxNumRefFrames is set to 2. Set to zero if no B-frames are needed.
Definition at line 1062 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH265::nextBFrames |
Specifies the number of B-frames that follow the current frame.
This number can be set only for reference frames and the frames that follow the current frame must be nextBFrames count of B-frames. B-frames are supported only if the profile is greater than NVMEDIA_ENCODE_PROFILE_BASELINE and the maxNumRefFrames is set to 2. Set to zero if no B-frames are needed.
Definition at line 1517 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsVP9::nextBFrames |
Holds the number of B-frames that follow the current frame.
This number can be set only for reference frames and the frames that follow the current frame must be nextBFrames count of B-frames. B-frames are supported only if the profile is greater than NVMEDIA_ENCODE_PROFILE_BASELINE and the maxNumRefFrames is set to 2. Set to zero if no B-frames are needed.
Definition at line 1770 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsAV1::nextBFrames |
Holds the number of B-frames that follow the current frame.
This number can be set only for reference frames and the frames that follow the current frame must be nextBFrames count of B-frames. B-frames are supported only if the profile is greater than NVMEDIA_ENCODE_PROFILE_BASELINE and the maxNumRefFrames is set to 2. Set to zero if no B-frames are needed.
Definition at line 1980 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeRCParams::numBFrames |
Specified number of B frames between two reference frames.
Value range: The values between 0 to 10, in increments of 1.
Definition at line 111 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk16x16 |
Holds the number of candidates per 16x16 block.
Definition at line 666 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk16x8 |
Holds the number of candidates per 16x8 block.
Definition at line 668 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk8x16 |
Holds the number of candidates per 8x16 block.
Definition at line 670 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk8x8 |
Holds the number of candidates per 8x8 block.
Definition at line 672 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH265::numCTUsPerSlice |
Number of CTU per slice.
Set to 0 if fix number of macroblocks not required or maxSliceSizeInBytes or numSliceCountMinus1 is set to non-zero value.
Definition at line 1321 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsVP9::numEpCores |
Holds number of HW entropy cores for encoding.
Supported cores are 1 and 4 cores
Definition at line 1743 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::numMacroblocksPerSlice |
Holds the number of macroblocks per slice.
Set to 0 if a fixed number of macroblocks not required or if maxSliceSizeInBytes or numSliceCountMinus1 is set to a non-zero value.
Definition at line 857 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeConfigH264::numSliceCountMinus1 |
Holds a number that is 1 less than the desired number of slices per frame.
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_DYNAMIC_SLICE_MODE should NOT be set in features for this setting to take effect.
Value range: 0 to 31 in increments of 1.
Definition at line 818 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeConfigH265::numSliceCountMinus1 |
Holds a number that is 1 less than the desired number of slices per frame.
NVMEDIA_ENCODE_CONFIG_H265_ENABLE_DYNAMIC_SLICE_MODE should NOT be set in features for this setting to take effect.
Value range: 0 to 31 in increments of 1.
Definition at line 1289 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH264VUIParams::overscanAppropriateFlag |
Holds the overscan info (as defined in Annex E of the ITU-T Specification).
Definition at line 629 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH265VUIParams::overscanAppropriateFlag |
Holds the overscan info (as defined in Annex E of the ITU-T Specification).
Definition at line 1144 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH264VUIParams::overscanInfoPresentFlag |
If set to true, it specifies that the overscanInfo is present.
Definition at line 626 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH265VUIParams::overscanInfoPresentFlag |
If set to true, it specifies that the overscanInfo is present.
Definition at line 1141 of file nvmedia_common_encode.h.
union { ... } NvMediaEncodeRCParams::params |
Rate Control parameters.
uint32_t NvMediaEncodeExternalMEHint::partType |
Holds the block partition type.
0=16x16 1=16x8 2=8x16 3=8x8 (blocks in partition must be consecutive).
Definition at line 691 of file nvmedia_common_encode.h.
uint8_t* NvMediaEncodeH264SEIPayload::payload |
Pointer to user data.
Definition at line 901 of file nvmedia_common_encode.h.
uint8_t* NvMediaEncodeH265SEIPayload::payload |
pointer to user data
Definition at line 1499 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeH264SEIPayload::payloadSize |
SEI payload size in bytes.
SEI payload must be byte aligned, as described in Annex D
Definition at line 896 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeH265SEIPayload::payloadSize |
SEI payload size in bytes.
SEI payload must be byte aligned, as described in Annex D
Definition at line 1492 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeH264SEIPayload::payloadType |
SEI payload types and syntax can be found in Annex D of the H.264 Specification.
Definition at line 899 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeH265SEIPayload::payloadType |
SEI payload types and syntax can be found in Annex D of the H265 Specification.
Definition at line 1495 of file nvmedia_common_encode.h.
NvMediaEncodePicType NvMediaEncodePicParamsH264::pictureType |
Holds input picture type.
Definition at line 1052 of file nvmedia_common_encode.h.
NvMediaEncodePicType NvMediaEncodePicParamsH265::pictureType |
Holds input picture type.
Definition at line 1507 of file nvmedia_common_encode.h.
NvMediaEncodePicType NvMediaEncodePicParamsVP9::pictureType |
Holds input picture type.
Definition at line 1760 of file nvmedia_common_encode.h.
NvMediaEncodePicType NvMediaEncodePicParamsAV1::pictureType |
Holds input picture type.
Definition at line 1970 of file nvmedia_common_encode.h.
NvMediaEncodeH264POCType NvMediaEncodeConfigH264::pocType |
Holds pic_ordec_cnt_type.
Definition at line 869 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsH264::profile |
Holds the encoding profile.
Client is recommended to set this to NVMEDIA_ENCODE_PROFILE_AUTOSELECT in order to enable the Encode interface to select the correct profile. If a specific profile needs to be configured, this field can be set to one of the supported enumerations from NvMediaEncodeProfile.
Definition at line 938 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsH265::profile |
Holds the encoding profile.
Client is recommended to set this to NVMEDIA_ENCODE_PROFILE_AUTOSELECT in order to enable the Encode interface to select the correct profile. If a specific profile needs to be configured, this field can be set to one of the supported enumerations from NvMediaEncodeProfile.
Definition at line 1380 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsAV1::profile |
Holds the encoding profile.
Client is recommended to set this to NVMEDIA_ENCODE_PROFILE_AUTOSELECT in order to enable the Encode interface to select the correct profile. If a specific profile needs to be configured, this field can be set to one of the supported enumerations from NvMediaEncodeProfile.
Definition at line 1913 of file nvmedia_common_encode.h.
int16_t NvMediaEncodeQP::qpInterB |
QP value for B frames.
Definition at line 74 of file nvmedia_common_encode.h.
int16_t NvMediaEncodeQP::qpInterP |
QP value for P frames.
Definition at line 72 of file nvmedia_common_encode.h.
int16_t NvMediaEncodeQP::qpIntra |
QP value for Intra frames.
Definition at line 76 of file nvmedia_common_encode.h.
NvMediaEncodeQuality NvMediaEncodeConfigH264::quality |
Holds the encode quality pre-set.
See enum NvMediaEncodeQuality. Recommended pre-setting is NVMEDIA_ENCODE_QUALITY_L1.
Definition at line 867 of file nvmedia_common_encode.h.
NvMediaEncodeQuality NvMediaEncodeConfigH265::quality |
Holds encode quality pre-set.
See NvMediaEncodeQuality enum. Recommended pre-setting is NVMEDIA_ENCODE_QUALITY_L0.
Definition at line 1327 of file nvmedia_common_encode.h.
NvMediaEncodeQuality NvMediaEncodeConfigAV1::quality |
Holds the encode quality pre-set.
See enum NvMediaEncodeQuality. Recommended pre-setting is NVMEDIA_ENCODE_QUALITY_L1.
Definition at line 1878 of file nvmedia_common_encode.h.
NvMediaEncodeParamsRCMode NvMediaEncodeRCParams::rateControlMode |
Holds the rate control mode.
Definition at line 108 of file nvmedia_common_encode.h.
NvMediaEncodeRCParams NvMediaEncodeConfigH264::rcParams |
Holds the rate control parameters for the current encoding session.
Definition at line 805 of file nvmedia_common_encode.h.
NvMediaEncodeRCParams NvMediaEncodePicParamsH264::rcParams |
Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE is set in the encodePicFlags.
Definition at line 1069 of file nvmedia_common_encode.h.
NvMediaEncodeRCParams NvMediaEncodeConfigH265::rcParams |
Holds the rate control parameters for the current encoding session.
Definition at line 1277 of file nvmedia_common_encode.h.
NvMediaEncodeRCParams NvMediaEncodePicParamsH265::rcParams |
Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE is set in the encodePicFlags.
Definition at line 1524 of file nvmedia_common_encode.h.
NvMediaEncodeRCParams NvMediaEncodeConfigVP9::rcParams |
Holds the rate control parameters for the current encoding session.
Definition at line 1611 of file nvmedia_common_encode.h.
NvMediaEncodeRCParams NvMediaEncodePicParamsVP9::rcParams |
Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE is set in the encodePicFlags.
Please note that the rateControlMode cannot be changed on a per frame basis only the associated rate control parameters.
Definition at line 1775 of file nvmedia_common_encode.h.
NvMediaEncodeRCParams NvMediaEncodeConfigAV1::rcParams |
Holds the rate control parameters for the current encoding session.
Definition at line 1840 of file nvmedia_common_encode.h.
NvMediaEncodeRCParams NvMediaEncodePicParamsAV1::rcParams |
Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE is set in the encodePicFlags.
Please note that the rateControlMode cannot be changed on a per frame basis only the associated rate control parameters.
Definition at line 1985 of file nvmedia_common_encode.h.
int8_t NvMediaEncodeConfigVP9::ref_lf_deltas[4] |
Specifies the Loop filter strength adjustments based on frame type (intra, inter).
Definition at line 1634 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMEHint::refidx |
Holds the reference index (31=invalid).
Current we support only 1 reference frame per direction for external hints, so refidx must be 0.
Definition at line 686 of file nvmedia_common_encode.h.
NvMediaEncodeH264SPSPPSRepeatMode NvMediaEncodeConfigH264::repeatSPSPPS |
Holds the frequency of the writing of Sequence and Picture parameters.
Definition at line 808 of file nvmedia_common_encode.h.
NvMediaEncodeH264SPSPPSRepeatMode NvMediaEncodeConfigH265::repeatSPSPPS |
Holds the frequency of the writing of Sequence and Picture parameters.
Definition at line 1279 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigAV1::reserved[17] |
Reserved Bytes.
Definition at line 1888 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsAV1::reserved[20] |
Reserved Bytes.
Definition at line 1961 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsAV1::reserved[20] |
Reserved Bytes.
Definition at line 2010 of file nvmedia_common_encode.h.
int16_t NvMediaEncodeQP::reserved[3] |
Definition at line 78 of file nvmedia_common_encode.h.
int8_t NvMediaEncodeRCParams::reserved[3] |
Definition at line 195 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH264::reserved |
Add padding.
Definition at line 1044 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH265::reserved |
Add padding.
Definition at line 1483 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeInitializeParamsH264::reserved1 |
Definition at line 914 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeInitializeParamsH265::reserved1 |
Definition at line 1354 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeInitializeParamsH264::reserved2 |
Definition at line 921 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeInitializeParamsH265::reserved2 |
Definition at line 1361 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsH264::reserved3[3] |
Definition at line 1021 of file nvmedia_common_encode.h.
NvMediaEncodeH264SEIPayload* NvMediaEncodePicParamsH264::seiPayloadArray |
Array of SEI payloads which will be inserted for this frame.
Definition at line 1074 of file nvmedia_common_encode.h.
NvMediaEncodeH265SEIPayload* NvMediaEncodePicParamsH265::seiPayloadArray |
Array of SEI payloads which will be inserted for this frame.
Definition at line 1529 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH264::seiPayloadArrayCnt |
Holds the number of elements allocated in seiPayloadArray array.
Set to 0 if no SEI messages are needed
Definition at line 1072 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH265::seiPayloadArrayCnt |
Holds the number of elements allocated in seiPayloadArray array.
Set to 0 if no SEI messages are needed
Definition at line 1527 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigVP9::sharpness_level |
Specifies Sharpness level.
Definition at line 1631 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH264VUIParams::timingInfoPresentFlag |
Holds that num_units_in_tick, time_scale and fixed_frame_rate_flag are present in the bitstream (as defined in Annex E of the ITU-T Specification).
Definition at line 654 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH264VUIParams::transferCharacteristics |
Holds the opto-electronic transfer characteristics to use (as defined in Annex E of the ITU-T Specification).
Definition at line 647 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH265VUIParams::transferCharacteristics |
Holds the opto-electronic transfer characteristics to use (as defined in Annex E of the ITU-T Specification).
Definition at line 1163 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigVP9::transform_mode |
Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_TRANSFORM_MODE to set the following parameter.
Specifies transform_mode.
Value range: One of the following modes:
Definition at line 1673 of file nvmedia_common_encode.h.
uint32_t NvMediaNalData::ulNalSize |
Nal size for header.
Definition at line 603 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsH264::useBFramesAsRef |
Enables B frames to be used as reference frames.
Value range: 0 to 1
Definition at line 1020 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH265::useBFramesAsRef |
Enables B frames to be used as reference frames.
Value range: 0 to 1
Definition at line 1460 of file nvmedia_common_encode.h.
struct { ... } NvMediaEncodeRCParams::vbr |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR mode.
struct { ... } ::vbr |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR mode.
struct { ... } NvMediaEncodeRCParams::vbr_minqp |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP mode.
struct { ... } ::vbr_minqp |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP mode.
uint32_t { ... } ::vbvBufferSize |
Holds the VBV(HRD) buffer size, in bits.
Set to 0 (zero) to automatically determine the right VBV buffer size as per tier and level limits specified in the relevant coding standard.
Definition at line 120 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeRCParams::vbvBufferSize |
Holds the VBV(HRD) buffer size, in bits.
Set to 0 (zero) to automatically determine the right VBV buffer size as per tier and level limits specified in the relevant coding standard.
Definition at line 120 of file nvmedia_common_encode.h.
uint32_t { ... } ::vbvBufferSize |
Holds the VBV(HRD) buffer size, in bits.
Set to 0 (zero) to automatically determine the right VBV buffer size as per tier and level limits specified in the relevant coding standard.
Definition at line 140 of file nvmedia_common_encode.h.
uint32_t { ... } ::vbvBufferSize |
Holds the VBV(HRD) buffer size, in bits.
Set to 0 (zero) to automatically determine the right VBV buffer size as per tier and level limits specified in the relevant coding standard.
Definition at line 155 of file nvmedia_common_encode.h.
uint32_t { ... } ::vbvBufferSize |
Holds the VBV(HRD) buffer size, in bits.
Set to 0 (zero) to automatically determine the right VBV buffer size as per tier and level limits specified in the relevant coding standard.
Definition at line 170 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeRCParams::vbvInitialDelay |
Holds the VBV(HRD) initial delay in bits.
Set to 0 (zero) to use the internally determined VBV initial delay.
Definition at line 124 of file nvmedia_common_encode.h.
uint32_t { ... } ::vbvInitialDelay |
Holds the VBV(HRD) initial delay in bits.
Set to 0 (zero) to use the internally determined VBV initial delay.
Definition at line 124 of file nvmedia_common_encode.h.
uint32_t { ... } ::vbvInitialDelay |
Holds the VBV(HRD) initial delay in bits.
Set to 0 (zero) to use the internally determined VBV initial delay.
Definition at line 144 of file nvmedia_common_encode.h.
uint32_t { ... } ::vbvInitialDelay |
Holds the VBV(HRD) initial delay in bits.
Set to 0 (zero) to use the internally determined VBV initial delay.
Definition at line 159 of file nvmedia_common_encode.h.
uint32_t { ... } ::vbvInitialDelay |
Holds the VBV(HRD) initial delay in bits.
Set to 0 (zero) to use the internally determined VBV initial delay.
Definition at line 174 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH264VUIParams::videoFormat |
Holds the source video format (as defined in Annex E of the ITU-T Specification).
Definition at line 635 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH265VUIParams::videoFormat |
Holds the source video format (as defined in Annex E of the ITU-T Specification).
Definition at line 1151 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH264VUIParams::videoFullRangeFlag |
Holds the output range of the luma and chroma samples (as defined in Annex E of the ITU-T Specification).
Definition at line 638 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH265VUIParams::videoFullRangeFlag |
Holds the output range of the luma and chroma samples (as defined in Annex E of the ITU-T Specification).
Definition at line 1154 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH264VUIParams::videoSignalTypePresentFlag |
If set to true, it specifies that the videoFormat, videoFullRangeFlag and colourDescriptionPresentFlag are present.
Definition at line 632 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH265VUIParams::videoSignalTypePresentFlag |
If set to true, it specifies that the videoFormat, videoFullRangeFlag, and colourDescriptionPresentFlag are present.
Definition at line 1148 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH264::viewId |
Holds the viewId of current picture.
Definition at line 1113 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH265::viewId |
Holds the viewId of current picture.
Definition at line 1564 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsVP9::vp9SkipChroma |
Skip Chroma Processing.
Supported values are 0 and 1.
Definition at line 1751 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH265VUIParams::vuiTimingInfoPresentFlag |
Holds that num_units_in_tick, time_scale and fixed_frame_rate_flag are present in the bitstream (as defined in Annex E of the ITU-T Specification).
Definition at line 1170 of file nvmedia_common_encode.h.