![]() |
Murl Engine API
Version 2018.3
|
The box video scaler class uses the BoxFilter and supports optimized scaling to half of the size. More...
#include <murl_util_video_scaler.h>
The box video scaler class uses the BoxFilter and supports optimized scaling to half of the size.
Public Member Functions | |
BoxVideoScaler () | |
The default constructor. More... | |
BoxVideoScaler (Double filterWidth) | |
Constructor taking the filter width value. More... | |
![]() | |
VideoScaler (const IFilter *filter) | |
Constructor creating a scaler using a specified filter. More... | |
virtual | ~VideoScaler () |
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 |
Implementation of IVideoScaler::Scale(). More... | |
![]() | |
virtual | ~IVideoScaler () |
The destructor. | |
Protected Member Functions | |
virtual Bool | ScaleFast (const ConstData &srcData, const MutableData &dstData, UInt32 srcPixelSizeX, UInt32 srcPixelSizeY, UInt32 srcBytePitch, UInt32 dstPixelSizeX, UInt32 dstPixelSizeY, UInt32 dstBytePitch, IEnums::PixelFormat pixelFormat, Real gamma) const |
Optimized scaling to a quarter of the original size (half width and height). More... | |
Murl::Util::BoxVideoScaler::BoxVideoScaler | ( | ) |
The default constructor.
Create a BoxFilter having width 0.5.
Murl::Util::BoxVideoScaler::BoxVideoScaler | ( | Double | filterWidth | ) |
Constructor taking the filter width value.
filterWidth | The BoxFilter width. |
|
protectedvirtual |
Optimized scaling to a quarter of the original size (half width and height).
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. |
Reimplemented from Murl::Util::VideoScaler.