avpicture_get_size

Calculate the size in bytes that a picture of the given width and height would occupy if stored in the given picture format.

@param pix_fmt picture pixel format @param width picture width @param height picture height @return the computed picture buffer size or a negative error code in case of error

@see av_image_get_buffer_size().

@nogc nothrow extern (C)
int
avpicture_get_size

Meta