# E:/DevIL/src-IL/include/il_rle.h File Reference

`#include "il_internal.h"`

Go to the source code of this file.

## Defines

#define | TGA_MAX_RUN 128
#define | SGI_MAX_RUN 127
#define | BMP_MAX_RUN 127

## Functions

INLINE ILuint | GetPix (ILubyte *p, ILuint bpp)
INLINE ILint | CountDiffPixels (ILubyte *p, ILuint bpp, ILuint pixCnt)
INLINE ILint | CountSamePixels (ILubyte *p, ILuint bpp, ILuint pixCnt)

## Define Documentation

#define BMP_MAX_RUN 127

Referenced by ilRleCompressLine().

#define SGI_MAX_RUN 127

Referenced by ilRleCompressLine().

#define TGA_MAX_RUN 128

Referenced by ilRleCompressLine().

## Function Documentation

ILint CountDiffPixels | ( | ILubyte * | p,
|  | ILuint | bpp,
|  | ILuint | pixCnt |
| ) |  |  |

Referenced by ilRleCompressLine().

ILint CountSamePixels | ( | ILubyte * | p,
|  | ILuint | bpp,
|  | ILuint | pixCnt |
| ) |  |  |

Referenced by ilRleCompressLine().

ILuint GetPix | ( | ILubyte * | p,
|  | ILuint | bpp |
| ) |  |  |

Referenced by CountDiffPixels(), and CountSamePixels().