NVIDIA DRIVE OS Linux SDK API Reference

5.2.6 Release
For Test and Development only
NvMediaEncodeOutputExtradata Struct Reference

Detailed Description

Holds a Video encoder output extradata configuration.

Definition at line 192 of file nvmedia_iep_output_extradata.h.

Collaboration diagram for NvMediaEncodeOutputExtradata:

Data Fields

uint32_t ulExtraDataSize
 Size of this extradata structure. More...
 
NvMediaBool bkeyFrame
 Format of input H264 data. More...
 
NvMediaBool 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 NVMEDIA_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...
 
NvMediaBool bIsGoldenOrAlternateFrame
 Flag for vp8 reference frame information. More...
 
NvMediaBool 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...
 
NvMediaBool 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...
 
NvMediaBool 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
 Video 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 210 of file nvmedia_iep_output_extradata.h.

◆ bEndOfFrame

NvMediaBool 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 NVMEDIA_FALSE.

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

Note
This feature is not supported.

Definition at line 206 of file nvmedia_iep_output_extradata.h.

◆ bIsGoldenOrAlternateFrame

NvMediaBool NvMediaEncodeOutputExtradata::bIsGoldenOrAlternateFrame

Flag for vp8 reference frame information.

Note
This feature is not supported.

Definition at line 213 of file nvmedia_iep_output_extradata.h.

◆ bkeyFrame

NvMediaBool NvMediaEncodeOutputExtradata::bkeyFrame

Format of input H264 data.

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

Definition at line 200 of file nvmedia_iep_output_extradata.h.

◆ bMVbufferdump

NvMediaBool 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 254 of file nvmedia_iep_output_extradata.h.

◆ bRPSFeedback

NvMediaBool NvMediaEncodeOutputExtradata::bRPSFeedback

RPS Feedback.

Reference Picture Set data output enabled.

Note
This feature is not supported.

Definition at line 234 of file nvmedia_iep_output_extradata.h.

◆ bValidReconCRC

NvMediaBool NvMediaEncodeOutputExtradata::bValidReconCRC

Whether Recon CRC for Recon frame is present.

Note
This feature is not supported.

Definition at line 216 of file nvmedia_iep_output_extradata.h.

◆ codec

NvMediaVideoCodec NvMediaEncodeOutputExtradata::codec

Codec Type.

Definition at line 277 of file nvmedia_iep_output_extradata.h.

◆ codecExData

NvMediaEncodeCodecExData NvMediaEncodeOutputExtradata::codecExData

Codec specific extradata.

Definition at line 279 of file nvmedia_iep_output_extradata.h.

◆ FrameStats

NvMediaFrameStats NvMediaEncodeOutputExtradata::FrameStats

Video Encoder Profiling stats.

Note
This feature is not supported.

Definition at line 269 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 260 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 266 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 243 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 240 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 237 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 196 of file nvmedia_iep_output_extradata.h.

◆ ulFrameMaxQP

uint32_t NvMediaEncodeOutputExtradata::ulFrameMaxQP

Maximum QP used for this frame.

Definition at line 230 of file nvmedia_iep_output_extradata.h.

◆ ulFrameMinQP

uint32_t NvMediaEncodeOutputExtradata::ulFrameMinQP

Rate Control Feedback.

Minimum QP used for this frame

Definition at line 228 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 208 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 272 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 222 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 225 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 219 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 275 of file nvmedia_iep_output_extradata.h.


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