Struct rsmpeg::ffi::AVCPBProperties [−][src]
#[repr(C)]pub struct AVCPBProperties { pub max_bitrate: i32, pub min_bitrate: i32, pub avg_bitrate: i32, pub buffer_size: i32, 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: i32
min_bitrate: i32
avg_bitrate: i32
buffer_size: i32
Expand description
The size of the buffer to which the ratecontrol is applied, in bits. Zero if unknown or unspecified.
vbv_delay: u64
Expand description
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
[src]
impl Clone for AVCPBProperties
[src]pub fn clone(&self) -> AVCPBProperties
[src]
pub fn clone(&self) -> AVCPBProperties
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for AVCPBProperties
[src]
impl Debug for AVCPBProperties
[src]impl Copy for AVCPBProperties
[src]
Auto Trait Implementations
impl RefUnwindSafe for AVCPBProperties
impl Send for AVCPBProperties
impl Sync for AVCPBProperties
impl Unpin for AVCPBProperties
impl UnwindSafe for AVCPBProperties
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more