# v4l2_ctrl_videoenc_outputbuf_metadata_ Struct Reference
[V4L2 Video Encoder]

Holds the encoder output metadata for a frame. More...

`#include <v4l2_nv_extensions.h>`

List of all members.

## Public Attributes

__u8 | KeyFrame
| Boolean value indicating if current frame is a key frame.
__u8 | EndofFrame
| Boolean value indicating end of frame in case of multi slice encoding.
__u16 | AvgQP
| Average QP value of the frame.
__u8 | bIsGoldenOrAlternateFrame
| Boolean value indicating if current frame is a golden or alternate frame.
__u32 | EncodedFrameBits
| Number of bits needed to encode the frame.
__u32 | FrameMinQP
| Minumum QP value in the frame.
__u32 | FrameMaxQP
| Maximum QP value in the frame.
__u32 | nCurrentRefFrameId
| Reference frame id used for Motion Estimation of current frame, ignored for IDR.
__u32 | nActiveRefFrames
| Number of active reference frames.

## Detailed Description

Holds the encoder output metadata for a frame.

To be used with V4L2_CID_MPEG_VIDEOENC_METADATA ioctl.

Definition at line 1087 of file v4l2_nv_extensions.h.

## Member Data Documentation

__u16 v4l2_ctrl_videoenc_outputbuf_metadata_::AvgQP

Average QP value of the frame.

Definition at line 1094 of file v4l2_nv_extensions.h.

__u8 v4l2_ctrl_videoenc_outputbuf_metadata_::bIsGoldenOrAlternateFrame

Boolean value indicating if current frame is a golden or alternate frame.

Definition at line 1096 of file v4l2_nv_extensions.h.

__u32 v4l2_ctrl_videoenc_outputbuf_metadata_::EncodedFrameBits

Number of bits needed to encode the frame.

Definition at line 1098 of file v4l2_nv_extensions.h.

__u8 v4l2_ctrl_videoenc_outputbuf_metadata_::EndofFrame

Boolean value indicating end of frame in case of multi slice encoding.

Definition at line 1092 of file v4l2_nv_extensions.h.

__u32 v4l2_ctrl_videoenc_outputbuf_metadata_::FrameMaxQP

Maximum QP value in the frame.

Definition at line 1102 of file v4l2_nv_extensions.h.

__u32 v4l2_ctrl_videoenc_outputbuf_metadata_::FrameMinQP

Minumum QP value in the frame.

Definition at line 1100 of file v4l2_nv_extensions.h.

__u8 v4l2_ctrl_videoenc_outputbuf_metadata_::KeyFrame

Boolean value indicating if current frame is a key frame.

Definition at line 1090 of file v4l2_nv_extensions.h.

__u32 v4l2_ctrl_videoenc_outputbuf_metadata_::nActiveRefFrames

Number of active reference frames.

Definition at line 1107 of file v4l2_nv_extensions.h.

__u32 v4l2_ctrl_videoenc_outputbuf_metadata_::nCurrentRefFrameId

Reference frame id used for Motion Estimation of current frame, ignored for IDR.

Definition at line 1105 of file v4l2_nv_extensions.h.

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

- include/v4l2_nv_extensions.h