pub struct Limits {
pub max_width: u32,
pub max_height: u32,
pub max_audio_channels: u16,
pub max_sample_rate: u32,
pub max_tracks: u16,
pub max_allocation_bytes: u64,
pub max_cached_frames: u32,
pub max_decode_samples_per_seek: u32,
pub max_av1_obus_per_unit: u32,
pub max_av1_operating_points: u8,
pub max_av1_tiles_per_frame: u32,
pub max_av1_blocks_per_frame: u32,
}Expand description
Resource limits applied before media-controlled allocations occur.
Fields§
§max_width: u32§max_height: u32§max_audio_channels: u16§max_sample_rate: u32§max_tracks: u16§max_allocation_bytes: u64§max_cached_frames: u32§max_decode_samples_per_seek: u32§max_av1_obus_per_unit: u32Maximum number of OBUs accepted in one AV1 low-overhead unit.
max_av1_operating_points: u8Maximum number of operating points accepted in an AV1 sequence header.
max_av1_tiles_per_frame: u32Maximum number of AV1 tiles accepted in one coded frame.
max_av1_blocks_per_frame: u32Maximum number of 4x4 AV1 reconstruction blocks decoded per frame.
Trait Implementations§
impl Copy for Limits
impl Eq for Limits
impl StructuralPartialEq for Limits
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnsafeUnpin for Limits
impl UnwindSafe for Limits
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