The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Typedefs | Enumerations | Functions
xbrz.hpp File Reference
#include <cstddef>
#include <boost/cstdint.hpp>
#include <limits>
#include "config.hpp"
Include dependency graph for xbrz.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 xbrz
 

Typedefs

typedef boost::uint32_t uint32_t
 

Enumerations

enum  xbrz::SliceType { xbrz::NN_SCALE_SLICE_SOURCE, xbrz::NN_SCALE_SLICE_TARGET }
 

Functions

void xbrz::scale (size_t factor, const uint32_t *src, uint32_t *trg, int srcWidth, int srcHeight, const ScalerCfg &cfg=ScalerCfg(), int yFirst=0, int yLast=std::numeric_limits< int >::max())
 
void xbrz::nearestNeighborScale (const uint32_t *src, int srcWidth, int srcHeight, uint32_t *trg, int trgWidth, int trgHeight)
 
void xbrz::nearestNeighborScale (const uint32_t *src, int srcWidth, int srcHeight, int srcPitch, uint32_t *trg, int trgWidth, int trgHeight, int trgPitch, SliceType st, int yFirst, int yLast)
 
bool xbrz::equalColor (uint32_t col1, uint32_t col2, double luminanceWeight, double equalColorTolerance)
 

Typedef Documentation

typedef boost::uint32_t uint32_t

Definition at line 45 of file xbrz.hpp.