Major indent cleanup in tuxpaint.c. hq4x code getting close.
This commit is contained in:
parent
7f9fb79d9f
commit
ce0f602b6e
5 changed files with 11002 additions and 10962 deletions
33
src/hqxx.h
33
src/hqxx.h
|
|
@ -28,22 +28,27 @@
|
|||
#include "SDL.h"
|
||||
|
||||
static int YUV1, YUV2;
|
||||
extern const int Ymask;
|
||||
extern const int Umask;
|
||||
extern const int Vmask;
|
||||
extern const int trY;
|
||||
extern const int trU;
|
||||
extern const int trV;
|
||||
|
||||
#define Ymask 0x00FF0000
|
||||
#define Umask 0x0000FF00
|
||||
#define Vmask 0x000000FF
|
||||
|
||||
#define trY 0x00300000
|
||||
#define trU 0x00000700
|
||||
#define trV 0x00000006
|
||||
|
||||
|
||||
Uint16 hqxx_getpixel(SDL_Surface * surface, int x, int y);
|
||||
void InitLUTs(int * LUT16to32, int * RGBtoYUV);
|
||||
inline void Interp1(Uint8 * pc, int c1, int c2);
|
||||
inline void Interp2(Uint8 * pc, int c1, int c2, int c3);
|
||||
inline void Interp3(Uint8 * pc, int c1, int c2);
|
||||
inline void Interp4(Uint8 * pc, int c1, int c2, int c3);
|
||||
inline void Interp5(Uint8 * pc, int c1, int c2);
|
||||
inline void Interp6(Uint8 * pc, int c1, int c2, int c3);
|
||||
inline void Interp7(Uint8 * pc, int c1, int c2, int c3);
|
||||
inline void Interp8(Uint8 * pc, int c1, int c2);
|
||||
inline void Interp0(SDL_Surface * dest, int x, int y, int c);
|
||||
inline void Interp1(SDL_Surface * dest, int x, int y, int c1, int c2);
|
||||
inline void Interp2(SDL_Surface * dest, int x, int y, int c1, int c2, int c3);
|
||||
inline void Interp3(SDL_Surface * dest, int x, int y, int c1, int c2);
|
||||
inline void Interp4(SDL_Surface * dest, int x, int y, int c1, int c2, int c3);
|
||||
inline void Interp5(SDL_Surface * dest, int x, int y, int c1, int c2);
|
||||
inline void Interp6(SDL_Surface * dest, int x, int y, int c1, int c2, int c3);
|
||||
inline void Interp7(SDL_Surface * dest, int x, int y, int c1, int c2, int c3);
|
||||
inline void Interp8(SDL_Surface * dest, int x, int y, int c1, int c2);
|
||||
inline int Diff(unsigned int w1, unsigned int w2);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue