![]() |
Murl Engine API
Version 2018.3
|
The video scaler interface. More...
#include <murl_i_video_scaler.h>
The video scaler interface.
Public Member Functions | |
virtual | ~IVideoScaler () |
The destructor. | |
virtual Bool | Scale (const ConstData &srcData, const MutableData &dstData, UInt32 srcPixelSizeX, UInt32 srcPixelSizeY, UInt32 srcBytePitch, UInt32 dstPixelSizeX, UInt32 dstPixelSizeY, UInt32 dstBytePitch, IEnums::PixelFormat pixelFormat, Real gamma) const =0 |
Scale a source image to a destination image. More... | |
|
pure virtual |
Scale a source image to a destination image.
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. |
Implemented in Murl::Util::VideoScaler.