VA-API  2.13.0.pre1
Public Attributes | List of all members
VAEncMiscParameterHRD Struct Reference

#include <va.h>

Public Attributes

uint32_t initial_buffer_fullness
 
uint32_t buffer_size
 
uint32_t va_reserved [VA_PADDING_LOW]
 Reserved bytes for future use, must be zero.
 

Detailed Description

HRD / VBV buffering parameters for encoding.

This sets the HRD / VBV parameters which will be used by the rate controller for encoding. It should be specified in modes using a bitrate target when the buffering of the output stream needs to be constrained.

If not provided, the encoder may use arbitrary amounts of buffering.

Member Data Documentation

◆ buffer_size

uint32_t VAEncMiscParameterHRD::buffer_size

The HRD coded picture buffer size, in bits.

For H.264, it should match the value of cpb_size_value_minus1 in the VUI parameters.

◆ initial_buffer_fullness

uint32_t VAEncMiscParameterHRD::initial_buffer_fullness

The initial fullness of the HRD coded picture buffer, in bits.

This sets how full the CPB is when encoding begins - that is, how much buffering will happen on the decoder side before the first frame. The CPB fullness will be reset to this value after any rate control reset (a change in parameters or an explicit reset).

For H.264, it should match the value of initial_cpb_removal_delay in buffering_period SEI messages.


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