#include "SDL_video.h"#include <cstring>#include "exult_types.h"Include dependency graph for scale.cc:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Typedefs | |
| typedef unsigned int | COMPONENT |
| End of 2xSaI code. | |
Functions | |
| template<class Source_pixel, class Dest_pixel, class Manip_pixels> | |
| Dest_pixel | Interpolate_2xSaI (Source_pixel colorA, Source_pixel colorB, const Manip_pixels &manip) |
| 2xSaI scaling filter source code adapted for Exult August 29 2000, originally written in May 1999 by Derek Liauw Kie Fa (DerekL666@yahoo.com/D.A.K.L.LiauwKieFa@student.tudelft.nl) This source is made available under the terms of the GNU GPL I'd appreciate it I am given credit in the program or documentation | |
| template<class Source_pixel, class Dest_pixel, class Manip_pixels> | |
| Dest_pixel | OInterpolate_2xSaI (Source_pixel colorA, Source_pixel colorB, Source_pixel colorC, const Manip_pixels &manip) |
| template<class Source_pixel, class Dest_pixel, class Manip_pixels> | |
| Dest_pixel | QInterpolate_2xSaI (Source_pixel colorA, Source_pixel colorB, Source_pixel colorC, Source_pixel colorD, const Manip_pixels &manip) |
| template<class Source_pixel> | |
| int | GetResult1 (Source_pixel A, Source_pixel B, Source_pixel C, Source_pixel D) |
| template<class Source_pixel> | |
| int | GetResult2 (Source_pixel A, Source_pixel B, Source_pixel C, Source_pixel D) |
| template<class Source_pixel, class Dest_pixel, class Manip_pixels> | |
| void | Scale_2xSaI (Source_pixel *source, int srcx, int srcy, int srcw, int srch, int sline_pixels, int sheight, Dest_pixel *dest, int dline_pixels, const Manip_pixels &manip) |
| template<class Source_pixel, class Dest_pixel, class Manip_pixels> | |
| void | Scale_Super2xSaI (Source_pixel *source, int srcx, int srcy, int srcw, int srch, int sline_pixels, int sheight, Dest_pixel *dest, int dline_pixels, const Manip_pixels &manip) |
| template<class Source_pixel, class Dest_pixel, class Manip_pixels> | |
| void | Scale_SuperEagle (Source_pixel *source, int srcx, int srcy, int srcw, int srch, int sline_pixels, int sheight, Dest_pixel *dest, int dline_pixels, const Manip_pixels &manip) |
| template<class Source_pixel, class Manip_pixels> | |
| void | fill_rgb_row (Source_pixel *from, int src_width, COMPONENT *row, int width, const Manip_pixels &manip) |
| template<class Source_pixel, class Dest_pixel, class Manip_pixels> | |
| void | Scale_2xBilinear (Source_pixel *source, int srcx, int srcy, int srcw, int srch, int sline_pixels, int sheight, Dest_pixel *dest, int dline_pixels, const Manip_pixels &manip) |
| template<class Source_pixel, class Dest_pixel, class Manip_pixels> | |
| void | Scale_2xBilinearPlus (Source_pixel *source, int srcx, int srcy, int srcw, int srch, int sline_pixels, int sheight, Dest_pixel *dest, int dline_pixels, const Manip_pixels &manip) |
| void | Scale_point (const unsigned char *source, const int srcx, const int srcy, const int srcw, const int srch, const int sline_pixels, const int sheight, unsigned char *dest, const int dline_pixels, const int factor) |
| void | Scale_interlace (const unsigned char *source, const int srcx, const int srcy, const int srcw, const int srch, const int sline_pixels, const int sheight, unsigned char *dest, const int dline_pixels, const int factor) |
| void | Scale2x_noblur (const unsigned char *src, const int srcx, const int srcy, const int srcw, const int srch, const int sline_pixels, const int sheight, unsigned char *dest, const int dline_pixels) |
| void fill_rgb_row | ( | Source_pixel * | from, | |
| int | src_width, | |||
| COMPONENT * | row, | |||
| int | width, | |||
| const Manip_pixels & | manip | |||
| ) | [inline] |
Definition at line 826 of file scale.cc.
Referenced by Scale_2xBilinear(), and Scale_2xBilinearPlus().
| int GetResult1 | ( | Source_pixel | A, | |
| Source_pixel | B, | |||
| Source_pixel | C, | |||
| Source_pixel | D | |||
| ) | [inline] |
| int GetResult2 | ( | Source_pixel | A, | |
| Source_pixel | B, | |||
| Source_pixel | C, | |||
| Source_pixel | D | |||
| ) | [inline] |
| Dest_pixel Interpolate_2xSaI | ( | Source_pixel | colorA, | |
| Source_pixel | colorB, | |||
| const Manip_pixels & | manip | |||
| ) | [inline] |
2xSaI scaling filter source code adapted for Exult August 29 2000, originally written in May 1999 by Derek Liauw Kie Fa (DerekL666@yahoo.com/D.A.K.L.LiauwKieFa@student.tudelft.nl) This source is made available under the terms of the GNU GPL I'd appreciate it I am given credit in the program or documentation
| Dest_pixel OInterpolate_2xSaI | ( | Source_pixel | colorA, | |
| Source_pixel | colorB, | |||
| Source_pixel | colorC, | |||
| const Manip_pixels & | manip | |||
| ) | [inline] |
| Dest_pixel QInterpolate_2xSaI | ( | Source_pixel | colorA, | |
| Source_pixel | colorB, | |||
| Source_pixel | colorC, | |||
| Source_pixel | colorD, | |||
| const Manip_pixels & | manip | |||
| ) | [inline] |
| void Scale2x_noblur | ( | const unsigned char * | src, | |
| const int | srcx, | |||
| const int | srcy, | |||
| const int | srcw, | |||
| const int | srch, | |||
| const int | sline_pixels, | |||
| const int | sheight, | |||
| unsigned char * | dest, | |||
| const int | dline_pixels | |||
| ) |
| void Scale_2xBilinear | ( | Source_pixel * | source, | |
| int | srcx, | |||
| int | srcy, | |||
| int | srcw, | |||
| int | srch, | |||
| int | sline_pixels, | |||
| int | sheight, | |||
| Dest_pixel * | dest, | |||
| int | dline_pixels, | |||
| const Manip_pixels & | manip | |||
| ) |
Definition at line 859 of file scale.cc.
References fill_rgb_row().
Here is the call graph for this function:

| void Scale_2xBilinearPlus | ( | Source_pixel * | source, | |
| int | srcx, | |||
| int | srcy, | |||
| int | srcw, | |||
| int | srch, | |||
| int | sline_pixels, | |||
| int | sheight, | |||
| Dest_pixel * | dest, | |||
| int | dline_pixels, | |||
| const Manip_pixels & | manip | |||
| ) |
Definition at line 967 of file scale.cc.
References fill_rgb_row().
Here is the call graph for this function:

| void Scale_2xSaI | ( | Source_pixel * | source, | |
| int | srcx, | |||
| int | srcy, | |||
| int | srcw, | |||
| int | srch, | |||
| int | sline_pixels, | |||
| int | sheight, | |||
| Dest_pixel * | dest, | |||
| int | dline_pixels, | |||
| const Manip_pixels & | manip | |||
| ) |
| void Scale_interlace | ( | const unsigned char * | source, | |
| const int | srcx, | |||
| const int | srcy, | |||
| const int | srcw, | |||
| const int | srch, | |||
| const int | sline_pixels, | |||
| const int | sheight, | |||
| unsigned char * | dest, | |||
| const int | dline_pixels, | |||
| const int | factor | |||
| ) |
| void Scale_point | ( | const unsigned char * | source, | |
| const int | srcx, | |||
| const int | srcy, | |||
| const int | srcw, | |||
| const int | srch, | |||
| const int | sline_pixels, | |||
| const int | sheight, | |||
| unsigned char * | dest, | |||
| const int | dline_pixels, | |||
| const int | factor | |||
| ) |
| void Scale_Super2xSaI | ( | Source_pixel * | source, | |
| int | srcx, | |||
| int | srcy, | |||
| int | srcw, | |||
| int | srch, | |||
| int | sline_pixels, | |||
| int | sheight, | |||
| Dest_pixel * | dest, | |||
| int | dline_pixels, | |||
| const Manip_pixels & | manip | |||
| ) |
| void Scale_SuperEagle | ( | Source_pixel * | source, | |
| int | srcx, | |||
| int | srcy, | |||
| int | srcw, | |||
| int | srch, | |||
| int | sline_pixels, | |||
| int | sheight, | |||
| Dest_pixel * | dest, | |||
| int | dline_pixels, | |||
| const Manip_pixels & | manip | |||
| ) |
1.5.1