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. More... | |
uint8_t | last_picture |
Flag to indicate the picture is the last one or not. More... | |
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. | |
uint32_t | intra_dc_precision: 2 |
Same as the element in Picture coding extension. | |
uint32_t | picture_structure: 2 |
Same as the element in Picture coding extension. | |
uint32_t | top_field_first: 1 |
Same as the element in Picture coding extension. | |
uint32_t | frame_pred_frame_dct: 1 |
Same as the element in Picture coding extension. | |
uint32_t | concealment_motion_vectors: 1 |
Same as the element in Picture coding extension. | |
uint32_t | q_scale_type: 1 |
Same as the element in Picture coding extension. | |
uint32_t | intra_vlc_format: 1 |
Same as the element in Picture coding extension. | |
uint32_t | alternate_scan: 1 |
Same as the element in Picture coding extension. | |
uint32_t | repeat_first_field: 1 |
Same as the element in Picture coding extension. | |
uint32_t | progressive_frame: 1 |
Same as the element in Picture coding extension. | |
uint32_t | composite_display_flag: 1 |
Same as the element in Picture coding extension. | |
uint32_t | v_axis: 1 |
Same as the element in Picture coding extension. | |
uint32_t | field_sequence: 3 |
Same as the element in Picture coding extension. | |
uint32_t | sub_carrier: 1 |
Same as the element in Picture coding extension. | |
uint32_t | burst_amplitude: 7 |
Same as the element in Picture coding extension. | |
uint32_t | sub_carrier_phase: 8 |
Same as the element in Picture coding extension. | |
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.