|
VA-API 2.22.0
|
Picture parameter for MPEG-2 encoding. More...
#include <va_enc_mpeg2.h>
Public Attributes | |
| VASurfaceID | forward_reference_picture |
| Forward reference picture. | |
| VASurfaceID | backward_reference_picture |
| Backward reference picture. | |
| VASurfaceID | reconstructed_picture |
| Reconstructed(decoded) picture. | |
| VABufferID | coded_buf |
| Output encoded bitstream. | |
| uint8_t | last_picture |
| Flag to indicate the picture is the last one or not. | |
| VAEncPictureType | picture_type |
| Picture type. | |
| uint32_t | temporal_reference |
| Same as the element in picture_header() | |
| uint32_t | vbv_delay |
| Same as the element in picture_header() | |
| uint8_t | f_code [2][2] |
| Same as the element in Picture coding extension. | |
| uint32_t | va_reserved [VA_PADDING_LOW] |
| Reserved bytes for future use, must be zero. | |
Picture parameter for MPEG-2 encoding.
This structure holds information for picture_header() and picture_coding_extension()
If packed picture headers mode is used, i.e. if the encoding pipeline was configured with the VA_ENC_PACKED_HEADER_PICTURE flag, then the driver expects two more buffers to be provided to the same vaRenderPicture() as this buffer:
| VABufferID VAEncPictureParameterBufferMPEG2::coded_buf |
Output encoded bitstream.
coded_buf has type VAEncCodedBufferType. It should be large enough to hold the compressed NAL slice and possibly SPS and PPS NAL units.
| uint8_t VAEncPictureParameterBufferMPEG2::last_picture |
Flag to indicate the picture is the last one or not.
This fields holds 0 if the picture to be encoded is not the last one in the stream. Otherwise, it is MPEG2_LAST_PICTURE_EOSTREAM.
1.12.0