pub struct HrdParams {
    cpb_cnt_minus1: u8,
    bit_rate_scale: u8,
    cpb_size_scale: u8,
    bit_rate_value_minus1: [u32; 32],
    cpb_size_value_minus1: [u32; 32],
    cbr_flag: [bool; 32],
    initial_cpb_removal_delay_length_minus1: u8,
    cpb_removal_delay_length_minus1: u8,
    dpb_output_delay_length_minus1: u8,
    time_offset_length: u8,
}

Fields

cpb_cnt_minus1: u8

Plus 1 specifies the number of alternative CPB specifications in the bitstream. The value of cpb_cnt_minus1 shall be in the range of 0 to 31, inclusive

bit_rate_scale: u8

Together with bit_rate_value_minus1[ SchedSelIdx ] specifies the maximum input bit rate of the SchedSelIdx-th CPB.

cpb_size_scale: u8

Together with cpb_size_value_minus1[ SchedSelIdx ] specifies the CPB size of the SchedSelIdx-th CPB.

bit_rate_value_minus1: [u32; 32]

[ SchedSelIdx ] (together with bit_rate_scale) specifies the maximum input bit rate for the SchedSelIdx-th CPB.

cpb_size_value_minus1: [u32; 32]

[ SchedSelIdx ] is used together with cpb_size_scale to specify the SchedSelIdx-th CPB size.

cbr_flag: [bool; 32]

[ SchedSelIdx ] equal to 0 specifies that to decode this bitstream by the HRD using the SchedSelIdx-th CPB specification, the hypothetical stream delivery scheduler (HSS) operates in an intermittent bit rate mode. cbr_flag[ SchedSelIdx ] equal to 1 specifies that the HSS operates in a constant bit rate (CBR) mode

initial_cpb_removal_delay_length_minus1: u8

Specifies the length in bits of the initial_cpb_removal_delay[ SchedSelIdx ] and initial_cpb_removal_delay_offset[ SchedSelIdx ] syntax elements of the buffering period SEI message.

cpb_removal_delay_length_minus1: u8

Specifies the length in bits of the cpb_removal_delay syntax element.

dpb_output_delay_length_minus1: u8

Specifies the length in bits of the dpb_output_delay syntax element.

time_offset_length: u8

If greater than 0, specifies the length in bits of the time_offset syntax element. time_offset_length equal to 0 specifies that the time_offset syntax element is not present

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.