sws_getContext

Allocate and return an SwsContext. You need it to perform scaling/conversion operations using sws_scale().

@param srcW the width of the source image @param srcH the height of the source image @param srcFormat the source image format @param dstW the width of the destination image @param dstH the height of the destination image @param dstFormat the destination image format @param flags specify which algorithm and options to use for rescaling @return a pointer to an allocated context, or NULL in case of error @note this function is to be removed after a saner alternative is written

@nogc nothrow extern (C)
sws_getContext
(
int srcW
,
int srcH
,
const AVPixelFormat srcFormat
,
int dstW
,
int dstH
,
const AVPixelFormat dstFormat
,
int flags
,,,
const double* param
)

Meta