Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate<'a>(
    project: &Project,
    index: &'a ActiveIndex,
    time: MediaTime,
) -> Result<FrameDesc<'a>, EvalError>
Expand description

Evaluates visual and audio clip descriptions at one timeline timestamp.

The description borrows identities and effects from index. Its vectors are sized exactly, so an evaluation allocates at most one scratch list and one list per non-empty field.

ยงErrors

Returns an error for mismatched indexes or unrepresentable retiming.