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 654 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 627 of file nvmedia_common_encode.h.
Defines extended encoding profiles.
Definition at line 282 of file nvmedia_common_encode.h.
Defines H.264 specific Adaptive Transform modes.
Definition at line 500 of file nvmedia_common_encode.h.
Defines H.264 specific Bdirect modes.
Definition at line 485 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 474 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 761 of file nvmedia_common_encode.h.
Defines motion prediction exclusion flags for H.264.
Definition at line 515 of file nvmedia_common_encode.h.
Defines motion search mode control flags for H.264.
Definition at line 587 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 641 of file nvmedia_common_encode.h.
Specifies the frequency of the writing of Sequence and Picture parameters for H.264.
Definition at line 613 of file nvmedia_common_encode.h.
Defines H265encoding profiles.
Definition at line 368 of file nvmedia_common_encode.h.
enum NvMediaEncodeLevel |
Defines encoding levels for H264 encoder.
Definition at line 323 of file nvmedia_common_encode.h.
Defines encoding levels for H265 encoder.
Definition at line 392 of file nvmedia_common_encode.h.
Defines encoding Picture encode flags.
Definition at line 431 of file nvmedia_common_encode.h.
enum NvMediaEncodePicType |
Input picture type.
Definition at line 231 of file nvmedia_common_encode.h.
enum NvMediaEncodeProfile |
Defines encoding profiles.
Definition at line 251 of file nvmedia_common_encode.h.
enum NvMediaEncPreset |
Defines encode preset level settings.
Definition at line 448 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 882 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::ampDisable |
Use ampDisable to enable or disable assymetric partition types.
Definition at line 1556 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 676 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 1205 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH264VUIParams::aspectRatioInfoPresentFlag |
If set to true, it specifies that the aspectRatioIdc is present.
Definition at line 673 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH265VUIParams::aspectRatioInfoPresentFlag |
If set to true, specifies the aspectRatioIdc is present.
Definition at line 1202 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 683 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 1212 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 679 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 1208 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeRCParams::averageBitRate |
Holds the average bitrate (in bits/sec) used for encoding.
Definition at line 127 of file nvmedia_common_encode.h.
uint32_t { ... } ::averageBitRate |
Holds the average bitrate (in bits/sec) used for encoding.
Definition at line 127 of file nvmedia_common_encode.h.
uint32_t { ... } ::averageBitRate |
Holds the average bitrate (in bits/sec) used for encoding.
Definition at line 145 of file nvmedia_common_encode.h.
uint32_t { ... } ::averageBitRate |
Holds the average bitrate (in bits/sec) used for encoding.
Definition at line 160 of file nvmedia_common_encode.h.
uint32_t { ... } ::averageBitRate |
Holds the average bitrate (in bits/sec) used for encoding.
Definition at line 177 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 1723 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 1940 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 197 of file nvmedia_common_encode.h.
NvMediaEncodeH264BDirectMode NvMediaEncodeConfigH264::bdirectMode |
Holds the BDirect mode.
Definition at line 884 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 716 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 1247 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 1712 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 1715 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 700 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 1231 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 709 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 703 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 1234 of file nvmedia_common_encode.h.
struct { ... } NvMediaEncodeRCParams::const_qp |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_CONSTQP mode.
struct { ... } ::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 141 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 141 of file nvmedia_common_encode.h.
uint8_t NvMediaNalData::data[MAX_NON_SLICE_DATA_SIZE] |
header data passed on this buffer
Definition at line 664 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 1735 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 1952 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 1731 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 1948 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 1727 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 1944 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMEHint::dir |
Holds the direction of motion estimation .
0=L0 1=L1.
Definition at line 747 of file nvmedia_common_encode.h.
NvMediaBool NvMediaEncodeConfigAV1::disableCdfUpdate |
Set to true to disable CDF update.
Definition at line 1964 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH265::disableDeblockingFilter |
Holds disable the deblocking filter.
Definition at line 1366 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 880 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 1102 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 1550 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH264::enableAnonEncode |
Enables video anonymization of PII regions
Value range: 0 to 1.
Definition at line 1110 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsAV1::enableBiCompound |
Definition at line 2024 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 1034 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 1488 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 1802 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 2033 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH264::enableExternalPictureRC |
Enable external picture rate control.
Definition at line 1099 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH265::enableExternalPictureRC |
Enable external picture rate control.
Definition at line 1547 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH264::enableExtProfile |
Enables extended encoding profiles.
Definition at line 994 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsAV1::enableInternalHighBitDepth |
Definition at line 2029 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH264::enableLimitedRGB |
Set this to true for limited-RGB (16-235) input.
Definition at line 978 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::enableLimitedRGB |
Set this to true for limited-RGB (16-235) input.
Definition at line 1433 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 1785 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 1985 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH264::enableMemoryOptimization |
Enables feature to allocate memory as per optimizations.
Definition at line 1104 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 1059 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 1513 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 1056 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 1510 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 1068 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 1518 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 1071 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::enableSliceEncode |
use slice encode to reduce latency in getting encoded buffers.
Definition at line 1520 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::enableSliceLevelEncode |
Set this to true for slice level encode.
Definition at line 1435 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH264::enableSourceHalfScaled |
Enable 2 pass RC with quarter resolution first pass.
Definition at line 1093 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::enableSourceHalfScaled |
Enable 2 pass RC with quarter resolution first pass.
Definition at line 1541 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsAV1::enableSsimRdo |
Set to true to enable SSIM RDO.
Definition at line 2013 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsAV1::enableTileEncode |
Set to true to enable Multiple tile mode.
Definition at line 2015 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 1085 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 1533 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsAV1::enableUniCompound |
Definition at line 2027 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 938 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH265::enableWeightedPrediction |
Holds enable weighted prediction.
Definition at line 1369 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 974 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 1429 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsVP9::encodeHeight |
Holds the encode height.
Definition at line 1781 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsAV1::encodeHeight |
Holds the encode height.
Definition at line 1982 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH264::encodePicFlags |
Holds bit-wise OR`ed encode pic flags.
See enum NvMediaEncodePicFlags.
Definition at line 1123 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH265::encodePicFlags |
Holds bit-wise OR`ed encode pic flags.
See enum NvMediaEncodePicFlags.
Definition at line 1583 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsVP9::encodePicFlags |
Holds bit-wise OR`ed encode pic flags.
See enum NvMediaEncodePicFlags.
Definition at line 1836 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsAV1::encodePicFlags |
Holds bit-wise OR`ed encode pic flags.
See enum NvMediaEncodePicFlags.
Definition at line 2057 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 967 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 1422 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsVP9::encodeWidth |
Holds the encode width.
Definition at line 1779 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsAV1::encodeWidth |
Holds the encode width.
Definition at line 1980 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 941 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 1410 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 1967 of file nvmedia_common_encode.h.
NvMediaEncodeH264EntropyCodingMode NvMediaEncodeConfigH264::entropyCodingMode |
Holds the entropy coding mode.
Definition at line 886 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 1761 of file nvmedia_common_encode.h.
NvMediaEncodeExtProfile NvMediaEncodeInitializeParamsH264::extProfile |
Holds the extended encoding profile.
Client is recommended to set this in addition to profile to set extended profile. This field can be set to one of the supported enumerations from NvMediaEncodeExtProfile.
Definition at line 998 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::features |
Holds bit-wise OR`ed configuration feature flags.
See enum NvMediaEncodeH264Features.
Definition at line 858 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 1344 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 1678 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigAV1::features |
Holds bit-wise OR`ed configuration feature flags.
TBD
Definition at line 1921 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigVP9::filter_level |
Specifies the loop filter strength for each segment.
Definition at line 1702 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 1700 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 986 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 1179 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 1443 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 1635 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 1791 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 1991 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsAV1::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 2100 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 982 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 1175 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 1439 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 1631 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 1788 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 1988 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsAV1::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 2096 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsAV1::frameRestorationType |
Definition at line 2021 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 862 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 1349 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 1682 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 1925 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 919 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 1398 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 1753 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 872 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 1358 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 1689 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 1932 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 930 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 1402 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 1766 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 1957 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 907 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 1387 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 898 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 1379 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMEHint::lastOfMB |
Set to true for the last MV of macroblock.
Definition at line 754 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMEHint::lastofPart |
Set to true for the last MV of (sub) partition
Definition at line 752 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 1006 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 1457 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 2005 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 1461 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 2019 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 2017 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 1822 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 1819 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 1240 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeRCParams::maxBitRate |
Holds the maximum bitrate for the encoded output.
Definition at line 147 of file nvmedia_common_encode.h.
uint32_t { ... } ::maxBitRate |
Holds the maximum bitrate for the encoded output.
Definition at line 147 of file nvmedia_common_encode.h.
uint32_t { ... } ::maxBitRate |
Holds the maximum bitrate for the encoded output.
Definition at line 162 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 1045 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 1499 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 1813 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 2043 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 1029 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 1484 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 1797 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 2011 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 935 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 1407 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 1771 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 1962 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 206 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 912 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 1391 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMEHint* NvMediaEncodePicParamsH264::meExternalHints |
Definition at line 1169 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMEHint* { ... } ::meExternalHints |
Definition at line 1169 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 1627 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 1871 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 2092 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 1150 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 1610 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 1855 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 2076 of file nvmedia_common_encode.h.
uint8_t* NvMediaEncodePicParamsH264::meHints |
Definition at line 1170 of file nvmedia_common_encode.h.
uint8_t* { ... } ::meHints |
Definition at line 1170 of file nvmedia_common_encode.h.
NvMediaEncodeQP { ... } ::minQP |
Holds the minimum QP used for rate control.
Definition at line 173 of file nvmedia_common_encode.h.
NvMediaEncodeQP NvMediaEncodeRCParams::minQP |
Holds the minimum QP used for rate control.
Definition at line 173 of file nvmedia_common_encode.h.
NvMediaEncodeQP { ... } ::minQP |
Holds the minimum QP used for rate control.
Definition at line 188 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 1710 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::motionPredictionExclusionFlags |
Holds bitwise OR`ed exclusion flags.
See enum NvMediaEncodeH264MotionPredictionExclusionFlags.
Definition at line 923 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH264::mvcNumViews |
Number of views used for MVC.
Definition at line 1096 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH265::mvNumViews |
Number of views used for MV-Hevc.
Definition at line 1544 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 740 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 742 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeH265SEIPayload::nalUnitType |
SEI nal_unit_type.
Definition at line 1570 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 1130 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 1590 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 1843 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 2064 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 123 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk16x16 |
Holds the number of candidates per 16x16 block.
Definition at line 725 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk16x8 |
Holds the number of candidates per 16x8 block.
Definition at line 727 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk8x16 |
Holds the number of candidates per 8x16 block.
Definition at line 729 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk8x8 |
Holds the number of candidates per 8x8 block.
Definition at line 731 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 1395 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 1816 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 916 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH264::numPIIRegions |
Holds the number of PII regions for current pic This feature is not supported in the QNX Safety build.
Definition at line 1187 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 877 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 1363 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 688 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 1218 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH264VUIParams::overscanInfoPresentFlag |
If set to true, it specifies that the overscanInfo is present.
Definition at line 685 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH265VUIParams::overscanInfoPresentFlag |
If set to true, it specifies that the overscanInfo is present.
Definition at line 1215 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 750 of file nvmedia_common_encode.h.
uint8_t* NvMediaEncodeH264SEIPayload::payload |
Pointer to user data.
Definition at line 955 of file nvmedia_common_encode.h.
uint8_t* NvMediaEncodeH265SEIPayload::payload |
pointer to user data
Definition at line 1572 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 950 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 1565 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 953 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 1568 of file nvmedia_common_encode.h.
NvMediaEncodePicType NvMediaEncodePicParamsH264::pictureType |
Holds input picture type.
Definition at line 1120 of file nvmedia_common_encode.h.
NvMediaEncodePicType NvMediaEncodePicParamsH265::pictureType |
Holds input picture type.
Definition at line 1580 of file nvmedia_common_encode.h.
NvMediaEncodePicType NvMediaEncodePicParamsVP9::pictureType |
Holds input picture type.
Definition at line 1833 of file nvmedia_common_encode.h.
NvMediaEncodePicType NvMediaEncodePicParamsAV1::pictureType |
Holds input picture type.
Definition at line 2054 of file nvmedia_common_encode.h.
NvMediaEncPIIParams NvMediaEncodePicParamsH264::PIIparams[NVMEDIA_ENCODE_MAX_PII_REGIONS] |
Holds the PII regions information This feature is not supported in the QNX Safety build.
Definition at line 1184 of file nvmedia_common_encode.h.
NvMediaRect NvMediaEncPIIParams::piiRect |
PII region rectangle.
Definition at line 90 of file nvmedia_common_encode.h.
NvMediaEncodeH264POCType NvMediaEncodeConfigH264::pocType |
Holds pic_ordec_cnt_type.
Definition at line 925 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 992 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsH265::profile |
Holds the encoding profile to be set based on NvMediaEncodeH265Profile.
Client is recommended to set this to NVMEDIA_ENCODE_H265_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 NvMediaEncodeH265Profile.
Definition at line 1449 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 1997 of file nvmedia_common_encode.h.
int16_t NvMediaEncodeQP::qpInterB |
QP value for B frames.
Definition at line 77 of file nvmedia_common_encode.h.
int16_t NvMediaEncodeQP::qpInterP |
QP value for P frames.
Definition at line 75 of file nvmedia_common_encode.h.
int16_t NvMediaEncodeQP::qpIntra |
QP value for Intra frames.
Definition at line 79 of file nvmedia_common_encode.h.
NvMediaEncodeParamsRCMode NvMediaEncodeRCParams::rateControlMode |
Holds the rate control mode.
Definition at line 120 of file nvmedia_common_encode.h.
NvMediaEncodeRCParams NvMediaEncodeConfigH264::rcParams |
Holds the rate control parameters for the current encoding session.
Definition at line 864 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 1137 of file nvmedia_common_encode.h.
NvMediaEncodeRCParams NvMediaEncodeConfigH265::rcParams |
Holds the rate control parameters for the current encoding session.
Definition at line 1351 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 1597 of file nvmedia_common_encode.h.
NvMediaEncodeRCParams NvMediaEncodeConfigVP9::rcParams |
Holds the rate control parameters for the current encoding session.
Definition at line 1684 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 1848 of file nvmedia_common_encode.h.
NvMediaEncodeRCParams NvMediaEncodeConfigAV1::rcParams |
Holds the rate control parameters for the current encoding session.
Definition at line 1927 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 2069 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 1707 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 745 of file nvmedia_common_encode.h.
NvMediaEncodeAV1SeqHdrRepeatMode NvMediaEncodeConfigAV1::repeatSeqHdr |
Holds the frequency of the writing of Sequence header.
Definition at line 1970 of file nvmedia_common_encode.h.
NvMediaEncodeH264SPSPPSRepeatMode NvMediaEncodeConfigH264::repeatSPSPPS |
Holds the frequency of the writing of Sequence and Picture parameters.
Definition at line 867 of file nvmedia_common_encode.h.
NvMediaEncodeH264SPSPPSRepeatMode NvMediaEncodeConfigH265::repeatSPSPPS |
Holds the frequency of the writing of Sequence and Picture parameters.
Definition at line 1353 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH264::reserved |
Add padding.
Definition at line 1112 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH265::reserved |
Add padding.
Definition at line 1552 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigAV1::reserved[17] |
Reserved Bytes.
Definition at line 1972 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsAV1::reserved[18] |
Reserved Bytes.
Definition at line 2102 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsAV1::reserved[20] |
Reserved Bytes.
Definition at line 2045 of file nvmedia_common_encode.h.
int16_t NvMediaEncodeQP::reserved[3] |
Definition at line 81 of file nvmedia_common_encode.h.
int8_t NvMediaEncodeRCParams::reserved[3] |
Definition at line 207 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeInitializeParamsH264::reserved1 |
Definition at line 968 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeInitializeParamsH265::reserved1 |
Definition at line 1423 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeInitializeParamsH264::reserved2 |
Definition at line 975 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeInitializeParamsH265::reserved2 |
Definition at line 1430 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsH264::reserved3[3] |
Definition at line 1081 of file nvmedia_common_encode.h.
NvMediaEncodeH264SEIPayload* NvMediaEncodePicParamsH264::seiPayloadArray |
Array of SEI payloads which will be inserted for this frame.
Definition at line 1142 of file nvmedia_common_encode.h.
NvMediaEncodeH265SEIPayload* NvMediaEncodePicParamsH265::seiPayloadArray |
Array of SEI payloads which will be inserted for this frame.
Definition at line 1602 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 1140 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 1600 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigVP9::sharpness_level |
Specifies Sharpness level.
Definition at line 1704 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 713 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 706 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 1237 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 1746 of file nvmedia_common_encode.h.
uint32_t NvMediaNalData::ulNalSize |
Nal size for header.
Definition at line 662 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 1080 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 1529 of file nvmedia_common_encode.h.
struct { ... } ::vbr |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR mode.
struct { ... } NvMediaEncodeRCParams::vbr |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR mode.
struct { ... } ::vbr_minqp |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP mode.
struct { ... } NvMediaEncodeRCParams::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 132 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 132 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 152 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 167 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 182 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 136 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 136 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 156 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 171 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 186 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 694 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 1225 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 697 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 1228 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 691 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 1222 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH264::viewId |
Holds the viewId of current picture.
Definition at line 1181 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH265::viewId |
Holds the viewId of current picture.
Definition at line 1637 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsVP9::vp9SkipChroma |
Skip Chroma Processing.
Supported values are 0 and 1.
Definition at line 1824 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 1244 of file nvmedia_common_encode.h.