VA-API  2.13.0.pre1
Classes | Enumerations
HEVC encoding API

Classes

union  VAConfigAttribValEncHEVCFeatures
 
union  VAConfigAttribValEncHEVCBlockSizes
 
struct  VAEncSequenceParameterBufferHEVC
 Sequence parameter for HEVC encoding in main & main 10 profiles. More...
 
struct  VAEncPictureParameterBufferHEVC
 Picture parameter for HEVC encoding in main & main 10 profiles. More...
 
struct  VAEncSliceParameterBufferHEVC
 Slice parameter for HEVC encoding in main & main 10 profiles. More...
 
struct  VAQMatrixBufferHEVC
 HEVC Quantization Matrix Buffer Structure. More...
 

Enumerations

enum  VAEncPackedHeaderTypeHEVC {
  VAEncPackedHeaderHEVC_VPS = VAEncPackedHeaderSequence, VAEncPackedHeaderHEVC_SPS = VAEncPackedHeaderSequence, VAEncPackedHeaderHEVC_PPS = VAEncPackedHeaderPicture, VAEncPackedHeaderHEVC_Slice = VAEncPackedHeaderSlice,
  va_deprecated_enum = (0x80000000 | 1)
}
 Packed header types specific to HEVC encoding. More...
 

Picture flags

Those flags flags are meant to signal when a picture marks the end of a sequence, a stream, or even both at once.

#define HEVC_LAST_PICTURE_EOSEQ   0x01
 Marks the last picture in the sequence. More...
 
#define HEVC_LAST_PICTURE_EOSTREAM   0x02
 Marks the last picture in the stream. More...
 

Detailed Description

Macro Definition Documentation

◆ HEVC_LAST_PICTURE_EOSEQ

#define HEVC_LAST_PICTURE_EOSEQ   0x01

Marks the last picture in the sequence.

i.e. the driver appends end_of_seq() NAL unit to the encoded frame.

◆ HEVC_LAST_PICTURE_EOSTREAM

#define HEVC_LAST_PICTURE_EOSTREAM   0x02

Marks the last picture in the stream.

i.e. the driver appends end_of_stream() NAL unit to the encoded frame.

Enumeration Type Documentation

◆ VAEncPackedHeaderTypeHEVC

Packed header types specific to HEVC encoding.

Types of packed headers generally used for HEVC encoding. Each associated packed header data buffer shall contain the start code prefix 0x000001 followed by the complete NAL unit, thus also including the nal_unit_type.

Note: the start code prefix can contain an arbitrary number of leading zeros. The driver will skip them for emulation prevention bytes insertion, if necessary.

Enumerator
VAEncPackedHeaderHEVC_VPS 

Packed Video Parameter Set (VPS).

The corresponding packed header data buffer shall contain the complete video_parameter_set_rbsp() syntax element.

Note: packed nal_unit_type shall be equal to 32.

VAEncPackedHeaderHEVC_SPS 

Packed Sequence Parameter Set (SPS).

The corresponding packed header data buffer shall contain the complete seq_parameter_set_rbsp() syntax element.

Note: packed nal_unit_type shall be equal to 33.

VAEncPackedHeaderHEVC_PPS 

Packed Picture Parameter Set (PPS).

The corresponding packed header data buffer shall contain the complete pic_parameter_set_rbsp() syntax element.

Note: packed nal_unit_type shall be equal to 34.

VAEncPackedHeaderHEVC_Slice 

Packed slice header.

The corresponding packed header data buffer shall contain the slice_header() syntax element only, along with any start code prefix and NAL unit type preceeding it. i.e. this means that the buffer does not contain any of the slice_data() or the rbsp_slice_trailing_bits().

Note: packed nal_unit_type shall be equal to 0 to 9 (non-IRAP picture), or 16 to 21 (IRAP picture).

va_deprecated_enum 

Packed Supplemental Enhancement Information (SEI).

The corresponding packed header data buffer shall contain the complete sei_rbsp() syntax element, thus including several sei_message() elements if necessary.

Note: packed nal_unit_type shall be equal to 39 or 40.

Deprecated:
This is a deprecated packed header flag, All applications can use VA_ENC_PACKED_HEADER_RAW_DATA to pass the corresponding packed SEI header data buffer to the driver