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

`#include "il_internal.h"`

Go to the source code of this file.

## Data Structures

struct | WDPHEAD
struct | WDPIFD
struct | WDPGUID
struct | WDPIMGHEAD
struct | WDPIMGPLANE
struct | WDPDCQUANT
struct | WDPTILE

## Defines

#define | WDP_CODEC 0xF0
#define | WDP_SUBCODEC 0x0F
#define | WDP_TILING_FLAG 0x80
#define | WDP_BITSTREAM_FMT 0x40
#define | WDP_ORIENTATION 0x38
#define | WDP_INDEXTABLE 0x04
#define | WDP_OVERLAP 0x03
#define | WDP_SHORT_HEADER 0x80
#define | WDP_LONG_WORD 0x40
#define | WDP_WINDOWING 0x20
#define | WDP_TRIM_FLEXBITS 0x10
#define | WDP_TILE_STRETCH 0x08
#define | WDP_ALPHACHANNEL 0x01
#define | WDP_FORMAT 0xF0
#define | WDP_BITDEPTH 0x0F
#define | WDP_Y_ONLY 0x00
#define | WDP_YUV_420 0x01
#define | WDP_YUV_422 0x02
#define | WDP_YUV_444 0x03
#define | WDP_CMYK 0x04
#define | WDP_BAYER 0x05
#define | WDP_N_CHANNEL 0x06
#define | WDP_RGB 0x07
#define | WDP_RGBE 0x08
#define | WDP_BD_1_WHITE 0x00
#define | WDP_BD_8 0x01
#define | WDP_BD_16 0x02
#define | WDP_BD_16S 0x03
#define | WDP_BD_16F 0x04
#define | WDP_BD_32 0x05
#define | WDP_BD_32S 0x06
#define | WDP_BD_32F 0x07
#define | WDP_BD_5 0x08
#define | WDP_BD_10 0x09
#define | WDP_BD_565 0x0A
#define | WDP_BD_1_BLACK 0x0F
#define | WDP_CLR_FMT 0xE0
#define | WDP_NO_SCALED 0x10
#define | WDP_BANDS_PRESENT 0x0F
#define | WDP_NUM_CHANS 0xF0
#define | WDP_COLOR_INTERP 0x0F
#define | WDP_DC_FRAME 0x80
#define | WDP_CH_UNIFORM 0x00
#define | WDP_CH_SEPARATE 0x01
#define | WDP_CH_INDEPENDENT 0x02
#define | WDP_TILE_HASH 0xF8
#define | WDP_TILE_TYPE 0x03
#define | WDP_SPATIAL_TILE 0x00
#define | WDP_DC_TILE 0x01
#define | WDP_LOWPASS_TILE 0x02
#define | WDP_HIGHPASS_TILE 0x03
#define | WDP_FLEXBITS_TILE 0x04
#define | WDP_SB_ALL 0x00
#define | WDP_SB_NO_FLEXBITS 0x01
#define | WDP_SB_NO_HIGHPASS 0x02
#define | WDP_SB_DC_ONLY 0x03
#define | WDP_SB_ISOLATED 0x04

## Functions

ILboolean | iIsValidWdp ()
ILboolean | iCheckWdp (WDPHEAD *Header)
ILboolean | iLoadWdpInternal ()
ILuint | VLWESC ()

## Define Documentation

#define WDP_ALPHACHANNEL 0x01

Referenced by iLoadWdpInternal().

#define WDP_BANDS_PRESENT 0x0F

#define WDP_BAYER 0x05

Referenced by iLoadWdpInternal().

#define WDP_BD_10 0x09

#define WDP_BD_16 0x02

Referenced by iLoadWdpInternal().

#define WDP_BD_16F 0x04

#define WDP_BD_16S 0x03

Referenced by iLoadWdpInternal().

#define WDP_BD_1_BLACK 0x0F

#define WDP_BD_1_WHITE 0x00

#define WDP_BD_32 0x05

Referenced by iLoadWdpInternal().

#define WDP_BD_32F 0x07

Referenced by iLoadWdpInternal().

#define WDP_BD_32S 0x06

Referenced by iLoadWdpInternal().

#define WDP_BD_5 0x08

#define WDP_BD_565 0x0A

#define WDP_BD_8 0x01

#define WDP_BITDEPTH 0x0F

Referenced by iLoadWdpInternal().

#define WDP_BITSTREAM_FMT 0x40

Referenced by iLoadWdpInternal().

#define WDP_CH_INDEPENDENT 0x02

Referenced by iLoadWdpInternal().

#define WDP_CH_SEPARATE 0x01

Referenced by iLoadWdpInternal().

#define WDP_CH_UNIFORM 0x00

Referenced by iLoadWdpInternal().

#define WDP_CLR_FMT 0xE0

Referenced by iLoadWdpInternal().

#define WDP_CMYK 0x04

Referenced by iLoadWdpInternal().

#define WDP_CODEC 0xF0

Referenced by iLoadWdpInternal().

#define WDP_COLOR_INTERP 0x0F

#define WDP_DC_FRAME 0x80

Referenced by iLoadWdpInternal().

#define WDP_DC_TILE 0x01

#define WDP_FLEXBITS_TILE 0x04

Referenced by iLoadWdpInternal().

#define WDP_FORMAT 0xF0

#define WDP_HIGHPASS_TILE 0x03

#define WDP_INDEXTABLE 0x04

#define WDP_LONG_WORD 0x40

#define WDP_LOWPASS_TILE 0x02

#define WDP_N_CHANNEL 0x06

Referenced by iLoadWdpInternal().

#define WDP_NO_SCALED 0x10

#define WDP_NUM_CHANS 0xF0

Referenced by iLoadWdpInternal().

#define WDP_ORIENTATION 0x38

#define WDP_OVERLAP 0x03

#define WDP_RGB 0x07

Referenced by iLoadWdpInternal().

#define WDP_RGBE 0x08

#define WDP_SB_ALL 0x00

#define WDP_SB_DC_ONLY 0x03

#define WDP_SB_ISOLATED 0x04

#define WDP_SB_NO_FLEXBITS 0x01

#define WDP_SB_NO_HIGHPASS 0x02

#define WDP_SHORT_HEADER 0x80

Referenced by iLoadWdpInternal().

#define WDP_SPATIAL_TILE 0x00

#define WDP_SUBCODEC 0x0F

#define WDP_TILE_HASH 0xF8

#define WDP_TILE_STRETCH 0x08

#define WDP_TILE_TYPE 0x03

Referenced by iLoadWdpInternal().

#define WDP_TILING_FLAG 0x80

Referenced by iLoadWdpInternal().

#define WDP_TRIM_FLEXBITS 0x10

Referenced by iLoadWdpInternal().

#define WDP_WINDOWING 0x20

Referenced by iLoadWdpInternal().

#define WDP_Y_ONLY 0x00

Referenced by iLoadWdpInternal().

#define WDP_YUV_420 0x01

Referenced by iLoadWdpInternal().

#define WDP_YUV_422 0x02

Referenced by iLoadWdpInternal().

#define WDP_YUV_444 0x03

Referenced by iLoadWdpInternal().

## Function Documentation

ILboolean iCheckWdp | ( | WDPHEAD * | Header | ) |

Referenced by iIsValidWdp(), and iLoadWdpInternal().

ILboolean iIsValidWdp | ( |  | ) |

Referenced by ilIsValidWdpF(), and ilIsValidWdpL().

ILboolean iLoadWdpInternal | ( |  | ) |

Referenced by ilLoadWdpF(), and ilLoadWdpL().

ILuint VLWESC | ( |  | ) |