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 that reads the source, when a media step does
rather than the clip itself: its crate::Step::node path, after a
/ for a step of the clip’s composition source (a node ID has no /,
so no path of the clip’s own composition starts with one). With the
clip it names the consumer: two steps reading one source at different
times each keep their own cursor instead of making one seek back and
forth.
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