doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
Image_process.cpp File Reference
#include "../idlib/precompiled.h"
#include "tr_local.h"

Go to the source code of this file.

Macros

#define MAX_DIMENSION   4096
 
#define MIP_MIN(a, b)   (a<b?a:b)
 

Functions

byteR_ResampleTexture (const byte *in, int inwidth, int inheight, int outwidth, int outheight)
 
byteR_Dropsample (const byte *in, int inwidth, int inheight, int outwidth, int outheight)
 
void R_SetBorderTexels (byte *inBase, int width, int height, const byte border[4])
 
void R_SetBorderTexels3D (byte *inBase, int width, int height, int depth, const byte border[4])
 
void R_SetAlphaNormalDivergence (byte *in, int width, int height)
 
byteR_MipMapWithAlphaSpecularity (const byte *in, int width, int height)
 
byteR_MipMap (const byte *in, int width, int height, bool preserveBorder)
 
byteR_MipMap3D (const byte *in, int width, int height, int depth, bool preserveBorder)
 
void R_BlendOverTexture (byte *data, int pixelCount, const byte blend[4])
 
void R_HorizontalFlip (byte *data, int width, int height)
 
void R_VerticalFlip (byte *data, int width, int height)
 
void R_RotatePic (byte *data, int width)
 

Macro Definition Documentation

#define MAX_DIMENSION   4096

Definition at line 46 of file Image_process.cpp.

#define MIP_MIN (   a,
  b 
)    (a<b?a:b)

Definition at line 305 of file Image_process.cpp.

Function Documentation

void R_BlendOverTexture ( byte data,
int  pixelCount,
const byte  blend[4] 
)

Definition at line 554 of file Image_process.cpp.

byte* R_Dropsample ( const byte in,
int  inwidth,
int  inheight,
int  outwidth,
int  outheight 
)

Definition at line 106 of file Image_process.cpp.

void R_HorizontalFlip ( byte data,
int  width,
int  height 
)

Definition at line 579 of file Image_process.cpp.

byte* R_MipMap ( const byte in,
int  width,
int  height,
bool  preserveBorder 
)

Definition at line 396 of file Image_process.cpp.

byte* R_MipMap3D ( const byte in,
int  width,
int  height,
int  depth,
bool  preserveBorder 
)

Definition at line 481 of file Image_process.cpp.

byte* R_MipMapWithAlphaSpecularity ( const byte in,
int  width,
int  height 
)

Definition at line 307 of file Image_process.cpp.

byte* R_ResampleTexture ( const byte in,
int  inwidth,
int  inheight,
int  outwidth,
int  outheight 
)

Definition at line 47 of file Image_process.cpp.

void R_RotatePic ( byte data,
int  width 
)

Definition at line 605 of file Image_process.cpp.

void R_SetAlphaNormalDivergence ( byte in,
int  width,
int  height 
)

Definition at line 255 of file Image_process.cpp.

void R_SetBorderTexels ( byte inBase,
int  width,
int  height,
const byte  border[4] 
)

Definition at line 138 of file Image_process.cpp.

void R_SetBorderTexels3D ( byte inBase,
int  width,
int  height,
int  depth,
const byte  border[4] 
)

Definition at line 178 of file Image_process.cpp.

void R_VerticalFlip ( byte data,
int  width,
int  height 
)

Definition at line 592 of file Image_process.cpp.