#include "imagefilters.h"#include "util/numeric.h"#include <cmath>#include <cassert>#include <vector>#include <algorithm>#include <IVideoDriver.h>
Include dependency graph for imagefilters.cpp:Classes | |
| class | Bitmap |
Functions | |
| template<bool IS_A8R8G8B8> | |
| static void | imageCleanTransparentWithInlining (video::IImage *src, u32 threshold) |
| void | imageCleanTransparent (video::IImage *src, u32 threshold) |
| template<bool IS_A8R8G8B8> | |
| static video::SColor | imageAverageColorInline (const video::IImage *src) |
| video::SColor | imageAverageColor (const video::IImage *img) |
| void | imageScaleNNAA (video::IImage *src, const core::rect< s32 > &srcrect, video::IImage *dest) |
| video::IImage * | Align2Npot2 (video::IImage *image, video::IVideoDriver *driver) |
| video::IImage * Align2Npot2 | ( | video::IImage * | image, |
| video::IVideoDriver * | driver ) |
References npot2().
Referenced by TextureSource::generateTexture(), MenuTextureSource::getTexture(), and TextureSource::rebuildTexture().
Here is the call graph for this function:
Here is the caller graph for this function:| video::SColor imageAverageColor | ( | const video::IImage * | img | ) |
References imageAverageColorInline().
Referenced by TextureSource::getTextureAverageColor().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| void imageCleanTransparent | ( | video::IImage * | src, |
| u32 | threshold ) |
References imageCleanTransparentWithInlining().
Referenced by ImageSource::generateImagePart(), and guiScalingResizeCached().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References Bitmap::all(), Bitmap::copy(), Bitmap::get(), Bitmap::set(), x, and y.
Referenced by imageCleanTransparent().
Here is the call graph for this function:
Here is the caller graph for this function:| void imageScaleNNAA | ( | video::IImage * | src, |
| const core::rect< s32 > & | srcrect, | ||
| video::IImage * | dest ) |
References rangelim, and SWAP.
Referenced by guiScalingResizeCached().
Here is the caller graph for this function: