pub fn coded_size(frame: &DecodedVideoFrame) -> Result<RenderSize, String>
The size of frame’s first plane.
frame
A frame without planes, or of a size the renderer refuses.