VA-API
2.22.0
|
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 |
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.
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.
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.
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
.