VA-API  2.19.0
Public Attributes | List of all members
VAEncMacroblockParameterBufferH264 Struct Reference

Macroblock parameter for H.264 encoding in baseline, main & high profiles. More...

#include <va_enc_h264.h>

Public Attributes

uint8_t qp
 Quantization parameter. More...
 
uint32_t va_reserved [VA_PADDING_LOW]
 Reserved bytes for future use, must be zero.
 
uint32_t pred_avail_override_flag: 1
 Flag specified to override MB neighbour availability bits from VME stage. More...
 
uint32_t pred_avail_flags: 8
 Bitwise representation of which macroblocks are available for intra prediction. More...
 
Data for intra macroblock
Data for inter macroblock

Detailed Description

Macroblock parameter for H.264 encoding in baseline, main & high profiles.

This structure holds per-macroblock information. The buffer must be allocated with as many elements (macroblocks) as necessary to fit the slice to be encoded. Besides, the per-macroblock records must be written in a strict raster order and with no gap. i.e. every macroblock, regardless of its type, shall have an entry.

Member Data Documentation

◆ pred_avail_flags

uint32_t VAEncMacroblockParameterBufferH264::pred_avail_flags

Bitwise representation of which macroblocks are available for intra prediction.

If the slice is intra-coded, this field represents the macroblocks available for intra prediction. See macroblock neighbour availability bit definitions.

◆ pred_avail_override_flag

uint32_t VAEncMacroblockParameterBufferH264::pred_avail_override_flag

Flag specified to override MB neighbour availability bits from VME stage.

This flag specifies that macroblock neighbour availability bits from the VME stage are overriden by the pred_avail_flags hereunder.

◆ qp

uint8_t VAEncMacroblockParameterBufferH264::qp

Quantization parameter.

Requested quantization parameter. Range: 0 to 51, inclusive. If qp is set to 0xff, then the actual value is derived from the slice-level value: pic_init_qp + slice_qp_delta.


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