Struct AVCPBProperties
#[repr(C)]pub struct AVCPBProperties {
pub max_bitrate: i64,
pub min_bitrate: i64,
pub avg_bitrate: i64,
pub buffer_size: i64,
pub vbv_delay: u64,
}
Expand description
This structure describes the bitrate properties of an encoded bitstream. It roughly corresponds to a subset the VBV parameters for MPEG-2 or HRD parameters for H.264/HEVC.
Fields§
§max_bitrate: i64
Maximum bitrate of the stream, in bits per second. Zero if unknown or unspecified.
min_bitrate: i64
Minimum bitrate of the stream, in bits per second. Zero if unknown or unspecified.
avg_bitrate: i64
Average bitrate of the stream, in bits per second. Zero if unknown or unspecified.
buffer_size: i64
The size of the buffer to which the ratecontrol is applied, in bits. Zero if unknown or unspecified.
vbv_delay: u64
The delay between the time the packet this structure is associated with is received and the time when it should be decoded, in periods of a 27MHz clock.
UINT64_MAX when unknown or unspecified.
Trait Implementations§
§impl Clone for AVCPBProperties
impl Clone for AVCPBProperties
§fn clone(&self) -> AVCPBProperties
fn clone(&self) -> AVCPBProperties
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for AVCPBProperties
impl Debug for AVCPBProperties
impl Copy for AVCPBProperties
Auto Trait Implementations§
impl Freeze for AVCPBProperties
impl RefUnwindSafe for AVCPBProperties
impl Send for AVCPBProperties
impl Sync for AVCPBProperties
impl Unpin for AVCPBProperties
impl UnwindSafe for AVCPBProperties
Blanket Implementations§
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
Mutably borrows from an owned value. Read more