pub struct CodecThreadRequest {
pub decode_concurrency: usize,
pub hardware_decode: bool,
pub source_frame_pixels: u64,
pub software_video_encoder: bool,
}Expand description
What one export needs from the shared software-codec worker budget.
Fields§
§decode_concurrency: usizeDecoder contexts the pool may run at once.
hardware_decode: boolWhether decode sessions produce device-resident frames.
source_frame_pixels: u64Luma samples in the largest video source, or zero when unknown.
software_video_encoder: boolWhether the video encoder draws on this budget.
Trait Implementations§
Source§impl Clone for CodecThreadRequest
impl Clone for CodecThreadRequest
impl Copy for CodecThreadRequest
Source§impl Debug for CodecThreadRequest
impl Debug for CodecThreadRequest
impl Eq for CodecThreadRequest
Source§impl PartialEq for CodecThreadRequest
impl PartialEq for CodecThreadRequest
impl StructuralPartialEq for CodecThreadRequest
Auto Trait Implementations§
impl Freeze for CodecThreadRequest
impl RefUnwindSafe for CodecThreadRequest
impl Send for CodecThreadRequest
impl Sync for CodecThreadRequest
impl Unpin for CodecThreadRequest
impl UnsafeUnpin for CodecThreadRequest
impl UnwindSafe for CodecThreadRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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
Compare self to
key and return true if they are equal.