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. | |
Variables | |
int16_t | NvMediaEncodeQP::qpInterP |
QP value for P frames. More... | |
int16_t | NvMediaEncodeQP::qpInterB |
QP value for B frames. More... | |
int16_t | NvMediaEncodeQP::qpIntra |
QP value for Intra frames. More... | |
int16_t | NvMediaEncodeQP::reserved [3] |
NvMediaEncodeParamsRCMode | NvMediaEncodeRCParams::rateControlMode |
Holds the rate control mode. More... | |
uint32_t | NvMediaEncodeRCParams::numBFrames |
Specified number of B frames between two reference frames. More... | |
uint32_t NvMediaEncodeRCParams::averageBitRate | |
Holds the average bitrate (in bits/sec) used for encoding. More... | |
uint32_t NvMediaEncodeRCParams::vbvBufferSize | |
Holds the VBV(HRD) buffer size, in bits. More... | |
uint32_t NvMediaEncodeRCParams::vbvInitialDelay | |
Holds the VBV(HRD) initial delay in bits. More... | |
struct { | |
uint32_t NvMediaEncodeRCParams::averageBitRate | |
Holds the average bitrate (in bits/sec) used for encoding. More... | |
uint32_t NvMediaEncodeRCParams::vbvBufferSize | |
Holds the VBV(HRD) buffer size, in bits. More... | |
uint32_t NvMediaEncodeRCParams::vbvInitialDelay | |
Holds the VBV(HRD) initial delay in bits. More... | |
} NvMediaEncodeRCParams::cbr | |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR mode. More... | |
NvMediaEncodeQP NvMediaEncodeRCParams::constQP | |
Holds the initial QP to be used for encoding, these values would be used for all frames in Constant QP mode. More... | |
struct { | |
NvMediaEncodeQP NvMediaEncodeRCParams::constQP | |
Holds the initial QP to be used for encoding, these values would be used for all frames in Constant QP mode. More... | |
} NvMediaEncodeRCParams::const_qp | |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_CONSTQP mode. More... | |
uint32_t NvMediaEncodeRCParams::averageBitRate | |
Holds the average bitrate (in bits/sec) used for encoding. More... | |
uint32_t NvMediaEncodeRCParams::maxBitRate | |
Holds the maximum bitrate for the encoded output. More... | |
uint32_t NvMediaEncodeRCParams::vbvBufferSize | |
Holds the VBV(HRD) buffer size, in bits. More... | |
uint32_t NvMediaEncodeRCParams::vbvInitialDelay | |
Holds the VBV(HRD) initial delay in bits. More... | |
struct { | |
uint32_t NvMediaEncodeRCParams::averageBitRate | |
Holds the average bitrate (in bits/sec) used for encoding. More... | |
uint32_t NvMediaEncodeRCParams::maxBitRate | |
Holds the maximum bitrate for the encoded output. More... | |
uint32_t NvMediaEncodeRCParams::vbvBufferSize | |
Holds the VBV(HRD) buffer size, in bits. More... | |
uint32_t NvMediaEncodeRCParams::vbvInitialDelay | |
Holds the VBV(HRD) initial delay in bits. More... | |
} NvMediaEncodeRCParams::vbr | |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR mode. More... | |
uint32_t NvMediaEncodeRCParams::averageBitRate | |
Holds the average bitrate (in bits/sec) used for encoding. More... | |
uint32_t NvMediaEncodeRCParams::maxBitRate | |
Holds the maximum bitrate for the encoded output. More... | |
uint32_t NvMediaEncodeRCParams::vbvBufferSize | |
Holds the VBV(HRD) buffer size, in bits. More... | |
uint32_t NvMediaEncodeRCParams::vbvInitialDelay | |
Holds the VBV(HRD) initial delay in bits. More... | |
NvMediaEncodeQP NvMediaEncodeRCParams::minQP | |
Holds the minimum QP used for rate control. More... | |
struct { | |
uint32_t NvMediaEncodeRCParams::averageBitRate | |
Holds the average bitrate (in bits/sec) used for encoding. More... | |
uint32_t NvMediaEncodeRCParams::maxBitRate | |
Holds the maximum bitrate for the encoded output. More... | |
uint32_t NvMediaEncodeRCParams::vbvBufferSize | |
Holds the VBV(HRD) buffer size, in bits. More... | |
uint32_t NvMediaEncodeRCParams::vbvInitialDelay | |
Holds the VBV(HRD) initial delay in bits. More... | |
NvMediaEncodeQP NvMediaEncodeRCParams::minQP | |
Holds the minimum QP used for rate control. More... | |
} NvMediaEncodeRCParams::vbr_minqp | |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP mode. More... | |
uint32_t NvMediaEncodeRCParams::averageBitRate | |
Holds the average bitrate (in bits/sec) used for encoding. More... | |
uint32_t NvMediaEncodeRCParams::vbvBufferSize | |
Holds the VBV(HRD) buffer size, in bits. More... | |
uint32_t NvMediaEncodeRCParams::vbvInitialDelay | |
Holds the VBV(HRD) initial delay in bits. More... | |
NvMediaEncodeQP NvMediaEncodeRCParams::minQP | |
Holds the minimum QP used for rate control. More... | |
struct { | |
uint32_t NvMediaEncodeRCParams::averageBitRate | |
Holds the average bitrate (in bits/sec) used for encoding. More... | |
uint32_t NvMediaEncodeRCParams::vbvBufferSize | |
Holds the VBV(HRD) buffer size, in bits. More... | |
uint32_t NvMediaEncodeRCParams::vbvInitialDelay | |
Holds the VBV(HRD) initial delay in bits. More... | |
NvMediaEncodeQP NvMediaEncodeRCParams::minQP | |
Holds the minimum QP used for rate control. More... | |
} NvMediaEncodeRCParams::cbr_minqp | |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP mode. More... | |
union { | |
struct { | |
uint32_t NvMediaEncodeRCParams::averageBitRate | |
Holds the average bitrate (in bits/sec) used for encoding. More... | |
uint32_t NvMediaEncodeRCParams::vbvBufferSize | |
Holds the VBV(HRD) buffer size, in bits. More... | |
uint32_t NvMediaEncodeRCParams::vbvInitialDelay | |
Holds the VBV(HRD) initial delay in bits. More... | |
} NvMediaEncodeRCParams::cbr | |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR mode. More... | |
struct { | |
NvMediaEncodeQP NvMediaEncodeRCParams::constQP | |
Holds the initial QP to be used for encoding, these values would be used for all frames in Constant QP mode. More... | |
} NvMediaEncodeRCParams::const_qp | |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_CONSTQP mode. More... | |
struct { | |
uint32_t NvMediaEncodeRCParams::averageBitRate | |
Holds the average bitrate (in bits/sec) used for encoding. More... | |
uint32_t NvMediaEncodeRCParams::maxBitRate | |
Holds the maximum bitrate for the encoded output. More... | |
uint32_t NvMediaEncodeRCParams::vbvBufferSize | |
Holds the VBV(HRD) buffer size, in bits. More... | |
uint32_t NvMediaEncodeRCParams::vbvInitialDelay | |
Holds the VBV(HRD) initial delay in bits. More... | |
} NvMediaEncodeRCParams::vbr | |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR mode. More... | |
struct { | |
uint32_t NvMediaEncodeRCParams::averageBitRate | |
Holds the average bitrate (in bits/sec) used for encoding. More... | |
uint32_t NvMediaEncodeRCParams::maxBitRate | |
Holds the maximum bitrate for the encoded output. More... | |
uint32_t NvMediaEncodeRCParams::vbvBufferSize | |
Holds the VBV(HRD) buffer size, in bits. More... | |
uint32_t NvMediaEncodeRCParams::vbvInitialDelay | |
Holds the VBV(HRD) initial delay in bits. More... | |
NvMediaEncodeQP NvMediaEncodeRCParams::minQP | |
Holds the minimum QP used for rate control. More... | |
} NvMediaEncodeRCParams::vbr_minqp | |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP mode. More... | |
struct { | |
uint32_t NvMediaEncodeRCParams::averageBitRate | |
Holds the average bitrate (in bits/sec) used for encoding. More... | |
uint32_t NvMediaEncodeRCParams::vbvBufferSize | |
Holds the VBV(HRD) buffer size, in bits. More... | |
uint32_t NvMediaEncodeRCParams::vbvInitialDelay | |
Holds the VBV(HRD) initial delay in bits. More... | |
NvMediaEncodeQP NvMediaEncodeRCParams::minQP | |
Holds the minimum QP used for rate control. More... | |
} NvMediaEncodeRCParams::cbr_minqp | |
Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP mode. More... | |
} | NvMediaEncodeRCParams::params |
Rate Control parameters. More... | |
bool | NvMediaEncodeRCParams::bConstFrameQP |
Use constant QP at frame level or MB row level. More... | |
int8_t | NvMediaEncodeRCParams::maxSessionQP |
Holds the max QP for encoding session when external picture RC hint is used. More... | |
int8_t | NvMediaEncodeRCParams::reserved [3] |
uint32_t | NvMediaNalData::ulNalSize |
Nal size for header. More... | |
uint8_t | NvMediaNalData::data [MAX_NON_SLICE_DATA_SIZE] |
header data passed on this buffer More... | |
bool | NvMediaEncodeConfigH264VUIParams::aspectRatioInfoPresentFlag |
If set to true, it specifies that the aspectRatioIdc is present. More... | |
uint8_t | NvMediaEncodeConfigH264VUIParams::aspectRatioIdc |
Holds the aspect ratio IDC (as defined in Annex E of the ITU-T Specification). More... | |
uint16_t | NvMediaEncodeConfigH264VUIParams::aspectSARWidth |
If aspectRatioIdc is Extended SAR then it indicates horizontal size of the sample aspect ratio (in arbitrary units). More... | |
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) More... | |
bool | NvMediaEncodeConfigH264VUIParams::overscanInfoPresentFlag |
If set to true, it specifies that the overscanInfo is present. More... | |
bool | NvMediaEncodeConfigH264VUIParams::overscanAppropriateFlag |
Holds the overscan info (as defined in Annex E of the ITU-T Specification). More... | |
bool | NvMediaEncodeConfigH264VUIParams::videoSignalTypePresentFlag |
If set to true, it specifies that the videoFormat, videoFullRangeFlag and colourDescriptionPresentFlag are present. More... | |
uint8_t | NvMediaEncodeConfigH264VUIParams::videoFormat |
Holds the source video format (as defined in Annex E of the ITU-T Specification). More... | |
bool | NvMediaEncodeConfigH264VUIParams::videoFullRangeFlag |
Holds the output range of the luma and chroma samples (as defined in Annex E of the ITU-T Specification). More... | |
bool | NvMediaEncodeConfigH264VUIParams::colourDescriptionPresentFlag |
If set to true, it specifies that the colourPrimaries, transferCharacteristics and colourMatrix are present. More... | |
uint8_t | NvMediaEncodeConfigH264VUIParams::colourPrimaries |
Holds color primaries for converting to RGB (as defined in Annex E of the ITU-T Specification). More... | |
uint8_t | NvMediaEncodeConfigH264VUIParams::transferCharacteristics |
Holds the opto-electronic transfer characteristics to use (as defined in Annex E of the ITU-T Specification). More... | |
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). More... | |
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). More... | |
bool | NvMediaEncodeConfigH264VUIParams::bitstreamRestrictionFlag |
Holds the bitstream restriction info (as defined in Annex E of the ITU-T Specification). More... | |
uint32_t | NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk16x16 |
Holds the number of candidates per 16x16 block. More... | |
uint32_t | NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk16x8 |
Holds the number of candidates per 16x8 block. More... | |
uint32_t | NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk8x16 |
Holds the number of candidates per 8x16 block. More... | |
uint32_t | NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk8x8 |
Holds the number of candidates per 8x8 block. More... | |
int32_t | NvMediaEncodeExternalMEHint::mvx: 12 |
Holds the x component of integer pixel MV (relative to current MB) S12.0. More... | |
int32_t | NvMediaEncodeExternalMEHint::mvy: 10 |
Holds the y component of integer pixel MV (relative to current MB) S10.0 . More... | |
uint32_t | NvMediaEncodeExternalMEHint::refidx: 5 |
Holds the reference index (31=invalid). More... | |
uint32_t | NvMediaEncodeExternalMEHint::dir: 1 |
Holds the direction of motion estimation . More... | |
uint32_t | NvMediaEncodeExternalMEHint::partType: 2 |
Holds the block partition type. More... | |
uint32_t | NvMediaEncodeExternalMEHint::lastofPart: 1 |
Set to true for the last MV of (sub) partition More... | |
uint32_t | NvMediaEncodeExternalMEHint::lastOfMB: 1 |
Set to true for the last MV of macroblock. More... | |
uint32_t | NvMediaEncodeConfigH264::features |
Holds bit-wise OR`ed configuration feature flags. More... | |
uint32_t | NvMediaEncodeConfigH264::gopLength |
Holds the number of pictures in one GOP. More... | |
NvMediaEncodeRCParams | NvMediaEncodeConfigH264::rcParams |
Holds the rate control parameters for the current encoding session. More... | |
NvMediaEncodeH264SPSPPSRepeatMode | NvMediaEncodeConfigH264::repeatSPSPPS |
Holds the frequency of the writing of Sequence and Picture parameters. More... | |
uint32_t | NvMediaEncodeConfigH264::idrPeriod |
Holds the IDR interval. More... | |
uint16_t | NvMediaEncodeConfigH264::numSliceCountMinus1 |
Holds a number that is 1 less than the desired number of slices per frame. More... | |
uint8_t | NvMediaEncodeConfigH264::disableDeblockingFilterIDC |
Holds the deblocking filter mode. More... | |
NvMediaEncodeH264AdaptiveTransformMode | NvMediaEncodeConfigH264::adaptiveTransformMode |
Holds the Adaptive Transform Mode. More... | |
NvMediaEncodeH264BDirectMode | NvMediaEncodeConfigH264::bdirectMode |
Holds the BDirect mode. More... | |
NvMediaEncodeH264EntropyCodingMode | NvMediaEncodeConfigH264::entropyCodingMode |
Holds the entropy coding mode. More... | |
uint32_t | NvMediaEncodeConfigH264::intraRefreshPeriod |
Holds the interval between frames that triggers a new intra refresh cycle. More... | |
uint32_t | NvMediaEncodeConfigH264::intraRefreshCnt |
Holds the number of frames over which intra refresh happens. More... | |
uint32_t | NvMediaEncodeConfigH264::maxSliceSizeInBytes |
Holds the maximum slice size in bytes for dynamic slice mode. More... | |
uint32_t | NvMediaEncodeConfigH264::numMacroblocksPerSlice |
Holds the number of macroblocks per slice. More... | |
NvMediaEncodeConfigH264VUIParams * | NvMediaEncodeConfigH264::h264VUIParameters |
Holds the H.264 video usability information pamameters. More... | |
uint32_t | NvMediaEncodeConfigH264::motionPredictionExclusionFlags |
Holds bitwise OR`ed exclusion flags. More... | |
NvMediaEncodeQuality | NvMediaEncodeConfigH264::quality |
Holds the encode quality pre-set. More... | |
NvMediaEncodeH264POCType | NvMediaEncodeConfigH264::pocType |
Holds pic_ordec_cnt_type. More... | |
NvMediaEncodeQP | NvMediaEncodeConfigH264::initQP |
Holds the initial QP parameters. More... | |
NvMediaEncodeQP | NvMediaEncodeConfigH264::maxQP |
Holds the maximum QP parameters. More... | |
uint8_t | NvMediaEncodeConfigH264::enableWeightedPrediction |
Enable/disable weighted prediction. More... | |
uint32_t | NvMediaEncodeH264SEIPayload::payloadSize |
SEI payload size in bytes. More... | |
uint32_t | NvMediaEncodeH264SEIPayload::payloadType |
SEI payload types and syntax can be found in Annex D of the H.264 Specification. More... | |
uint8_t * | NvMediaEncodeH264SEIPayload::payload |
Pointer to user data. More... | |
uint16_t | NvMediaEncodeInitializeParamsH264::encodeWidth |
Holds the encode width. More... | |
uint16_t | NvMediaEncodeInitializeParamsH264::reserved1 |
uint16_t | NvMediaEncodeInitializeParamsH264::encodeHeight |
Holds the encode height. More... | |
uint16_t | NvMediaEncodeInitializeParamsH264::reserved2 |
bool | NvMediaEncodeInitializeParamsH264::enableLimitedRGB |
Set this to true for limited-RGB (16-235) input. More... | |
uint32_t | NvMediaEncodeInitializeParamsH264::frameRateNum |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More... | |
uint32_t | NvMediaEncodeInitializeParamsH264::frameRateDen |
Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More... | |
uint8_t | NvMediaEncodeInitializeParamsH264::profile |
Holds the encoding profile. More... | |
uint8_t | NvMediaEncodeInitializeParamsH264::level |
Holds the encoding level. More... | |
uint8_t | NvMediaEncodeInitializeParamsH264::maxNumRefFrames |
Holds the maximum number of reference frames used for encoding. More... | |
bool | NvMediaEncodeInitializeParamsH264::enableExternalMEHints |
Set to true to enable external ME hints. More... | |
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. More... | |
bool | NvMediaEncodeInitializeParamsH264::enableReconCRC |
Enable support for recon CRC generation. More... | |
bool | NvMediaEncodeInitializeParamsH264::enableMVC |
If client want to do MVC encoding then this flag need to be set. More... | |
bool | NvMediaEncodeInitializeParamsH264::enableROIEncode |
Enable region of interest encoding. More... | |
bool | NvMediaEncodeInitializeParamsH264::enableSliceEncode |
Use slice encode to reduce latency in getting encoded buffers. More... | |
uint8_t | NvMediaEncodeInitializeParamsH264::useBFramesAsRef |
Enables B frames to be used as reference frames. More... | |
uint8_t | NvMediaEncodeInitializeParamsH264::reserved3 [3] |
bool | NvMediaEncodeInitializeParamsH264::enableTwoPassRC |
Enable 2 pass RC support. More... | |
bool | NvMediaEncodeInitializeParamsH264::enableSourceHalfScaled |
Enable 2 pass RC with quarter resolution first pass. More... | |
uint32_t | NvMediaEncodeInitializeParamsH264::mvcNumViews: 4 |
Number of views used for MVC. More... | |
uint32_t | NvMediaEncodeInitializeParamsH264::enableExternalPictureRC: 1 |
Enable external picture rate control. More... | |
uint32_t | NvMediaEncodeInitializeParamsH264::enableAllIFrames: 1 |
Encode all frames as I frames. More... | |
uint32_t | NvMediaEncodeInitializeParamsH264::reserved: 26 |
Add padding. More... | |
NvMediaEncodePicType | NvMediaEncodePicParamsH264::pictureType |
Holds input picture type. More... | |
uint32_t | NvMediaEncodePicParamsH264::encodePicFlags |
Holds bit-wise OR`ed encode pic flags. More... | |
uint32_t | NvMediaEncodePicParamsH264::nextBFrames |
Specifies the number of B-frames that follow the current frame. More... | |
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. More... | |
uint32_t | NvMediaEncodePicParamsH264::seiPayloadArrayCnt |
Holds the number of elements allocated in seiPayloadArray array. More... | |
NvMediaEncodeH264SEIPayload * | NvMediaEncodePicParamsH264::seiPayloadArray |
Array of SEI payloads which will be inserted for this frame. More... | |
NvMediaEncodeExternalMeHintCountsPerBlocktype | NvMediaEncodePicParamsH264::meHintCountsPerBlock [2] |
Holds the number of hint candidates per block per direction for the current frame. More... | |
NvMediaEncodeExternalMEHint * NvMediaEncodePicParamsH264::meExternalHints | |
uint8_t * NvMediaEncodePicParamsH264::meHints | |
union { | |
NvMediaEncodeExternalMEHint * NvMediaEncodePicParamsH264::meExternalHints | |
uint8_t * NvMediaEncodePicParamsH264::meHints | |
}; | |
Holds the pointer to ME external hints for the current frame. More... | |
uint32_t | NvMediaEncodePicParamsH264::frameRateNum |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More... | |
uint32_t | NvMediaEncodePicParamsH264::frameRateDen |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More... | |
uint32_t | NvMediaEncodePicParamsH264::viewId |
Holds the viewId of current picture. More... | |
bool | NvMediaEncodeConfigH265VUIParams::aspectRatioInfoPresentFlag |
If set to true, specifies the aspectRatioIdc is present. More... | |
uint8_t | NvMediaEncodeConfigH265VUIParams::aspectRatioIdc |
Holds the aspect ratio IDC (as defined in Annex E of the ITU-T specification). More... | |
uint16_t | NvMediaEncodeConfigH265VUIParams::aspectSARWidth |
If aspectRatioIdc is Extended SAR it indicates horizontal size of the sample aspect ratio (in arbitrary units). More... | |
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). More... | |
bool | NvMediaEncodeConfigH265VUIParams::overscanInfoPresentFlag |
If set to true, it specifies that the overscanInfo is present. More... | |
bool | NvMediaEncodeConfigH265VUIParams::overscanAppropriateFlag |
Holds the overscan info (as defined in Annex E of the ITU-T Specification). More... | |
bool | NvMediaEncodeConfigH265VUIParams::videoSignalTypePresentFlag |
If set to true, it specifies that the videoFormat, videoFullRangeFlag, and colourDescriptionPresentFlag are present. More... | |
uint8_t | NvMediaEncodeConfigH265VUIParams::videoFormat |
Holds the source video format (as defined in Annex E of the ITU-T Specification). More... | |
bool | NvMediaEncodeConfigH265VUIParams::videoFullRangeFlag |
Holds the output range of the luma and chroma samples (as defined in Annex E of the ITU-T Specification). More... | |
bool | NvMediaEncodeConfigH265VUIParams::colourDescriptionPresentFlag |
If set to true, it specifies that the colourPrimaries, transferCharacteristics, and colourMatrix are present. More... | |
uint8_t | NvMediaEncodeConfigH265VUIParams::colourPrimaries |
Holds color primaries for converting to RGB (as defined in Annex E of the ITU-T Specification). More... | |
uint8_t | NvMediaEncodeConfigH265VUIParams::transferCharacteristics |
Holds the opto-electronic transfer characteristics to use (as defined in Annex E of the ITU-T Specification). More... | |
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). More... | |
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). More... | |
bool | NvMediaEncodeConfigH265VUIParams::bitstreamRestrictionFlag |
Specified the bitstream restriction info (as defined in Annex E of the ITU-T Specification). More... | |
uint32_t | NvMediaEncodeConfigH265::features |
Holds bit-wise OR`ed configuration feature flags. More... | |
uint32_t | NvMediaEncodeConfigH265::gopLength |
Holds the number of pictures in one GOP. More... | |
NvMediaEncodeRCParams | NvMediaEncodeConfigH265::rcParams |
Holds the rate control parameters for the current encoding session. More... | |
NvMediaEncodeH264SPSPPSRepeatMode | NvMediaEncodeConfigH265::repeatSPSPPS |
Holds the frequency of the writing of Sequence and Picture parameters. More... | |
uint32_t | NvMediaEncodeConfigH265::idrPeriod |
Holds the IDR interval. More... | |
uint16_t | NvMediaEncodeConfigH265::numSliceCountMinus1 |
Holds a number that is 1 less than the desired number of slices per frame. More... | |
uint8_t | NvMediaEncodeConfigH265::disableDeblockingFilter |
Holds disable the deblocking filter. More... | |
uint8_t | NvMediaEncodeConfigH265::enableWeightedPrediction |
Holds enable weighted prediction. More... | |
uint32_t | NvMediaEncodeConfigH265::intraRefreshPeriod |
Holds the interval between frames that trigger a new intra refresh cycle and this cycle lasts for intraRefreshCnt frames. More... | |
uint32_t | NvMediaEncodeConfigH265::intraRefreshCnt |
Holds the number of frames over which intra refresh will happen. More... | |
uint32_t | NvMediaEncodeConfigH265::maxSliceSizeInBytes |
Holds the maximum slice size in bytes for dynamic slice mode. More... | |
uint32_t | NvMediaEncodeConfigH265::numCTUsPerSlice |
Number of CTU per slice. More... | |
NvMediaEncodeConfigH265VUIParams * | NvMediaEncodeConfigH265::h265VUIParameters |
Holds the H265 video usability info pamameters. More... | |
NvMediaEncodeQuality | NvMediaEncodeConfigH265::quality |
Holds encode quality pre-set. More... | |
NvMediaEncodeQP | NvMediaEncodeConfigH265::initQP |
Holds Initial QP parameters. More... | |
NvMediaEncodeQP | NvMediaEncodeConfigH265::maxQP |
Holds maximum QP parameters. More... | |
uint16_t | NvMediaEncodeInitializeParamsH265::encodeWidth |
Holds the encode width. More... | |
uint16_t | NvMediaEncodeInitializeParamsH265::reserved1 |
uint16_t | NvMediaEncodeInitializeParamsH265::encodeHeight |
Holds the encode height. More... | |
uint16_t | NvMediaEncodeInitializeParamsH265::reserved2 |
bool | NvMediaEncodeInitializeParamsH265::enableLimitedRGB |
Set this to true for limited-RGB (16-235) input. More... | |
bool | NvMediaEncodeInitializeParamsH265::enableSliceLevelEncode |
Set this to true for slice level encode. More... | |
uint32_t | NvMediaEncodeInitializeParamsH265::frameRateNum |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More... | |
uint32_t | NvMediaEncodeInitializeParamsH265::frameRateDen |
Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More... | |
uint8_t | NvMediaEncodeInitializeParamsH265::profile |
Holds the encoding profile. More... | |
uint8_t | NvMediaEncodeInitializeParamsH265::level |
Holds the encoding level. More... | |
uint8_t | NvMediaEncodeInitializeParamsH265::levelTier |
Holds the level tier information. More... | |
uint8_t | NvMediaEncodeInitializeParamsH265::maxNumRefFrames |
Holds the maximum number of reference frames used for encoding. More... | |
bool | NvMediaEncodeInitializeParamsH265::enableExternalMEHints |
Set to true to enable external ME hints. More... | |
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. More... | |
bool | NvMediaEncodeInitializeParamsH265::enableReconCRC |
Enable support for recon CRC generation. More... | |
bool | NvMediaEncodeInitializeParamsH265::enableMVC |
If client want to do MVC encoding then this flag need to be set. More... | |
bool | NvMediaEncodeInitializeParamsH265::enableROIEncode |
Enable region of interest encoding. More... | |
bool | NvMediaEncodeInitializeParamsH265::enableSliceEncode |
use slice encode to reduce latency in getting encoded buffers. More... | |
uint32_t | NvMediaEncodeInitializeParamsH265::useBFramesAsRef |
Enables B frames to be used as reference frames. More... | |
bool | NvMediaEncodeInitializeParamsH265::enableTwoPassRC |
Enable 2 pass RC support. More... | |
bool | NvMediaEncodeInitializeParamsH265::enableSourceHalfScaled |
Enable 2 pass RC with quarter resolution first pass. More... | |
uint32_t | NvMediaEncodeInitializeParamsH265::mvNumViews: 4 |
Number of views used for MV-Hevc. More... | |
uint32_t | NvMediaEncodeInitializeParamsH265::enableExternalPictureRC: 1 |
Enable external picture rate control. More... | |
uint32_t | NvMediaEncodeInitializeParamsH265::enableAllIFrames: 1 |
Encode all frames as I frames. More... | |
uint32_t | NvMediaEncodeInitializeParamsH265::reserved: 26 |
Add padding. More... | |
uint32_t | NvMediaEncodeH265SEIPayload::payloadSize |
SEI payload size in bytes. More... | |
uint32_t | NvMediaEncodeH265SEIPayload::payloadType |
SEI payload types and syntax can be found in Annex D of the H265 Specification. More... | |
uint32_t | NvMediaEncodeH265SEIPayload::nalUnitType |
SEI nal_unit_type. More... | |
uint8_t * | NvMediaEncodeH265SEIPayload::payload |
pointer to user data More... | |
NvMediaEncodePicType | NvMediaEncodePicParamsH265::pictureType |
Holds input picture type. More... | |
uint32_t | NvMediaEncodePicParamsH265::encodePicFlags |
Holds bit-wise OR`ed encode pic flags. More... | |
uint32_t | NvMediaEncodePicParamsH265::nextBFrames |
Specifies the number of B-frames that follow the current frame. More... | |
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. More... | |
uint32_t | NvMediaEncodePicParamsH265::seiPayloadArrayCnt |
Holds the number of elements allocated in seiPayloadArray array. More... | |
NvMediaEncodeH265SEIPayload * | NvMediaEncodePicParamsH265::seiPayloadArray |
Array of SEI payloads which will be inserted for this frame. More... | |
NvMediaEncodeExternalMeHintCountsPerBlocktype | NvMediaEncodePicParamsH265::meHintCountsPerBlock [2] |
Holds the number of hint candidates per block per direction for the current frame. More... | |
NvMediaEncodeExternalMEHint * | NvMediaEncodePicParamsH265::meExternalHints |
Holds the pointer to ME external hints for the current frame. More... | |
uint32_t | NvMediaEncodePicParamsH265::frameRateNum |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More... | |
uint32_t | NvMediaEncodePicParamsH265::frameRateDen |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More... | |
uint32_t | NvMediaEncodePicParamsH265::viewId |
Holds the viewId of current picture. More... | |
uint32_t | NvMediaEncodeConfigVP9::features |
Holds bit-wise OR`ed configuration feature flags. More... | |
uint32_t | NvMediaEncodeConfigVP9::gopLength |
Holds the number of pictures in one GOP. More... | |
NvMediaEncodeRCParams | NvMediaEncodeConfigVP9::rcParams |
Holds the rate control parameters for the current encoding session. More... | |
uint32_t | NvMediaEncodeConfigVP9::idrPeriod |
Holds the IDR interval. More... | |
uint32_t | NvMediaEncodeConfigVP9::filter_type |
Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_LOOP_FILTER_PARAMS to change the following parameters. More... | |
uint32_t | NvMediaEncodeConfigVP9::filter_level |
Specifies the loop filter strength for each segment. More... | |
uint32_t | NvMediaEncodeConfigVP9::sharpness_level |
Specifies Sharpness level. More... | |
int8_t | NvMediaEncodeConfigVP9::ref_lf_deltas [4] |
Specifies the Loop filter strength adjustments based on frame type (intra, inter). More... | |
int8_t | NvMediaEncodeConfigVP9::mode_lf_deltas [2] |
Specifies the Loop filter strength adjustments based on mode (zero, new mv). More... | |
bool | NvMediaEncodeConfigVP9::bmode_ref_lf_delta_enabled |
Set it to true if MB-level loop filter adjustment is on. More... | |
bool | NvMediaEncodeConfigVP9::bmode_ref_lf_delta_update |
Set it to true if MB-level loop filter adjustment delta values are updated. More... | |
uint32_t | NvMediaEncodeConfigVP9::base_qindex |
Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS to set the following parameters. More... | |
int32_t | NvMediaEncodeConfigVP9::delta_y_dc_q |
Specifies explicit qindex adjustment for y dccoefficient, -15...15. More... | |
int32_t | NvMediaEncodeConfigVP9::delta_uv_dc |
Specifies qindex adjustment for uv accoefficient, -15...15. More... | |
int32_t | NvMediaEncodeConfigVP9::delta_uv_ac |
Specifies qindex adjustment for uv dccoefficient, -15...15. More... | |
uint32_t | NvMediaEncodeConfigVP9::transform_mode |
Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_TRANSFORM_MODE to set the following parameter. More... | |
uint32_t | NvMediaEncodeConfigVP9::high_prec_mv |
Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_HIGH_PRECISION_MV to set the following parameter. More... | |
bool | NvMediaEncodeConfigVP9::error_resilient |
Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_DISABLE_ERROR_RESILIENT to set the following parameter. More... | |
NvMediaEncodeQP | NvMediaEncodeConfigVP9::initQP |
Holds Initial QP parameters. More... | |
NvMediaEncodeQP | NvMediaEncodeConfigVP9::maxQP |
Holds maximum QP parameters. More... | |
uint32_t | NvMediaEncodeInitializeParamsVP9::encodeWidth |
Holds the encode width. More... | |
uint32_t | NvMediaEncodeInitializeParamsVP9::encodeHeight |
Holds the encode height. More... | |
bool | NvMediaEncodeInitializeParamsVP9::enableLimitedRGB |
Holds a flag indicating whether input is limited-RGB (16-235). More... | |
uint32_t | NvMediaEncodeInitializeParamsVP9::frameRateNum |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More... | |
uint32_t | NvMediaEncodeInitializeParamsVP9::frameRateDen |
Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More... | |
uint8_t | NvMediaEncodeInitializeParamsVP9::maxNumRefFrames |
Holds the max reference numbers used for encoding. More... | |
bool | NvMediaEncodeInitializeParamsVP9::enableExternalMEHints |
Holds a flag indicating whether to enable or disable the external ME hints. More... | |
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. More... | |
uint8_t | NvMediaEncodeInitializeParamsVP9::numEpCores |
Holds number of HW entropy cores for encoding. More... | |
uint32_t | NvMediaEncodeInitializeParamsVP9::log2TileRows |
Holds number of log2Rows used in a frame. More... | |
uint32_t | NvMediaEncodeInitializeParamsVP9::log2TileCols |
Holds number of log2Cols used in a frame. More... | |
uint32_t | NvMediaEncodeInitializeParamsVP9::vp9SkipChroma |
Skip Chroma Processing. More... | |
NvMediaEncodePicType | NvMediaEncodePicParamsVP9::pictureType |
Holds input picture type. More... | |
uint32_t | NvMediaEncodePicParamsVP9::encodePicFlags |
Holds bit-wise OR`ed encode pic flags. More... | |
uint32_t | NvMediaEncodePicParamsVP9::nextBFrames |
Holds the number of B-frames that follow the current frame. More... | |
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. More... | |
NvMediaEncodeExternalMeHintCountsPerBlocktype | NvMediaEncodePicParamsVP9::meHintCountsPerBlock [2] |
Holds the number of hint candidates per block per direction for the current frame. More... | |
NvMediaEncodeExternalMEHint * | NvMediaEncodePicParamsVP9::meExternalHints |
Holds the pointer to ME external hints for the current frame. More... | |
uint32_t | NvMediaEncodeConfigAV1::features |
Holds bit-wise OR`ed configuration feature flags. More... | |
uint32_t | NvMediaEncodeConfigAV1::gopLength |
Holds the number of pictures in one GOP. More... | |
NvMediaEncodeRCParams | NvMediaEncodeConfigAV1::rcParams |
Holds the rate control parameters for the current encoding session. More... | |
uint32_t | NvMediaEncodeConfigAV1::idrPeriod |
Holds the IDR interval. More... | |
uint32_t | NvMediaEncodeConfigAV1::base_qindex |
Specifies quant base index (used only when rc_mode = 0) for each segment 0...255. More... | |
int32_t | NvMediaEncodeConfigAV1::delta_y_dc_q |
Specifies explicit qindex adjustment for y dccoefficient, -15...15. More... | |
int32_t | NvMediaEncodeConfigAV1::delta_uv_dc |
Specifies qindex adjustment for uv accoefficient, -15...15. More... | |
int32_t | NvMediaEncodeConfigAV1::delta_uv_ac |
Specifies qindex adjustment for uv dccoefficient, -15...15. More... | |
NvMediaEncodeQP | NvMediaEncodeConfigAV1::initQP |
Holds Initial QP parameters. More... | |
NvMediaEncodeQP | NvMediaEncodeConfigAV1::maxQP |
Holds maximum QP parameters. More... | |
NvMediaEncodeQuality | NvMediaEncodeConfigAV1::quality |
Holds the encode quality pre-set. More... | |
uint32_t | NvMediaEncodeConfigAV1::reserved [20] |
Reserved Bytes. More... | |
uint32_t | NvMediaEncodeInitializeParamsAV1::encodeWidth |
Holds the encode width. More... | |
uint32_t | NvMediaEncodeInitializeParamsAV1::encodeHeight |
Holds the encode height. More... | |
bool | NvMediaEncodeInitializeParamsAV1::enableLimitedRGB |
Holds a flag indicating whether input is limited-RGB (16-235). More... | |
uint32_t | NvMediaEncodeInitializeParamsAV1::frameRateNum |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More... | |
uint32_t | NvMediaEncodeInitializeParamsAV1::frameRateDen |
Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More... | |
uint8_t | NvMediaEncodeInitializeParamsAV1::profile |
Holds the encoding profile. More... | |
uint8_t | NvMediaEncodeInitializeParamsAV1::level |
Holds the encoding level. More... | |
uint8_t | NvMediaEncodeInitializeParamsAV1::maxNumRefFrames |
Holds the max reference numbers used for encoding. More... | |
bool | NvMediaEncodeInitializeParamsAV1::enableSsimRdo |
Set to true to enable SSIM RDO. More... | |
bool | NvMediaEncodeInitializeParamsAV1::enableTileEncode |
Set to true to enable Multiple tile mode. More... | |
uint8_t | NvMediaEncodeInitializeParamsAV1::log2NumTilesInRow |
Holds the log2 value of number of tiles used in a row. More... | |
uint8_t | NvMediaEncodeInitializeParamsAV1::log2NumTilesInCol |
Holds the log2 value of number of tiles used in a column. More... | |
uint8_t | NvMediaEncodeInitializeParamsAV1::frameRestorationType |
bool | NvMediaEncodeInitializeParamsAV1::enableBiCompound |
bool | NvMediaEncodeInitializeParamsAV1::enableUniCompound |
bool | NvMediaEncodeInitializeParamsAV1::enableInternalHighBitDepth |
bool | NvMediaEncodeInitializeParamsAV1::enableExternalMEHints |
Holds a flag indicating whether to enable or disable the external ME hints. More... | |
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. More... | |
uint32_t | NvMediaEncodeInitializeParamsAV1::reserved [20] |
Reserved Bytes. More... | |
NvMediaEncodePicType | NvMediaEncodePicParamsAV1::pictureType |
Holds input picture type. More... | |
uint32_t | NvMediaEncodePicParamsAV1::encodePicFlags |
Holds bit-wise OR`ed encode pic flags. More... | |
uint32_t | NvMediaEncodePicParamsAV1::nextBFrames |
Holds the number of B-frames that follow the current frame. More... | |
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. More... | |
NvMediaEncodeExternalMeHintCountsPerBlocktype | NvMediaEncodePicParamsAV1::meHintCountsPerBlock [2] |
Holds the number of hint candidates per block per direction for the current frame. More... | |
NvMediaEncodeExternalMEHint * | NvMediaEncodePicParamsAV1::meExternalHints |
Holds the pointer to ME external hints for the current frame. More... | |
uint32_t | NvMediaEncodePicParamsAV1::reserved [20] |
Reserved Bytes. More... | |
enum | NvMediaEncodePicType { NVMEDIA_ENCODE_PIC_TYPE_AUTOSELECT = 0, NVMEDIA_ENCODE_PIC_TYPE_P = 1, NVMEDIA_ENCODE_PIC_TYPE_B = 2, NVMEDIA_ENCODE_PIC_TYPE_I = 3, NVMEDIA_ENCODE_PIC_TYPE_IDR = 4, NVMEDIA_ENCODE_PIC_TYPE_P_INTRA_REFRESH = 5 } |
Input picture type. More... | |
enum | NvMediaEncodeProfile { NVMEDIA_ENCODE_PROFILE_AUTOSELECT = 0, NVMEDIA_ENCODE_PROFILE_BASELINE = 66, NVMEDIA_ENCODE_PROFILE_MAIN = 77, NVMEDIA_ENCODE_PROFILE_EXTENDED = 88, NVMEDIA_ENCODE_PROFILE_HIGH = 100, NVMEDIA_ENCODE_PROFILE_HIGH444 = 244 } |
Defines encoding profiles. More... | |
enum | NvMediaEncodeLevel { NVMEDIA_ENCODE_LEVEL_AUTOSELECT = 0, NVMEDIA_ENCODE_LEVEL_H264_1 = 10, NVMEDIA_ENCODE_LEVEL_H264_1b = 9, NVMEDIA_ENCODE_LEVEL_H264_11 = 11, NVMEDIA_ENCODE_LEVEL_H264_12 = 12, NVMEDIA_ENCODE_LEVEL_H264_13 = 13, NVMEDIA_ENCODE_LEVEL_H264_2 = 20, NVMEDIA_ENCODE_LEVEL_H264_21 = 21, NVMEDIA_ENCODE_LEVEL_H264_22 = 22, NVMEDIA_ENCODE_LEVEL_H264_3 = 30, NVMEDIA_ENCODE_LEVEL_H264_31 = 31, NVMEDIA_ENCODE_LEVEL_H264_32 = 32, NVMEDIA_ENCODE_LEVEL_H264_4 = 40, NVMEDIA_ENCODE_LEVEL_H264_41 = 41, NVMEDIA_ENCODE_LEVEL_H264_42 = 42, NVMEDIA_ENCODE_LEVEL_H264_5 = 50, NVMEDIA_ENCODE_LEVEL_H264_51 = 51, NVMEDIA_ENCODE_LEVEL_H264_52 = 52, NVMEDIA_ENCODE_LEVEL_H264_END = 255 } |
Defines encoding levels for H264 encoder. More... | |
enum | NvMediaEncodeLevelH265 { NVMEDIA_ENCODE_LEVEL_H265_AUTOSELECT = 0, NVMEDIA_ENCODE_LEVEL_H265_1 = 30, NVMEDIA_ENCODE_LEVEL_H265_2 = 60, NVMEDIA_ENCODE_LEVEL_H265_21 = 63, NVMEDIA_ENCODE_LEVEL_H265_3 = 90, NVMEDIA_ENCODE_LEVEL_H265_31 = 93, NVMEDIA_ENCODE_LEVEL_H265_4 = 120, NVMEDIA_ENCODE_LEVEL_H265_41 = 123, NVMEDIA_ENCODE_LEVEL_H265_5 = 150, NVMEDIA_ENCODE_LEVEL_H265_51 = 153, NVMEDIA_ENCODE_LEVEL_H265_52 = 156, NVMEDIA_ENCODE_LEVEL_H265_6 = 180, NVMEDIA_ENCODE_LEVEL_H265_61 = 183, NVMEDIA_ENCODE_LEVEL_H265_62 = 186, NVMEDIA_ENCODE_LEVEL_H265_END = 255 } |
Defines encoding levels for H265 encoder. More... | |
enum | NvMediaEncodePicFlags { NVMEDIA_ENCODE_PIC_FLAG_OUTPUT_SPSPPS = (1 << 0), NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE = (1 << 1), NVMEDIA_ENCODE_PIC_FLAG_CONSTRAINED_FRAME = (1 << 2) } |
Defines encoding Picture encode flags. More... | |
enum | NvMediaEncodeQuality { NVMEDIA_ENCODE_QUALITY_L0 = 0, NVMEDIA_ENCODE_QUALITY_L1 = 1, NVMEDIA_ENCODE_QUALITY_L2 = 2, NVMEDIA_ENCODE_QUALITY_DEFAULT = 3 } |
Defines encode quality level pre-settings. More... | |
enum | NvMediaEncodeH264EntropyCodingMode { NVMEDIA_ENCODE_H264_ENTROPY_CODING_MODE_CAVLC = 0, NVMEDIA_ENCODE_H264_ENTROPY_CODING_MODE_CABAC = 1 } |
Defines H.264 entropy coding modes. More... | |
enum | NvMediaEncodeH264BDirectMode { NVMEDIA_ENCODE_H264_BDIRECT_MODE_SPATIAL = 0, NVMEDIA_ENCODE_H264_BDIRECT_MODE_DISABLE = 1, NVMEDIA_ENCODE_H264_BDIRECT_MODE_TEMPORAL = 2 } |
Defines H.264 specific Bdirect modes. More... | |
enum | NvMediaEncodeH264AdaptiveTransformMode { NVMEDIA_ENCODE_H264_ADAPTIVE_TRANSFORM_AUTOSELECT = 0, NVMEDIA_ENCODE_H264_ADAPTIVE_TRANSFORM_DISABLE = 1, NVMEDIA_ENCODE_H264_ADAPTIVE_TRANSFORM_ENABLE = 2 } |
Defines H.264 specific Adaptive Transform modes. More... | |
enum | NvMediaEncodeH264MotionPredictionExclusionFlags { NVMEDIA_ENCODE_DISABLE_INTRA_4x4_VERTICAL_PREDICTION = (1 << 0), NVMEDIA_ENCODE_DISABLE_INTRA_4x4_HORIZONTAL_PREDICTION = (1 << 1), NVMEDIA_ENCODE_DISABLE_INTRA_4x4_DC_PREDICTION = (1 << 2), NVMEDIA_ENCODE_DISABLE_INTRA_4x4_DIAGONAL_DOWN_LEFT_PREDICTION = (1 << 3), NVMEDIA_ENCODE_DISABLE_INTRA_4x4_DIAGONAL_DOWN_RIGHT_PREDICTION = (1 << 4), NVMEDIA_ENCODE_DISABLE_INTRA_4x4_VERTICAL_RIGHT_PREDICTION = (1 << 5), NVMEDIA_ENCODE_DISABLE_INTRA_4x4_HORIZONTAL_DOWN_PREDICTION = (1 << 6), NVMEDIA_ENCODE_DISABLE_INTRA_4x4_VERTICAL_LEFT_PREDICTION = (1 << 7), NVMEDIA_ENCODE_DISABLE_INTRA_4x4_HORIZONTAL_UP_PREDICTION = (1 << 8), NVMEDIA_ENCODE_DISABLE_INTRA_8x8_VERTICAL_PREDICTION = (1 << 9), NVMEDIA_ENCODE_DISABLE_INTRA_8x8_HORIZONTAL_PREDICTION = (1 << 10), NVMEDIA_ENCODE_DISABLE_INTRA_8x8_DC_PREDICTION = (1 << 11), NVMEDIA_ENCODE_DISABLE_INTRA_8x8_DIAGONAL_DOWN_LEFT_PREDICTION = (1 << 12), NVMEDIA_ENCODE_DISABLE_INTRA_8x8_DIAGONAL_DOWN_RIGHT_PREDICTION = (1 << 13), NVMEDIA_ENCODE_DISABLE_INTRA_8x8_VERTICAL_RIGHT_PREDICTION = (1 << 14), NVMEDIA_ENCODE_DISABLE_INTRA_8x8_HORIZONTAL_DOWN_PREDICTION = (1 << 15), NVMEDIA_ENCODE_DISABLE_INTRA_8x8_VERTICAL_LEFT_PREDICTION = (1 << 16), NVMEDIA_ENCODE_DISABLE_INTRA_8x8_HORIZONTAL_UP_PREDICTION = (1 << 17), NVMEDIA_ENCODE_DISABLE_INTRA_16x16_VERTICAL_PREDICTION = (1 << 18), NVMEDIA_ENCODE_DISABLE_INTRA_16x16_HORIZONTAL_PREDICTION = (1 << 19), NVMEDIA_ENCODE_DISABLE_INTRA_16x16_DC_PREDICTION = (1 << 20), NVMEDIA_ENCODE_DISABLE_INTRA_16x16_PLANE_PREDICTION = (1 << 21), NVMEDIA_ENCODE_DISABLE_INTRA_CHROMA_VERTICAL_PREDICTION = (1 << 22), NVMEDIA_ENCODE_DISABLE_INTRA_CHROMA_HORIZONTAL_PREDICTION = (1 << 23), NVMEDIA_ENCODE_DISABLE_INTRA_CHROMA_DC_PREDICTION = (1 << 24), NVMEDIA_ENCODE_DISABLE_INTRA_CHROMA_PLANE_PREDICTION = (1 << 25), NVMEDIA_ENCODE_DISABLE_INTER_L0_16x16_PREDICTION = (1 << 26), NVMEDIA_ENCODE_DISABLE_INTER_L0_16x8_PREDICTION = (1 << 27), NVMEDIA_ENCODE_DISABLE_INTER_L0_8x16_PREDICTION = (1 << 28), NVMEDIA_ENCODE_DISABLE_INTER_L0_8x8_PREDICTION = (1 << 29) } |
Defines motion prediction exclusion flags for H.264. More... | |
enum | NvMediaEncodeH264MotionSearchControlFlags { NVMEDIA_ENCODE_ENABLE_IP_SEARCH_INTRA_4x4 = (1 << 0), NVMEDIA_ENCODE_ENABLE_IP_SEARCH_INTRA_8x8 = (1 << 1), NVMEDIA_ENCODE_ENABLE_IP_SEARCH_INTRA_16x16 = (1 << 2), NVMEDIA_ENCODE_ENABLE_SELF_TEMPORAL_REFINE = (1 << 3), NVMEDIA_ENCODE_ENABLE_SELF_SPATIAL_REFINE = (1 << 4), NVMEDIA_ENCODE_ENABLE_COLOC_REFINE = (1 << 5), NVMEDIA_ENCODE_ENABLE_EXTERNAL_REFINE = (1 << 6), NVMEDIA_ENCODE_ENABLE_CONST_MV_REFINE = (1 << 7), NVMEDIA_ENCODE_MOTION_SEARCH_CONTROL_FLAG_VALID = (1 << 31) } |
Defines motion search mode control flags for H.264. More... | |
enum | NvMediaEncodeH264SPSPPSRepeatMode { NVMEDIA_ENCODE_SPSPPS_REPEAT_DISABLED = 0, NVMEDIA_ENCODE_SPSPPS_REPEAT_INTRA_FRAMES = 1, NVMEDIA_ENCODE_SPSPPS_REPEAT_IDR_FRAMES = 2 } |
Specifies the frequency of the writing of Sequence and Picture parameters for H.264. More... | |
enum | NvMediaEncAttrType { NvMediaEncAttr_GetSPS = 1, NvMediaEncAttr_GetPPS, NvMediaEncAttr_GetVPS } |
Specifies the encoder get attribute type. More... | |
enum | NvMediaEncodeH264POCType { NVMEDIA_ENCODE_H264_POC_TYPE_AUTOSELECT = 0, NVMEDIA_ENCODE_H264_POC_TYPE_0 = 1, NVMEDIA_ENCODE_H264_POC_TYPE_2 = 2 } |
Define H.264 pic_order_cnt_type. More... | |
enum | NvMediaEncodeH264Features { NVMEDIA_ENCODE_CONFIG_H264_ENABLE_OUTPUT_AUD = (1 << 0), NVMEDIA_ENCODE_CONFIG_H264_ENABLE_INTRA_REFRESH = (1 << 1), NVMEDIA_ENCODE_CONFIG_H264_ENABLE_DYNAMIC_SLICE_MODE = (1 << 2), NVMEDIA_ENCODE_CONFIG_H264_ENABLE_CONSTRANED_ENCODING = (1 << 3), NVMEDIA_ENCODE_CONFIG_H264_ENABLE_LOSSLESS_COMPRESSION = (1 << 4), NVMEDIA_ENCODE_CONFIG_H264_ENABLE_SLICE_LEVEL_OUTPUT = (1 << 5), NVMEDIA_ENCODE_CONFIG_H264_ENABLE_RTP_MODE_OUTPUT = (1 << 6), NVMEDIA_ENCODE_CONFIG_H264_ENABLE_EXT_PIC_RC_HINT = (1 << 7), NVMEDIA_ENCODE_CONFIG_H264_ENABLE_DYNAMIC_RPS = (1 << 8), NVMEDIA_ENCODE_CONFIG_H264_ENABLE_MV_BUFFER_DUMP = (1 << 9), NVMEDIA_ENCODE_CONFIG_H264_ENABLE_PROFILING = (1 << 10), NVMEDIA_ENCODE_CONFIG_H264_INIT_QP = (1 << 11), NVMEDIA_ENCODE_CONFIG_H264_QP_MAX = (1 << 12), NVMEDIA_ENCODE_CONFIG_H264_ENABLE_FOUR_BYTE_START_CODE = (1 << 13), NVMEDIA_ENCODE_CONFIG_H264_ENABLE_ULTRA_FAST_ENCODE = (1 << 14), NVMEDIA_ENCODE_CONFIG_H264_ENABLE_MV_BUFFER_DUMP_V2 = (1 << 15) } |
Defines H264 encoder configuration features. More... | |
#define | MAX_NON_SLICE_DATA_SIZE |
Maximum encoded header info size. More... | |
#define MAX_NON_SLICE_DATA_SIZE |
Maximum encoded header info size.
Definition at line 570 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 543 of file nvmedia_common_encode.h.
Defines H.264 specific Adaptive Transform modes.
Definition at line 416 of file nvmedia_common_encode.h.
Defines H.264 specific Bdirect modes.
Definition at line 401 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 390 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 677 of file nvmedia_common_encode.h.
Defines motion prediction exclusion flags for H.264.
Definition at line 431 of file nvmedia_common_encode.h.
Defines motion search mode control flags for H.264.
Definition at line 503 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 557 of file nvmedia_common_encode.h.
Specifies the frequency of the writing of Sequence and Picture parameters for H.264.
Definition at line 529 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.
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 798 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 592 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 1101 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH264VUIParams::aspectRatioInfoPresentFlag |
If set to true, it specifies that the aspectRatioIdc is present.
Definition at line 589 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH265VUIParams::aspectRatioInfoPresentFlag |
If set to true, specifies the aspectRatioIdc is present.
Definition at line 1098 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 599 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 1108 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 595 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 1104 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 1615 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 1818 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 800 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 632 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 1143 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 1604 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 1607 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 616 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 1127 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 625 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 619 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 1130 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 580 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 1627 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 1830 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 1623 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 1826 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 1619 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 1822 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMEHint::dir |
Holds the direction of motion estimation .
0=L0 1=L1.
Definition at line 663 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH265::disableDeblockingFilter |
Holds disable the deblocking filter.
Definition at line 1262 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 796 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 1012 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 1446 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsAV1::enableBiCompound |
Definition at line 1897 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 944 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 1384 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 1694 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 1906 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH264::enableExternalPictureRC |
Enable external picture rate control.
Definition at line 1009 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH265::enableExternalPictureRC |
Enable external picture rate control.
Definition at line 1443 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsAV1::enableInternalHighBitDepth |
Definition at line 1902 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH264::enableLimitedRGB |
Set this to true for limited-RGB (16-235) input.
Definition at line 894 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::enableLimitedRGB |
Set this to true for limited-RGB (16-235) input.
Definition at line 1329 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 1677 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 1858 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 969 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 1409 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 966 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 1406 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 978 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 1414 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 981 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::enableSliceEncode |
use slice encode to reduce latency in getting encoded buffers.
Definition at line 1416 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::enableSliceLevelEncode |
Set this to true for slice level encode.
Definition at line 1331 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH264::enableSourceHalfScaled |
Enable 2 pass RC with quarter resolution first pass.
Definition at line 1003 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsH265::enableSourceHalfScaled |
Enable 2 pass RC with quarter resolution first pass.
Definition at line 1437 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsAV1::enableSsimRdo |
Set to true to enable SSIM RDO.
Definition at line 1886 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsAV1::enableTileEncode |
Set to true to enable Multiple tile mode.
Definition at line 1888 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 995 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 1429 of file nvmedia_common_encode.h.
bool NvMediaEncodeInitializeParamsAV1::enableUniCompound |
Definition at line 1900 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 857 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH265::enableWeightedPrediction |
Holds enable weighted prediction.
Definition at line 1265 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 890 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 1325 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsVP9::encodeHeight |
Holds the encode height.
Definition at line 1673 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsAV1::encodeHeight |
Holds the encode height.
Definition at line 1855 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH264::encodePicFlags |
Holds bit-wise OR`ed encode pic flags.
See enum NvMediaEncodePicFlags.
Definition at line 1025 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH265::encodePicFlags |
Holds bit-wise OR`ed encode pic flags.
See enum NvMediaEncodePicFlags.
Definition at line 1475 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsVP9::encodePicFlags |
Holds bit-wise OR`ed encode pic flags.
See enum NvMediaEncodePicFlags.
Definition at line 1728 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsAV1::encodePicFlags |
Holds bit-wise OR`ed encode pic flags.
See enum NvMediaEncodePicFlags.
Definition at line 1930 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 883 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 1318 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsVP9::encodeWidth |
Holds the encode width.
Definition at line 1671 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsAV1::encodeWidth |
Holds the encode width.
Definition at line 1853 of file nvmedia_common_encode.h.
NvMediaEncodeH264EntropyCodingMode NvMediaEncodeConfigH264::entropyCodingMode |
Holds the entropy coding mode.
Definition at line 802 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 1653 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::features |
Holds bit-wise OR`ed configuration feature flags.
See enum NvMediaEncodeH264Features.
Definition at line 774 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 1240 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 1570 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigAV1::features |
Holds bit-wise OR`ed configuration feature flags.
TBD
Definition at line 1799 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigVP9::filter_level |
Specifies the loop filter strength for each segment.
Definition at line 1594 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 1592 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 902 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 1081 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 1339 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 1527 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 1683 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 1864 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 898 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 1077 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 1335 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 1523 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 1680 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 1861 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsAV1::frameRestorationType |
Definition at line 1894 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 778 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 1245 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 1574 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 1803 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 835 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 1294 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 1645 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 788 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 1254 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 1581 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 1810 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 849 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 1301 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 1658 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 1835 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 823 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 1283 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 814 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 1275 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMEHint::lastOfMB |
Set to true for the last MV of macroblock.
Definition at line 670 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMEHint::lastofPart |
Set to true for the last MV of (sub) partition
Definition at line 668 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 916 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 1353 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 1878 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 1357 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 1892 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 1890 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 1714 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 1711 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 1136 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 955 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 1395 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 1705 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 1916 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 939 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 1380 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 1689 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 1884 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 854 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 1306 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 1663 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 1840 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 828 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 1287 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMEHint* { ... } ::meExternalHints |
Definition at line 1071 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMEHint* NvMediaEncodePicParamsH264::meExternalHints |
Definition at line 1071 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 1519 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 1763 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 1965 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 1052 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 1502 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 1747 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 1949 of file nvmedia_common_encode.h.
uint8_t* NvMediaEncodePicParamsH264::meHints |
Definition at line 1072 of file nvmedia_common_encode.h.
uint8_t* { ... } ::meHints |
Definition at line 1072 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 1602 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::motionPredictionExclusionFlags |
Holds bitwise OR`ed exclusion flags.
See enum NvMediaEncodeH264MotionPredictionExclusionFlags.
Definition at line 839 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH264::mvcNumViews |
Number of views used for MVC.
Definition at line 1006 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH265::mvNumViews |
Number of views used for MV-Hevc.
Definition at line 1440 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 656 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 658 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeH265SEIPayload::nalUnitType |
SEI nal_unit_type.
Definition at line 1462 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 1032 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 1482 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 1735 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 1937 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 641 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk16x8 |
Holds the number of candidates per 16x8 block.
Definition at line 643 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk8x16 |
Holds the number of candidates per 8x16 block.
Definition at line 645 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeExternalMeHintCountsPerBlocktype::numCandsPerBlk8x8 |
Holds the number of candidates per 8x8 block.
Definition at line 647 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 1291 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 1708 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 832 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 793 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 1259 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 604 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 1114 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH264VUIParams::overscanInfoPresentFlag |
If set to true, it specifies that the overscanInfo is present.
Definition at line 601 of file nvmedia_common_encode.h.
bool NvMediaEncodeConfigH265VUIParams::overscanInfoPresentFlag |
If set to true, it specifies that the overscanInfo is present.
Definition at line 1111 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 666 of file nvmedia_common_encode.h.
uint8_t* NvMediaEncodeH264SEIPayload::payload |
Pointer to user data.
Definition at line 871 of file nvmedia_common_encode.h.
uint8_t* NvMediaEncodeH265SEIPayload::payload |
pointer to user data
Definition at line 1464 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 866 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 1457 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 869 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 1460 of file nvmedia_common_encode.h.
NvMediaEncodePicType NvMediaEncodePicParamsH264::pictureType |
Holds input picture type.
Definition at line 1022 of file nvmedia_common_encode.h.
NvMediaEncodePicType NvMediaEncodePicParamsH265::pictureType |
Holds input picture type.
Definition at line 1472 of file nvmedia_common_encode.h.
NvMediaEncodePicType NvMediaEncodePicParamsVP9::pictureType |
Holds input picture type.
Definition at line 1725 of file nvmedia_common_encode.h.
NvMediaEncodePicType NvMediaEncodePicParamsAV1::pictureType |
Holds input picture type.
Definition at line 1927 of file nvmedia_common_encode.h.
NvMediaEncodeH264POCType NvMediaEncodeConfigH264::pocType |
Holds pic_ordec_cnt_type.
Definition at line 844 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 908 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 1345 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 1870 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 842 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 1297 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 1843 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 780 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 1039 of file nvmedia_common_encode.h.
NvMediaEncodeRCParams NvMediaEncodeConfigH265::rcParams |
Holds the rate control parameters for the current encoding session.
Definition at line 1247 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 1489 of file nvmedia_common_encode.h.
NvMediaEncodeRCParams NvMediaEncodeConfigVP9::rcParams |
Holds the rate control parameters for the current encoding session.
Definition at line 1576 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 1740 of file nvmedia_common_encode.h.
NvMediaEncodeRCParams NvMediaEncodeConfigAV1::rcParams |
Holds the rate control parameters for the current encoding session.
Definition at line 1805 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 1942 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 1599 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 661 of file nvmedia_common_encode.h.
NvMediaEncodeH264SPSPPSRepeatMode NvMediaEncodeConfigH264::repeatSPSPPS |
Holds the frequency of the writing of Sequence and Picture parameters.
Definition at line 783 of file nvmedia_common_encode.h.
NvMediaEncodeH264SPSPPSRepeatMode NvMediaEncodeConfigH265::repeatSPSPPS |
Holds the frequency of the writing of Sequence and Picture parameters.
Definition at line 1249 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigAV1::reserved[20] |
Reserved Bytes.
Definition at line 1845 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsAV1::reserved[20] |
Reserved Bytes.
Definition at line 1918 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsAV1::reserved[20] |
Reserved Bytes.
Definition at line 1967 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 1014 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsH265::reserved |
Add padding.
Definition at line 1448 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeInitializeParamsH264::reserved1 |
Definition at line 884 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeInitializeParamsH265::reserved1 |
Definition at line 1319 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeInitializeParamsH264::reserved2 |
Definition at line 891 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeInitializeParamsH265::reserved2 |
Definition at line 1326 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeInitializeParamsH264::reserved3[3] |
Definition at line 991 of file nvmedia_common_encode.h.
NvMediaEncodeH264SEIPayload* NvMediaEncodePicParamsH264::seiPayloadArray |
Array of SEI payloads which will be inserted for this frame.
Definition at line 1044 of file nvmedia_common_encode.h.
NvMediaEncodeH265SEIPayload* NvMediaEncodePicParamsH265::seiPayloadArray |
Array of SEI payloads which will be inserted for this frame.
Definition at line 1494 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 1042 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 1492 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigVP9::sharpness_level |
Specifies Sharpness level.
Definition at line 1596 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 629 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 622 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 1133 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 1638 of file nvmedia_common_encode.h.
uint32_t NvMediaNalData::ulNalSize |
Nal size for header.
Definition at line 578 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 990 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 1425 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 { ... } 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 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 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 { ... } ::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 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 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 610 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 1121 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 613 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 1124 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 607 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 1118 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH264::viewId |
Holds the viewId of current picture.
Definition at line 1083 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH265::viewId |
Holds the viewId of current picture.
Definition at line 1529 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeInitializeParamsVP9::vp9SkipChroma |
Skip Chroma Processing.
Supported values are 0 and 1.
Definition at line 1716 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 1140 of file nvmedia_common_encode.h.