![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The video scaler interface.
Scale a source image to a destination image.
Boolean Scale(Murl.ConstData srcData, Murl.MutableData dstData, Integer srcPixelSizeX, Integer srcPixelSizeY, Integer srcBytePitch, Integer dstPixelSizeX, Integer dstPixelSizeY, Integer dstBytePitch, Murl.IEnums.PixelFormat pixelFormat, Number gamma)
srcData | The source image data. |
dstData | The destination image data. |
srcPixelSizeX | The number of horizontal source pixels. |
srcPixelSizeY | The number of vertical source pixels. |
srcBytePitch | The number of source bytes per line. |
dstPixelSizeX | The number of horizontal destination pixels. |
dstPixelSizeY | The number of vertical destination pixels. |
dstBytePitch | The number of destination bytes per line. |
pixelFormat | The pixel format. |
gamma | The gamma value. Specify 1.0 to disable gamma correct scaling. |