av_image_get_buffer_size

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

extern (C) @nogc nothrow
int
av_image_get_buffer_size

Meta