Function cros_codecs::decoded_frame_size
source · [−]pub fn decoded_frame_size(format: DecodedFormat, width: u16, height: u16) -> usize
Expand description
Returns the size required to store a frame of format
with size width
xheight
, without any
padding. This is the minimum size of the destination buffer passed to nv12_copy
or
i420_copy
.