diff options
| author | Max Horn | 2010-03-08 10:31:42 +0000 | 
|---|---|---|
| committer | Max Horn | 2010-03-08 10:31:42 +0000 | 
| commit | 2cdf8996f3394e3bde74eba404bdde121b41abe7 (patch) | |
| tree | 57f380925b547ee4590a45bb051cee1d014a5dff /graphics/scaler/aspect.h | |
| parent | 0fc137cdf2f04d676b196efb6bc0599efd53e84f (diff) | |
| download | scummvm-rg350-2cdf8996f3394e3bde74eba404bdde121b41abe7.tar.gz scummvm-rg350-2cdf8996f3394e3bde74eba404bdde121b41abe7.tar.bz2 scummvm-rg350-2cdf8996f3394e3bde74eba404bdde121b41abe7.zip | |
Rename PocketPCLandscapeAspect to Normal1xAspect and move it to
graphics/scaler/aspect.cpp
svn-id: r48192
Diffstat (limited to 'graphics/scaler/aspect.h')
| -rw-r--r-- | graphics/scaler/aspect.h | 17 | 
1 files changed, 15 insertions, 2 deletions
| diff --git a/graphics/scaler/aspect.h b/graphics/scaler/aspect.h index ebe922ef00..850b8f0b85 100644 --- a/graphics/scaler/aspect.h +++ b/graphics/scaler/aspect.h @@ -26,6 +26,7 @@  #define GRAPHICS_SCALER_ASPECT_H  #include "common/scummsys.h" +#include "graphics/scaler.h"  /**   * TODO: explain @@ -57,7 +58,19 @@ int stretch200To240(uint8 *buf,                      int srcY,                      int origSrcY); -// TODO: Move Normal2xAspect & PocketPCLandscapeAspect here; -// also rename the latter to Normal1xAspect + +/** + * This filter (up)scales the source image vertically by a factor of 6/5. + * For example, a 320x200 image is scaled to 320x240. + * + * The main difference to the code in graphics/scaler/aspect.cpp is the + * out-of-place operation, omitting a straight blit step the sdl backend + * does. Also, tests show unaligned access errors with the stock aspect scaler. + */ +DECLARE_SCALER(Normal1xAspect); + +#ifdef USE_ARM_SCALER_ASM +DECLARE_SCALER(Normal2xAspect); +#endif  #endif | 
