Function av_image_get_buffer_size
pub unsafe extern "C" fn av_image_get_buffer_size(
pix_fmt: i32,
width: i32,
height: i32,
align: i32,
) -> i32
Expand description
Return the size in bytes of the amount of data required to store an image with the given parameters.
@param pix_fmt the pixel format of the image @param width the width of the image in pixels @param height the height of the image in pixels @param align the assumed linesize alignment @return the buffer size in bytes, a negative error code in case of failure