#[repr(C)]pub struct _VAEncMiscParameterHRD {
pub initial_buffer_fullness: u32,
pub buffer_size: u32,
pub va_reserved: [u32; 4],
}Expand 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.
Fields§
§initial_buffer_fullness: u32The 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.
buffer_size: u32The HRD coded picture buffer size, in bits.
For H.264, it should match the value of cpb_size_value_minus1 in the VUI parameters.
va_reserved: [u32; 4]\brief Reserved bytes for future use, must be zero
Trait Implementations§
Source§impl Clone for _VAEncMiscParameterHRD
impl Clone for _VAEncMiscParameterHRD
Source§fn clone(&self) -> _VAEncMiscParameterHRD
fn clone(&self) -> _VAEncMiscParameterHRD
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for _VAEncMiscParameterHRD
Source§impl Debug for _VAEncMiscParameterHRD
impl Debug for _VAEncMiscParameterHRD
Source§impl Default for _VAEncMiscParameterHRD
impl Default for _VAEncMiscParameterHRD
Source§fn default() -> _VAEncMiscParameterHRD
fn default() -> _VAEncMiscParameterHRD
impl Eq for _VAEncMiscParameterHRD
Source§impl PartialEq for _VAEncMiscParameterHRD
impl PartialEq for _VAEncMiscParameterHRD
Source§fn eq(&self, other: &_VAEncMiscParameterHRD) -> bool
fn eq(&self, other: &_VAEncMiscParameterHRD) -> bool
self and other values to be equal, and is used by ==.