tjBufSizeYUV

The size of the buffer (in bytes) required to hold a YUV planar image with the given parameters.

@param width width of the image (in pixels) @param height height of the image (in pixels) @param subsamp level of chrominance subsampling in the image (see @ref TJSAMP "Chrominance subsampling options".)

@return the size of the buffer (in bytes) required to hold the image, or -1 if the arguments are out of bounds.

extern (C)
c_ulong
tjBufSizeYUV
(
int width
,
int height
,)

Meta