Skip to main content

score_frame

Function score_frame 

Source
pub fn score_frame(frame: &DecodedVideoFrame) -> Result<FrameScore, String>
Expand description

Scores a frame on a fixed grid of luma samples, so the score does not depend on the frame’s size.

§Errors

Returns a message when a plane is shorter than its declared layout.