pub struct FrameNeed {
pub clip_id: ClipId,
pub reader: Option<NodeId>,
pub source_id: SourceId,
pub media_time: MediaTime,
}Expand description
A source-frame request emitted for host prefetch and decode scheduling.
Fields§
§clip_id: ClipIdClip consumer that owns the sequential decoder cursor.
Multiple clips may read the same source at unrelated timestamps. Hosts must not make those clips share one seek position.
reader: Option<NodeId>The composition step reading the source, if not the clip itself: its
crate::Step::node path, prefixed with / for steps of a composition source. Each
(clip, reader) pair keeps its own decoder cursor.
source_id: SourceIdSource to decode or retrieve.
media_time: MediaTimeTimestamp requested on the source timeline.
Trait Implementations§
impl Eq for FrameNeed
impl StructuralPartialEq for FrameNeed
Auto Trait Implementations§
impl Freeze for FrameNeed
impl RefUnwindSafe for FrameNeed
impl Send for FrameNeed
impl Sync for FrameNeed
impl Unpin for FrameNeed
impl UnsafeUnpin for FrameNeed
impl UnwindSafe for FrameNeed
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