decoded_frame_size

Function decoded_frame_size 

Source
pub fn decoded_frame_size(
    format: DecodedFormat,
    width: usize,
    height: usize,
) -> usize
Expand description

Returns the size required to store a frame of format with size widthxheight, without any padding. This is the minimum size of the destination buffer passed to nv12_copy or i420_copy.