pub struct HrdParams {
pub cpb_cnt_minus1: u8,
pub bit_rate_scale: u8,
pub cpb_size_scale: u8,
pub bit_rate_value_minus1: [u32; 32],
pub cpb_size_value_minus1: [u32; 32],
pub cbr_flag: [bool; 32],
pub initial_cpb_removal_delay_length_minus1: u8,
pub cpb_removal_delay_length_minus1: u8,
pub dpb_output_delay_length_minus1: u8,
pub time_offset_length: u8,
}Fields§
§cpb_cnt_minus1: u8Plus 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: u8Together with bit_rate_value_minus1[ SchedSelIdx ] specifies the
maximum input bit rate of the SchedSelIdx-th CPB.
cpb_size_scale: u8Together 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: u8Specifies 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: u8Specifies the length in bits of the cpb_removal_delay syntax element.
dpb_output_delay_length_minus1: u8Specifies the length in bits of the dpb_output_delay syntax element.
time_offset_length: u8If 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
Trait Implementations§
impl Eq for HrdParams
impl StructuralPartialEq for HrdParams
Auto Trait Implementations§
impl Freeze for HrdParams
impl RefUnwindSafe for HrdParams
impl Send for HrdParams
impl Sync for HrdParams
impl Unpin for HrdParams
impl UnsafeUnpin for HrdParams
impl UnwindSafe for HrdParams
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more