NVIDIA DRIVE OS Linux SDK API Reference

6.0.9 Release

Detailed Description

Holds the encoder output extradata configuration.

Definition at line 203 of file nvmedia_iep_output_extradata.h.

Collaboration diagram for NvMediaEncodeOutputExtradata:

Data Fields

uint32_t ulExtraDataSize
 Size of this extradata structure. More...
 
bool bkeyFrame
 Format of input H264 data. More...
 
bool bEndOfFrame
 Slice end or frame end in the packet for application to handle packets When slice encode is completed but not complete frame then it will set bEndOfFrame to false. More...
 
uint32_t ulHdrSize
 Size of SPS/PPS header if it passed with output buffer. More...
 
int16_t AvgQP
 Average QP index of the encoded frame. More...
 
bool bIsGoldenOrAlternateFrame
 Flag for vp8 reference frame information. More...
 
bool bValidReconCRC
 Whether Recon CRC for Recon frame is present. More...
 
uint32_t ulReconCRC_Y
 Recon CRC for Y component when ReconCRC generation is enabled. More...
 
uint32_t ulReconCRC_U
 Recon CRC for U component when ReconCRC generation is enabled. More...
 
uint32_t ulReconCRC_V
 Recon CRC for V component when ReconCRC generation is enabled. More...
 
uint32_t ulFrameMinQP
 Rate Control Feedback. More...
 
uint32_t ulFrameMaxQP
 Maximum QP used for this frame. More...
 
bool bRPSFeedback
 RPS Feedback. More...
 
uint32_t ulCurrentRefFrameId
 frame id of reference frame to be used for motion search, ignored for IDR. More...
 
uint32_t ulActiveRefFrames
 Number of valid entries in RPS. More...
 
NvMediaEncodeFrameFullProp RPSList [NVMEDIA_ENCODE_MAX_RPS_SIZE]
 RPS List including most recent frame if it is reference frame. More...
 
bool bMVbufferdump
 Set if bitstream buffer contains MV Buffer dump. More...
 
uint32_t MVBufferDumpSize
 Size of the MV buffer, including NvMediaEncodeMVBufferHeader and NvMediaEncodeMVData for each macroblock, as per the format defined in NvMediaEncodeMVBufferHeader. More...
 
uint32_t MVBufferDumpStartOffset
 Encoded motion vector buffer dump start offset in the bitstream. More...
 
NvMediaFrameStats FrameStats
 Encoder Profiling stats. More...
 
uint32_t ulHrdBitrate
 hrdBitrate to be used to calculate RC stats. More...
 
uint32_t ulVbvBufSize
 vbvBufSize to be used to compute RC stats. More...
 
NvMediaVideoCodec codec
 Codec Type. More...
 
NvMediaEncodeCodecExData codecExData
 Codec specific extradata. More...
 

Field Documentation

◆ AvgQP

int16_t NvMediaEncodeOutputExtradata::AvgQP

Average QP index of the encoded frame.

Definition at line 221 of file nvmedia_iep_output_extradata.h.

◆ bEndOfFrame

bool NvMediaEncodeOutputExtradata::bEndOfFrame

Slice end or frame end in the packet for application to handle packets When slice encode is completed but not complete frame then it will set bEndOfFrame to false.

After frame encode is complete, it will set bEndOfFrame to true.

Note
This feature is not supported.

Definition at line 217 of file nvmedia_iep_output_extradata.h.

◆ bIsGoldenOrAlternateFrame

bool NvMediaEncodeOutputExtradata::bIsGoldenOrAlternateFrame

Flag for vp8 reference frame information.

Note
This feature is not supported.

Definition at line 224 of file nvmedia_iep_output_extradata.h.

◆ bkeyFrame

bool NvMediaEncodeOutputExtradata::bkeyFrame

Format of input H264 data.

Note
This feature is not supported. Use NvMediaEncodeCodecExData::eFrameType instead.

Definition at line 211 of file nvmedia_iep_output_extradata.h.

◆ bMVbufferdump

bool NvMediaEncodeOutputExtradata::bMVbufferdump

Set if bitstream buffer contains MV Buffer dump.

To enable this feature, NVMEDIA_ENCODE_CONFIG_H264_ENABLE_MV_BUFFER_DUMP should be bit-ORd in NvMediaEncodeConfigH264::features

When this is set, NvMediaEncodeMVBufferHeader and array of NvMediaEncodeMVData (one for each macro block - contiguously in memory) will follow the encoded bitstream output at an offset defined in NvMediaEncodeOutputExtradata::MVBufferDumpStartOffset

Definition at line 265 of file nvmedia_iep_output_extradata.h.

◆ bRPSFeedback

bool NvMediaEncodeOutputExtradata::bRPSFeedback

RPS Feedback.

Reference Picture Set data output enabled.

Note
This feature is not supported.

Definition at line 245 of file nvmedia_iep_output_extradata.h.

◆ bValidReconCRC

bool NvMediaEncodeOutputExtradata::bValidReconCRC

Whether Recon CRC for Recon frame is present.

Note
This feature is not supported.

Definition at line 227 of file nvmedia_iep_output_extradata.h.

◆ codec

NvMediaVideoCodec NvMediaEncodeOutputExtradata::codec

Codec Type.

Definition at line 288 of file nvmedia_iep_output_extradata.h.

◆ codecExData

NvMediaEncodeCodecExData NvMediaEncodeOutputExtradata::codecExData

Codec specific extradata.

Definition at line 290 of file nvmedia_iep_output_extradata.h.

◆ FrameStats

NvMediaFrameStats NvMediaEncodeOutputExtradata::FrameStats

Encoder Profiling stats.

Note
This feature is not supported.

Definition at line 280 of file nvmedia_iep_output_extradata.h.

◆ MVBufferDumpSize

uint32_t NvMediaEncodeOutputExtradata::MVBufferDumpSize

Size of the MV buffer, including NvMediaEncodeMVBufferHeader and NvMediaEncodeMVData for each macroblock, as per the format defined in NvMediaEncodeMVBufferHeader.

This is set to a non-zero value only if there was sufficient space in bitstream buffer to store the MV Buffer data.

Definition at line 271 of file nvmedia_iep_output_extradata.h.

◆ MVBufferDumpStartOffset

uint32_t NvMediaEncodeOutputExtradata::MVBufferDumpStartOffset

Encoded motion vector buffer dump start offset in the bitstream.

This is the location in the bitstream where the NvMediaEncodeMVBufferHeader starts, followed by NvMediaEncodeMVData data. Motion vector dump is appended at the end of encoded bistream buffer with 8 byte aligned position.

Definition at line 277 of file nvmedia_iep_output_extradata.h.

◆ RPSList

NvMediaEncodeFrameFullProp NvMediaEncodeOutputExtradata::RPSList[NVMEDIA_ENCODE_MAX_RPS_SIZE]

RPS List including most recent frame if it is reference frame.

Note
This feature is not supported.

Definition at line 254 of file nvmedia_iep_output_extradata.h.

◆ ulActiveRefFrames

uint32_t NvMediaEncodeOutputExtradata::ulActiveRefFrames

Number of valid entries in RPS.

Note
This feature is not supported.

Definition at line 251 of file nvmedia_iep_output_extradata.h.

◆ ulCurrentRefFrameId

uint32_t NvMediaEncodeOutputExtradata::ulCurrentRefFrameId

frame id of reference frame to be used for motion search, ignored for IDR.

Note
This feature is not supported.

Definition at line 248 of file nvmedia_iep_output_extradata.h.

◆ ulExtraDataSize

uint32_t NvMediaEncodeOutputExtradata::ulExtraDataSize

Size of this extradata structure.

This needs to be filled correctly by the client to sizeof(NvMediaEncodeOutputExtradata). This size is used as sanity check before writing output extradata on this buffer.

Definition at line 207 of file nvmedia_iep_output_extradata.h.

◆ ulFrameMaxQP

uint32_t NvMediaEncodeOutputExtradata::ulFrameMaxQP

Maximum QP used for this frame.

Definition at line 241 of file nvmedia_iep_output_extradata.h.

◆ ulFrameMinQP

uint32_t NvMediaEncodeOutputExtradata::ulFrameMinQP

Rate Control Feedback.

Minimum QP used for this frame

Definition at line 239 of file nvmedia_iep_output_extradata.h.

◆ ulHdrSize

uint32_t NvMediaEncodeOutputExtradata::ulHdrSize

Size of SPS/PPS header if it passed with output buffer.

Definition at line 219 of file nvmedia_iep_output_extradata.h.

◆ ulHrdBitrate

uint32_t NvMediaEncodeOutputExtradata::ulHrdBitrate

hrdBitrate to be used to calculate RC stats.

Note
This feature is not supported.

Definition at line 283 of file nvmedia_iep_output_extradata.h.

◆ ulReconCRC_U

uint32_t NvMediaEncodeOutputExtradata::ulReconCRC_U

Recon CRC for U component when ReconCRC generation is enabled.

Note
This feature is not supported.

Definition at line 233 of file nvmedia_iep_output_extradata.h.

◆ ulReconCRC_V

uint32_t NvMediaEncodeOutputExtradata::ulReconCRC_V

Recon CRC for V component when ReconCRC generation is enabled.

Note
This feature is not supported.

Definition at line 236 of file nvmedia_iep_output_extradata.h.

◆ ulReconCRC_Y

uint32_t NvMediaEncodeOutputExtradata::ulReconCRC_Y

Recon CRC for Y component when ReconCRC generation is enabled.

Note
This feature is not supported.

Definition at line 230 of file nvmedia_iep_output_extradata.h.

◆ ulVbvBufSize

uint32_t NvMediaEncodeOutputExtradata::ulVbvBufSize

vbvBufSize to be used to compute RC stats.

Note
This feature is not supported.

Definition at line 286 of file nvmedia_iep_output_extradata.h.


The documentation for this struct was generated from the following file: