added dependencies and build files (loosely inspired by Sebastian Dorda's love-native-android)
@@ -0,0 +1,674 @@
|
||||
# Makefile.in generated by automake 1.10.1 from Makefile.am.
|
||||
# docs/Makefile. Generated from Makefile.in by configure.
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
|
||||
pkgdatadir = $(datadir)/devil
|
||||
pkglibdir = $(libdir)/devil
|
||||
pkgincludedir = $(includedir)/devil
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = i686-pc-linux-gnu
|
||||
host_triplet = i686-pc-linux-gnu
|
||||
subdir = docs
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
|
||||
$(srcdir)/stamp-vti $(srcdir)/version.texi
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \
|
||||
$(top_srcdir)/m4/allegro.m4 $(top_srcdir)/m4/ax_check_gl.m4 \
|
||||
$(top_srcdir)/m4/ax_check_glu.m4 \
|
||||
$(top_srcdir)/m4/ax_check_glut.m4 \
|
||||
$(top_srcdir)/m4/ax_lang_compiler_ms.m4 \
|
||||
$(top_srcdir)/m4/devil-api_checks.m4 \
|
||||
$(top_srcdir)/m4/devil-definitions.m4 \
|
||||
$(top_srcdir)/m4/devil-report.m4 $(top_srcdir)/m4/libtool.m4 \
|
||||
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
|
||||
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
|
||||
$(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/sdl.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/include/IL/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
INFO_DEPS = $(srcdir)/DevIL_manual.info
|
||||
TEXINFO_TEX = $(top_srcdir)/build-aux/texinfo.tex
|
||||
am__TEXINFO_TEX_DIR = $(top_srcdir)/build-aux
|
||||
DVIS = DevIL_manual.dvi
|
||||
PDFS = DevIL_manual.pdf
|
||||
PSS = DevIL_manual.ps
|
||||
HTMLS = DevIL_manual.html
|
||||
TEXINFOS = DevIL_manual.texi
|
||||
TEXI2DVI = texi2dvi
|
||||
TEXI2PDF = $(TEXI2DVI) --pdf --batch
|
||||
MAKEINFOHTML = $(MAKEINFO) --html
|
||||
AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
|
||||
DVIPS = dvips
|
||||
am__installdirs = "$(DESTDIR)$(infodir)"
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = ${SHELL} /home/hagish/workspace/adt/love-native-android/jni/devil-1.7.8/build-aux/missing --run aclocal-1.10
|
||||
ALLEGRO_CONFIG =
|
||||
AMTAR = ${SHELL} /home/hagish/workspace/adt/love-native-android/jni/devil-1.7.8/build-aux/missing --run tar
|
||||
AR = ar
|
||||
AS = as
|
||||
AUTOCONF = ${SHELL} /home/hagish/workspace/adt/love-native-android/jni/devil-1.7.8/build-aux/missing --run autoconf
|
||||
AUTOHEADER = ${SHELL} /home/hagish/workspace/adt/love-native-android/jni/devil-1.7.8/build-aux/missing --run autoheader
|
||||
AUTOMAKE = ${SHELL} /home/hagish/workspace/adt/love-native-android/jni/devil-1.7.8/build-aux/missing --run automake-1.10
|
||||
AWK = gawk
|
||||
CC = gcc
|
||||
CCDEPMODE = depmode=gcc3
|
||||
CFLAGS = -g -O2
|
||||
CPP = gcc -E
|
||||
CPPFLAGS =
|
||||
CXX = g++
|
||||
CXXCPP = g++ -E
|
||||
CXXDEPMODE = depmode=gcc3
|
||||
CXXFLAGS = -O3
|
||||
CYGPATH_W = echo
|
||||
DEFS = -DHAVE_CONFIG_H
|
||||
DEPDIR = .deps
|
||||
DEVIL_LTVERSION = 2:0:1
|
||||
DLLTOOL = dlltool
|
||||
DSYMUTIL =
|
||||
DUMPBIN =
|
||||
ECHO_C =
|
||||
ECHO_N = -n
|
||||
ECHO_T =
|
||||
EGREP = /bin/grep -E
|
||||
EXEEXT =
|
||||
FGREP = /bin/grep -F
|
||||
GENERAL_CFLAGS = -msse -msse2 -msse3
|
||||
GLUT_CFLAGS =
|
||||
GLUT_LIBS =
|
||||
GLU_CFLAGS =
|
||||
GLU_LIBS =
|
||||
GL_CFLAGS =
|
||||
GL_LIBS =
|
||||
GREP = /bin/grep
|
||||
ILUT_CFLAGS =
|
||||
ILUT_LIBS =
|
||||
ILU_CFLAGS =
|
||||
ILU_LIBS =
|
||||
IL_CFLAGS =
|
||||
IL_LIBS = -ltiff -lpng12 -lmng -llcms -ljasper -ljpeg
|
||||
INSTALL = /usr/bin/install -c
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
INSTALL_PROGRAM = ${INSTALL}
|
||||
INSTALL_SCRIPT = ${INSTALL}
|
||||
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
|
||||
LD = /usr/bin/ld
|
||||
LDFLAGS =
|
||||
LIBILUT_WIN32LIBPATH =
|
||||
LIBOBJS =
|
||||
LIBS = -lm -lz
|
||||
LIBTOOL = $(SHELL) $(top_builddir)/libtool
|
||||
LIPO =
|
||||
LN_S = ln -s
|
||||
LTLIBOBJS =
|
||||
MAKEINFO = ${SHELL} /home/hagish/workspace/adt/love-native-android/jni/devil-1.7.8/build-aux/missing --run makeinfo
|
||||
MKDIR_P = /bin/mkdir -p
|
||||
NM = /usr/bin/nm -B
|
||||
NMEDIT =
|
||||
OBJDUMP = objdump
|
||||
OBJEXT = o
|
||||
OPENEXR_CFLAGS =
|
||||
OPENEXR_LIBS =
|
||||
OTOOL =
|
||||
OTOOL64 =
|
||||
PACKAGE = devil
|
||||
PACKAGE_BUGREPORT = bubla@users.sourceforge.net
|
||||
PACKAGE_NAME = DevIL
|
||||
PACKAGE_STRING = DevIL 1.7.8
|
||||
PACKAGE_TARNAME = devil
|
||||
PACKAGE_VERSION = 1.7.8
|
||||
PATH_SEPARATOR = :
|
||||
PKG_CONFIG = /usr/bin/pkg-config
|
||||
PLATFORM =
|
||||
PTHREAD_CC = gcc
|
||||
PTHREAD_CFLAGS = -pthread
|
||||
PTHREAD_LIBS =
|
||||
RANLIB = ranlib
|
||||
SDL_CFLAGS =
|
||||
SDL_CONFIG =
|
||||
SDL_LIBS =
|
||||
SED = /bin/sed
|
||||
SET_MAKE =
|
||||
SHELL = /bin/bash
|
||||
STRIP = strip
|
||||
SUPPORTED_FORMATS = BLP BMP DCX DDS DICOM WAD FITS GIF HDR ICNS ICON IFF ILBM IWI JPG JP2 LCMS LIF MDL MNG MP3 PCX PCD PIC PIX PNG PNM PSD PSP PXR RAW ROT SGI SUN TEXTURE TGA TIF TPL UTX VTF WAL WBMP WDP XPM
|
||||
VERSION = 1.7.8
|
||||
XMKMF =
|
||||
X_CFLAGS =
|
||||
X_EXTRA_LIBS =
|
||||
X_LIBS =
|
||||
X_PRE_LIBS =
|
||||
abs_builddir = /home/hagish/workspace/adt/love-native-android/jni/devil-1.7.8/docs
|
||||
abs_srcdir = /home/hagish/workspace/adt/love-native-android/jni/devil-1.7.8/docs
|
||||
abs_top_builddir = /home/hagish/workspace/adt/love-native-android/jni/devil-1.7.8
|
||||
abs_top_srcdir = /home/hagish/workspace/adt/love-native-android/jni/devil-1.7.8
|
||||
ac_ct_CC = gcc
|
||||
ac_ct_CXX = g++
|
||||
ac_ct_DUMPBIN =
|
||||
acx_pthread_config =
|
||||
allegro_CFLAGS =
|
||||
allegro_LIBS =
|
||||
am__include = include
|
||||
am__leading_dot = .
|
||||
am__quote =
|
||||
am__tar = ${AMTAR} chof - "$$tardir"
|
||||
am__untar = ${AMTAR} xf -
|
||||
bindir = ${exec_prefix}/bin
|
||||
build = i686-pc-linux-gnu
|
||||
build_alias =
|
||||
build_cpu = i686
|
||||
build_os = linux-gnu
|
||||
build_vendor = pc
|
||||
builddir = .
|
||||
datadir = ${datarootdir}
|
||||
datarootdir = ${prefix}/share
|
||||
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
|
||||
dvidir = ${docdir}
|
||||
exec_prefix = ${prefix}
|
||||
host = i686-pc-linux-gnu
|
||||
host_alias =
|
||||
host_cpu = i686
|
||||
host_os = linux-gnu
|
||||
host_vendor = pc
|
||||
htmldir = ${docdir}
|
||||
includedir = ${prefix}/include
|
||||
infodir = ${datarootdir}/info
|
||||
install_sh = $(SHELL) /home/hagish/workspace/adt/love-native-android/jni/devil-1.7.8/build-aux/install-sh
|
||||
libdir = ${exec_prefix}/lib
|
||||
libexecdir = ${exec_prefix}/libexec
|
||||
localedir = ${datarootdir}/locale
|
||||
localstatedir = ${prefix}/var
|
||||
lt_ECHO = echo
|
||||
mandir = ${datarootdir}/man
|
||||
mkdir_p = /bin/mkdir -p
|
||||
oldincludedir = /usr/include
|
||||
pdfdir = ${docdir}
|
||||
prefix = /usr/local
|
||||
program_transform_name = s,x,x,
|
||||
psdir = ${docdir}
|
||||
sbindir = ${exec_prefix}/sbin
|
||||
sharedstatedir = ${prefix}/com
|
||||
srcdir = .
|
||||
sysconfdir = ${prefix}/etc
|
||||
target_alias =
|
||||
top_builddir = ..
|
||||
top_srcdir = ..
|
||||
info_TEXINFOS = DevIL_manual.texi
|
||||
EXTRA_DIST = images/DevIL.jpg\
|
||||
images/DevIL.png\
|
||||
images/devil_msvc_include.png\
|
||||
images/devil_msvc_lib.png\
|
||||
images/ilu_small_stairway_alienify.jpg\
|
||||
images/ilu_small_stairway_blurAvg_10.jpg\
|
||||
images/ilu_small_stairway_blurGaussian_10.jpg\
|
||||
images/ilu_small_stairway_contrast_0.4.jpg\
|
||||
images/ilu_small_stairway_contrast_1.7.jpg\
|
||||
images/ilu_small_stairway_emboss.jpg\
|
||||
images/ilu_small_stairway_equalize.jpg\
|
||||
images/ilu_small_stairway_gammaCorrect_0.7.jpg\
|
||||
images/ilu_small_stairway_gammaCorrect_1.6.jpg\
|
||||
images/ilu_small_stairway_mirror.jpg\
|
||||
images/ilu_small_stairway_negative.jpg\
|
||||
images/ilu_small_stairway_noisify_0.1.jpg\
|
||||
images/ilu_small_stairway_noisify_0.8.jpg\
|
||||
images/ilu_small_stairway_pixelize_5.jpg\
|
||||
images/ilu_small_stairway_saturate1f_0.6.jpg\
|
||||
images/ilu_small_stairway_sharpen_1.8_2.jpg\
|
||||
images/ilu_small_stairway_sharpen_2.1_3.jpg\
|
||||
images/ilu_small_stairway_wave_1.2.jpg\
|
||||
images/original_stairway.jpg\
|
||||
images/small_stairway.jpg
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .dvi .html .info .pdf .ps .texi
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu docs/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
.texi.info:
|
||||
restore=: && backupdir="$(am__leading_dot)am$$$$" && \
|
||||
am__cwd=`pwd` && cd $(srcdir) && \
|
||||
rm -rf $$backupdir && mkdir $$backupdir && \
|
||||
if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
|
||||
for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
|
||||
if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
|
||||
done; \
|
||||
else :; fi && \
|
||||
cd "$$am__cwd"; \
|
||||
if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
|
||||
-o $@ $<; \
|
||||
then \
|
||||
rc=0; \
|
||||
cd $(srcdir); \
|
||||
else \
|
||||
rc=$$?; \
|
||||
cd $(srcdir) && \
|
||||
$$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
|
||||
fi; \
|
||||
rm -rf $$backupdir; exit $$rc
|
||||
|
||||
.texi.dvi:
|
||||
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
|
||||
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
|
||||
$(TEXI2DVI) $<
|
||||
|
||||
.texi.pdf:
|
||||
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
|
||||
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
|
||||
$(TEXI2PDF) $<
|
||||
|
||||
.texi.html:
|
||||
rm -rf $(@:.html=.htp)
|
||||
if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
|
||||
-o $(@:.html=.htp) $<; \
|
||||
then \
|
||||
rm -rf $@; \
|
||||
if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
|
||||
mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
|
||||
else \
|
||||
if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
|
||||
rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
|
||||
exit 1; \
|
||||
fi
|
||||
$(srcdir)/DevIL_manual.info: DevIL_manual.texi $(srcdir)/version.texi
|
||||
DevIL_manual.dvi: DevIL_manual.texi $(srcdir)/version.texi
|
||||
DevIL_manual.pdf: DevIL_manual.texi $(srcdir)/version.texi
|
||||
DevIL_manual.html: DevIL_manual.texi $(srcdir)/version.texi
|
||||
$(srcdir)/version.texi: $(srcdir)/stamp-vti
|
||||
$(srcdir)/stamp-vti: DevIL_manual.texi $(top_srcdir)/configure
|
||||
@(dir=.; test -f ./DevIL_manual.texi || dir=$(srcdir); \
|
||||
set `$(SHELL) $(top_srcdir)/build-aux/mdate-sh $$dir/DevIL_manual.texi`; \
|
||||
echo "@set UPDATED $$1 $$2 $$3"; \
|
||||
echo "@set UPDATED-MONTH $$2 $$3"; \
|
||||
echo "@set EDITION $(VERSION)"; \
|
||||
echo "@set VERSION $(VERSION)") > vti.tmp
|
||||
@cmp -s vti.tmp $(srcdir)/version.texi \
|
||||
|| (echo "Updating $(srcdir)/version.texi"; \
|
||||
cp vti.tmp $(srcdir)/version.texi)
|
||||
-@rm -f vti.tmp
|
||||
@cp $(srcdir)/version.texi $@
|
||||
|
||||
mostlyclean-vti:
|
||||
-rm -f vti.tmp
|
||||
|
||||
maintainer-clean-vti:
|
||||
-rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
|
||||
.dvi.ps:
|
||||
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
|
||||
$(DVIPS) -o $@ $<
|
||||
|
||||
uninstall-dvi-am:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(DVIS)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -f '$(DESTDIR)$(dvidir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(dvidir)/$$f"; \
|
||||
done
|
||||
|
||||
uninstall-html-am:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(HTMLS)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -rf '$(DESTDIR)$(htmldir)/$$f'"; \
|
||||
rm -rf "$(DESTDIR)$(htmldir)/$$f"; \
|
||||
done
|
||||
|
||||
uninstall-info-am:
|
||||
@$(PRE_UNINSTALL)
|
||||
@if test -d '$(DESTDIR)$(infodir)' && \
|
||||
(install-info --version && \
|
||||
install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
||||
echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
|
||||
install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
|
||||
done; \
|
||||
else :; fi
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
||||
relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
|
||||
(if test -d "$(DESTDIR)$(infodir)" && cd "$(DESTDIR)$(infodir)"; then \
|
||||
echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \
|
||||
rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
|
||||
else :; fi); \
|
||||
done
|
||||
|
||||
uninstall-pdf-am:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(PDFS)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -f '$(DESTDIR)$(pdfdir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(pdfdir)/$$f"; \
|
||||
done
|
||||
|
||||
uninstall-ps-am:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(PSS)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -f '$(DESTDIR)$(psdir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(psdir)/$$f"; \
|
||||
done
|
||||
|
||||
dist-info: $(INFO_DEPS)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(INFO_DEPS)'; \
|
||||
for base in $$list; do \
|
||||
case $$base in \
|
||||
$(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
esac; \
|
||||
if test -f $$base; then d=.; else d=$(srcdir); fi; \
|
||||
base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
|
||||
for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \
|
||||
if test -f $$file; then \
|
||||
relfile=`expr "$$file" : "$$d/\(.*\)"`; \
|
||||
test -f $(distdir)/$$relfile || \
|
||||
cp -p $$file $(distdir)/$$relfile; \
|
||||
else :; fi; \
|
||||
done; \
|
||||
done
|
||||
|
||||
mostlyclean-aminfo:
|
||||
-rm -rf DevIL_manual.aux DevIL_manual.cp DevIL_manual.cps DevIL_manual.fn \
|
||||
DevIL_manual.fns DevIL_manual.ky DevIL_manual.kys \
|
||||
DevIL_manual.log DevIL_manual.pg DevIL_manual.pgs \
|
||||
DevIL_manual.tmp DevIL_manual.toc DevIL_manual.tp \
|
||||
DevIL_manual.tps DevIL_manual.vr DevIL_manual.vrs \
|
||||
DevIL_manual.dvi DevIL_manual.pdf DevIL_manual.ps \
|
||||
DevIL_manual.html
|
||||
|
||||
maintainer-clean-aminfo:
|
||||
@list='$(INFO_DEPS)'; for i in $$list; do \
|
||||
i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
|
||||
echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
|
||||
rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
|
||||
done
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
ctags: CTAGS
|
||||
CTAGS:
|
||||
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$(top_distdir)" distdir="$(distdir)" \
|
||||
dist-info
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(INFO_DEPS)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(infodir)"; do \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic
|
||||
|
||||
dvi-am: $(DVIS)
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am: $(HTMLS)
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am: $(INFO_DEPS)
|
||||
|
||||
install-data-am: install-info-am
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am: $(DVIS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(dvidir)" || $(MKDIR_P) "$(DESTDIR)$(dvidir)"
|
||||
@list='$(DVIS)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(dvidir)/$$f'"; \
|
||||
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(dvidir)/$$f"; \
|
||||
done
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am: $(HTMLS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)"
|
||||
@list='$(HTMLS)'; for p in $$list; do \
|
||||
if test -f "$$p" || test -d "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
if test -d "$$d$$p"; then \
|
||||
echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)/$$f'"; \
|
||||
$(MKDIR_P) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
|
||||
echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
|
||||
$(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
|
||||
else \
|
||||
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
|
||||
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
|
||||
fi; \
|
||||
done
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am: $(INFO_DEPS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(infodir)" || $(MKDIR_P) "$(DESTDIR)$(infodir)"
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
case $$file in \
|
||||
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
esac; \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
|
||||
for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
|
||||
$$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
|
||||
if test -f $$ifile; then \
|
||||
relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
|
||||
echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \
|
||||
$(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \
|
||||
else : ; fi; \
|
||||
done; \
|
||||
done
|
||||
@$(POST_INSTALL)
|
||||
@if (install-info --version && \
|
||||
install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
||||
echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
|
||||
install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
|
||||
done; \
|
||||
else : ; fi
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-pdf-am: $(PDFS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(pdfdir)" || $(MKDIR_P) "$(DESTDIR)$(pdfdir)"
|
||||
@list='$(PDFS)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
|
||||
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
|
||||
done
|
||||
install-ps: install-ps-am
|
||||
|
||||
install-ps-am: $(PSS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(psdir)" || $(MKDIR_P) "$(DESTDIR)$(psdir)"
|
||||
@list='$(PSS)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(psdir)/$$f'"; \
|
||||
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(psdir)/$$f"; \
|
||||
done
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-aminfo \
|
||||
maintainer-clean-generic maintainer-clean-vti
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-aminfo mostlyclean-generic \
|
||||
mostlyclean-libtool mostlyclean-vti
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am: $(PDFS)
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am: $(PSS)
|
||||
|
||||
uninstall-am: uninstall-dvi-am uninstall-html-am uninstall-info-am \
|
||||
uninstall-pdf-am uninstall-ps-am
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
||||
dist-info distclean distclean-generic distclean-libtool \
|
||||
distdir dvi dvi-am html html-am info info-am install \
|
||||
install-am install-data install-data-am install-dvi \
|
||||
install-dvi-am install-exec install-exec-am install-html \
|
||||
install-html-am install-info install-info-am install-man \
|
||||
install-pdf install-pdf-am install-ps install-ps-am \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-aminfo \
|
||||
maintainer-clean-generic maintainer-clean-vti mostlyclean \
|
||||
mostlyclean-aminfo mostlyclean-generic mostlyclean-libtool \
|
||||
mostlyclean-vti pdf pdf-am ps ps-am uninstall uninstall-am \
|
||||
uninstall-dvi-am uninstall-html-am uninstall-info-am \
|
||||
uninstall-pdf-am uninstall-ps-am
|
||||
|
||||
|
||||
dvi:
|
||||
echo "The DVI documentation won't be built. It is not feasible since it contains a lot of images. Build PDF or HTML docs instead..."
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
@@ -0,0 +1,29 @@
|
||||
info_TEXINFOS = DevIL_manual.texi
|
||||
|
||||
dvi:
|
||||
echo "The DVI documentation won't be built. It is not feasible since it contains a lot of images. Build PDF or HTML docs instead..."
|
||||
|
||||
EXTRA_DIST = images/DevIL.jpg\
|
||||
images/DevIL.png\
|
||||
images/devil_msvc_include.png\
|
||||
images/devil_msvc_lib.png\
|
||||
images/ilu_small_stairway_alienify.jpg\
|
||||
images/ilu_small_stairway_blurAvg_10.jpg\
|
||||
images/ilu_small_stairway_blurGaussian_10.jpg\
|
||||
images/ilu_small_stairway_contrast_0.4.jpg\
|
||||
images/ilu_small_stairway_contrast_1.7.jpg\
|
||||
images/ilu_small_stairway_emboss.jpg\
|
||||
images/ilu_small_stairway_equalize.jpg\
|
||||
images/ilu_small_stairway_gammaCorrect_0.7.jpg\
|
||||
images/ilu_small_stairway_gammaCorrect_1.6.jpg\
|
||||
images/ilu_small_stairway_mirror.jpg\
|
||||
images/ilu_small_stairway_negative.jpg\
|
||||
images/ilu_small_stairway_noisify_0.1.jpg\
|
||||
images/ilu_small_stairway_noisify_0.8.jpg\
|
||||
images/ilu_small_stairway_pixelize_5.jpg\
|
||||
images/ilu_small_stairway_saturate1f_0.6.jpg\
|
||||
images/ilu_small_stairway_sharpen_1.8_2.jpg\
|
||||
images/ilu_small_stairway_sharpen_2.1_3.jpg\
|
||||
images/ilu_small_stairway_wave_1.2.jpg\
|
||||
images/original_stairway.jpg\
|
||||
images/small_stairway.jpg
|
||||
@@ -0,0 +1,674 @@
|
||||
# Makefile.in generated by automake 1.10.1 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
subdir = docs
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
|
||||
$(srcdir)/stamp-vti $(srcdir)/version.texi
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \
|
||||
$(top_srcdir)/m4/allegro.m4 $(top_srcdir)/m4/ax_check_gl.m4 \
|
||||
$(top_srcdir)/m4/ax_check_glu.m4 \
|
||||
$(top_srcdir)/m4/ax_check_glut.m4 \
|
||||
$(top_srcdir)/m4/ax_lang_compiler_ms.m4 \
|
||||
$(top_srcdir)/m4/devil-api_checks.m4 \
|
||||
$(top_srcdir)/m4/devil-definitions.m4 \
|
||||
$(top_srcdir)/m4/devil-report.m4 $(top_srcdir)/m4/libtool.m4 \
|
||||
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
|
||||
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
|
||||
$(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/sdl.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/include/IL/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
INFO_DEPS = $(srcdir)/DevIL_manual.info
|
||||
TEXINFO_TEX = $(top_srcdir)/build-aux/texinfo.tex
|
||||
am__TEXINFO_TEX_DIR = $(top_srcdir)/build-aux
|
||||
DVIS = DevIL_manual.dvi
|
||||
PDFS = DevIL_manual.pdf
|
||||
PSS = DevIL_manual.ps
|
||||
HTMLS = DevIL_manual.html
|
||||
TEXINFOS = DevIL_manual.texi
|
||||
TEXI2DVI = texi2dvi
|
||||
TEXI2PDF = $(TEXI2DVI) --pdf --batch
|
||||
MAKEINFOHTML = $(MAKEINFO) --html
|
||||
AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
|
||||
DVIPS = dvips
|
||||
am__installdirs = "$(DESTDIR)$(infodir)"
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ALLEGRO_CONFIG = @ALLEGRO_CONFIG@
|
||||
AMTAR = @AMTAR@
|
||||
AR = @AR@
|
||||
AS = @AS@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DEVIL_LTVERSION = @DEVIL_LTVERSION@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GENERAL_CFLAGS = @GENERAL_CFLAGS@
|
||||
GLUT_CFLAGS = @GLUT_CFLAGS@
|
||||
GLUT_LIBS = @GLUT_LIBS@
|
||||
GLU_CFLAGS = @GLU_CFLAGS@
|
||||
GLU_LIBS = @GLU_LIBS@
|
||||
GL_CFLAGS = @GL_CFLAGS@
|
||||
GL_LIBS = @GL_LIBS@
|
||||
GREP = @GREP@
|
||||
ILUT_CFLAGS = @ILUT_CFLAGS@
|
||||
ILUT_LIBS = @ILUT_LIBS@
|
||||
ILU_CFLAGS = @ILU_CFLAGS@
|
||||
ILU_LIBS = @ILU_LIBS@
|
||||
IL_CFLAGS = @IL_CFLAGS@
|
||||
IL_LIBS = @IL_LIBS@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBILUT_WIN32LIBPATH = @LIBILUT_WIN32LIBPATH@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPENEXR_CFLAGS = @OPENEXR_CFLAGS@
|
||||
OPENEXR_LIBS = @OPENEXR_LIBS@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PKG_CONFIG = @PKG_CONFIG@
|
||||
PLATFORM = @PLATFORM@
|
||||
PTHREAD_CC = @PTHREAD_CC@
|
||||
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
|
||||
PTHREAD_LIBS = @PTHREAD_LIBS@
|
||||
RANLIB = @RANLIB@
|
||||
SDL_CFLAGS = @SDL_CFLAGS@
|
||||
SDL_CONFIG = @SDL_CONFIG@
|
||||
SDL_LIBS = @SDL_LIBS@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
SUPPORTED_FORMATS = @SUPPORTED_FORMATS@
|
||||
VERSION = @VERSION@
|
||||
XMKMF = @XMKMF@
|
||||
X_CFLAGS = @X_CFLAGS@
|
||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||
X_LIBS = @X_LIBS@
|
||||
X_PRE_LIBS = @X_PRE_LIBS@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
acx_pthread_config = @acx_pthread_config@
|
||||
allegro_CFLAGS = @allegro_CFLAGS@
|
||||
allegro_LIBS = @allegro_LIBS@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
lt_ECHO = @lt_ECHO@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
info_TEXINFOS = DevIL_manual.texi
|
||||
EXTRA_DIST = images/DevIL.jpg\
|
||||
images/DevIL.png\
|
||||
images/devil_msvc_include.png\
|
||||
images/devil_msvc_lib.png\
|
||||
images/ilu_small_stairway_alienify.jpg\
|
||||
images/ilu_small_stairway_blurAvg_10.jpg\
|
||||
images/ilu_small_stairway_blurGaussian_10.jpg\
|
||||
images/ilu_small_stairway_contrast_0.4.jpg\
|
||||
images/ilu_small_stairway_contrast_1.7.jpg\
|
||||
images/ilu_small_stairway_emboss.jpg\
|
||||
images/ilu_small_stairway_equalize.jpg\
|
||||
images/ilu_small_stairway_gammaCorrect_0.7.jpg\
|
||||
images/ilu_small_stairway_gammaCorrect_1.6.jpg\
|
||||
images/ilu_small_stairway_mirror.jpg\
|
||||
images/ilu_small_stairway_negative.jpg\
|
||||
images/ilu_small_stairway_noisify_0.1.jpg\
|
||||
images/ilu_small_stairway_noisify_0.8.jpg\
|
||||
images/ilu_small_stairway_pixelize_5.jpg\
|
||||
images/ilu_small_stairway_saturate1f_0.6.jpg\
|
||||
images/ilu_small_stairway_sharpen_1.8_2.jpg\
|
||||
images/ilu_small_stairway_sharpen_2.1_3.jpg\
|
||||
images/ilu_small_stairway_wave_1.2.jpg\
|
||||
images/original_stairway.jpg\
|
||||
images/small_stairway.jpg
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .dvi .html .info .pdf .ps .texi
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu docs/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
.texi.info:
|
||||
restore=: && backupdir="$(am__leading_dot)am$$$$" && \
|
||||
am__cwd=`pwd` && cd $(srcdir) && \
|
||||
rm -rf $$backupdir && mkdir $$backupdir && \
|
||||
if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
|
||||
for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
|
||||
if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
|
||||
done; \
|
||||
else :; fi && \
|
||||
cd "$$am__cwd"; \
|
||||
if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
|
||||
-o $@ $<; \
|
||||
then \
|
||||
rc=0; \
|
||||
cd $(srcdir); \
|
||||
else \
|
||||
rc=$$?; \
|
||||
cd $(srcdir) && \
|
||||
$$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
|
||||
fi; \
|
||||
rm -rf $$backupdir; exit $$rc
|
||||
|
||||
.texi.dvi:
|
||||
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
|
||||
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
|
||||
$(TEXI2DVI) $<
|
||||
|
||||
.texi.pdf:
|
||||
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
|
||||
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
|
||||
$(TEXI2PDF) $<
|
||||
|
||||
.texi.html:
|
||||
rm -rf $(@:.html=.htp)
|
||||
if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
|
||||
-o $(@:.html=.htp) $<; \
|
||||
then \
|
||||
rm -rf $@; \
|
||||
if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
|
||||
mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
|
||||
else \
|
||||
if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
|
||||
rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
|
||||
exit 1; \
|
||||
fi
|
||||
$(srcdir)/DevIL_manual.info: DevIL_manual.texi $(srcdir)/version.texi
|
||||
DevIL_manual.dvi: DevIL_manual.texi $(srcdir)/version.texi
|
||||
DevIL_manual.pdf: DevIL_manual.texi $(srcdir)/version.texi
|
||||
DevIL_manual.html: DevIL_manual.texi $(srcdir)/version.texi
|
||||
$(srcdir)/version.texi: $(srcdir)/stamp-vti
|
||||
$(srcdir)/stamp-vti: DevIL_manual.texi $(top_srcdir)/configure
|
||||
@(dir=.; test -f ./DevIL_manual.texi || dir=$(srcdir); \
|
||||
set `$(SHELL) $(top_srcdir)/build-aux/mdate-sh $$dir/DevIL_manual.texi`; \
|
||||
echo "@set UPDATED $$1 $$2 $$3"; \
|
||||
echo "@set UPDATED-MONTH $$2 $$3"; \
|
||||
echo "@set EDITION $(VERSION)"; \
|
||||
echo "@set VERSION $(VERSION)") > vti.tmp
|
||||
@cmp -s vti.tmp $(srcdir)/version.texi \
|
||||
|| (echo "Updating $(srcdir)/version.texi"; \
|
||||
cp vti.tmp $(srcdir)/version.texi)
|
||||
-@rm -f vti.tmp
|
||||
@cp $(srcdir)/version.texi $@
|
||||
|
||||
mostlyclean-vti:
|
||||
-rm -f vti.tmp
|
||||
|
||||
maintainer-clean-vti:
|
||||
-rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
|
||||
.dvi.ps:
|
||||
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
|
||||
$(DVIPS) -o $@ $<
|
||||
|
||||
uninstall-dvi-am:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(DVIS)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -f '$(DESTDIR)$(dvidir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(dvidir)/$$f"; \
|
||||
done
|
||||
|
||||
uninstall-html-am:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(HTMLS)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -rf '$(DESTDIR)$(htmldir)/$$f'"; \
|
||||
rm -rf "$(DESTDIR)$(htmldir)/$$f"; \
|
||||
done
|
||||
|
||||
uninstall-info-am:
|
||||
@$(PRE_UNINSTALL)
|
||||
@if test -d '$(DESTDIR)$(infodir)' && \
|
||||
(install-info --version && \
|
||||
install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
||||
echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
|
||||
install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
|
||||
done; \
|
||||
else :; fi
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
||||
relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
|
||||
(if test -d "$(DESTDIR)$(infodir)" && cd "$(DESTDIR)$(infodir)"; then \
|
||||
echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \
|
||||
rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
|
||||
else :; fi); \
|
||||
done
|
||||
|
||||
uninstall-pdf-am:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(PDFS)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -f '$(DESTDIR)$(pdfdir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(pdfdir)/$$f"; \
|
||||
done
|
||||
|
||||
uninstall-ps-am:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(PSS)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -f '$(DESTDIR)$(psdir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(psdir)/$$f"; \
|
||||
done
|
||||
|
||||
dist-info: $(INFO_DEPS)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(INFO_DEPS)'; \
|
||||
for base in $$list; do \
|
||||
case $$base in \
|
||||
$(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
esac; \
|
||||
if test -f $$base; then d=.; else d=$(srcdir); fi; \
|
||||
base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
|
||||
for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \
|
||||
if test -f $$file; then \
|
||||
relfile=`expr "$$file" : "$$d/\(.*\)"`; \
|
||||
test -f $(distdir)/$$relfile || \
|
||||
cp -p $$file $(distdir)/$$relfile; \
|
||||
else :; fi; \
|
||||
done; \
|
||||
done
|
||||
|
||||
mostlyclean-aminfo:
|
||||
-rm -rf DevIL_manual.aux DevIL_manual.cp DevIL_manual.cps DevIL_manual.fn \
|
||||
DevIL_manual.fns DevIL_manual.ky DevIL_manual.kys \
|
||||
DevIL_manual.log DevIL_manual.pg DevIL_manual.pgs \
|
||||
DevIL_manual.tmp DevIL_manual.toc DevIL_manual.tp \
|
||||
DevIL_manual.tps DevIL_manual.vr DevIL_manual.vrs \
|
||||
DevIL_manual.dvi DevIL_manual.pdf DevIL_manual.ps \
|
||||
DevIL_manual.html
|
||||
|
||||
maintainer-clean-aminfo:
|
||||
@list='$(INFO_DEPS)'; for i in $$list; do \
|
||||
i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
|
||||
echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
|
||||
rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
|
||||
done
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
ctags: CTAGS
|
||||
CTAGS:
|
||||
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$(top_distdir)" distdir="$(distdir)" \
|
||||
dist-info
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(INFO_DEPS)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(infodir)"; do \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic
|
||||
|
||||
dvi-am: $(DVIS)
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am: $(HTMLS)
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am: $(INFO_DEPS)
|
||||
|
||||
install-data-am: install-info-am
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am: $(DVIS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(dvidir)" || $(MKDIR_P) "$(DESTDIR)$(dvidir)"
|
||||
@list='$(DVIS)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(dvidir)/$$f'"; \
|
||||
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(dvidir)/$$f"; \
|
||||
done
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am: $(HTMLS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)"
|
||||
@list='$(HTMLS)'; for p in $$list; do \
|
||||
if test -f "$$p" || test -d "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
if test -d "$$d$$p"; then \
|
||||
echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)/$$f'"; \
|
||||
$(MKDIR_P) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
|
||||
echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
|
||||
$(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
|
||||
else \
|
||||
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
|
||||
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
|
||||
fi; \
|
||||
done
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am: $(INFO_DEPS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(infodir)" || $(MKDIR_P) "$(DESTDIR)$(infodir)"
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
case $$file in \
|
||||
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
esac; \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
|
||||
for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
|
||||
$$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
|
||||
if test -f $$ifile; then \
|
||||
relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
|
||||
echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \
|
||||
$(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \
|
||||
else : ; fi; \
|
||||
done; \
|
||||
done
|
||||
@$(POST_INSTALL)
|
||||
@if (install-info --version && \
|
||||
install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
|
||||
list='$(INFO_DEPS)'; \
|
||||
for file in $$list; do \
|
||||
relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
||||
echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
|
||||
install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
|
||||
done; \
|
||||
else : ; fi
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-pdf-am: $(PDFS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(pdfdir)" || $(MKDIR_P) "$(DESTDIR)$(pdfdir)"
|
||||
@list='$(PDFS)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
|
||||
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
|
||||
done
|
||||
install-ps: install-ps-am
|
||||
|
||||
install-ps-am: $(PSS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(psdir)" || $(MKDIR_P) "$(DESTDIR)$(psdir)"
|
||||
@list='$(PSS)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(psdir)/$$f'"; \
|
||||
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(psdir)/$$f"; \
|
||||
done
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-aminfo \
|
||||
maintainer-clean-generic maintainer-clean-vti
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-aminfo mostlyclean-generic \
|
||||
mostlyclean-libtool mostlyclean-vti
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am: $(PDFS)
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am: $(PSS)
|
||||
|
||||
uninstall-am: uninstall-dvi-am uninstall-html-am uninstall-info-am \
|
||||
uninstall-pdf-am uninstall-ps-am
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
||||
dist-info distclean distclean-generic distclean-libtool \
|
||||
distdir dvi dvi-am html html-am info info-am install \
|
||||
install-am install-data install-data-am install-dvi \
|
||||
install-dvi-am install-exec install-exec-am install-html \
|
||||
install-html-am install-info install-info-am install-man \
|
||||
install-pdf install-pdf-am install-ps install-ps-am \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-aminfo \
|
||||
maintainer-clean-generic maintainer-clean-vti mostlyclean \
|
||||
mostlyclean-aminfo mostlyclean-generic mostlyclean-libtool \
|
||||
mostlyclean-vti pdf pdf-am ps ps-am uninstall uninstall-am \
|
||||
uninstall-dvi-am uninstall-html-am uninstall-info-am \
|
||||
uninstall-pdf-am uninstall-ps-am
|
||||
|
||||
|
||||
dvi:
|
||||
echo "The DVI documentation won't be built. It is not feasible since it contains a lot of images. Build PDF or HTML docs instead..."
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
@@ -0,0 +1,55 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/altivec_common.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/altivec_common.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
|
||||
<a name="l00002"></a>00002 <span class="comment"> * altivec_typeconversion.h</span>
|
||||
<a name="l00003"></a>00003 <span class="comment"> * DevIL</span>
|
||||
<a name="l00004"></a>00004 <span class="comment"> *</span>
|
||||
<a name="l00005"></a>00005 <span class="comment"> * Created by Meloni Dario on 17/04/05.</span>
|
||||
<a name="l00006"></a>00006 <span class="comment"> *</span>
|
||||
<a name="l00007"></a>00007 <span class="comment"> */</span>
|
||||
<a name="l00008"></a>00008
|
||||
<a name="l00009"></a>00009 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00010"></a>00010
|
||||
<a name="l00011"></a>00011 <span class="preprocessor">#ifdef ALTIVEC_GCC</span>
|
||||
<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#ifndef ALTIVEC_COMMON</span>
|
||||
<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#define ALTIVEC_COMMON</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span>
|
||||
<a name="l00015"></a>00015 <span class="keyword">typedef</span> <span class="keyword">union </span>{
|
||||
<a name="l00016"></a>00016 vector <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> vuint;
|
||||
<a name="l00017"></a>00017 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> suint[4];
|
||||
<a name="l00018"></a>00018 vector <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> vuchar;
|
||||
<a name="l00019"></a>00019 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> suchar[4];
|
||||
<a name="l00020"></a>00020 vector <span class="keywordtype">float</span> vf;
|
||||
<a name="l00021"></a>00021 <span class="keywordtype">float</span> sf[4];
|
||||
<a name="l00022"></a>00022 } vector_t;
|
||||
<a name="l00023"></a>00023
|
||||
<a name="l00024"></a>00024 <span class="comment">// Loads 16 byte from the specified address, aligned or not</span>
|
||||
<a name="l00025"></a>00025 <span class="comment">//vector unsigned char load_unaligned( unsigned char *buffer );</span>
|
||||
<a name="l00026"></a>00026
|
||||
<a name="l00027"></a>00027 <span class="comment">// Fills a vector with the specified value</span>
|
||||
<a name="l00028"></a>00028 vector <span class="keywordtype">float</span> fill_vector_f( <span class="keywordtype">float</span> value );
|
||||
<a name="l00029"></a>00029
|
||||
<a name="l00030"></a>00030 <span class="preprocessor">#define eround(v,x) (((int)((v/x)*10)%10) > 0 ? (v/x) : (v/x)+1)</span>
|
||||
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define eround16(v) eround(v,16)</span>
|
||||
<a name="l00032"></a>00032 <span class="preprocessor"></span>
|
||||
<a name="l00033"></a>00033 <span class="preprocessor">#endif</span>
|
||||
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,49 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/altivec_typeconversion.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/altivec_typeconversion.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
|
||||
<a name="l00002"></a>00002 <span class="comment"> * altivec_typeconversion.h</span>
|
||||
<a name="l00003"></a>00003 <span class="comment"> * DevIL</span>
|
||||
<a name="l00004"></a>00004 <span class="comment"> *</span>
|
||||
<a name="l00005"></a>00005 <span class="comment"> * Created by Meloni Dario on 24/04/05.</span>
|
||||
<a name="l00006"></a>00006 <span class="comment"> *</span>
|
||||
<a name="l00007"></a>00007 <span class="comment"> */</span>
|
||||
<a name="l00008"></a>00008
|
||||
<a name="l00009"></a>00009 <span class="preprocessor">#include "altivec_common.h"</span>
|
||||
<a name="l00010"></a>00010 <span class="preprocessor">#ifdef ALTIVEC_GCC</span>
|
||||
<a name="l00011"></a>00011 <span class="preprocessor"></span>
|
||||
<a name="l00012"></a>00012 <span class="comment">// data and newdata may be the same buffer</span>
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="comment">// Used to convert RGB <-> BGR in various data types</span>
|
||||
<a name="l00015"></a>00015 <span class="keywordtype">void</span> abc2cba_byte( ILubyte *data, ILuint length, ILubyte *newdata );
|
||||
<a name="l00016"></a>00016 <span class="keywordtype">void</span> abc2cba_short( ILushort *data, ILuint length, ILushort *newdata );
|
||||
<a name="l00017"></a>00017 <span class="keywordtype">void</span> abc2cba_int( ILuint *data, ILuint length, ILuint *newdata );
|
||||
<a name="l00018"></a>00018 <span class="preprocessor">#define abc2cba_float(x,y,z) abc2cba_int(((ILuint*)(x)),y,((ILuint*)(z)))</span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="keywordtype">void</span> abc2cba_double( ILdouble *data, ILuint length, ILdouble *newdata );
|
||||
<a name="l00020"></a>00020
|
||||
<a name="l00021"></a>00021 <span class="comment">// Used to convert RGBA <-> BGRA in various data types</span>
|
||||
<a name="l00022"></a>00022 <span class="keywordtype">void</span> abcd2cbad_byte( ILubyte *data, ILuint length, ILubyte *newdata );
|
||||
<a name="l00023"></a>00023 <span class="keywordtype">void</span> abcd2cbad_short( ILushort *data, ILuint length, ILushort *newdata );
|
||||
<a name="l00024"></a>00024 <span class="keywordtype">void</span> abcd2cbad_int( ILuint *data, ILuint length, ILuint *newdata );
|
||||
<a name="l00025"></a>00025 <span class="preprocessor">#define abcd2cbad_float(x,y,z) abcd2cbad_int(((ILuint*)(x)),y,((ILuint*)(z)))</span>
|
||||
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="keywordtype">void</span> abcd2cbad_double( ILdouble *data, ILuint length, ILdouble *newdata );
|
||||
<a name="l00027"></a>00027
|
||||
<a name="l00028"></a>00028 <span class="preprocessor">#endif</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: Data Structures</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents">
|
||||
<h1>Data Structures</h1>Here are the data structures with brief descriptions:<table>
|
||||
<tr><td class="indexkey"><a class="el" href="structILimage.html">ILimage</a></td><td class="indexvalue">The Fundamental Image structure </td></tr>
|
||||
<tr><td class="indexkey"><a class="el" href="structILpal.html">ILpal</a></td><td class="indexvalue">Basic Palette struct </td></tr>
|
||||
</table>
|
||||
</div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,379 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/include/IL/config.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/include/IL/config.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* include/IL/config.h. Generated from config.h.in by configure. */</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">/* include/IL/config.h.in. Generated from configure.ac by autoheader. */</span>
|
||||
<a name="l00003"></a>00003
|
||||
<a name="l00004"></a>00004 <span class="comment">/* Altivec extension found */</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">/* #undef ALTIVEC_GCC */</span>
|
||||
<a name="l00006"></a>00006
|
||||
<a name="l00007"></a>00007 <span class="comment">/* "Enable debug code features" */</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">/* #undef DEBUG */</span>
|
||||
<a name="l00009"></a>00009
|
||||
<a name="l00010"></a>00010 <span class="comment">/* PPC_ASM assembly found */</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">/* #undef GCC_PCC_ASM */</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="comment">/* X86_64_ASM assembly found */</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#define GCC_X86_64_ASM </span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span>
|
||||
<a name="l00016"></a>00016 <span class="comment">/* X86_ASM assembly found */</span>
|
||||
<a name="l00017"></a>00017 <span class="comment">/* #undef GCC_X86_ASM */</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 <span class="comment">/* Define to 1 if you have the <dlfcn.h> header file. */</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor">#define HAVE_DLFCN_H 1</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span>
|
||||
<a name="l00022"></a>00022 <span class="comment">/* Define to 1 if you have the <GLUT/glut.h> header file. */</span>
|
||||
<a name="l00023"></a>00023 <span class="comment">/* #undef HAVE_GLUT_GLUT_H */</span>
|
||||
<a name="l00024"></a>00024
|
||||
<a name="l00025"></a>00025 <span class="comment">/* Define to 1 if you have the <GL/glut.h> header file. */</span>
|
||||
<a name="l00026"></a>00026 <span class="preprocessor">#define HAVE_GL_GLUT_H 1</span>
|
||||
<a name="l00027"></a>00027 <span class="preprocessor"></span>
|
||||
<a name="l00028"></a>00028 <span class="comment">/* Define to 1 if you have the <GL/glu.h> header file. */</span>
|
||||
<a name="l00029"></a>00029 <span class="preprocessor">#define HAVE_GL_GLU_H 1</span>
|
||||
<a name="l00030"></a>00030 <span class="preprocessor"></span>
|
||||
<a name="l00031"></a>00031 <span class="comment">/* Define to 1 if you have the <GL/gl.h> header file. */</span>
|
||||
<a name="l00032"></a>00032 <span class="preprocessor">#define HAVE_GL_GL_H 1</span>
|
||||
<a name="l00033"></a>00033 <span class="preprocessor"></span>
|
||||
<a name="l00034"></a>00034 <span class="comment">/* Define to 1 if you have the <inttypes.h> header file. */</span>
|
||||
<a name="l00035"></a>00035 <span class="preprocessor">#define HAVE_INTTYPES_H 1</span>
|
||||
<a name="l00036"></a>00036 <span class="preprocessor"></span>
|
||||
<a name="l00037"></a>00037 <span class="comment">/* Define to 1 if you have the `m' library (-lm). */</span>
|
||||
<a name="l00038"></a>00038 <span class="preprocessor">#define HAVE_LIBM 1</span>
|
||||
<a name="l00039"></a>00039 <span class="preprocessor"></span>
|
||||
<a name="l00040"></a>00040 <span class="comment">/* Define to 1 if you have the `z' library (-lz). */</span>
|
||||
<a name="l00041"></a>00041 <span class="preprocessor">#define HAVE_LIBZ 1</span>
|
||||
<a name="l00042"></a>00042 <span class="preprocessor"></span>
|
||||
<a name="l00043"></a>00043 <span class="comment">/* Define to 1 if you have the <memory.h> header file. */</span>
|
||||
<a name="l00044"></a>00044 <span class="preprocessor">#define HAVE_MEMORY_H 1</span>
|
||||
<a name="l00045"></a>00045 <span class="preprocessor"></span>
|
||||
<a name="l00046"></a>00046 <span class="comment">/* Define to 1 if you have the <OpenGL/glu.h> header file. */</span>
|
||||
<a name="l00047"></a>00047 <span class="comment">/* #undef HAVE_OPENGL_GLU_H */</span>
|
||||
<a name="l00048"></a>00048
|
||||
<a name="l00049"></a>00049 <span class="comment">/* Define to 1 if you have the <OpenGL/gl.h> header file. */</span>
|
||||
<a name="l00050"></a>00050 <span class="comment">/* #undef HAVE_OPENGL_GL_H */</span>
|
||||
<a name="l00051"></a>00051
|
||||
<a name="l00052"></a>00052 <span class="comment">/* Define if you have POSIX threads libraries and header files. */</span>
|
||||
<a name="l00053"></a>00053 <span class="preprocessor">#define HAVE_PTHREAD 1</span>
|
||||
<a name="l00054"></a>00054 <span class="preprocessor"></span>
|
||||
<a name="l00055"></a>00055 <span class="comment">/* Define to 1 if you have the <stdint.h> header file. */</span>
|
||||
<a name="l00056"></a>00056 <span class="preprocessor">#define HAVE_STDINT_H 1</span>
|
||||
<a name="l00057"></a>00057 <span class="preprocessor"></span>
|
||||
<a name="l00058"></a>00058 <span class="comment">/* Define to 1 if you have the <stdlib.h> header file. */</span>
|
||||
<a name="l00059"></a>00059 <span class="preprocessor">#define HAVE_STDLIB_H 1</span>
|
||||
<a name="l00060"></a>00060 <span class="preprocessor"></span>
|
||||
<a name="l00061"></a>00061 <span class="comment">/* Define to 1 if you have the <strings.h> header file. */</span>
|
||||
<a name="l00062"></a>00062 <span class="preprocessor">#define HAVE_STRINGS_H 1</span>
|
||||
<a name="l00063"></a>00063 <span class="preprocessor"></span>
|
||||
<a name="l00064"></a>00064 <span class="comment">/* Define to 1 if you have the <string.h> header file. */</span>
|
||||
<a name="l00065"></a>00065 <span class="preprocessor">#define HAVE_STRING_H 1</span>
|
||||
<a name="l00066"></a>00066 <span class="preprocessor"></span>
|
||||
<a name="l00067"></a>00067 <span class="comment">/* Define to 1 if you have the <sys/stat.h> header file. */</span>
|
||||
<a name="l00068"></a>00068 <span class="preprocessor">#define HAVE_SYS_STAT_H 1</span>
|
||||
<a name="l00069"></a>00069 <span class="preprocessor"></span>
|
||||
<a name="l00070"></a>00070 <span class="comment">/* Define to 1 if you have the <sys/types.h> header file. */</span>
|
||||
<a name="l00071"></a>00071 <span class="preprocessor">#define HAVE_SYS_TYPES_H 1</span>
|
||||
<a name="l00072"></a>00072 <span class="preprocessor"></span>
|
||||
<a name="l00073"></a>00073 <span class="comment">/* Define to 1 if you have the <unistd.h> header file. */</span>
|
||||
<a name="l00074"></a>00074 <span class="preprocessor">#define HAVE_UNISTD_H 1</span>
|
||||
<a name="l00075"></a>00075 <span class="preprocessor"></span>
|
||||
<a name="l00076"></a>00076 <span class="comment">/* Use nonstandard varargs form for the GLU tesselator callback */</span>
|
||||
<a name="l00077"></a>00077 <span class="comment">/* #undef HAVE_VARARGS_GLU_TESSCB */</span>
|
||||
<a name="l00078"></a>00078
|
||||
<a name="l00079"></a>00079 <span class="comment">/* Define to 1 if you have the <windows.h> header file. */</span>
|
||||
<a name="l00080"></a>00080 <span class="comment">/* #undef HAVE_WINDOWS_H */</span>
|
||||
<a name="l00081"></a>00081
|
||||
<a name="l00082"></a>00082 <span class="comment">/* Support Allegro API */</span>
|
||||
<a name="l00083"></a>00083 <span class="comment">/* #undef ILUT_USE_ALLEGRO */</span>
|
||||
<a name="l00084"></a>00084
|
||||
<a name="l00085"></a>00085 <span class="comment">/* Support DirectX8 API */</span>
|
||||
<a name="l00086"></a>00086 <span class="comment">/* #undef ILUT_USE_DIRECTX8 */</span>
|
||||
<a name="l00087"></a>00087
|
||||
<a name="l00088"></a>00088 <span class="comment">/* Support DirectX9 API */</span>
|
||||
<a name="l00089"></a>00089 <span class="comment">/* #undef ILUT_USE_DIRECTX9 */</span>
|
||||
<a name="l00090"></a>00090
|
||||
<a name="l00091"></a>00091 <span class="comment">/* Define if system supports OpenGL API */</span>
|
||||
<a name="l00092"></a>00092 <span class="preprocessor">#define ILUT_USE_OPENGL 1</span>
|
||||
<a name="l00093"></a>00093 <span class="preprocessor"></span>
|
||||
<a name="l00094"></a>00094 <span class="comment">/* Support SDL API */</span>
|
||||
<a name="l00095"></a>00095 <span class="comment">/* #undef ILUT_USE_SDL */</span>
|
||||
<a name="l00096"></a>00096
|
||||
<a name="l00097"></a>00097 <span class="comment">/* Support X11 API */</span>
|
||||
<a name="l00098"></a>00098 <span class="preprocessor">#define ILUT_USE_X11 1</span>
|
||||
<a name="l00099"></a>00099 <span class="preprocessor"></span>
|
||||
<a name="l00100"></a>00100 <span class="comment">/* Support X11 XRender extension */</span>
|
||||
<a name="l00101"></a>00101 <span class="comment">/* #undef ILUT_USE_XRENDER */</span>
|
||||
<a name="l00102"></a>00102
|
||||
<a name="l00103"></a>00103 <span class="comment">/* Support X11 XShm extension */</span>
|
||||
<a name="l00104"></a>00104 <span class="preprocessor">#define ILUT_USE_XSHM </span>
|
||||
<a name="l00105"></a>00105 <span class="preprocessor"></span>
|
||||
<a name="l00106"></a>00106 <span class="comment">/* Define if you want to build ILU part of DevIL (used in DevIL</span>
|
||||
<a name="l00107"></a>00107 <span class="comment"> examples/tests) */</span>
|
||||
<a name="l00108"></a>00108 <span class="preprocessor">#define ILU_ENABLED </span>
|
||||
<a name="l00109"></a>00109 <span class="preprocessor"></span>
|
||||
<a name="l00110"></a>00110 <span class="comment">/* Define if you can support at least some ASM */</span>
|
||||
<a name="l00111"></a>00111 <span class="preprocessor">#define IL_INLINE_ASM 1</span>
|
||||
<a name="l00112"></a>00112 <span class="preprocessor"></span>
|
||||
<a name="l00113"></a>00113 <span class="comment">/* blp support (BLP is the texture format for Blizzard games.) */</span>
|
||||
<a name="l00114"></a>00114 <span class="comment">/* #undef IL_NO_BLP */</span>
|
||||
<a name="l00115"></a>00115
|
||||
<a name="l00116"></a>00116 <span class="comment">/* bmp support (BMP is a standard Windows bitmap.) */</span>
|
||||
<a name="l00117"></a>00117 <span class="comment">/* #undef IL_NO_BMP */</span>
|
||||
<a name="l00118"></a>00118
|
||||
<a name="l00119"></a>00119 <span class="comment">/* dcx support (DCX is a multi-page PCX file.) */</span>
|
||||
<a name="l00120"></a>00120 <span class="comment">/* #undef IL_NO_DCX */</span>
|
||||
<a name="l00121"></a>00121
|
||||
<a name="l00122"></a>00122 <span class="comment">/* dds support (DDS (DirectDraw Surface) is used by DirectX to load images</span>
|
||||
<a name="l00123"></a>00123 <span class="comment"> (usually DXTC).) */</span>
|
||||
<a name="l00124"></a>00124 <span class="comment">/* #undef IL_NO_DDS */</span>
|
||||
<a name="l00125"></a>00125
|
||||
<a name="l00126"></a>00126 <span class="comment">/* dicom support (DICOM (Digital Imaging and Communications in Medicine) is</span>
|
||||
<a name="l00127"></a>00127 <span class="comment"> used extensively in medical imaging.) */</span>
|
||||
<a name="l00128"></a>00128 <span class="comment">/* #undef IL_NO_DICOM */</span>
|
||||
<a name="l00129"></a>00129
|
||||
<a name="l00130"></a>00130 <span class="comment">/* exr support (EXR is a HDR image file format standardized by Industrial</span>
|
||||
<a name="l00131"></a>00131 <span class="comment"> Light and Magic. OpenEXR powered) */</span>
|
||||
<a name="l00132"></a>00132 <span class="comment">/* #undef IL_NO_EXR */</span>
|
||||
<a name="l00133"></a>00133
|
||||
<a name="l00134"></a>00134 <span class="comment">/* fits support (FITS (Flexible Image Transport System) is used for storing</span>
|
||||
<a name="l00135"></a>00135 <span class="comment"> scientific images and is used extensively in astronomy.) */</span>
|
||||
<a name="l00136"></a>00136 <span class="comment">/* #undef IL_NO_FITS */</span>
|
||||
<a name="l00137"></a>00137
|
||||
<a name="l00138"></a>00138 <span class="comment">/* Define if you want to disable support for various game formats */</span>
|
||||
<a name="l00139"></a>00139 <span class="comment">/* #undef IL_NO_GAMES */</span>
|
||||
<a name="l00140"></a>00140
|
||||
<a name="l00141"></a>00141 <span class="comment">/* gif support (GIF is lossy and proprietary format used mainly to make</span>
|
||||
<a name="l00142"></a>00142 <span class="comment"> animations) */</span>
|
||||
<a name="l00143"></a>00143 <span class="comment">/* #undef IL_NO_GIF */</span>
|
||||
<a name="l00144"></a>00144
|
||||
<a name="l00145"></a>00145 <span class="comment">/* hdr support (HDR is the Radiance High Dynamic Range format, using more bits</span>
|
||||
<a name="l00146"></a>00146 <span class="comment"> per channel than normal.) */</span>
|
||||
<a name="l00147"></a>00147 <span class="comment">/* #undef IL_NO_HDR */</span>
|
||||
<a name="l00148"></a>00148
|
||||
<a name="l00149"></a>00149 <span class="comment">/* icns support (ICNS is the icon format for the Mac OS X operation system.)</span>
|
||||
<a name="l00150"></a>00150 <span class="comment"> */</span>
|
||||
<a name="l00151"></a>00151 <span class="comment">/* #undef IL_NO_ICNS */</span>
|
||||
<a name="l00152"></a>00152
|
||||
<a name="l00153"></a>00153 <span class="comment">/* icon support (ICO is the icon format for the Windows operating system.) */</span>
|
||||
<a name="l00154"></a>00154 <span class="comment">/* #undef IL_NO_ICON */</span>
|
||||
<a name="l00155"></a>00155
|
||||
<a name="l00156"></a>00156 <span class="comment">/* iff support (IFF (Interchange File Format) is used to transfer images</span>
|
||||
<a name="l00157"></a>00157 <span class="comment"> between software from different companies.) */</span>
|
||||
<a name="l00158"></a>00158 <span class="comment">/* #undef IL_NO_IFF */</span>
|
||||
<a name="l00159"></a>00159
|
||||
<a name="l00160"></a>00160 <span class="comment">/* ilbm support (ILBM (Amiga Interleaved BitMap Format).) */</span>
|
||||
<a name="l00161"></a>00161 <span class="comment">/* #undef IL_NO_ILBM */</span>
|
||||
<a name="l00162"></a>00162
|
||||
<a name="l00163"></a>00163 <span class="comment">/* iwi support (IWI is the Infinity Ward Image format used in the Call of Duty</span>
|
||||
<a name="l00164"></a>00164 <span class="comment"> games.) */</span>
|
||||
<a name="l00165"></a>00165 <span class="comment">/* #undef IL_NO_IWI */</span>
|
||||
<a name="l00166"></a>00166
|
||||
<a name="l00167"></a>00167 <span class="comment">/* jp2 support (JP2 (JPEG 2000) is a better, but not so widespread,</span>
|
||||
<a name="l00168"></a>00168 <span class="comment"> alternative to JPEG. JasPer powered) */</span>
|
||||
<a name="l00169"></a>00169 <span class="comment">/* #undef IL_NO_JP2 */</span>
|
||||
<a name="l00170"></a>00170
|
||||
<a name="l00171"></a>00171 <span class="comment">/* jpeg support (JPEG is most common lossy format. libjpeg powered) */</span>
|
||||
<a name="l00172"></a>00172 <span class="comment">/* #undef IL_NO_JPG */</span>
|
||||
<a name="l00173"></a>00173
|
||||
<a name="l00174"></a>00174 <span class="comment">/* lcms support () */</span>
|
||||
<a name="l00175"></a>00175 <span class="comment">/* #undef IL_NO_LCMS */</span>
|
||||
<a name="l00176"></a>00176
|
||||
<a name="l00177"></a>00177 <span class="comment">/* lif support (LIF is the image format of the game Homeworld.) */</span>
|
||||
<a name="l00178"></a>00178 <span class="comment">/* #undef IL_NO_LIF */</span>
|
||||
<a name="l00179"></a>00179
|
||||
<a name="l00180"></a>00180 <span class="comment">/* mdl support (MDL is the format for models in the game Half-Life.) */</span>
|
||||
<a name="l00181"></a>00181 <span class="comment">/* #undef IL_NO_MDL */</span>
|
||||
<a name="l00182"></a>00182
|
||||
<a name="l00183"></a>00183 <span class="comment">/* mng support (MNG is basically the animated version of PNG but is not</span>
|
||||
<a name="l00184"></a>00184 <span class="comment"> widespread.) */</span>
|
||||
<a name="l00185"></a>00185 <span class="preprocessor">#define IL_NO_MNG </span>
|
||||
<a name="l00186"></a>00186 <span class="preprocessor"></span>
|
||||
<a name="l00187"></a>00187 <span class="comment">/* mp3 support (MP3 (MPEG-1 Audio Layer 3) sometimes have images in them, such</span>
|
||||
<a name="l00188"></a>00188 <span class="comment"> as cover art.) */</span>
|
||||
<a name="l00189"></a>00189 <span class="comment">/* #undef IL_NO_MP3 */</span>
|
||||
<a name="l00190"></a>00190
|
||||
<a name="l00191"></a>00191 <span class="comment">/* pcd support (PCD is the Kodak PhotoCD format.) */</span>
|
||||
<a name="l00192"></a>00192 <span class="comment">/* #undef IL_NO_PCD */</span>
|
||||
<a name="l00193"></a>00193
|
||||
<a name="l00194"></a>00194 <span class="comment">/* pcx support (PCX is one of the first widely accepted DOS imaging standards)</span>
|
||||
<a name="l00195"></a>00195 <span class="comment"> */</span>
|
||||
<a name="l00196"></a>00196 <span class="comment">/* #undef IL_NO_PCX */</span>
|
||||
<a name="l00197"></a>00197
|
||||
<a name="l00198"></a>00198 <span class="comment">/* pic support (PIC is used by SoftImage software.) */</span>
|
||||
<a name="l00199"></a>00199 <span class="comment">/* #undef IL_NO_PIC */</span>
|
||||
<a name="l00200"></a>00200
|
||||
<a name="l00201"></a>00201 <span class="comment">/* pix support () */</span>
|
||||
<a name="l00202"></a>00202 <span class="comment">/* #undef IL_NO_PIX */</span>
|
||||
<a name="l00203"></a>00203
|
||||
<a name="l00204"></a>00204 <span class="comment">/* png support (PNG is a smart, loseless and even open format. libpng</span>
|
||||
<a name="l00205"></a>00205 <span class="comment"> powered.) */</span>
|
||||
<a name="l00206"></a>00206 <span class="comment">/* #undef IL_NO_PNG */</span>
|
||||
<a name="l00207"></a>00207
|
||||
<a name="l00208"></a>00208 <span class="comment">/* pnm support (PNM (Portable aNy Map format) is considered the</span>
|
||||
<a name="l00209"></a>00209 <span class="comment"> least-common-denominator for converting pixmap, graymap, or bitmap files</span>
|
||||
<a name="l00210"></a>00210 <span class="comment"> between different platforms.) */</span>
|
||||
<a name="l00211"></a>00211 <span class="comment">/* #undef IL_NO_PNM */</span>
|
||||
<a name="l00212"></a>00212
|
||||
<a name="l00213"></a>00213 <span class="comment">/* psd support (PSD is the PhotoShop native file format.) */</span>
|
||||
<a name="l00214"></a>00214 <span class="comment">/* #undef IL_NO_PSD */</span>
|
||||
<a name="l00215"></a>00215
|
||||
<a name="l00216"></a>00216 <span class="comment">/* psp support (PSP is the Paint Shop Pro native file format.) */</span>
|
||||
<a name="l00217"></a>00217 <span class="comment">/* #undef IL_NO_PSP */</span>
|
||||
<a name="l00218"></a>00218
|
||||
<a name="l00219"></a>00219 <span class="comment">/* pxr support (PXR is used by Pixar.) */</span>
|
||||
<a name="l00220"></a>00220 <span class="comment">/* #undef IL_NO_PXR */</span>
|
||||
<a name="l00221"></a>00221
|
||||
<a name="l00222"></a>00222 <span class="comment">/* raw support (RAW is simply raw data.) */</span>
|
||||
<a name="l00223"></a>00223 <span class="comment">/* #undef IL_NO_RAW */</span>
|
||||
<a name="l00224"></a>00224
|
||||
<a name="l00225"></a>00225 <span class="comment">/* rot support (ROT is the image format for the game Homeworld 2.) */</span>
|
||||
<a name="l00226"></a>00226 <span class="comment">/* #undef IL_NO_ROT */</span>
|
||||
<a name="l00227"></a>00227
|
||||
<a name="l00228"></a>00228 <span class="comment">/* sgi support (SGI is the native raster graphics file format for Silicon</span>
|
||||
<a name="l00229"></a>00229 <span class="comment"> Graphics workstations) */</span>
|
||||
<a name="l00230"></a>00230 <span class="comment">/* #undef IL_NO_SGI */</span>
|
||||
<a name="l00231"></a>00231
|
||||
<a name="l00232"></a>00232 <span class="comment">/* sun support (SUN is the image format used on Sun's operating systems.) */</span>
|
||||
<a name="l00233"></a>00233 <span class="comment">/* #undef IL_NO_SUN */</span>
|
||||
<a name="l00234"></a>00234
|
||||
<a name="l00235"></a>00235 <span class="comment">/* texture support (TEXTURE is the format used in Medieval II: Total War</span>
|
||||
<a name="l00236"></a>00236 <span class="comment"> (similar to DDS).) */</span>
|
||||
<a name="l00237"></a>00237 <span class="comment">/* #undef IL_NO_TEXTURE */</span>
|
||||
<a name="l00238"></a>00238
|
||||
<a name="l00239"></a>00239 <span class="comment">/* tga support (TGA (aka TARGA file format) has been used mainly in games. It</span>
|
||||
<a name="l00240"></a>00240 <span class="comment"> is open and simple.) */</span>
|
||||
<a name="l00241"></a>00241 <span class="comment">/* #undef IL_NO_TGA */</span>
|
||||
<a name="l00242"></a>00242
|
||||
<a name="l00243"></a>00243 <span class="comment">/* tiff support (TIFF is a lossless format supporting greater color depths.</span>
|
||||
<a name="l00244"></a>00244 <span class="comment"> libtiff powered) */</span>
|
||||
<a name="l00245"></a>00245 <span class="comment">/* #undef IL_NO_TIF */</span>
|
||||
<a name="l00246"></a>00246
|
||||
<a name="l00247"></a>00247 <span class="comment">/* tpl support (TPL is the format used by many GameCube and Wii games.) */</span>
|
||||
<a name="l00248"></a>00248 <span class="comment">/* #undef IL_NO_TPL */</span>
|
||||
<a name="l00249"></a>00249
|
||||
<a name="l00250"></a>00250 <span class="comment">/* utx support (UTX is the format used in the Unreal Tournament game series.)</span>
|
||||
<a name="l00251"></a>00251 <span class="comment"> */</span>
|
||||
<a name="l00252"></a>00252 <span class="comment">/* #undef IL_NO_UTX */</span>
|
||||
<a name="l00253"></a>00253
|
||||
<a name="l00254"></a>00254 <span class="comment">/* vtf support (VTF (Valve Texture Format) is used by games based on Valve's</span>
|
||||
<a name="l00255"></a>00255 <span class="comment"> Source engine.) */</span>
|
||||
<a name="l00256"></a>00256 <span class="comment">/* #undef IL_NO_VTF */</span>
|
||||
<a name="l00257"></a>00257
|
||||
<a name="l00258"></a>00258 <span class="comment">/* doom support (WAD is the format for graphics in the original DooM I/II.) */</span>
|
||||
<a name="l00259"></a>00259 <span class="comment">/* #undef IL_NO_WAD */</span>
|
||||
<a name="l00260"></a>00260
|
||||
<a name="l00261"></a>00261 <span class="comment">/* wal support (WAL is the image format used for the game Quake 2.) */</span>
|
||||
<a name="l00262"></a>00262 <span class="comment">/* #undef IL_NO_WAL */</span>
|
||||
<a name="l00263"></a>00263
|
||||
<a name="l00264"></a>00264 <span class="comment">/* wbmp support (WBMP (Wireless Application Protocol Bitmap) is a monochrome</span>
|
||||
<a name="l00265"></a>00265 <span class="comment"> graphics file format optimized for mobile computing devices) */</span>
|
||||
<a name="l00266"></a>00266 <span class="comment">/* #undef IL_NO_WBMP */</span>
|
||||
<a name="l00267"></a>00267
|
||||
<a name="l00268"></a>00268 <span class="comment">/* wdp support (WDP is Microsoft's successor to JPEG, able to store many</span>
|
||||
<a name="l00269"></a>00269 <span class="comment"> different image types either lossy or losslessly, also known as HD Photo.)</span>
|
||||
<a name="l00270"></a>00270 <span class="comment"> */</span>
|
||||
<a name="l00271"></a>00271 <span class="comment">/* #undef IL_NO_WDP */</span>
|
||||
<a name="l00272"></a>00272
|
||||
<a name="l00273"></a>00273 <span class="comment">/* xpm support (XPM (X PixMap) is an ASCII-based image used in X Windows.) */</span>
|
||||
<a name="l00274"></a>00274 <span class="comment">/* #undef IL_NO_XPM */</span>
|
||||
<a name="l00275"></a>00275
|
||||
<a name="l00276"></a>00276 <span class="comment">/* Define if you have nvidia texture tools library installed */</span>
|
||||
<a name="l00277"></a>00277 <span class="comment">/* #undef IL_USE_DXTC_NVIDIA */</span>
|
||||
<a name="l00278"></a>00278
|
||||
<a name="l00279"></a>00279 <span class="comment">/* Define if you have libsquish installed */</span>
|
||||
<a name="l00280"></a>00280 <span class="comment">/* #undef IL_USE_DXTC_SQUISH */</span>
|
||||
<a name="l00281"></a>00281
|
||||
<a name="l00282"></a>00282 <span class="comment">/* Use libjpeg without modification. always enabled. */</span>
|
||||
<a name="l00283"></a>00283 <span class="preprocessor">#define IL_USE_JPEGLIB_UNMODIFIED 1</span>
|
||||
<a name="l00284"></a>00284 <span class="preprocessor"></span>
|
||||
<a name="l00285"></a>00285 <span class="comment">/* LCMS include without lcms/ support */</span>
|
||||
<a name="l00286"></a>00286 <span class="preprocessor">#define LCMS_NODIRINCLUDE 1</span>
|
||||
<a name="l00287"></a>00287 <span class="preprocessor"></span>
|
||||
<a name="l00288"></a>00288 <span class="comment">/* Define to the sub-directory in which libtool stores uninstalled libraries.</span>
|
||||
<a name="l00289"></a>00289 <span class="comment"> */</span>
|
||||
<a name="l00290"></a>00290 <span class="preprocessor">#define LT_OBJDIR ".libs/"</span>
|
||||
<a name="l00291"></a>00291 <span class="preprocessor"></span>
|
||||
<a name="l00292"></a>00292 <span class="comment">/* Building on Mac OS X */</span>
|
||||
<a name="l00293"></a>00293 <span class="comment">/* #undef MAX_OS_X */</span>
|
||||
<a name="l00294"></a>00294
|
||||
<a name="l00295"></a>00295 <span class="comment">/* define if you have memalign memory allocation */</span>
|
||||
<a name="l00296"></a>00296 <span class="preprocessor">#define MEMALIGN 1</span>
|
||||
<a name="l00297"></a>00297 <span class="preprocessor"></span>
|
||||
<a name="l00298"></a>00298 <span class="comment">/* define if you have mm_malloc.h header */</span>
|
||||
<a name="l00299"></a>00299 <span class="preprocessor">#define MM_MALLOC 1</span>
|
||||
<a name="l00300"></a>00300 <span class="preprocessor"></span>
|
||||
<a name="l00301"></a>00301 <span class="comment">/* Define to 1 if your C compiler doesn't accept -c and -o together. */</span>
|
||||
<a name="l00302"></a>00302 <span class="comment">/* #undef NO_MINUS_C_MINUS_O */</span>
|
||||
<a name="l00303"></a>00303
|
||||
<a name="l00304"></a>00304 <span class="comment">/* Name of package */</span>
|
||||
<a name="l00305"></a>00305 <span class="preprocessor">#define PACKAGE "devil"</span>
|
||||
<a name="l00306"></a>00306 <span class="preprocessor"></span>
|
||||
<a name="l00307"></a>00307 <span class="comment">/* Define to the address where bug reports for this package should be sent. */</span>
|
||||
<a name="l00308"></a>00308 <span class="preprocessor">#define PACKAGE_BUGREPORT "bubla@users.sourceforge.net"</span>
|
||||
<a name="l00309"></a>00309 <span class="preprocessor"></span>
|
||||
<a name="l00310"></a>00310 <span class="comment">/* Define to the full name of this package. */</span>
|
||||
<a name="l00311"></a>00311 <span class="preprocessor">#define PACKAGE_NAME "DevIL"</span>
|
||||
<a name="l00312"></a>00312 <span class="preprocessor"></span>
|
||||
<a name="l00313"></a>00313 <span class="comment">/* Define to the full name and version of this package. */</span>
|
||||
<a name="l00314"></a>00314 <span class="preprocessor">#define PACKAGE_STRING "DevIL 1.7.8"</span>
|
||||
<a name="l00315"></a>00315 <span class="preprocessor"></span>
|
||||
<a name="l00316"></a>00316 <span class="comment">/* Define to the one symbol short name of this package. */</span>
|
||||
<a name="l00317"></a>00317 <span class="preprocessor">#define PACKAGE_TARNAME "devil"</span>
|
||||
<a name="l00318"></a>00318 <span class="preprocessor"></span>
|
||||
<a name="l00319"></a>00319 <span class="comment">/* Define to the version of this package. */</span>
|
||||
<a name="l00320"></a>00320 <span class="preprocessor">#define PACKAGE_VERSION "1.7.8"</span>
|
||||
<a name="l00321"></a>00321 <span class="preprocessor"></span>
|
||||
<a name="l00322"></a>00322 <span class="comment">/* define if you have posix_memalign memory allocation */</span>
|
||||
<a name="l00323"></a>00323 <span class="preprocessor">#define POSIX_MEMALIGN 1</span>
|
||||
<a name="l00324"></a>00324 <span class="preprocessor"></span>
|
||||
<a name="l00325"></a>00325 <span class="comment">/* Define to necessary symbol if this constant uses a non-standard name on</span>
|
||||
<a name="l00326"></a>00326 <span class="comment"> your system. */</span>
|
||||
<a name="l00327"></a>00327 <span class="comment">/* #undef PTHREAD_CREATE_JOINABLE */</span>
|
||||
<a name="l00328"></a>00328
|
||||
<a name="l00329"></a>00329 <span class="comment">/* restric keyword available */</span>
|
||||
<a name="l00330"></a>00330 <span class="comment">/* #undef RESTRICT_KEYWORD */</span>
|
||||
<a name="l00331"></a>00331
|
||||
<a name="l00332"></a>00332 <span class="comment">/* SSE extension found */</span>
|
||||
<a name="l00333"></a>00333 <span class="preprocessor">#define SSE </span>
|
||||
<a name="l00334"></a>00334 <span class="preprocessor"></span>
|
||||
<a name="l00335"></a>00335 <span class="comment">/* SSE2 extension found */</span>
|
||||
<a name="l00336"></a>00336 <span class="preprocessor">#define SSE2 </span>
|
||||
<a name="l00337"></a>00337 <span class="preprocessor"></span>
|
||||
<a name="l00338"></a>00338 <span class="comment">/* SSE3 extension found */</span>
|
||||
<a name="l00339"></a>00339 <span class="preprocessor">#define SSE3 </span>
|
||||
<a name="l00340"></a>00340 <span class="preprocessor"></span>
|
||||
<a name="l00341"></a>00341 <span class="comment">/* Define to 1 if you have the ANSI C header files. */</span>
|
||||
<a name="l00342"></a>00342 <span class="preprocessor">#define STDC_HEADERS 1</span>
|
||||
<a name="l00343"></a>00343 <span class="preprocessor"></span>
|
||||
<a name="l00344"></a>00344 <span class="comment">/* define if you have valloc memory allocation */</span>
|
||||
<a name="l00345"></a>00345 <span class="preprocessor">#define VALLOC 1</span>
|
||||
<a name="l00346"></a>00346 <span class="preprocessor"></span>
|
||||
<a name="l00347"></a>00347 <span class="comment">/* Memory must be vector aligned */</span>
|
||||
<a name="l00348"></a>00348 <span class="preprocessor">#define VECTORMEM </span>
|
||||
<a name="l00349"></a>00349 <span class="preprocessor"></span>
|
||||
<a name="l00350"></a>00350 <span class="comment">/* Version number of package */</span>
|
||||
<a name="l00351"></a>00351 <span class="preprocessor">#define VERSION "1.7.8"</span>
|
||||
<a name="l00352"></a>00352 <span class="preprocessor"></span>
|
||||
<a name="l00353"></a>00353 <span class="comment">/* Define to 1 if your processor stores words with the most significant byte</span>
|
||||
<a name="l00354"></a>00354 <span class="comment"> first (like Motorola and SPARC, unlike Intel and VAX). */</span>
|
||||
<a name="l00355"></a>00355 <span class="comment">/* #undef WORDS_BIGENDIAN */</span>
|
||||
<a name="l00356"></a>00356
|
||||
<a name="l00357"></a>00357 <span class="comment">/* Define to 1 if the X Window System is missing or not being used. */</span>
|
||||
<a name="l00358"></a>00358 <span class="comment">/* #undef X_DISPLAY_MISSING */</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,973 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/include/IL/devil_cpp_wrapper.hpp Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/include/IL/devil_cpp_wrapper.hpp</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef DEVIL_CPP_WRAPPER_HPP</span>
|
||||
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define DEVIL_CPP_WRAPPER_HPP</span>
|
||||
<a name="l00003"></a>00003 <span class="preprocessor"></span>
|
||||
<a name="l00004"></a>00004 <span class="preprocessor">#include <<a class="code" href="ilut_8h.html">IL/ilut.h</a>></span> <span class="comment">// Probably only have to #include this one</span>
|
||||
<a name="l00005"></a>00005
|
||||
<a name="l00006"></a>00006 <span class="keyword">class </span>ilImage
|
||||
<a name="l00007"></a>00007 {
|
||||
<a name="l00008"></a>00008 <span class="keyword">public</span>:
|
||||
<a name="l00009"></a>00009 ilImage();
|
||||
<a name="l00010"></a>00010 ilImage(ILconst_string);
|
||||
<a name="l00011"></a>00011 ilImage(<span class="keyword">const</span> ilImage &);
|
||||
<a name="l00012"></a>00012 <span class="keyword">virtual</span> ~ilImage();
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 ILboolean Load(ILconst_string);
|
||||
<a name="l00015"></a>00015 ILboolean Load(ILconst_string, ILenum);
|
||||
<a name="l00016"></a>00016 ILboolean Save(ILconst_string);
|
||||
<a name="l00017"></a>00017 ILboolean Save(ILconst_string, ILenum);
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 <span class="comment">// ImageLib functions</span>
|
||||
<a name="l00020"></a>00020 ILboolean ActiveImage(ILuint);
|
||||
<a name="l00021"></a>00021 ILboolean ActiveLayer(ILuint);
|
||||
<a name="l00022"></a>00022 ILboolean ActiveMipmap(ILuint);
|
||||
<a name="l00023"></a>00023 ILboolean Clear(<span class="keywordtype">void</span>);
|
||||
<a name="l00024"></a>00024 <span class="keywordtype">void</span> ClearColour(ILclampf, ILclampf, ILclampf, ILclampf);
|
||||
<a name="l00025"></a>00025 ILboolean Convert(ILenum);
|
||||
<a name="l00026"></a>00026 ILboolean Copy(ILuint);
|
||||
<a name="l00027"></a>00027 ILboolean Default(<span class="keywordtype">void</span>);
|
||||
<a name="l00028"></a>00028 ILboolean Flip(<span class="keywordtype">void</span>);
|
||||
<a name="l00029"></a>00029 ILboolean SwapColours(<span class="keywordtype">void</span>);
|
||||
<a name="l00030"></a>00030 ILboolean Resize(ILuint, ILuint, ILuint);
|
||||
<a name="l00031"></a>00031 ILboolean TexImage(ILuint, ILuint, ILuint, ILubyte, ILenum, ILenum, <span class="keywordtype">void</span>*);
|
||||
<a name="l00032"></a>00032
|
||||
<a name="l00033"></a>00033 <span class="comment">// Image handling</span>
|
||||
<a name="l00034"></a>00034 <span class="keywordtype">void</span> Bind(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
|
||||
<a name="l00035"></a>00035 <span class="keywordtype">void</span> Bind(ILuint);
|
||||
<a name="l00036"></a>00036 <span class="keywordtype">void</span> Close(<span class="keywordtype">void</span>) { this->Delete(); }
|
||||
<a name="l00037"></a>00037 <span class="keywordtype">void</span> Delete(<span class="keywordtype">void</span>);
|
||||
<a name="l00038"></a>00038 <span class="keywordtype">void</span> iGenBind();
|
||||
<a name="l00039"></a>00039 ILenum PaletteAlphaIndex();
|
||||
<a name="l00040"></a>00040
|
||||
<a name="l00041"></a>00041 <span class="comment">// Image characteristics</span>
|
||||
<a name="l00042"></a>00042 ILuint Width(<span class="keywordtype">void</span>);
|
||||
<a name="l00043"></a>00043 ILuint Height(<span class="keywordtype">void</span>);
|
||||
<a name="l00044"></a>00044 ILuint Depth(<span class="keywordtype">void</span>);
|
||||
<a name="l00045"></a>00045 ILubyte Bpp(<span class="keywordtype">void</span>);
|
||||
<a name="l00046"></a>00046 ILubyte Bitpp(<span class="keywordtype">void</span>);
|
||||
<a name="l00047"></a>00047 ILenum PaletteType(<span class="keywordtype">void</span>);
|
||||
<a name="l00048"></a>00048 ILenum Format(<span class="keywordtype">void</span>);
|
||||
<a name="l00049"></a>00049 ILenum Type(<span class="keywordtype">void</span>);
|
||||
<a name="l00050"></a>00050 ILuint NumImages(<span class="keywordtype">void</span>);
|
||||
<a name="l00051"></a>00051 ILuint NumMipmaps(<span class="keywordtype">void</span>);
|
||||
<a name="l00052"></a>00052 ILuint GetId(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
|
||||
<a name="l00053"></a>00053 ILenum GetOrigin(<span class="keywordtype">void</span>);
|
||||
<a name="l00054"></a>00054 ILubyte *GetData(<span class="keywordtype">void</span>);
|
||||
<a name="l00055"></a>00055 ILubyte *GetPalette(<span class="keywordtype">void</span>);
|
||||
<a name="l00056"></a>00056
|
||||
<a name="l00057"></a>00057 <span class="comment">// Rendering</span>
|
||||
<a name="l00058"></a>00058 ILuint BindImage(<span class="keywordtype">void</span>);
|
||||
<a name="l00059"></a>00059 ILuint BindImage(ILenum);
|
||||
<a name="l00060"></a>00060
|
||||
<a name="l00061"></a>00061 <span class="comment">// Operators</span>
|
||||
<a name="l00062"></a>00062 ilImage& operator = (ILuint);
|
||||
<a name="l00063"></a>00063 ilImage& operator = (<span class="keyword">const</span> ilImage &);
|
||||
<a name="l00064"></a>00064
|
||||
<a name="l00065"></a>00065 <span class="keyword">protected</span>:
|
||||
<a name="l00066"></a>00066 ILuint Id;
|
||||
<a name="l00067"></a>00067
|
||||
<a name="l00068"></a>00068 <span class="keyword">private</span>:
|
||||
<a name="l00069"></a>00069 <span class="keyword">static</span> <span class="keywordtype">int</span> ilStartUp();
|
||||
<a name="l00070"></a>00070 <span class="keyword">static</span> ILboolean ilStartedUp;
|
||||
<a name="l00071"></a>00071 };
|
||||
<a name="l00072"></a>00072
|
||||
<a name="l00073"></a>00073 <span class="comment">// ensure that init is called exactly once</span>
|
||||
<a name="l00074"></a>00074 <span class="keywordtype">int</span> ilImage::ilStartUp()
|
||||
<a name="l00075"></a>00075 {
|
||||
<a name="l00076"></a>00076 ilInit();
|
||||
<a name="l00077"></a>00077 iluInit();
|
||||
<a name="l00078"></a>00078 <span class="comment">//ilutInit();</span>
|
||||
<a name="l00079"></a>00079 <span class="keywordflow">return</span> <span class="keyword">true</span>;
|
||||
<a name="l00080"></a>00080 }
|
||||
<a name="l00081"></a>00081 ILboolean ilImage::ilStartedUp = ilStartUp();
|
||||
<a name="l00082"></a>00082
|
||||
<a name="l00083"></a>00083 <span class="keyword">class </span>ilFilters
|
||||
<a name="l00084"></a>00084 {
|
||||
<a name="l00085"></a>00085 <span class="keyword">public</span>:
|
||||
<a name="l00086"></a>00086 <span class="keyword">static</span> ILboolean Alienify(ilImage &);
|
||||
<a name="l00087"></a>00087 <span class="keyword">static</span> ILboolean BlurAvg(ilImage &, ILuint Iter);
|
||||
<a name="l00088"></a>00088 <span class="keyword">static</span> ILboolean BlurGaussian(ilImage &, ILuint Iter);
|
||||
<a name="l00089"></a>00089 <span class="keyword">static</span> ILboolean Contrast(ilImage &, ILfloat Contrast);
|
||||
<a name="l00090"></a>00090 <span class="keyword">static</span> ILboolean EdgeDetectE(ilImage &);
|
||||
<a name="l00091"></a>00091 <span class="keyword">static</span> ILboolean EdgeDetectP(ilImage &);
|
||||
<a name="l00092"></a>00092 <span class="keyword">static</span> ILboolean EdgeDetectS(ilImage &);
|
||||
<a name="l00093"></a>00093 <span class="keyword">static</span> ILboolean Emboss(ilImage &);
|
||||
<a name="l00094"></a>00094 <span class="keyword">static</span> ILboolean Gamma(ilImage &, ILfloat Gamma);
|
||||
<a name="l00095"></a>00095 <span class="keyword">static</span> ILboolean Negative(ilImage &);
|
||||
<a name="l00096"></a>00096 <span class="keyword">static</span> ILboolean Noisify(ilImage &, ILubyte Factor);
|
||||
<a name="l00097"></a>00097 <span class="keyword">static</span> ILboolean Pixelize(ilImage &, ILuint PixSize);
|
||||
<a name="l00098"></a>00098 <span class="keyword">static</span> ILboolean Saturate(ilImage &, ILfloat Saturation);
|
||||
<a name="l00099"></a>00099 <span class="keyword">static</span> ILboolean Saturate(ilImage &, ILfloat r, ILfloat g, ILfloat b, ILfloat Saturation);
|
||||
<a name="l00100"></a>00100 <span class="keyword">static</span> ILboolean ScaleColours(ilImage &, ILfloat r, ILfloat g, ILfloat b);
|
||||
<a name="l00101"></a>00101 <span class="keyword">static</span> ILboolean Sharpen(ilImage &, ILfloat Factor, ILuint Iter);
|
||||
<a name="l00102"></a>00102 };
|
||||
<a name="l00103"></a>00103
|
||||
<a name="l00104"></a>00104 <span class="preprocessor">#ifdef ILUT_USE_OPENGL</span>
|
||||
<a name="l00105"></a>00105 <span class="preprocessor"></span><span class="keyword">class </span>ilOgl
|
||||
<a name="l00106"></a>00106 {
|
||||
<a name="l00107"></a>00107 <span class="keyword">public</span>:
|
||||
<a name="l00108"></a>00108 <span class="keyword">static</span> <span class="keywordtype">void</span> Init(<span class="keywordtype">void</span>);
|
||||
<a name="l00109"></a>00109 <span class="keyword">static</span> GLuint BindTex(ilImage &);
|
||||
<a name="l00110"></a>00110 <span class="keyword">static</span> ILboolean Upload(ilImage &, ILuint);
|
||||
<a name="l00111"></a>00111 <span class="keyword">static</span> GLuint Mipmap(ilImage &);
|
||||
<a name="l00112"></a>00112 <span class="keyword">static</span> ILboolean Screen(<span class="keywordtype">void</span>);
|
||||
<a name="l00113"></a>00113 <span class="keyword">static</span> ILboolean Screenie(<span class="keywordtype">void</span>);
|
||||
<a name="l00114"></a>00114 };
|
||||
<a name="l00115"></a>00115 <span class="preprocessor">#endif//ILUT_USE_OPENGL</span>
|
||||
<a name="l00116"></a>00116 <span class="preprocessor"></span>
|
||||
<a name="l00117"></a>00117
|
||||
<a name="l00118"></a>00118 <span class="preprocessor">#ifdef ILUT_USE_ALLEGRO</span>
|
||||
<a name="l00119"></a>00119 <span class="preprocessor"></span><span class="keyword">class </span>ilAlleg
|
||||
<a name="l00120"></a>00120 {
|
||||
<a name="l00121"></a>00121 <span class="keyword">public</span>:
|
||||
<a name="l00122"></a>00122 <span class="keyword">static</span> <span class="keywordtype">void</span> Init(<span class="keywordtype">void</span>);
|
||||
<a name="l00123"></a>00123 <span class="keyword">static</span> BITMAP *Convert(ilImage &);
|
||||
<a name="l00124"></a>00124 };
|
||||
<a name="l00125"></a>00125 <span class="preprocessor">#endif//ILUT_USE_ALLEGRO</span>
|
||||
<a name="l00126"></a>00126 <span class="preprocessor"></span>
|
||||
<a name="l00127"></a>00127
|
||||
<a name="l00128"></a>00128 <span class="preprocessor">#ifdef ILUT_USE_WIN32</span>
|
||||
<a name="l00129"></a>00129 <span class="preprocessor"></span><span class="keyword">class </span>ilWin32
|
||||
<a name="l00130"></a>00130 {
|
||||
<a name="l00131"></a>00131 <span class="keyword">public</span>:
|
||||
<a name="l00132"></a>00132 <span class="keyword">static</span> <span class="keywordtype">void</span> Init(<span class="keywordtype">void</span>);
|
||||
<a name="l00133"></a>00133 <span class="keyword">static</span> HBITMAP Convert(ilImage &);
|
||||
<a name="l00134"></a>00134 <span class="keyword">static</span> ILboolean GetClipboard(ilImage &);
|
||||
<a name="l00135"></a>00135 <span class="keyword">static</span> <span class="keywordtype">void</span> GetInfo(ilImage &, BITMAPINFO *Info);
|
||||
<a name="l00136"></a>00136 <span class="keyword">static</span> ILubyte *GetPadData(ilImage &);
|
||||
<a name="l00137"></a>00137 <span class="keyword">static</span> HPALETTE GetPal(ilImage &);
|
||||
<a name="l00138"></a>00138 <span class="keyword">static</span> ILboolean GetResource(ilImage &, HINSTANCE hInst, ILint ID, <span class="keywordtype">char</span> *ResourceType);
|
||||
<a name="l00139"></a>00139 <span class="keyword">static</span> ILboolean GetResource(ilImage &, HINSTANCE hInst, ILint ID, <span class="keywordtype">char</span> *ResourceType, ILenum Type);
|
||||
<a name="l00140"></a>00140 <span class="keyword">static</span> ILboolean SetClipboard(ilImage &);
|
||||
<a name="l00141"></a>00141 };
|
||||
<a name="l00142"></a>00142 <span class="preprocessor">#endif//ILUT_USE_WIN32</span>
|
||||
<a name="l00143"></a>00143 <span class="preprocessor"></span>
|
||||
<a name="l00144"></a>00144
|
||||
<a name="l00145"></a>00145 <span class="keyword">class </span>ilValidate
|
||||
<a name="l00146"></a>00146 {
|
||||
<a name="l00147"></a>00147 <span class="keyword">public</span>:
|
||||
<a name="l00148"></a>00148 <span class="keyword">static</span> ILboolean Valid(ILenum, ILconst_string);
|
||||
<a name="l00149"></a>00149 <span class="keyword">static</span> ILboolean Valid(ILenum, FILE *);
|
||||
<a name="l00150"></a>00150 <span class="keyword">static</span> ILboolean Valid(ILenum, <span class="keywordtype">void</span> *, ILuint);
|
||||
<a name="l00151"></a>00151
|
||||
<a name="l00152"></a>00152 <span class="keyword">protected</span>:
|
||||
<a name="l00153"></a>00153
|
||||
<a name="l00154"></a>00154 <span class="keyword">private</span>:
|
||||
<a name="l00155"></a>00155
|
||||
<a name="l00156"></a>00156 };
|
||||
<a name="l00157"></a>00157
|
||||
<a name="l00158"></a>00158 <span class="keyword">class </span>ilState
|
||||
<a name="l00159"></a>00159 {
|
||||
<a name="l00160"></a>00160 <span class="keyword">public</span>:
|
||||
<a name="l00161"></a>00161 <span class="keyword">static</span> ILboolean Disable(ILenum);
|
||||
<a name="l00162"></a>00162 <span class="keyword">static</span> ILboolean Enable(ILenum);
|
||||
<a name="l00163"></a>00163 <span class="keyword">static</span> <span class="keywordtype">void</span> Get(ILenum, ILboolean &);
|
||||
<a name="l00164"></a>00164 <span class="keyword">static</span> <span class="keywordtype">void</span> Get(ILenum, ILint &);
|
||||
<a name="l00165"></a>00165 <span class="keyword">static</span> ILboolean GetBool(ILenum);
|
||||
<a name="l00166"></a>00166 <span class="keyword">static</span> ILint GetInt(ILenum);
|
||||
<a name="l00167"></a>00167 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *GetString(ILenum);
|
||||
<a name="l00168"></a>00168 <span class="keyword">static</span> ILboolean IsDisabled(ILenum);
|
||||
<a name="l00169"></a>00169 <span class="keyword">static</span> ILboolean IsEnabled(ILenum);
|
||||
<a name="l00170"></a>00170 <span class="keyword">static</span> ILboolean Origin(ILenum);
|
||||
<a name="l00171"></a>00171 <span class="keyword">static</span> <span class="keywordtype">void</span> Pop(<span class="keywordtype">void</span>);
|
||||
<a name="l00172"></a>00172 <span class="keyword">static</span> <span class="keywordtype">void</span> Push(ILuint);
|
||||
<a name="l00173"></a>00173
|
||||
<a name="l00174"></a>00174 <span class="keyword">protected</span>:
|
||||
<a name="l00175"></a>00175
|
||||
<a name="l00176"></a>00176 <span class="keyword">private</span>:
|
||||
<a name="l00177"></a>00177
|
||||
<a name="l00178"></a>00178 };
|
||||
<a name="l00179"></a>00179
|
||||
<a name="l00180"></a>00180
|
||||
<a name="l00181"></a>00181 <span class="keyword">class </span>ilError
|
||||
<a name="l00182"></a>00182 {
|
||||
<a name="l00183"></a>00183 <span class="keyword">public</span>:
|
||||
<a name="l00184"></a>00184 <span class="keyword">static</span> <span class="keywordtype">void</span> Check(<span class="keywordtype">void</span> (*Callback)(<span class="keyword">const</span> <span class="keywordtype">char</span>*));
|
||||
<a name="l00185"></a>00185 <span class="keyword">static</span> <span class="keywordtype">void</span> Check(<span class="keywordtype">void</span> (*Callback)(ILenum));
|
||||
<a name="l00186"></a>00186 <span class="keyword">static</span> ILenum Get(<span class="keywordtype">void</span>);
|
||||
<a name="l00187"></a>00187 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *String(<span class="keywordtype">void</span>);
|
||||
<a name="l00188"></a>00188 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *String(ILenum);
|
||||
<a name="l00189"></a>00189
|
||||
<a name="l00190"></a>00190 <span class="keyword">protected</span>:
|
||||
<a name="l00191"></a>00191
|
||||
<a name="l00192"></a>00192 <span class="keyword">private</span>:
|
||||
<a name="l00193"></a>00193
|
||||
<a name="l00194"></a>00194 };
|
||||
<a name="l00195"></a>00195
|
||||
<a name="l00196"></a>00196
|
||||
<a name="l00197"></a>00197 <span class="comment">//</span>
|
||||
<a name="l00198"></a>00198 <span class="comment">// ILIMAGE</span>
|
||||
<a name="l00199"></a>00199 <span class="comment">//</span>
|
||||
<a name="l00200"></a>00200 ilImage::ilImage()
|
||||
<a name="l00201"></a>00201 {
|
||||
<a name="l00202"></a>00202 this->Id = 0;
|
||||
<a name="l00203"></a>00203 <span class="comment">//this->iStartUp(); // This was commented out, but it needs to be somewhere...</span>
|
||||
<a name="l00204"></a>00204 this->iGenBind();
|
||||
<a name="l00205"></a>00205 <span class="keywordflow">return</span>;
|
||||
<a name="l00206"></a>00206 }
|
||||
<a name="l00207"></a>00207
|
||||
<a name="l00208"></a>00208
|
||||
<a name="l00209"></a>00209 ilImage::ilImage(ILconst_string FileName)
|
||||
<a name="l00210"></a>00210 {
|
||||
<a name="l00211"></a>00211 this->Id = 0;
|
||||
<a name="l00212"></a>00212 <span class="comment">//this->iStartUp(); // This was commented out, but it needs to be somewhere...</span>
|
||||
<a name="l00213"></a>00213 this->iGenBind();
|
||||
<a name="l00214"></a>00214 ilLoadImage(FileName);
|
||||
<a name="l00215"></a>00215 <span class="keywordflow">return</span>;
|
||||
<a name="l00216"></a>00216 }
|
||||
<a name="l00217"></a>00217
|
||||
<a name="l00218"></a>00218
|
||||
<a name="l00219"></a>00219 ilImage::ilImage(<span class="keyword">const</span> ilImage &Image)
|
||||
<a name="l00220"></a>00220 {
|
||||
<a name="l00221"></a>00221 this->Id = 0;
|
||||
<a name="l00222"></a>00222 <span class="comment">// this->iStartUp();</span>
|
||||
<a name="l00223"></a>00223 this->iGenBind();
|
||||
<a name="l00224"></a>00224 *<span class="keyword">this</span> = Image;
|
||||
<a name="l00225"></a>00225 <span class="keywordflow">return</span>;
|
||||
<a name="l00226"></a>00226 }
|
||||
<a name="l00227"></a>00227
|
||||
<a name="l00228"></a>00228
|
||||
<a name="l00229"></a>00229 ilImage::~ilImage()
|
||||
<a name="l00230"></a>00230 {
|
||||
<a name="l00231"></a>00231 <span class="keywordflow">if</span> (this->Id)
|
||||
<a name="l00232"></a>00232 ilDeleteImages(1, &this->Id);
|
||||
<a name="l00233"></a>00233 this->Id = 0;
|
||||
<a name="l00234"></a>00234 <span class="keywordflow">return</span>;
|
||||
<a name="l00235"></a>00235 }
|
||||
<a name="l00236"></a>00236
|
||||
<a name="l00237"></a>00237
|
||||
<a name="l00238"></a>00238 ILboolean ilImage::Load(ILconst_string FileName)
|
||||
<a name="l00239"></a>00239 {
|
||||
<a name="l00240"></a>00240 this->iGenBind();
|
||||
<a name="l00241"></a>00241 <span class="keywordflow">return</span> ilLoadImage(FileName);
|
||||
<a name="l00242"></a>00242 }
|
||||
<a name="l00243"></a>00243
|
||||
<a name="l00244"></a>00244
|
||||
<a name="l00245"></a>00245 ILboolean ilImage::Load(ILconst_string FileName, ILenum Type)
|
||||
<a name="l00246"></a>00246 {
|
||||
<a name="l00247"></a>00247 this->iGenBind();
|
||||
<a name="l00248"></a>00248 <span class="keywordflow">return</span> ilLoad(Type, FileName);
|
||||
<a name="l00249"></a>00249 }
|
||||
<a name="l00250"></a>00250
|
||||
<a name="l00251"></a>00251
|
||||
<a name="l00252"></a>00252 ILboolean ilImage::Save(ILconst_string FileName)
|
||||
<a name="l00253"></a>00253 {
|
||||
<a name="l00254"></a>00254 this->iGenBind();
|
||||
<a name="l00255"></a>00255 <span class="keywordflow">return</span> ilSaveImage(FileName);
|
||||
<a name="l00256"></a>00256 }
|
||||
<a name="l00257"></a>00257
|
||||
<a name="l00258"></a>00258
|
||||
<a name="l00259"></a>00259 ILboolean ilImage::Save(ILconst_string FileName, ILenum Type)
|
||||
<a name="l00260"></a>00260 {
|
||||
<a name="l00261"></a>00261 this->iGenBind();
|
||||
<a name="l00262"></a>00262 <span class="keywordflow">return</span> ilSave(Type, FileName);
|
||||
<a name="l00263"></a>00263 }
|
||||
<a name="l00264"></a>00264
|
||||
<a name="l00265"></a>00265
|
||||
<a name="l00266"></a>00266
|
||||
<a name="l00267"></a>00267 <span class="comment">//</span>
|
||||
<a name="l00268"></a>00268 <span class="comment">// ImageLib functions</span>
|
||||
<a name="l00269"></a>00269 <span class="comment">//</span>
|
||||
<a name="l00270"></a>00270 ILboolean ilImage::ActiveImage(ILuint Number)
|
||||
<a name="l00271"></a>00271 {
|
||||
<a name="l00272"></a>00272 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00273"></a>00273 this->Bind();
|
||||
<a name="l00274"></a>00274 <span class="keywordflow">return</span> ilActiveImage(Number);
|
||||
<a name="l00275"></a>00275 }
|
||||
<a name="l00276"></a>00276 <span class="keywordflow">return</span> IL_FALSE;
|
||||
<a name="l00277"></a>00277 }
|
||||
<a name="l00278"></a>00278
|
||||
<a name="l00279"></a>00279
|
||||
<a name="l00280"></a>00280 ILboolean ilImage::ActiveLayer(ILuint Number)
|
||||
<a name="l00281"></a>00281 {
|
||||
<a name="l00282"></a>00282 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00283"></a>00283 this->Bind();
|
||||
<a name="l00284"></a>00284 <span class="keywordflow">return</span> ilActiveLayer(Number);
|
||||
<a name="l00285"></a>00285 }
|
||||
<a name="l00286"></a>00286 <span class="keywordflow">return</span> IL_FALSE;
|
||||
<a name="l00287"></a>00287 }
|
||||
<a name="l00288"></a>00288
|
||||
<a name="l00289"></a>00289
|
||||
<a name="l00290"></a>00290 ILboolean ilImage::ActiveMipmap(ILuint Number)
|
||||
<a name="l00291"></a>00291 {
|
||||
<a name="l00292"></a>00292 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00293"></a>00293 this->Bind();
|
||||
<a name="l00294"></a>00294 <span class="keywordflow">return</span> ilActiveMipmap(Number);
|
||||
<a name="l00295"></a>00295 }
|
||||
<a name="l00296"></a>00296 <span class="keywordflow">return</span> IL_FALSE;
|
||||
<a name="l00297"></a>00297 }
|
||||
<a name="l00298"></a>00298
|
||||
<a name="l00299"></a>00299
|
||||
<a name="l00300"></a>00300 ILboolean ilImage::Clear()
|
||||
<a name="l00301"></a>00301 {
|
||||
<a name="l00302"></a>00302 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00303"></a>00303 this->Bind();
|
||||
<a name="l00304"></a>00304 <span class="keywordflow">return</span> ilClearImage();
|
||||
<a name="l00305"></a>00305 }
|
||||
<a name="l00306"></a>00306 <span class="keywordflow">return</span> IL_FALSE;
|
||||
<a name="l00307"></a>00307 }
|
||||
<a name="l00308"></a>00308
|
||||
<a name="l00309"></a>00309
|
||||
<a name="l00310"></a>00310 <span class="keywordtype">void</span> ilImage::ClearColour(ILclampf Red, ILclampf Green, ILclampf Blue, ILclampf Alpha)
|
||||
<a name="l00311"></a>00311 {
|
||||
<a name="l00312"></a>00312 ilClearColour(Red, Green, Blue, Alpha);
|
||||
<a name="l00313"></a>00313 <span class="keywordflow">return</span>;
|
||||
<a name="l00314"></a>00314 }
|
||||
<a name="l00315"></a>00315
|
||||
<a name="l00316"></a>00316
|
||||
<a name="l00317"></a>00317 ILboolean ilImage::Convert(ILenum NewFormat)
|
||||
<a name="l00318"></a>00318 {
|
||||
<a name="l00319"></a>00319 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00320"></a>00320 this->Bind();
|
||||
<a name="l00321"></a>00321 <span class="keywordflow">return</span> ilConvertImage(NewFormat, IL_UNSIGNED_BYTE);
|
||||
<a name="l00322"></a>00322 }
|
||||
<a name="l00323"></a>00323 <span class="keywordflow">return</span> IL_FALSE;
|
||||
<a name="l00324"></a>00324 }
|
||||
<a name="l00325"></a>00325
|
||||
<a name="l00326"></a>00326
|
||||
<a name="l00327"></a>00327 ILboolean ilImage::Copy(ILuint Src)
|
||||
<a name="l00328"></a>00328 {
|
||||
<a name="l00329"></a>00329 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00330"></a>00330 this->Bind();
|
||||
<a name="l00331"></a>00331 <span class="keywordflow">return</span> ilCopyImage(Src);
|
||||
<a name="l00332"></a>00332 }
|
||||
<a name="l00333"></a>00333 <span class="keywordflow">return</span> IL_FALSE;
|
||||
<a name="l00334"></a>00334 }
|
||||
<a name="l00335"></a>00335
|
||||
<a name="l00336"></a>00336
|
||||
<a name="l00337"></a>00337 ILboolean ilImage::Default()
|
||||
<a name="l00338"></a>00338 {
|
||||
<a name="l00339"></a>00339 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00340"></a>00340 this->Bind();
|
||||
<a name="l00341"></a>00341 <span class="keywordflow">return</span> ilDefaultImage();
|
||||
<a name="l00342"></a>00342 }
|
||||
<a name="l00343"></a>00343 <span class="keywordflow">return</span> IL_FALSE;
|
||||
<a name="l00344"></a>00344 }
|
||||
<a name="l00345"></a>00345
|
||||
<a name="l00346"></a>00346
|
||||
<a name="l00347"></a>00347 ILboolean ilImage::Flip()
|
||||
<a name="l00348"></a>00348 {
|
||||
<a name="l00349"></a>00349 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00350"></a>00350 this->Bind();
|
||||
<a name="l00351"></a>00351 <span class="keywordflow">return</span> iluFlipImage();
|
||||
<a name="l00352"></a>00352 }
|
||||
<a name="l00353"></a>00353 <span class="keywordflow">return</span> IL_FALSE;
|
||||
<a name="l00354"></a>00354 }
|
||||
<a name="l00355"></a>00355
|
||||
<a name="l00356"></a>00356
|
||||
<a name="l00357"></a>00357 ILboolean ilImage::SwapColours()
|
||||
<a name="l00358"></a>00358 {
|
||||
<a name="l00359"></a>00359 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00360"></a>00360 this->Bind();
|
||||
<a name="l00361"></a>00361 <span class="keywordflow">return</span> iluSwapColours();
|
||||
<a name="l00362"></a>00362 }
|
||||
<a name="l00363"></a>00363 <span class="keywordflow">return</span> IL_FALSE;
|
||||
<a name="l00364"></a>00364 }
|
||||
<a name="l00365"></a>00365
|
||||
<a name="l00366"></a>00366
|
||||
<a name="l00367"></a>00367 ILboolean ilImage::Resize(ILuint Width, ILuint Height, ILuint Depth)
|
||||
<a name="l00368"></a>00368 {
|
||||
<a name="l00369"></a>00369 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00370"></a>00370 this->Bind();
|
||||
<a name="l00371"></a>00371 <span class="keywordflow">return</span> iluScale(Width, Height, Depth);
|
||||
<a name="l00372"></a>00372 }
|
||||
<a name="l00373"></a>00373 <span class="keywordflow">return</span> IL_FALSE;
|
||||
<a name="l00374"></a>00374 }
|
||||
<a name="l00375"></a>00375
|
||||
<a name="l00376"></a>00376
|
||||
<a name="l00377"></a>00377 ILboolean ilImage::TexImage(ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp, ILenum Format, ILenum Type, <span class="keywordtype">void</span> *Data)
|
||||
<a name="l00378"></a>00378 {
|
||||
<a name="l00379"></a>00379 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00380"></a>00380 this->Bind();
|
||||
<a name="l00381"></a>00381 <span class="keywordflow">return</span> ilTexImage(Width, Height, Depth, Bpp, Format, Type, Data);
|
||||
<a name="l00382"></a>00382 }
|
||||
<a name="l00383"></a>00383 <span class="keywordflow">return</span> IL_FALSE;
|
||||
<a name="l00384"></a>00384 }
|
||||
<a name="l00385"></a>00385
|
||||
<a name="l00386"></a>00386
|
||||
<a name="l00387"></a>00387
|
||||
<a name="l00388"></a>00388 <span class="comment">//</span>
|
||||
<a name="l00389"></a>00389 <span class="comment">// Image handling</span>
|
||||
<a name="l00390"></a>00390 <span class="comment">//</span>
|
||||
<a name="l00391"></a>00391 <span class="keywordtype">void</span> ilImage::Bind()<span class="keyword"> const</span>
|
||||
<a name="l00392"></a>00392 <span class="keyword"></span>{
|
||||
<a name="l00393"></a>00393 <span class="keywordflow">if</span> (this->Id)
|
||||
<a name="l00394"></a>00394 ilBindImage(this->Id);
|
||||
<a name="l00395"></a>00395 <span class="keywordflow">return</span>;
|
||||
<a name="l00396"></a>00396 }
|
||||
<a name="l00397"></a>00397
|
||||
<a name="l00398"></a>00398 <span class="comment">// Note: Behaviour may be changed!</span>
|
||||
<a name="l00399"></a>00399 <span class="keywordtype">void</span> ilImage::Bind(ILuint Image)
|
||||
<a name="l00400"></a>00400 {
|
||||
<a name="l00401"></a>00401 <span class="keywordflow">if</span> (this->Id == Image)
|
||||
<a name="l00402"></a>00402 <span class="keywordflow">return</span>;
|
||||
<a name="l00403"></a>00403 this->Delete(); <span class="comment">// Should we delete it?</span>
|
||||
<a name="l00404"></a>00404 this->Id = Image;
|
||||
<a name="l00405"></a>00405 ilBindImage(this->Id);
|
||||
<a name="l00406"></a>00406 <span class="keywordflow">return</span>;
|
||||
<a name="l00407"></a>00407 }
|
||||
<a name="l00408"></a>00408
|
||||
<a name="l00409"></a>00409
|
||||
<a name="l00410"></a>00410 <span class="keywordtype">void</span> ilImage::Delete()
|
||||
<a name="l00411"></a>00411 {
|
||||
<a name="l00412"></a>00412 <span class="keywordflow">if</span> (this->Id == 0)
|
||||
<a name="l00413"></a>00413 <span class="keywordflow">return</span>;
|
||||
<a name="l00414"></a>00414 ilDeleteImages(1, &this->Id);
|
||||
<a name="l00415"></a>00415 this->Id = 0;
|
||||
<a name="l00416"></a>00416 <span class="keywordflow">return</span>;
|
||||
<a name="l00417"></a>00417 }
|
||||
<a name="l00418"></a>00418
|
||||
<a name="l00419"></a>00419
|
||||
<a name="l00420"></a>00420
|
||||
<a name="l00421"></a>00421
|
||||
<a name="l00422"></a>00422 <span class="comment">//</span>
|
||||
<a name="l00423"></a>00423 <span class="comment">// Image characteristics</span>
|
||||
<a name="l00424"></a>00424 <span class="comment">//</span>
|
||||
<a name="l00425"></a>00425 ILuint ilImage::Width()
|
||||
<a name="l00426"></a>00426 {
|
||||
<a name="l00427"></a>00427 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00428"></a>00428 this->Bind();
|
||||
<a name="l00429"></a>00429 <span class="keywordflow">return</span> ilGetInteger(IL_IMAGE_WIDTH);
|
||||
<a name="l00430"></a>00430 }
|
||||
<a name="l00431"></a>00431 <span class="keywordflow">return</span> 0;
|
||||
<a name="l00432"></a>00432 }
|
||||
<a name="l00433"></a>00433
|
||||
<a name="l00434"></a>00434
|
||||
<a name="l00435"></a>00435 ILuint ilImage::Height()
|
||||
<a name="l00436"></a>00436 {
|
||||
<a name="l00437"></a>00437 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00438"></a>00438 this->Bind();
|
||||
<a name="l00439"></a>00439 <span class="keywordflow">return</span> ilGetInteger(IL_IMAGE_HEIGHT);
|
||||
<a name="l00440"></a>00440 }
|
||||
<a name="l00441"></a>00441 <span class="keywordflow">return</span> 0;
|
||||
<a name="l00442"></a>00442 }
|
||||
<a name="l00443"></a>00443
|
||||
<a name="l00444"></a>00444 ILuint ilImage::Depth()
|
||||
<a name="l00445"></a>00445 {
|
||||
<a name="l00446"></a>00446 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00447"></a>00447 this->Bind();
|
||||
<a name="l00448"></a>00448 <span class="keywordflow">return</span> ilGetInteger(IL_IMAGE_DEPTH);
|
||||
<a name="l00449"></a>00449 }
|
||||
<a name="l00450"></a>00450 <span class="keywordflow">return</span> 0;
|
||||
<a name="l00451"></a>00451 }
|
||||
<a name="l00452"></a>00452
|
||||
<a name="l00453"></a>00453 ILubyte ilImage::Bpp()
|
||||
<a name="l00454"></a>00454 {
|
||||
<a name="l00455"></a>00455 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00456"></a>00456 this->Bind();
|
||||
<a name="l00457"></a>00457 <span class="keywordflow">return</span> ilGetInteger(IL_IMAGE_BYTES_PER_PIXEL);
|
||||
<a name="l00458"></a>00458 }
|
||||
<a name="l00459"></a>00459 <span class="keywordflow">return</span> 0;
|
||||
<a name="l00460"></a>00460 }
|
||||
<a name="l00461"></a>00461
|
||||
<a name="l00462"></a>00462 ILubyte ilImage::Bitpp()
|
||||
<a name="l00463"></a>00463 {
|
||||
<a name="l00464"></a>00464 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00465"></a>00465 this->Bind();
|
||||
<a name="l00466"></a>00466 <span class="keywordflow">return</span> ilGetInteger(IL_IMAGE_BITS_PER_PIXEL);
|
||||
<a name="l00467"></a>00467 }
|
||||
<a name="l00468"></a>00468 <span class="keywordflow">return</span> 0;
|
||||
<a name="l00469"></a>00469 }
|
||||
<a name="l00470"></a>00470
|
||||
<a name="l00471"></a>00471 ILenum ilImage::Format()
|
||||
<a name="l00472"></a>00472 {
|
||||
<a name="l00473"></a>00473 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00474"></a>00474 this->Bind();
|
||||
<a name="l00475"></a>00475 <span class="keywordflow">return</span> ilGetInteger(IL_IMAGE_FORMAT);
|
||||
<a name="l00476"></a>00476 }
|
||||
<a name="l00477"></a>00477 <span class="keywordflow">return</span> 0;
|
||||
<a name="l00478"></a>00478 }
|
||||
<a name="l00479"></a>00479
|
||||
<a name="l00480"></a>00480 ILenum ilImage::PaletteType()
|
||||
<a name="l00481"></a>00481 {
|
||||
<a name="l00482"></a>00482 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00483"></a>00483 this->Bind();
|
||||
<a name="l00484"></a>00484 <span class="keywordflow">return</span> ilGetInteger(IL_PALETTE_TYPE);
|
||||
<a name="l00485"></a>00485 }
|
||||
<a name="l00486"></a>00486 <span class="keywordflow">return</span> 0;
|
||||
<a name="l00487"></a>00487 }
|
||||
<a name="l00488"></a>00488
|
||||
<a name="l00489"></a>00489 ILenum ilImage::PaletteAlphaIndex()
|
||||
<a name="l00490"></a>00490 {
|
||||
<a name="l00491"></a>00491 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00492"></a>00492 this->Bind();
|
||||
<a name="l00493"></a>00493 <span class="keywordflow">return</span> ilGetInteger(IL_PNG_ALPHA_INDEX);
|
||||
<a name="l00494"></a>00494 }
|
||||
<a name="l00495"></a>00495 <span class="keywordflow">return</span> 0;
|
||||
<a name="l00496"></a>00496 }
|
||||
<a name="l00497"></a>00497
|
||||
<a name="l00498"></a>00498 ILenum ilImage::Type()
|
||||
<a name="l00499"></a>00499 {
|
||||
<a name="l00500"></a>00500 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00501"></a>00501 this->Bind();
|
||||
<a name="l00502"></a>00502 <span class="keywordflow">return</span> ilGetInteger(IL_IMAGE_TYPE);
|
||||
<a name="l00503"></a>00503 }
|
||||
<a name="l00504"></a>00504 <span class="keywordflow">return</span> 0;
|
||||
<a name="l00505"></a>00505 }
|
||||
<a name="l00506"></a>00506
|
||||
<a name="l00507"></a>00507 ILenum ilImage::NumImages()
|
||||
<a name="l00508"></a>00508 {
|
||||
<a name="l00509"></a>00509 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00510"></a>00510 this->Bind();
|
||||
<a name="l00511"></a>00511 <span class="keywordflow">return</span> ilGetInteger(IL_NUM_IMAGES);
|
||||
<a name="l00512"></a>00512 }
|
||||
<a name="l00513"></a>00513 <span class="keywordflow">return</span> 0;
|
||||
<a name="l00514"></a>00514 }
|
||||
<a name="l00515"></a>00515
|
||||
<a name="l00516"></a>00516 ILenum ilImage::NumMipmaps()
|
||||
<a name="l00517"></a>00517 {
|
||||
<a name="l00518"></a>00518 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00519"></a>00519 this->Bind();
|
||||
<a name="l00520"></a>00520 <span class="keywordflow">return</span> ilGetInteger(IL_NUM_MIPMAPS);
|
||||
<a name="l00521"></a>00521 }
|
||||
<a name="l00522"></a>00522 <span class="keywordflow">return</span> 0;
|
||||
<a name="l00523"></a>00523 }
|
||||
<a name="l00524"></a>00524
|
||||
<a name="l00525"></a>00525 ILuint ilImage::GetId()<span class="keyword"> const</span>
|
||||
<a name="l00526"></a>00526 <span class="keyword"></span>{
|
||||
<a name="l00527"></a>00527 <span class="keywordflow">return</span> this->Id;
|
||||
<a name="l00528"></a>00528 }
|
||||
<a name="l00529"></a>00529
|
||||
<a name="l00530"></a>00530 ILenum ilImage::GetOrigin(<span class="keywordtype">void</span>)
|
||||
<a name="l00531"></a>00531 {
|
||||
<a name="l00532"></a>00532 ILinfo Info;
|
||||
<a name="l00533"></a>00533
|
||||
<a name="l00534"></a>00534 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00535"></a>00535 this->Bind();
|
||||
<a name="l00536"></a>00536 iluGetImageInfo(&Info);
|
||||
<a name="l00537"></a>00537 <span class="keywordflow">return</span> Info.Origin;
|
||||
<a name="l00538"></a>00538 }
|
||||
<a name="l00539"></a>00539 <span class="keywordflow">return</span> 0;
|
||||
<a name="l00540"></a>00540 }
|
||||
<a name="l00541"></a>00541
|
||||
<a name="l00542"></a>00542 ILubyte* ilImage::GetData()
|
||||
<a name="l00543"></a>00543 {
|
||||
<a name="l00544"></a>00544 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00545"></a>00545 this->Bind();
|
||||
<a name="l00546"></a>00546 <span class="keywordflow">return</span> ilGetData();
|
||||
<a name="l00547"></a>00547 }
|
||||
<a name="l00548"></a>00548 <span class="keywordflow">return</span> 0;
|
||||
<a name="l00549"></a>00549 }
|
||||
<a name="l00550"></a>00550
|
||||
<a name="l00551"></a>00551 ILubyte* ilImage::GetPalette()
|
||||
<a name="l00552"></a>00552 {
|
||||
<a name="l00553"></a>00553 <span class="keywordflow">if</span> (this->Id) {
|
||||
<a name="l00554"></a>00554 this->Bind();
|
||||
<a name="l00555"></a>00555 <span class="keywordflow">return</span> ilGetPalette();
|
||||
<a name="l00556"></a>00556 }
|
||||
<a name="l00557"></a>00557 <span class="keywordflow">return</span> 0;
|
||||
<a name="l00558"></a>00558 }
|
||||
<a name="l00559"></a>00559
|
||||
<a name="l00560"></a>00560 <span class="comment">//</span>
|
||||
<a name="l00561"></a>00561 <span class="comment">// Private members</span>
|
||||
<a name="l00562"></a>00562 <span class="comment">//</span>
|
||||
<a name="l00563"></a>00563 <span class="comment">/*void ilImage::iStartUp()</span>
|
||||
<a name="l00564"></a>00564 <span class="comment">{</span>
|
||||
<a name="l00565"></a>00565 <span class="comment"> ilInit();</span>
|
||||
<a name="l00566"></a>00566 <span class="comment"> iluInit();</span>
|
||||
<a name="l00567"></a>00567 <span class="comment"> ilutInit();</span>
|
||||
<a name="l00568"></a>00568 <span class="comment"> return;</span>
|
||||
<a name="l00569"></a>00569 <span class="comment">}*/</span>
|
||||
<a name="l00570"></a>00570
|
||||
<a name="l00571"></a>00571 <span class="keywordtype">void</span> ilImage::iGenBind()
|
||||
<a name="l00572"></a>00572 {
|
||||
<a name="l00573"></a>00573 <span class="keywordflow">if</span> (this->Id == 0) {
|
||||
<a name="l00574"></a>00574 ilGenImages(1, &this->Id);
|
||||
<a name="l00575"></a>00575 }
|
||||
<a name="l00576"></a>00576 ilBindImage(this->Id);
|
||||
<a name="l00577"></a>00577 <span class="keywordflow">return</span>;
|
||||
<a name="l00578"></a>00578 }
|
||||
<a name="l00579"></a>00579
|
||||
<a name="l00580"></a>00580 <span class="comment">//</span>
|
||||
<a name="l00581"></a>00581 <span class="comment">// Operators</span>
|
||||
<a name="l00582"></a>00582 <span class="comment">//</span>
|
||||
<a name="l00583"></a>00583 ilImage& ilImage::operator = (ILuint Image)
|
||||
<a name="l00584"></a>00584 {
|
||||
<a name="l00585"></a>00585 <span class="keywordflow">if</span> (this->Id == 0)
|
||||
<a name="l00586"></a>00586 this->Id = Image;
|
||||
<a name="l00587"></a>00587 <span class="keywordflow">else</span> {
|
||||
<a name="l00588"></a>00588 this->Bind();
|
||||
<a name="l00589"></a>00589 ilCopyImage(Image);
|
||||
<a name="l00590"></a>00590 }
|
||||
<a name="l00591"></a>00591
|
||||
<a name="l00592"></a>00592 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
|
||||
<a name="l00593"></a>00593 }
|
||||
<a name="l00594"></a>00594
|
||||
<a name="l00595"></a>00595 ilImage& ilImage::operator = (<span class="keyword">const</span> ilImage &Image)
|
||||
<a name="l00596"></a>00596 {
|
||||
<a name="l00597"></a>00597 <span class="keywordflow">if</span> (Id == 0)
|
||||
<a name="l00598"></a>00598 Id = Image.GetId();
|
||||
<a name="l00599"></a>00599 <span class="keywordflow">else</span> {
|
||||
<a name="l00600"></a>00600 Bind();
|
||||
<a name="l00601"></a>00601 ilCopyImage(Image.GetId());
|
||||
<a name="l00602"></a>00602 }
|
||||
<a name="l00603"></a>00603
|
||||
<a name="l00604"></a>00604 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
|
||||
<a name="l00605"></a>00605 }
|
||||
<a name="l00606"></a>00606
|
||||
<a name="l00607"></a>00607 <span class="comment">//</span>
|
||||
<a name="l00608"></a>00608 <span class="comment">// ILFILTERS</span>
|
||||
<a name="l00609"></a>00609 <span class="comment">//</span>
|
||||
<a name="l00610"></a>00610 ILboolean ilFilters::Alienify(ilImage &Image)
|
||||
<a name="l00611"></a>00611 {
|
||||
<a name="l00612"></a>00612 Image.Bind();
|
||||
<a name="l00613"></a>00613 <span class="keywordflow">return</span> iluAlienify();
|
||||
<a name="l00614"></a>00614 }
|
||||
<a name="l00615"></a>00615
|
||||
<a name="l00616"></a>00616 ILboolean ilFilters::BlurAvg(ilImage &Image, ILuint Iter)
|
||||
<a name="l00617"></a>00617 {
|
||||
<a name="l00618"></a>00618 Image.Bind();
|
||||
<a name="l00619"></a>00619 <span class="keywordflow">return</span> iluBlurAvg(Iter);
|
||||
<a name="l00620"></a>00620 }
|
||||
<a name="l00621"></a>00621
|
||||
<a name="l00622"></a>00622 ILboolean ilFilters::BlurGaussian(ilImage &Image, ILuint Iter)
|
||||
<a name="l00623"></a>00623 {
|
||||
<a name="l00624"></a>00624 Image.Bind();
|
||||
<a name="l00625"></a>00625 <span class="keywordflow">return</span> iluBlurGaussian(Iter);
|
||||
<a name="l00626"></a>00626 }
|
||||
<a name="l00627"></a>00627
|
||||
<a name="l00628"></a>00628 ILboolean ilFilters::Contrast(ilImage &Image, ILfloat Contrast)
|
||||
<a name="l00629"></a>00629 {
|
||||
<a name="l00630"></a>00630 Image.Bind();
|
||||
<a name="l00631"></a>00631 <span class="keywordflow">return</span> iluContrast(Contrast);
|
||||
<a name="l00632"></a>00632 }
|
||||
<a name="l00633"></a>00633
|
||||
<a name="l00634"></a>00634 ILboolean ilFilters::EdgeDetectE(ilImage &Image)
|
||||
<a name="l00635"></a>00635 {
|
||||
<a name="l00636"></a>00636 Image.Bind();
|
||||
<a name="l00637"></a>00637 <span class="keywordflow">return</span> iluEdgeDetectP();
|
||||
<a name="l00638"></a>00638 }
|
||||
<a name="l00639"></a>00639
|
||||
<a name="l00640"></a>00640 ILboolean ilFilters::EdgeDetectP(ilImage &Image)
|
||||
<a name="l00641"></a>00641 {
|
||||
<a name="l00642"></a>00642 Image.Bind();
|
||||
<a name="l00643"></a>00643 <span class="keywordflow">return</span> iluEdgeDetectP();
|
||||
<a name="l00644"></a>00644 }
|
||||
<a name="l00645"></a>00645
|
||||
<a name="l00646"></a>00646 ILboolean ilFilters::EdgeDetectS(ilImage &Image)
|
||||
<a name="l00647"></a>00647 {
|
||||
<a name="l00648"></a>00648 Image.Bind();
|
||||
<a name="l00649"></a>00649 <span class="keywordflow">return</span> iluEdgeDetectS();
|
||||
<a name="l00650"></a>00650 }
|
||||
<a name="l00651"></a>00651
|
||||
<a name="l00652"></a>00652 ILboolean ilFilters::Emboss(ilImage &Image)
|
||||
<a name="l00653"></a>00653 {
|
||||
<a name="l00654"></a>00654 Image.Bind();
|
||||
<a name="l00655"></a>00655 <span class="keywordflow">return</span> iluEmboss();
|
||||
<a name="l00656"></a>00656 }
|
||||
<a name="l00657"></a>00657
|
||||
<a name="l00658"></a>00658 ILboolean ilFilters::Gamma(ilImage &Image, ILfloat Gamma)
|
||||
<a name="l00659"></a>00659 {
|
||||
<a name="l00660"></a>00660 Image.Bind();
|
||||
<a name="l00661"></a>00661 <span class="keywordflow">return</span> iluGammaCorrect(Gamma);
|
||||
<a name="l00662"></a>00662 }
|
||||
<a name="l00663"></a>00663
|
||||
<a name="l00664"></a>00664 ILboolean ilFilters::Negative(ilImage &Image)
|
||||
<a name="l00665"></a>00665 {
|
||||
<a name="l00666"></a>00666 Image.Bind();
|
||||
<a name="l00667"></a>00667 <span class="keywordflow">return</span> iluNegative();
|
||||
<a name="l00668"></a>00668 }
|
||||
<a name="l00669"></a>00669
|
||||
<a name="l00670"></a>00670 ILboolean ilFilters::Noisify(ilImage &Image, ILubyte Factor)
|
||||
<a name="l00671"></a>00671 {
|
||||
<a name="l00672"></a>00672 Image.Bind();
|
||||
<a name="l00673"></a>00673 <span class="keywordflow">return</span> iluNoisify(Factor);
|
||||
<a name="l00674"></a>00674 }
|
||||
<a name="l00675"></a>00675
|
||||
<a name="l00676"></a>00676 ILboolean ilFilters::Pixelize(ilImage &Image, ILuint PixSize)
|
||||
<a name="l00677"></a>00677 {
|
||||
<a name="l00678"></a>00678 Image.Bind();
|
||||
<a name="l00679"></a>00679 <span class="keywordflow">return</span> iluPixelize(PixSize);
|
||||
<a name="l00680"></a>00680 }
|
||||
<a name="l00681"></a>00681
|
||||
<a name="l00682"></a>00682 ILboolean ilFilters::Saturate(ilImage &Image, ILfloat Saturation)
|
||||
<a name="l00683"></a>00683 {
|
||||
<a name="l00684"></a>00684 Image.Bind();
|
||||
<a name="l00685"></a>00685 <span class="keywordflow">return</span> iluSaturate1f(Saturation);
|
||||
<a name="l00686"></a>00686 }
|
||||
<a name="l00687"></a>00687
|
||||
<a name="l00688"></a>00688 ILboolean ilFilters::Saturate(ilImage &Image, ILfloat r, ILfloat g, ILfloat b, ILfloat Saturation)
|
||||
<a name="l00689"></a>00689 {
|
||||
<a name="l00690"></a>00690 Image.Bind();
|
||||
<a name="l00691"></a>00691 <span class="keywordflow">return</span> iluSaturate4f(r, g, b, Saturation);
|
||||
<a name="l00692"></a>00692 }
|
||||
<a name="l00693"></a>00693
|
||||
<a name="l00694"></a>00694 ILboolean ilFilters::ScaleColours(ilImage &Image, ILfloat r, ILfloat g, ILfloat b)
|
||||
<a name="l00695"></a>00695 {
|
||||
<a name="l00696"></a>00696 Image.Bind();
|
||||
<a name="l00697"></a>00697 <span class="keywordflow">return</span> iluScaleColours(r, g, b);
|
||||
<a name="l00698"></a>00698 }
|
||||
<a name="l00699"></a>00699
|
||||
<a name="l00700"></a>00700
|
||||
<a name="l00701"></a>00701 ILboolean ilFilters::Sharpen(ilImage &Image, ILfloat Factor, ILuint Iter)
|
||||
<a name="l00702"></a>00702 {
|
||||
<a name="l00703"></a>00703 Image.Bind();
|
||||
<a name="l00704"></a>00704 <span class="keywordflow">return</span> iluSharpen(Factor, Iter);
|
||||
<a name="l00705"></a>00705 }
|
||||
<a name="l00706"></a>00706
|
||||
<a name="l00707"></a>00707
|
||||
<a name="l00708"></a>00708 <span class="comment">//</span>
|
||||
<a name="l00709"></a>00709 <span class="comment">// ILOPENGL</span>
|
||||
<a name="l00710"></a>00710 <span class="comment">//</span>
|
||||
<a name="l00711"></a>00711 <span class="preprocessor">#ifdef ILUT_USE_OPENGL</span>
|
||||
<a name="l00712"></a>00712 <span class="preprocessor"></span><span class="keywordtype">void</span> ilOgl::Init()
|
||||
<a name="l00713"></a>00713 {
|
||||
<a name="l00714"></a>00714 ilutRenderer(ILUT_OPENGL);
|
||||
<a name="l00715"></a>00715 <span class="keywordflow">return</span>;
|
||||
<a name="l00716"></a>00716 }
|
||||
<a name="l00717"></a>00717
|
||||
<a name="l00718"></a>00718
|
||||
<a name="l00719"></a>00719 GLuint ilOgl::BindTex(ilImage &Image)
|
||||
<a name="l00720"></a>00720 {
|
||||
<a name="l00721"></a>00721 Image.Bind();
|
||||
<a name="l00722"></a>00722 <span class="keywordflow">return</span> ilutGLBindTexImage();
|
||||
<a name="l00723"></a>00723 }
|
||||
<a name="l00724"></a>00724
|
||||
<a name="l00725"></a>00725 ILboolean ilOgl::Upload(ilImage &Image, ILuint Level)
|
||||
<a name="l00726"></a>00726 {
|
||||
<a name="l00727"></a>00727 Image.Bind();
|
||||
<a name="l00728"></a>00728 <span class="keywordflow">return</span> ilutGLTexImage(Level);
|
||||
<a name="l00729"></a>00729 }
|
||||
<a name="l00730"></a>00730
|
||||
<a name="l00731"></a>00731
|
||||
<a name="l00732"></a>00732 GLuint ilOgl::Mipmap(ilImage &Image)
|
||||
<a name="l00733"></a>00733 {
|
||||
<a name="l00734"></a>00734 Image.Bind();
|
||||
<a name="l00735"></a>00735 <span class="keywordflow">return</span> ilutGLBuildMipmaps();
|
||||
<a name="l00736"></a>00736 }
|
||||
<a name="l00737"></a>00737
|
||||
<a name="l00738"></a>00738 ILboolean ilOgl::Screen()
|
||||
<a name="l00739"></a>00739 {
|
||||
<a name="l00740"></a>00740 <span class="keywordflow">return</span> ilutGLScreen();
|
||||
<a name="l00741"></a>00741 }
|
||||
<a name="l00742"></a>00742
|
||||
<a name="l00743"></a>00743
|
||||
<a name="l00744"></a>00744 ILboolean ilOgl::Screenie()
|
||||
<a name="l00745"></a>00745 {
|
||||
<a name="l00746"></a>00746 <span class="keywordflow">return</span> ilutGLScreenie();
|
||||
<a name="l00747"></a>00747 }
|
||||
<a name="l00748"></a>00748 <span class="preprocessor">#endif//ILUT_USE_OPENGL</span>
|
||||
<a name="l00749"></a>00749 <span class="preprocessor"></span>
|
||||
<a name="l00750"></a>00750 <span class="comment">//</span>
|
||||
<a name="l00751"></a>00751 <span class="comment">// ILALLEGRO</span>
|
||||
<a name="l00752"></a>00752 <span class="comment">//</span>
|
||||
<a name="l00753"></a>00753 <span class="preprocessor">#ifdef ILUT_USE_ALLEGRO</span>
|
||||
<a name="l00754"></a>00754 <span class="preprocessor"></span><span class="keywordtype">void</span> ilAlleg::Init()
|
||||
<a name="l00755"></a>00755 {
|
||||
<a name="l00756"></a>00756 ilutRenderer(IL_ALLEGRO);
|
||||
<a name="l00757"></a>00757 <span class="keywordflow">return</span>;
|
||||
<a name="l00758"></a>00758 }
|
||||
<a name="l00759"></a>00759
|
||||
<a name="l00760"></a>00760 BITMAP *ilAlleg::Convert(ilImage &Image, PALETTE Pal)
|
||||
<a name="l00761"></a>00761 {
|
||||
<a name="l00762"></a>00762 Image.Bind();
|
||||
<a name="l00763"></a>00763 <span class="keywordflow">return</span> ilutConvertToAlleg(Pal);
|
||||
<a name="l00764"></a>00764 }
|
||||
<a name="l00765"></a>00765 <span class="preprocessor">#endif//ILUT_USE_ALLEGRO</span>
|
||||
<a name="l00766"></a>00766 <span class="preprocessor"></span>
|
||||
<a name="l00767"></a>00767 <span class="comment">//</span>
|
||||
<a name="l00768"></a>00768 <span class="comment">// ILWIN32</span>
|
||||
<a name="l00769"></a>00769 <span class="comment">//</span>
|
||||
<a name="l00770"></a>00770 <span class="preprocessor">#ifdef ILUT_USE_WIN32</span>
|
||||
<a name="l00771"></a>00771 <span class="preprocessor"></span><span class="keywordtype">void</span> ilWin32::Init()
|
||||
<a name="l00772"></a>00772 {
|
||||
<a name="l00773"></a>00773 ilutRenderer(ILUT_WIN32);
|
||||
<a name="l00774"></a>00774 <span class="keywordflow">return</span>;
|
||||
<a name="l00775"></a>00775 }
|
||||
<a name="l00776"></a>00776
|
||||
<a name="l00777"></a>00777 HBITMAP ilWin32::Convert(ilImage &Image)
|
||||
<a name="l00778"></a>00778 {
|
||||
<a name="l00779"></a>00779 Image.Bind();
|
||||
<a name="l00780"></a>00780 <span class="keywordflow">return</span> ilutConvertToHBitmap(GetDC(NULL));
|
||||
<a name="l00781"></a>00781 }
|
||||
<a name="l00782"></a>00782
|
||||
<a name="l00783"></a>00783 ILboolean ilWin32::GetClipboard(ilImage &Image)
|
||||
<a name="l00784"></a>00784 {
|
||||
<a name="l00785"></a>00785 Image.Bind();
|
||||
<a name="l00786"></a>00786 <span class="keywordflow">return</span> ilutGetWinClipboard();
|
||||
<a name="l00787"></a>00787 }
|
||||
<a name="l00788"></a>00788
|
||||
<a name="l00789"></a>00789 <span class="keywordtype">void</span> ilWin32::GetInfo(ilImage &Image, BITMAPINFO *Info)
|
||||
<a name="l00790"></a>00790 {
|
||||
<a name="l00791"></a>00791 Image.Bind();
|
||||
<a name="l00792"></a>00792 ilutGetBmpInfo(Info);
|
||||
<a name="l00793"></a>00793 <span class="keywordflow">return</span>;
|
||||
<a name="l00794"></a>00794 }
|
||||
<a name="l00795"></a>00795
|
||||
<a name="l00796"></a>00796 ILubyte* ilWin32::GetPadData(ilImage &Image)
|
||||
<a name="l00797"></a>00797 {
|
||||
<a name="l00798"></a>00798 Image.Bind();
|
||||
<a name="l00799"></a>00799 <span class="keywordflow">return</span> ilutGetPaddedData();
|
||||
<a name="l00800"></a>00800 }
|
||||
<a name="l00801"></a>00801
|
||||
<a name="l00802"></a>00802 HPALETTE ilWin32::GetPal(ilImage &Image)
|
||||
<a name="l00803"></a>00803 {
|
||||
<a name="l00804"></a>00804 Image.Bind();
|
||||
<a name="l00805"></a>00805 <span class="keywordflow">return</span> ilutGetHPal();
|
||||
<a name="l00806"></a>00806 }
|
||||
<a name="l00807"></a>00807
|
||||
<a name="l00808"></a>00808 ILboolean ilWin32::GetResource(ilImage &Image, HINSTANCE hInst, ILint ID, <span class="keywordtype">char</span> *ResourceType)
|
||||
<a name="l00809"></a>00809 {
|
||||
<a name="l00810"></a>00810 Image.Bind();
|
||||
<a name="l00811"></a>00811 <span class="keywordflow">return</span> ilutLoadResource(hInst, ID, ResourceType, IL_TYPE_UNKNOWN);
|
||||
<a name="l00812"></a>00812 }
|
||||
<a name="l00813"></a>00813
|
||||
<a name="l00814"></a>00814 ILboolean ilWin32::GetResource(ilImage &Image, HINSTANCE hInst, ILint ID, <span class="keywordtype">char</span> *ResourceType, ILenum Type)
|
||||
<a name="l00815"></a>00815 {
|
||||
<a name="l00816"></a>00816 Image.Bind();
|
||||
<a name="l00817"></a>00817 <span class="keywordflow">return</span> ilutLoadResource(hInst, ID, ResourceType, Type);
|
||||
<a name="l00818"></a>00818 }
|
||||
<a name="l00819"></a>00819
|
||||
<a name="l00820"></a>00820 ILboolean ilWin32::SetClipboard(ilImage &Image)
|
||||
<a name="l00821"></a>00821 {
|
||||
<a name="l00822"></a>00822 Image.Bind();
|
||||
<a name="l00823"></a>00823 <span class="keywordflow">return</span> ilutSetWinClipboard();
|
||||
<a name="l00824"></a>00824 }
|
||||
<a name="l00825"></a>00825 <span class="preprocessor">#endif//ILUT_USE_WIN32</span>
|
||||
<a name="l00826"></a>00826 <span class="preprocessor"></span>
|
||||
<a name="l00827"></a>00827 <span class="comment">//</span>
|
||||
<a name="l00828"></a>00828 <span class="comment">// ILVALIDATE</span>
|
||||
<a name="l00829"></a>00829 <span class="comment">//</span>
|
||||
<a name="l00830"></a>00830 ILboolean ilValidate::Valid(ILenum Type, ILconst_string FileName)
|
||||
<a name="l00831"></a>00831 {
|
||||
<a name="l00832"></a>00832 <span class="keywordflow">return</span> ilIsValid(Type, FileName);
|
||||
<a name="l00833"></a>00833 }
|
||||
<a name="l00834"></a>00834
|
||||
<a name="l00835"></a>00835 ILboolean ilValidate::Valid(ILenum Type, FILE *File)
|
||||
<a name="l00836"></a>00836 {
|
||||
<a name="l00837"></a>00837 <span class="keywordflow">return</span> ilIsValidF(Type, File);
|
||||
<a name="l00838"></a>00838 }
|
||||
<a name="l00839"></a>00839
|
||||
<a name="l00840"></a>00840 ILboolean ilValidate::Valid(ILenum Type, <span class="keywordtype">void</span> *Lump, ILuint Size)
|
||||
<a name="l00841"></a>00841 {
|
||||
<a name="l00842"></a>00842 <span class="keywordflow">return</span> ilIsValidL(Type, Lump, Size);
|
||||
<a name="l00843"></a>00843 }
|
||||
<a name="l00844"></a>00844
|
||||
<a name="l00845"></a>00845 <span class="comment">//</span>
|
||||
<a name="l00846"></a>00846 <span class="comment">// ILSTATE</span>
|
||||
<a name="l00847"></a>00847 <span class="comment">//</span>
|
||||
<a name="l00848"></a>00848 ILboolean ilState::Disable(ILenum State)
|
||||
<a name="l00849"></a>00849 {
|
||||
<a name="l00850"></a>00850 <span class="keywordflow">return</span> ilDisable(State);
|
||||
<a name="l00851"></a>00851 }
|
||||
<a name="l00852"></a>00852
|
||||
<a name="l00853"></a>00853 ILboolean ilState::Enable(ILenum State)
|
||||
<a name="l00854"></a>00854 {
|
||||
<a name="l00855"></a>00855 <span class="keywordflow">return</span> ilEnable(State);
|
||||
<a name="l00856"></a>00856 }
|
||||
<a name="l00857"></a>00857
|
||||
<a name="l00858"></a>00858 <span class="keywordtype">void</span> ilState::Get(ILenum Mode, ILboolean &Param)
|
||||
<a name="l00859"></a>00859 {
|
||||
<a name="l00860"></a>00860 ilGetBooleanv(Mode, &Param);
|
||||
<a name="l00861"></a>00861 <span class="keywordflow">return</span>;
|
||||
<a name="l00862"></a>00862 }
|
||||
<a name="l00863"></a>00863
|
||||
<a name="l00864"></a>00864 <span class="keywordtype">void</span> ilState::Get(ILenum Mode, ILint &Param)
|
||||
<a name="l00865"></a>00865 {
|
||||
<a name="l00866"></a>00866 ilGetIntegerv(Mode, &Param);
|
||||
<a name="l00867"></a>00867 <span class="keywordflow">return</span>;
|
||||
<a name="l00868"></a>00868 }
|
||||
<a name="l00869"></a>00869
|
||||
<a name="l00870"></a>00870 ILboolean ilState::GetBool(ILenum Mode)
|
||||
<a name="l00871"></a>00871 {
|
||||
<a name="l00872"></a>00872 <span class="keywordflow">return</span> ilGetBoolean(Mode);
|
||||
<a name="l00873"></a>00873 }
|
||||
<a name="l00874"></a>00874
|
||||
<a name="l00875"></a>00875 ILint ilState::GetInt(ILenum Mode)
|
||||
<a name="l00876"></a>00876 {
|
||||
<a name="l00877"></a>00877 <span class="keywordflow">return</span> ilGetInteger(Mode);
|
||||
<a name="l00878"></a>00878 }
|
||||
<a name="l00879"></a>00879
|
||||
<a name="l00880"></a>00880 <span class="keyword">const</span> <span class="keywordtype">char</span> *ilState::GetString(ILenum StringName)
|
||||
<a name="l00881"></a>00881 {
|
||||
<a name="l00882"></a>00882 <span class="keywordflow">return</span> ilGetString(StringName);
|
||||
<a name="l00883"></a>00883 }
|
||||
<a name="l00884"></a>00884
|
||||
<a name="l00885"></a>00885 ILboolean ilState::IsDisabled(ILenum Mode)
|
||||
<a name="l00886"></a>00886 {
|
||||
<a name="l00887"></a>00887 <span class="keywordflow">return</span> ilIsDisabled(Mode);
|
||||
<a name="l00888"></a>00888 }
|
||||
<a name="l00889"></a>00889
|
||||
<a name="l00890"></a>00890 ILboolean ilState::IsEnabled(ILenum Mode)
|
||||
<a name="l00891"></a>00891 {
|
||||
<a name="l00892"></a>00892 <span class="keywordflow">return</span> ilIsEnabled(Mode);
|
||||
<a name="l00893"></a>00893 }
|
||||
<a name="l00894"></a>00894
|
||||
<a name="l00895"></a>00895 ILboolean ilState::Origin(ILenum Mode)
|
||||
<a name="l00896"></a>00896 {
|
||||
<a name="l00897"></a>00897 <span class="keywordflow">return</span> ilOriginFunc(Mode);
|
||||
<a name="l00898"></a>00898 }
|
||||
<a name="l00899"></a>00899
|
||||
<a name="l00900"></a>00900 <span class="keywordtype">void</span> ilState::Pop()
|
||||
<a name="l00901"></a>00901 {
|
||||
<a name="l00902"></a>00902 ilPopAttrib();
|
||||
<a name="l00903"></a>00903 <span class="keywordflow">return</span>;
|
||||
<a name="l00904"></a>00904 }
|
||||
<a name="l00905"></a>00905
|
||||
<a name="l00906"></a>00906 <span class="keywordtype">void</span> ilState::Push(ILuint Bits = IL_ALL_ATTRIB_BITS)
|
||||
<a name="l00907"></a>00907 {
|
||||
<a name="l00908"></a>00908 ilPushAttrib(Bits);
|
||||
<a name="l00909"></a>00909 <span class="keywordflow">return</span>;
|
||||
<a name="l00910"></a>00910 }
|
||||
<a name="l00911"></a>00911
|
||||
<a name="l00912"></a>00912 <span class="comment">//</span>
|
||||
<a name="l00913"></a>00913 <span class="comment">// ILERROR</span>
|
||||
<a name="l00914"></a>00914 <span class="comment">//</span>
|
||||
<a name="l00915"></a>00915 <span class="keywordtype">void</span> ilError::Check(<span class="keywordtype">void</span> (*Callback)(<span class="keyword">const</span> <span class="keywordtype">char</span>*))
|
||||
<a name="l00916"></a>00916 {
|
||||
<a name="l00917"></a>00917 <span class="keyword">static</span> ILenum Error;
|
||||
<a name="l00918"></a>00918
|
||||
<a name="l00919"></a>00919 <span class="keywordflow">while</span> ((Error = ilGetError()) != IL_NO_ERROR) {
|
||||
<a name="l00920"></a>00920 Callback(iluErrorString(Error));
|
||||
<a name="l00921"></a>00921 }
|
||||
<a name="l00922"></a>00922
|
||||
<a name="l00923"></a>00923 <span class="keywordflow">return</span>;
|
||||
<a name="l00924"></a>00924 }
|
||||
<a name="l00925"></a>00925
|
||||
<a name="l00926"></a>00926 <span class="keywordtype">void</span> ilError::Check(<span class="keywordtype">void</span> (*Callback)(ILenum))
|
||||
<a name="l00927"></a>00927 {
|
||||
<a name="l00928"></a>00928 <span class="keyword">static</span> ILenum Error;
|
||||
<a name="l00929"></a>00929
|
||||
<a name="l00930"></a>00930 <span class="keywordflow">while</span> ((Error = ilGetError()) != IL_NO_ERROR) {
|
||||
<a name="l00931"></a>00931 Callback(Error);
|
||||
<a name="l00932"></a>00932 }
|
||||
<a name="l00933"></a>00933
|
||||
<a name="l00934"></a>00934 <span class="keywordflow">return</span>;
|
||||
<a name="l00935"></a>00935 }
|
||||
<a name="l00936"></a>00936
|
||||
<a name="l00937"></a>00937 ILenum ilError::Get()
|
||||
<a name="l00938"></a>00938 {
|
||||
<a name="l00939"></a>00939 <span class="keywordflow">return</span> ilGetError();
|
||||
<a name="l00940"></a>00940 }
|
||||
<a name="l00941"></a>00941
|
||||
<a name="l00942"></a>00942 <span class="keyword">const</span> <span class="keywordtype">char</span> *ilError::String()
|
||||
<a name="l00943"></a>00943 {
|
||||
<a name="l00944"></a>00944 <span class="keywordflow">return</span> iluErrorString(ilGetError());
|
||||
<a name="l00945"></a>00945 }
|
||||
<a name="l00946"></a>00946
|
||||
<a name="l00947"></a>00947 <span class="keyword">const</span> <span class="keywordtype">char</span> *ilError::String(ILenum Error)
|
||||
<a name="l00948"></a>00948 {
|
||||
<a name="l00949"></a>00949 <span class="keywordflow">return</span> iluErrorString(Error);
|
||||
<a name="l00950"></a>00950 }
|
||||
<a name="l00951"></a>00951
|
||||
<a name="l00952"></a>00952 <span class="preprocessor">#endif// DEVIL_CPP_WRAPPER_HPP</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,180 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/include/IL/devil_internal_exports.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/include/IL/devil_internal_exports.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2009 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 01/06/2009</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: IL/devil_internal_exports.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Internal stuff for DevIL (IL, ILU and ILUT)</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef IL_EXPORTS_H</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define IL_EXPORTS_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor">#include "<a class="code" href="il_8h.html">IL/il.h</a>"</span>
|
||||
<a name="l00017"></a>00017
|
||||
<a name="l00018"></a>00018 <span class="preprocessor">#ifdef DEBUG</span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor"> #include <assert.h></span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor">#else</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor"> #define assert(x)</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span>
|
||||
<a name="l00024"></a>00024 <span class="comment">//#ifndef NOINLINE</span>
|
||||
<a name="l00025"></a>00025 <span class="preprocessor">#ifndef INLINE</span>
|
||||
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#if defined(__GNUC__)</span>
|
||||
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor"> #define INLINE extern inline</span>
|
||||
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#elif defined(_MSC_VER) //@TODO: Get this working in MSVC++.</span>
|
||||
<a name="l00029"></a>00029 <span class="preprocessor"></span> <span class="comment">// http://www.greenend.org.uk/rjk/2003/03/inline.html</span>
|
||||
<a name="l00030"></a>00030 <span class="preprocessor"> #define NOINLINE</span>
|
||||
<a name="l00031"></a>00031 <span class="preprocessor"></span> <span class="comment">//#define INLINE</span>
|
||||
<a name="l00032"></a>00032 <span class="comment">/*#ifndef _WIN64 // Cannot use inline assembly in x64 target platform.</span>
|
||||
<a name="l00033"></a>00033 <span class="comment"> #define USE_WIN32_ASM</span>
|
||||
<a name="l00034"></a>00034 <span class="comment"> #endif//_WIN64*/</span>
|
||||
<a name="l00035"></a>00035 <span class="preprocessor"> #define INLINE __inline</span>
|
||||
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor"> #define INLINE inline</span>
|
||||
<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="comment">//#else</span>
|
||||
<a name="l00041"></a>00041 <span class="comment">//#define INLINE</span>
|
||||
<a name="l00042"></a>00042 <span class="comment">//#endif //NOINLINE</span>
|
||||
<a name="l00043"></a>00043
|
||||
<a name="l00044"></a>00044 <span class="preprocessor">#ifdef __cplusplus</span>
|
||||
<a name="l00045"></a>00045 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
|
||||
<a name="l00046"></a>00046 <span class="preprocessor">#endif</span>
|
||||
<a name="l00047"></a>00047 <span class="preprocessor"></span>
|
||||
<a name="l00048"></a>00048 <span class="preprocessor">#define IL_MAX(a,b) (((a) > (b)) ? (a) : (b))</span>
|
||||
<a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor">#define IL_MIN(a,b) (((a) < (b)) ? (a) : (b))</span>
|
||||
<a name="l00050"></a>00050 <span class="preprocessor"></span>
|
||||
<a name="l00051"></a>00051
|
||||
<a name="l00053"></a><a class="code" href="structILpal.html">00053</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structILpal.html" title="Basic Palette struct.">ILpal</a>
|
||||
<a name="l00054"></a>00054 {
|
||||
<a name="l00055"></a><a class="code" href="structILpal.html#bc8ce06b53b2ca4de6bf2ebda303d746">00055</a> ILubyte* <a class="code" href="structILpal.html#bc8ce06b53b2ca4de6bf2ebda303d746" title="the image palette (if any)">Palette</a>;
|
||||
<a name="l00056"></a><a class="code" href="structILpal.html#0e64a8c7d3cdd2e63b60c947f118db9b">00056</a> ILuint <a class="code" href="structILpal.html#0e64a8c7d3cdd2e63b60c947f118db9b" title="size of the palette (in bytes)">PalSize</a>;
|
||||
<a name="l00057"></a><a class="code" href="structILpal.html#586f4c7d59e6f202e1d63c67f7679c23">00057</a> ILenum <a class="code" href="structILpal.html#586f4c7d59e6f202e1d63c67f7679c23" title="the palette types in il.h (0x0500 range)">PalType</a>;
|
||||
<a name="l00058"></a>00058 } <a class="code" href="structILpal.html" title="Basic Palette struct.">ILpal</a>;
|
||||
<a name="l00059"></a>00059
|
||||
<a name="l00060"></a>00060
|
||||
<a name="l00062"></a>00062
|
||||
<a name="l00063"></a><a class="code" href="structILimage.html">00063</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>
|
||||
<a name="l00064"></a>00064 {
|
||||
<a name="l00065"></a><a class="code" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1">00065</a> ILuint <a class="code" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1" title="the image&#39;s width">Width</a>;
|
||||
<a name="l00066"></a><a class="code" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da">00066</a> ILuint <a class="code" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da" title="the image&#39;s height">Height</a>;
|
||||
<a name="l00067"></a><a class="code" href="structILimage.html#00e19fb6f1e50731d114c302129112d9">00067</a> ILuint <a class="code" href="structILimage.html#00e19fb6f1e50731d114c302129112d9" title="the image&#39;s depth">Depth</a>;
|
||||
<a name="l00068"></a><a class="code" href="structILimage.html#1b3ec86e5bf7087b7d46f0ed61d86eb9">00068</a> ILubyte <a class="code" href="structILimage.html#1b3ec86e5bf7087b7d46f0ed61d86eb9" title="bytes per pixel (now number of channels)">Bpp</a>;
|
||||
<a name="l00069"></a><a class="code" href="structILimage.html#20c53053c80d504de93c3ee17290a9ba">00069</a> ILubyte <a class="code" href="structILimage.html#20c53053c80d504de93c3ee17290a9ba" title="bytes per channel">Bpc</a>;
|
||||
<a name="l00070"></a><a class="code" href="structILimage.html#09ee9478fab289cf2622f06db9171894">00070</a> ILuint <a class="code" href="structILimage.html#09ee9478fab289cf2622f06db9171894" title="bytes per scanline (components for IL)">Bps</a>;
|
||||
<a name="l00071"></a><a class="code" href="structILimage.html#b7a9627719d89abb3cb48087452acbc8">00071</a> ILubyte* <a class="code" href="structILimage.html#b7a9627719d89abb3cb48087452acbc8" title="the image data">Data</a>;
|
||||
<a name="l00072"></a><a class="code" href="structILimage.html#9e84436c94d9cd5afad59be12dff753b">00072</a> ILuint <a class="code" href="structILimage.html#9e84436c94d9cd5afad59be12dff753b" title="the total size of the data (in bytes)">SizeOfData</a>;
|
||||
<a name="l00073"></a><a class="code" href="structILimage.html#5ce85bc0b983ddf0ed91b1ed98d9132a">00073</a> ILuint <a class="code" href="structILimage.html#5ce85bc0b983ddf0ed91b1ed98d9132a" title="SizeOfData in a 2d image, size of each plane slice in a 3d image (in bytes).">SizeOfPlane</a>;
|
||||
<a name="l00074"></a><a class="code" href="structILimage.html#f36941d08ffdd7ed7c42cdb11d2a5513">00074</a> ILenum <a class="code" href="structILimage.html#f36941d08ffdd7ed7c42cdb11d2a5513" title="image format (in IL enum style)">Format</a>;
|
||||
<a name="l00075"></a><a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918">00075</a> ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>;
|
||||
<a name="l00076"></a><a class="code" href="structILimage.html#c2bc011c3f8a65eea30a8d4495c96a2e">00076</a> ILenum <a class="code" href="structILimage.html#c2bc011c3f8a65eea30a8d4495c96a2e" title="origin of the image">Origin</a>;
|
||||
<a name="l00077"></a><a class="code" href="structILimage.html#1e17c6b3c912a9bcddb50dd7a61011a7">00077</a> <a class="code" href="structILpal.html" title="Basic Palette struct.">ILpal</a> <a class="code" href="structILimage.html#1e17c6b3c912a9bcddb50dd7a61011a7" title="palette details">Pal</a>;
|
||||
<a name="l00078"></a><a class="code" href="structILimage.html#fde5827e053680ff1e81a9a9c0832042">00078</a> ILuint <a class="code" href="structILimage.html#fde5827e053680ff1e81a9a9c0832042" title="length of the time to display this &quot;frame&quot;">Duration</a>;
|
||||
<a name="l00079"></a><a class="code" href="structILimage.html#20bd452e1573aa08c7d9687190cbfa89">00079</a> ILenum <a class="code" href="structILimage.html#20bd452e1573aa08c7d9687190cbfa89" title="cube map flags for sides present in chain">CubeFlags</a>;
|
||||
<a name="l00080"></a><a class="code" href="structILimage.html#fa2c8bedcd1178760327302911969035">00080</a> <span class="keyword">struct </span><a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* <a class="code" href="structILimage.html#fa2c8bedcd1178760327302911969035" title="mipmapped versions of this image terminated by a NULL - usu. NULL">Mipmaps</a>;
|
||||
<a name="l00081"></a><a class="code" href="structILimage.html#dbd033e6e25af697caa549be3deeb5ff">00081</a> <span class="keyword">struct </span><a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* <a class="code" href="structILimage.html#dbd033e6e25af697caa549be3deeb5ff" title="next image in the chain - usu. NULL">Next</a>;
|
||||
<a name="l00082"></a><a class="code" href="structILimage.html#42b8f93f02ab5e6c9623967a08e2d013">00082</a> <span class="keyword">struct </span><a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* <a class="code" href="structILimage.html#42b8f93f02ab5e6c9623967a08e2d013" title="next cubemap face in the chain - usu. NULL">Faces</a>;
|
||||
<a name="l00083"></a><a class="code" href="structILimage.html#504d31f6b9c9d6da656f5eecb57bdd46">00083</a> <span class="keyword">struct </span><a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* <a class="code" href="structILimage.html#504d31f6b9c9d6da656f5eecb57bdd46" title="subsequent layers in the chain - usu. NULL">Layers</a>;
|
||||
<a name="l00084"></a><a class="code" href="structILimage.html#b128f3c35d0617202e3ec8252af5fa03">00084</a> ILuint* <a class="code" href="structILimage.html#b128f3c35d0617202e3ec8252af5fa03" title="animation list">AnimList</a>;
|
||||
<a name="l00085"></a><a class="code" href="structILimage.html#70e6057f47ac13562d06c43e17f9be56">00085</a> ILuint <a class="code" href="structILimage.html#70e6057f47ac13562d06c43e17f9be56" title="animation list size">AnimSize</a>;
|
||||
<a name="l00086"></a><a class="code" href="structILimage.html#78a95799c50680f0301e83b3f09c010f">00086</a> <span class="keywordtype">void</span>* <a class="code" href="structILimage.html#78a95799c50680f0301e83b3f09c010f" title="colour profile">Profile</a>;
|
||||
<a name="l00087"></a><a class="code" href="structILimage.html#03dcb37bc626f621f4c638fde928bf64">00087</a> ILuint <a class="code" href="structILimage.html#03dcb37bc626f621f4c638fde928bf64" title="colour profile size">ProfileSize</a>;
|
||||
<a name="l00088"></a><a class="code" href="structILimage.html#e0438126967c9e3fcdbf916776c7430c">00088</a> ILuint <a class="code" href="structILimage.html#e0438126967c9e3fcdbf916776c7430c" title="x-offset of the image">OffX</a>;
|
||||
<a name="l00089"></a><a class="code" href="structILimage.html#3d0db9b9c3aa7399ff8fe82327e1cc42">00089</a> ILuint <a class="code" href="structILimage.html#3d0db9b9c3aa7399ff8fe82327e1cc42" title="y-offset of the image">OffY</a>;
|
||||
<a name="l00090"></a><a class="code" href="structILimage.html#65df57fee0fb33328ef00fecb7709638">00090</a> ILubyte* <a class="code" href="structILimage.html#65df57fee0fb33328ef00fecb7709638" title="compressed data">DxtcData</a>;
|
||||
<a name="l00091"></a><a class="code" href="structILimage.html#41c04c16ff79d67c0c20d726ea411805">00091</a> ILenum <a class="code" href="structILimage.html#41c04c16ff79d67c0c20d726ea411805" title="compressed data format">DxtcFormat</a>;
|
||||
<a name="l00092"></a><a class="code" href="structILimage.html#5d423e11ee4e5076d92f6a7e863b2070">00092</a> ILuint <a class="code" href="structILimage.html#5d423e11ee4e5076d92f6a7e863b2070" title="compressed data size">DxtcSize</a>;
|
||||
<a name="l00093"></a>00093 } <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>;
|
||||
<a name="l00094"></a>00094
|
||||
<a name="l00095"></a>00095
|
||||
<a name="l00096"></a>00096 <span class="comment">// Memory functions</span>
|
||||
<a name="l00097"></a>00097 ILAPI <span class="keywordtype">void</span>* ILAPIENTRY ialloc(<span class="keyword">const</span> ILsizei Size);
|
||||
<a name="l00098"></a>00098 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ifree(<span class="keyword">const</span> <span class="keywordtype">void</span> *Ptr);
|
||||
<a name="l00099"></a>00099 ILAPI <span class="keywordtype">void</span>* ILAPIENTRY icalloc(<span class="keyword">const</span> ILsizei Size, <span class="keyword">const</span> ILsizei Num);
|
||||
<a name="l00100"></a>00100 <span class="preprocessor">#ifdef ALTIVEC_GCC</span>
|
||||
<a name="l00101"></a>00101 <span class="preprocessor"></span>ILAPI <span class="keywordtype">void</span>* ILAPIENTRY ivec_align_buffer(<span class="keywordtype">void</span> *buffer, <span class="keyword">const</span> ILuint size);
|
||||
<a name="l00102"></a>00102 <span class="preprocessor">#endif</span>
|
||||
<a name="l00103"></a>00103 <span class="preprocessor"></span>
|
||||
<a name="l00104"></a>00104 <span class="comment">// Internal library functions in IL</span>
|
||||
<a name="l00105"></a>00105 ILAPI <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* ILAPIENTRY ilGetCurImage(<span class="keywordtype">void</span>);
|
||||
<a name="l00106"></a>00106 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilSetCurImage(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image);
|
||||
<a name="l00107"></a>00107 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilSetError(ILenum Error);
|
||||
<a name="l00108"></a>00108 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilSetPal(<a class="code" href="structILpal.html" title="Basic Palette struct.">ILpal</a> *<a class="code" href="structILimage.html#1e17c6b3c912a9bcddb50dd7a61011a7" title="palette details">Pal</a>);
|
||||
<a name="l00109"></a>00109
|
||||
<a name="l00110"></a>00110 <span class="comment">//</span>
|
||||
<a name="l00111"></a>00111 <span class="comment">// Utility functions</span>
|
||||
<a name="l00112"></a>00112 <span class="comment">//</span>
|
||||
<a name="l00113"></a>00113 ILAPI ILubyte ILAPIENTRY ilGetBppFormat(ILenum <a class="code" href="structILimage.html#f36941d08ffdd7ed7c42cdb11d2a5513" title="image format (in IL enum style)">Format</a>);
|
||||
<a name="l00114"></a>00114 ILAPI ILenum ILAPIENTRY ilGetFormatBpp(ILubyte <a class="code" href="structILimage.html#1b3ec86e5bf7087b7d46f0ed61d86eb9" title="bytes per pixel (now number of channels)">Bpp</a>);
|
||||
<a name="l00115"></a>00115 ILAPI ILubyte ILAPIENTRY ilGetBpcType(ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>);
|
||||
<a name="l00116"></a>00116 ILAPI ILenum ILAPIENTRY ilGetTypeBpc(ILubyte <a class="code" href="structILimage.html#20c53053c80d504de93c3ee17290a9ba" title="bytes per channel">Bpc</a>);
|
||||
<a name="l00117"></a>00117 ILAPI ILubyte ILAPIENTRY ilGetBppPal(ILenum PalType);
|
||||
<a name="l00118"></a>00118 ILAPI ILenum ILAPIENTRY ilGetPalBaseType(ILenum PalType);
|
||||
<a name="l00119"></a>00119 ILAPI ILuint ILAPIENTRY ilNextPower2(ILuint Num);
|
||||
<a name="l00120"></a>00120 ILAPI ILenum ILAPIENTRY ilTypeFromExt(ILconst_string FileName);
|
||||
<a name="l00121"></a>00121 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilReplaceCurImage(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image);
|
||||
<a name="l00122"></a>00122 ILAPI <span class="keywordtype">void</span> ILAPIENTRY iMemSwap(ILubyte *, ILubyte *, <span class="keyword">const</span> ILuint);
|
||||
<a name="l00123"></a>00123
|
||||
<a name="l00124"></a>00124 <span class="comment">//</span>
|
||||
<a name="l00125"></a>00125 <span class="comment">// Image functions</span>
|
||||
<a name="l00126"></a>00126 <span class="comment">//</span>
|
||||
<a name="l00127"></a>00127 ILAPI <span class="keywordtype">void</span> ILAPIENTRY iBindImageTemp (<span class="keywordtype">void</span>);
|
||||
<a name="l00128"></a>00128 ILAPI ILboolean ILAPIENTRY ilClearImage_ (<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image);
|
||||
<a name="l00129"></a>00129 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilCloseImage (<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image);
|
||||
<a name="l00130"></a>00130 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilClosePal (<a class="code" href="structILpal.html" title="Basic Palette struct.">ILpal</a> *Palette);
|
||||
<a name="l00131"></a>00131 ILAPI <a class="code" href="structILpal.html" title="Basic Palette struct.">ILpal</a>* ILAPIENTRY iCopyPal (<span class="keywordtype">void</span>);
|
||||
<a name="l00132"></a>00132 ILAPI ILboolean ILAPIENTRY ilCopyImageAttr (<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Dest, <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Src);
|
||||
<a name="l00133"></a>00133 ILAPI <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* ILAPIENTRY ilCopyImage_ (<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Src);
|
||||
<a name="l00134"></a>00134 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilGetClear (<span class="keywordtype">void</span> *Colours, ILenum <a class="code" href="structILimage.html#f36941d08ffdd7ed7c42cdb11d2a5513" title="image format (in IL enum style)">Format</a>, ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>);
|
||||
<a name="l00135"></a>00135 ILAPI ILuint ILAPIENTRY ilGetCurName (<span class="keywordtype">void</span>);
|
||||
<a name="l00136"></a>00136 ILAPI ILboolean ILAPIENTRY ilIsValidPal (<a class="code" href="structILpal.html" title="Basic Palette struct.">ILpal</a> *Palette);
|
||||
<a name="l00137"></a>00137 ILAPI <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* ILAPIENTRY ilNewImage (ILuint <a class="code" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1" title="the image&#39;s width">Width</a>, ILuint <a class="code" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da" title="the image&#39;s height">Height</a>, ILuint <a class="code" href="structILimage.html#00e19fb6f1e50731d114c302129112d9" title="the image&#39;s depth">Depth</a>, ILubyte <a class="code" href="structILimage.html#1b3ec86e5bf7087b7d46f0ed61d86eb9" title="bytes per pixel (now number of channels)">Bpp</a>, ILubyte <a class="code" href="structILimage.html#20c53053c80d504de93c3ee17290a9ba" title="bytes per channel">Bpc</a>);
|
||||
<a name="l00138"></a>00138 ILAPI <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* ILAPIENTRY ilNewImageFull (ILuint <a class="code" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1" title="the image&#39;s width">Width</a>, ILuint <a class="code" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da" title="the image&#39;s height">Height</a>, ILuint <a class="code" href="structILimage.html#00e19fb6f1e50731d114c302129112d9" title="the image&#39;s depth">Depth</a>, ILubyte <a class="code" href="structILimage.html#1b3ec86e5bf7087b7d46f0ed61d86eb9" title="bytes per pixel (now number of channels)">Bpp</a>, ILenum <a class="code" href="structILimage.html#f36941d08ffdd7ed7c42cdb11d2a5513" title="image format (in IL enum style)">Format</a>, ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>, <span class="keywordtype">void</span> *<a class="code" href="structILimage.html#b7a9627719d89abb3cb48087452acbc8" title="the image data">Data</a>);
|
||||
<a name="l00139"></a>00139 ILAPI ILboolean ILAPIENTRY ilInitImage (<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image, ILuint <a class="code" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1" title="the image&#39;s width">Width</a>, ILuint <a class="code" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da" title="the image&#39;s height">Height</a>, ILuint <a class="code" href="structILimage.html#00e19fb6f1e50731d114c302129112d9" title="the image&#39;s depth">Depth</a>, ILubyte <a class="code" href="structILimage.html#1b3ec86e5bf7087b7d46f0ed61d86eb9" title="bytes per pixel (now number of channels)">Bpp</a>, ILenum <a class="code" href="structILimage.html#f36941d08ffdd7ed7c42cdb11d2a5513" title="image format (in IL enum style)">Format</a>, ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>, <span class="keywordtype">void</span> *<a class="code" href="structILimage.html#b7a9627719d89abb3cb48087452acbc8" title="the image data">Data</a>);
|
||||
<a name="l00140"></a>00140 ILAPI ILboolean ILAPIENTRY ilResizeImage (<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image, ILuint <a class="code" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1" title="the image&#39;s width">Width</a>, ILuint <a class="code" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da" title="the image&#39;s height">Height</a>, ILuint <a class="code" href="structILimage.html#00e19fb6f1e50731d114c302129112d9" title="the image&#39;s depth">Depth</a>, ILubyte <a class="code" href="structILimage.html#1b3ec86e5bf7087b7d46f0ed61d86eb9" title="bytes per pixel (now number of channels)">Bpp</a>, ILubyte <a class="code" href="structILimage.html#20c53053c80d504de93c3ee17290a9ba" title="bytes per channel">Bpc</a>);
|
||||
<a name="l00141"></a>00141 ILAPI ILboolean ILAPIENTRY ilTexImage_ (<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image, ILuint <a class="code" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1" title="the image&#39;s width">Width</a>, ILuint <a class="code" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da" title="the image&#39;s height">Height</a>, ILuint <a class="code" href="structILimage.html#00e19fb6f1e50731d114c302129112d9" title="the image&#39;s depth">Depth</a>, ILubyte <a class="code" href="structILimage.html#1b3ec86e5bf7087b7d46f0ed61d86eb9" title="bytes per pixel (now number of channels)">Bpp</a>, ILenum <a class="code" href="structILimage.html#f36941d08ffdd7ed7c42cdb11d2a5513" title="image format (in IL enum style)">Format</a>, ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>, <span class="keywordtype">void</span> *<a class="code" href="structILimage.html#b7a9627719d89abb3cb48087452acbc8" title="the image data">Data</a>);
|
||||
<a name="l00142"></a>00142 ILAPI ILboolean ILAPIENTRY ilTexSubImage_ (<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image, <span class="keywordtype">void</span> *<a class="code" href="structILimage.html#b7a9627719d89abb3cb48087452acbc8" title="the image data">Data</a>);
|
||||
<a name="l00143"></a>00143 ILAPI <span class="keywordtype">void</span>* ILAPIENTRY ilConvertBuffer (ILuint <a class="code" href="structILimage.html#9e84436c94d9cd5afad59be12dff753b" title="the total size of the data (in bytes)">SizeOfData</a>, ILenum SrcFormat, ILenum DestFormat, ILenum SrcType, ILenum DestType, <a class="code" href="structILpal.html" title="Basic Palette struct.">ILpal</a> *SrcPal, <span class="keywordtype">void</span> *Buffer);
|
||||
<a name="l00144"></a>00144 ILAPI <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* ILAPIENTRY iConvertImage (<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image, ILenum DestFormat, ILenum DestType);
|
||||
<a name="l00145"></a>00145 ILAPI <a class="code" href="structILpal.html" title="Basic Palette struct.">ILpal</a>* ILAPIENTRY iConvertPal (<a class="code" href="structILpal.html" title="Basic Palette struct.">ILpal</a> *<a class="code" href="structILimage.html#1e17c6b3c912a9bcddb50dd7a61011a7" title="palette details">Pal</a>, ILenum DestFormat);
|
||||
<a name="l00146"></a>00146 ILAPI ILubyte* ILAPIENTRY iGetFlipped (<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image);
|
||||
<a name="l00147"></a>00147 ILAPI ILboolean ILAPIENTRY iMirror();
|
||||
<a name="l00148"></a>00148 ILAPI <span class="keywordtype">void</span> ILAPIENTRY iFlipBuffer(ILubyte *buff, ILuint depth, ILuint line_size, ILuint line_num);
|
||||
<a name="l00149"></a>00149 ILubyte* iFlipNewBuffer(ILubyte *buff, ILuint depth, ILuint line_size, ILuint line_num);
|
||||
<a name="l00150"></a>00150 ILAPI <span class="keywordtype">void</span> ILAPIENTRY iGetIntegervImage(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image, ILenum Mode, ILint *Param);
|
||||
<a name="l00151"></a>00151
|
||||
<a name="l00152"></a>00152 <span class="comment">// Internal library functions in ILU</span>
|
||||
<a name="l00153"></a>00153 ILAPI <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* ILAPIENTRY iluRotate_(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image, ILfloat Angle);
|
||||
<a name="l00154"></a>00154 ILAPI <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* ILAPIENTRY iluRotate3D_(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image, ILfloat x, ILfloat y, ILfloat z, ILfloat Angle);
|
||||
<a name="l00155"></a>00155 ILAPI <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* ILAPIENTRY iluScale_(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image, ILuint <a class="code" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1" title="the image&#39;s width">Width</a>, ILuint <a class="code" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da" title="the image&#39;s height">Height</a>, ILuint <a class="code" href="structILimage.html#00e19fb6f1e50731d114c302129112d9" title="the image&#39;s depth">Depth</a>);
|
||||
<a name="l00156"></a>00156
|
||||
<a name="l00157"></a>00157 <span class="preprocessor">#ifdef __cplusplus</span>
|
||||
<a name="l00158"></a>00158 <span class="preprocessor"></span>}
|
||||
<a name="l00159"></a>00159 <span class="preprocessor">#endif</span>
|
||||
<a name="l00160"></a>00160 <span class="preprocessor"></span>
|
||||
<a name="l00161"></a>00161 <span class="preprocessor">#endif//IL_EXPORTS_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,473 @@
|
||||
BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV {
|
||||
font-family: Geneva, Arial, Helvetica, sans-serif;
|
||||
}
|
||||
BODY,TD {
|
||||
font-size: 90%;
|
||||
}
|
||||
H1 {
|
||||
text-align: center;
|
||||
font-size: 160%;
|
||||
}
|
||||
H2 {
|
||||
font-size: 120%;
|
||||
}
|
||||
H3 {
|
||||
font-size: 100%;
|
||||
}
|
||||
CAPTION {
|
||||
font-weight: bold
|
||||
}
|
||||
DIV.qindex {
|
||||
width: 100%;
|
||||
background-color: #e8eef2;
|
||||
border: 1px solid #84b0c7;
|
||||
text-align: center;
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
line-height: 140%;
|
||||
}
|
||||
DIV.navpath {
|
||||
width: 100%;
|
||||
background-color: #e8eef2;
|
||||
border: 1px solid #84b0c7;
|
||||
text-align: center;
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
line-height: 140%;
|
||||
}
|
||||
DIV.navtab {
|
||||
background-color: #e8eef2;
|
||||
border: 1px solid #84b0c7;
|
||||
text-align: center;
|
||||
margin: 2px;
|
||||
margin-right: 15px;
|
||||
padding: 2px;
|
||||
}
|
||||
TD.navtab {
|
||||
font-size: 70%;
|
||||
}
|
||||
A.qindex {
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
color: #1A419D;
|
||||
}
|
||||
A.qindex:visited {
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
color: #1A419D
|
||||
}
|
||||
A.qindex:hover {
|
||||
text-decoration: none;
|
||||
background-color: #ddddff;
|
||||
}
|
||||
A.qindexHL {
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
background-color: #6666cc;
|
||||
color: #ffffff;
|
||||
border: 1px double #9295C2;
|
||||
}
|
||||
A.qindexHL:hover {
|
||||
text-decoration: none;
|
||||
background-color: #6666cc;
|
||||
color: #ffffff;
|
||||
}
|
||||
A.qindexHL:visited {
|
||||
text-decoration: none;
|
||||
background-color: #6666cc;
|
||||
color: #ffffff
|
||||
}
|
||||
A.el {
|
||||
text-decoration: none;
|
||||
font-weight: bold
|
||||
}
|
||||
A.elRef {
|
||||
font-weight: bold
|
||||
}
|
||||
A.code:link {
|
||||
text-decoration: none;
|
||||
font-weight: normal;
|
||||
color: #0000FF
|
||||
}
|
||||
A.code:visited {
|
||||
text-decoration: none;
|
||||
font-weight: normal;
|
||||
color: #0000FF
|
||||
}
|
||||
A.codeRef:link {
|
||||
font-weight: normal;
|
||||
color: #0000FF
|
||||
}
|
||||
A.codeRef:visited {
|
||||
font-weight: normal;
|
||||
color: #0000FF
|
||||
}
|
||||
A:hover {
|
||||
text-decoration: none;
|
||||
background-color: #f2f2ff
|
||||
}
|
||||
DL.el {
|
||||
margin-left: -1cm
|
||||
}
|
||||
.fragment {
|
||||
font-family: monospace, fixed;
|
||||
font-size: 95%;
|
||||
}
|
||||
PRE.fragment {
|
||||
border: 1px solid #CCCCCC;
|
||||
background-color: #f5f5f5;
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
margin-left: 2px;
|
||||
margin-right: 8px;
|
||||
padding-left: 6px;
|
||||
padding-right: 6px;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
DIV.ah {
|
||||
background-color: black;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
margin-bottom: 3px;
|
||||
margin-top: 3px
|
||||
}
|
||||
|
||||
DIV.groupHeader {
|
||||
margin-left: 16px;
|
||||
margin-top: 12px;
|
||||
margin-bottom: 6px;
|
||||
font-weight: bold;
|
||||
}
|
||||
DIV.groupText {
|
||||
margin-left: 16px;
|
||||
font-style: italic;
|
||||
font-size: 90%
|
||||
}
|
||||
BODY {
|
||||
background: white;
|
||||
color: black;
|
||||
margin-right: 20px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
TD.indexkey {
|
||||
background-color: #e8eef2;
|
||||
font-weight: bold;
|
||||
padding-right : 10px;
|
||||
padding-top : 2px;
|
||||
padding-left : 10px;
|
||||
padding-bottom : 2px;
|
||||
margin-left : 0px;
|
||||
margin-right : 0px;
|
||||
margin-top : 2px;
|
||||
margin-bottom : 2px;
|
||||
border: 1px solid #CCCCCC;
|
||||
}
|
||||
TD.indexvalue {
|
||||
background-color: #e8eef2;
|
||||
font-style: italic;
|
||||
padding-right : 10px;
|
||||
padding-top : 2px;
|
||||
padding-left : 10px;
|
||||
padding-bottom : 2px;
|
||||
margin-left : 0px;
|
||||
margin-right : 0px;
|
||||
margin-top : 2px;
|
||||
margin-bottom : 2px;
|
||||
border: 1px solid #CCCCCC;
|
||||
}
|
||||
TR.memlist {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
P.formulaDsp {
|
||||
text-align: center;
|
||||
}
|
||||
IMG.formulaDsp {
|
||||
}
|
||||
IMG.formulaInl {
|
||||
vertical-align: middle;
|
||||
}
|
||||
SPAN.keyword { color: #008000 }
|
||||
SPAN.keywordtype { color: #604020 }
|
||||
SPAN.keywordflow { color: #e08000 }
|
||||
SPAN.comment { color: #800000 }
|
||||
SPAN.preprocessor { color: #806020 }
|
||||
SPAN.stringliteral { color: #002080 }
|
||||
SPAN.charliteral { color: #008080 }
|
||||
SPAN.vhdldigit { color: #ff00ff }
|
||||
SPAN.vhdlchar { color: #000000 }
|
||||
SPAN.vhdlkeyword { color: #700070 }
|
||||
SPAN.vhdllogic { color: #ff0000 }
|
||||
|
||||
.mdescLeft {
|
||||
padding: 0px 8px 4px 8px;
|
||||
font-size: 80%;
|
||||
font-style: italic;
|
||||
background-color: #FAFAFA;
|
||||
border-top: 1px none #E0E0E0;
|
||||
border-right: 1px none #E0E0E0;
|
||||
border-bottom: 1px none #E0E0E0;
|
||||
border-left: 1px none #E0E0E0;
|
||||
margin: 0px;
|
||||
}
|
||||
.mdescRight {
|
||||
padding: 0px 8px 4px 8px;
|
||||
font-size: 80%;
|
||||
font-style: italic;
|
||||
background-color: #FAFAFA;
|
||||
border-top: 1px none #E0E0E0;
|
||||
border-right: 1px none #E0E0E0;
|
||||
border-bottom: 1px none #E0E0E0;
|
||||
border-left: 1px none #E0E0E0;
|
||||
margin: 0px;
|
||||
}
|
||||
.memItemLeft {
|
||||
padding: 1px 0px 0px 8px;
|
||||
margin: 4px;
|
||||
border-top-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 1px;
|
||||
border-top-color: #E0E0E0;
|
||||
border-right-color: #E0E0E0;
|
||||
border-bottom-color: #E0E0E0;
|
||||
border-left-color: #E0E0E0;
|
||||
border-top-style: solid;
|
||||
border-right-style: none;
|
||||
border-bottom-style: none;
|
||||
border-left-style: none;
|
||||
background-color: #FAFAFA;
|
||||
font-size: 80%;
|
||||
}
|
||||
.memItemRight {
|
||||
padding: 1px 8px 0px 8px;
|
||||
margin: 4px;
|
||||
border-top-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 1px;
|
||||
border-top-color: #E0E0E0;
|
||||
border-right-color: #E0E0E0;
|
||||
border-bottom-color: #E0E0E0;
|
||||
border-left-color: #E0E0E0;
|
||||
border-top-style: solid;
|
||||
border-right-style: none;
|
||||
border-bottom-style: none;
|
||||
border-left-style: none;
|
||||
background-color: #FAFAFA;
|
||||
font-size: 80%;
|
||||
}
|
||||
.memTemplItemLeft {
|
||||
padding: 1px 0px 0px 8px;
|
||||
margin: 4px;
|
||||
border-top-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 1px;
|
||||
border-top-color: #E0E0E0;
|
||||
border-right-color: #E0E0E0;
|
||||
border-bottom-color: #E0E0E0;
|
||||
border-left-color: #E0E0E0;
|
||||
border-top-style: none;
|
||||
border-right-style: none;
|
||||
border-bottom-style: none;
|
||||
border-left-style: none;
|
||||
background-color: #FAFAFA;
|
||||
font-size: 80%;
|
||||
}
|
||||
.memTemplItemRight {
|
||||
padding: 1px 8px 0px 8px;
|
||||
margin: 4px;
|
||||
border-top-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 1px;
|
||||
border-top-color: #E0E0E0;
|
||||
border-right-color: #E0E0E0;
|
||||
border-bottom-color: #E0E0E0;
|
||||
border-left-color: #E0E0E0;
|
||||
border-top-style: none;
|
||||
border-right-style: none;
|
||||
border-bottom-style: none;
|
||||
border-left-style: none;
|
||||
background-color: #FAFAFA;
|
||||
font-size: 80%;
|
||||
}
|
||||
.memTemplParams {
|
||||
padding: 1px 0px 0px 8px;
|
||||
margin: 4px;
|
||||
border-top-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 1px;
|
||||
border-top-color: #E0E0E0;
|
||||
border-right-color: #E0E0E0;
|
||||
border-bottom-color: #E0E0E0;
|
||||
border-left-color: #E0E0E0;
|
||||
border-top-style: solid;
|
||||
border-right-style: none;
|
||||
border-bottom-style: none;
|
||||
border-left-style: none;
|
||||
color: #606060;
|
||||
background-color: #FAFAFA;
|
||||
font-size: 80%;
|
||||
}
|
||||
.search {
|
||||
color: #003399;
|
||||
font-weight: bold;
|
||||
}
|
||||
FORM.search {
|
||||
margin-bottom: 0px;
|
||||
margin-top: 0px;
|
||||
}
|
||||
INPUT.search {
|
||||
font-size: 75%;
|
||||
color: #000080;
|
||||
font-weight: normal;
|
||||
background-color: #e8eef2;
|
||||
}
|
||||
TD.tiny {
|
||||
font-size: 75%;
|
||||
}
|
||||
a {
|
||||
color: #1A41A8;
|
||||
}
|
||||
a:visited {
|
||||
color: #2A3798;
|
||||
}
|
||||
.dirtab {
|
||||
padding: 4px;
|
||||
border-collapse: collapse;
|
||||
border: 1px solid #84b0c7;
|
||||
}
|
||||
TH.dirtab {
|
||||
background: #e8eef2;
|
||||
font-weight: bold;
|
||||
}
|
||||
HR {
|
||||
height: 1px;
|
||||
border: none;
|
||||
border-top: 1px solid black;
|
||||
}
|
||||
|
||||
/* Style for detailed member documentation */
|
||||
.memtemplate {
|
||||
font-size: 80%;
|
||||
color: #606060;
|
||||
font-weight: normal;
|
||||
margin-left: 3px;
|
||||
}
|
||||
.memnav {
|
||||
background-color: #e8eef2;
|
||||
border: 1px solid #84b0c7;
|
||||
text-align: center;
|
||||
margin: 2px;
|
||||
margin-right: 15px;
|
||||
padding: 2px;
|
||||
}
|
||||
.memitem {
|
||||
padding: 4px;
|
||||
background-color: #eef3f5;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #dedeee;
|
||||
-moz-border-radius: 8px 8px 8px 8px;
|
||||
}
|
||||
.memname {
|
||||
white-space: nowrap;
|
||||
font-weight: bold;
|
||||
}
|
||||
.memdoc{
|
||||
padding-left: 10px;
|
||||
}
|
||||
.memproto {
|
||||
background-color: #d5e1e8;
|
||||
width: 100%;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #84b0c7;
|
||||
font-weight: bold;
|
||||
-moz-border-radius: 8px 8px 8px 8px;
|
||||
}
|
||||
.paramkey {
|
||||
text-align: right;
|
||||
}
|
||||
.paramtype {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.paramname {
|
||||
color: #602020;
|
||||
font-style: italic;
|
||||
white-space: nowrap;
|
||||
}
|
||||
/* End Styling for detailed member documentation */
|
||||
|
||||
/* for the tree view */
|
||||
.ftvtree {
|
||||
font-family: sans-serif;
|
||||
margin:0.5em;
|
||||
}
|
||||
/* these are for tree view when used as main index */
|
||||
.directory {
|
||||
font-size: 9pt;
|
||||
font-weight: bold;
|
||||
}
|
||||
.directory h3 {
|
||||
margin: 0px;
|
||||
margin-top: 1em;
|
||||
font-size: 11pt;
|
||||
}
|
||||
|
||||
/* The following two styles can be used to replace the root node title */
|
||||
/* with an image of your choice. Simply uncomment the next two styles, */
|
||||
/* specify the name of your image and be sure to set 'height' to the */
|
||||
/* proper pixel height of your image. */
|
||||
|
||||
/* .directory h3.swap { */
|
||||
/* height: 61px; */
|
||||
/* background-repeat: no-repeat; */
|
||||
/* background-image: url("yourimage.gif"); */
|
||||
/* } */
|
||||
/* .directory h3.swap span { */
|
||||
/* display: none; */
|
||||
/* } */
|
||||
|
||||
.directory > h3 {
|
||||
margin-top: 0;
|
||||
}
|
||||
.directory p {
|
||||
margin: 0px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.directory div {
|
||||
display: none;
|
||||
margin: 0px;
|
||||
}
|
||||
.directory img {
|
||||
vertical-align: -30%;
|
||||
}
|
||||
/* these are for tree view when not used as main index */
|
||||
.directory-alt {
|
||||
font-size: 100%;
|
||||
font-weight: bold;
|
||||
}
|
||||
.directory-alt h3 {
|
||||
margin: 0px;
|
||||
margin-top: 1em;
|
||||
font-size: 11pt;
|
||||
}
|
||||
.directory-alt > h3 {
|
||||
margin-top: 0;
|
||||
}
|
||||
.directory-alt p {
|
||||
margin: 0px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.directory-alt div {
|
||||
display: none;
|
||||
margin: 0px;
|
||||
}
|
||||
.directory-alt img {
|
||||
vertical-align: -30%;
|
||||
}
|
||||
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,87 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: File Index</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li class="current"><a href="files.html"><span>File List</span></a></li>
|
||||
<li><a href="globals.html"><span>Globals</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents">
|
||||
<h1>File List</h1>Here is a list of all documented files with brief descriptions:<table>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/include/IL/<b>config.h</b> <a href="config_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/include/IL/<b>devil_cpp_wrapper.hpp</b> <a href="devil__cpp__wrapper_8hpp-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/include/IL/<b>devil_internal_exports.h</b> <a href="devil__internal__exports_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/include/IL/<a class="el" href="il_8h.html">il.h</a> <a href="il_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/include/IL/<b>il_wrap.h</b> <a href="il__wrap_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/include/IL/<a class="el" href="ilu_8h.html">ilu.h</a> <a href="ilu_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/include/IL/<b>ilu_region.h</b> <a href="include_2IL_2ilu__region_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/include/IL/<a class="el" href="ilut_8h.html">ilut.h</a> <a href="ilut_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/include/IL/<b>ilut_config.h</b> <a href="ilut__config_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>altivec_common.h</b> <a href="altivec__common_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>altivec_typeconversion.h</b> <a href="altivec__typeconversion_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_alloc.h</b> <a href="il__alloc_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_bits.h</b> <a href="il__bits_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_bmp.h</b> <a href="il__bmp_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_dcx.h</b> <a href="il__dcx_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_dds.h</b> <a href="il__dds_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_doompal.h</b> <a href="il__doompal_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_dpx.h</b> <a href="il__dpx_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_endian.h</b> <a href="il__endian_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_exr.h</b> <a href="il__exr_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_files.h</b> <a href="il__files_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_gif.h</b> <a href="il__gif_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_hdr.h</b> <a href="il__hdr_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_icns.h</b> <a href="il__icns_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_icon.h</b> <a href="il__icon_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_internal.h</b> <a href="il__internal_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_jp2.h</b> <a href="il__jp2_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_jpeg.h</b> <a href="il__jpeg_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_lif.h</b> <a href="il__lif_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_manip.h</b> <a href="il__manip_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_mdl.h</b> <a href="il__mdl_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_pal.h</b> <a href="il__pal_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_pcx.h</b> <a href="il__pcx_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_pic.h</b> <a href="il__pic_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_pnm.h</b> <a href="il__pnm_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_psd.h</b> <a href="il__psd_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_psp.h</b> <a href="il__psp_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_q2pal.h</b> <a href="il__q2pal_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_register.h</b> <a href="il__register_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_rle.h</b> <a href="il__rle_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_sgi.h</b> <a href="il__sgi_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_stack.h</b> <a href="il__stack_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_states.h</b> <a href="il__states_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_targa.h</b> <a href="il__targa_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_utx.h</b> <a href="il__utx_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_vtf.h</b> <a href="il__vtf_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-IL/include/<b>il_wdp.h</b> <a href="il__wdp_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-ILU/include/<b>ilu_alloc.h</b> <a href="ilu__alloc_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-ILU/include/<b>ilu_filter.h</b> <a href="ilu__filter_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-ILU/include/<b>ilu_internal.h</b> <a href="ilu__internal_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-ILU/include/<b>ilu_region.h</b> <a href="src-ILU_2include_2ilu__region_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-ILU/include/<b>ilu_states.h</b> <a href="ilu__states_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-ILUT/include/<b>ilut_allegro.h</b> <a href="ilut__allegro_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-ILUT/include/<b>ilut_internal.h</b> <a href="ilut__internal_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-ILUT/include/<b>ilut_opengl.h</b> <a href="ilut__opengl_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">/home/dwoods/DevIL/src-ILUT/include/<b>ilut_states.h</b> <a href="ilut__states_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
</table>
|
||||
</div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,145 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: Data Fields</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="functions.html"><span>Data Fields</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li class="current"><a href="functions.html"><span>All</span></a></li>
|
||||
<li><a href="functions_vars.html"><span>Variables</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="#index_a"><span>a</span></a></li>
|
||||
<li><a href="#index_b"><span>b</span></a></li>
|
||||
<li><a href="#index_c"><span>c</span></a></li>
|
||||
<li><a href="#index_d"><span>d</span></a></li>
|
||||
<li><a href="#index_f"><span>f</span></a></li>
|
||||
<li><a href="#index_h"><span>h</span></a></li>
|
||||
<li><a href="#index_l"><span>l</span></a></li>
|
||||
<li><a href="#index_m"><span>m</span></a></li>
|
||||
<li><a href="#index_n"><span>n</span></a></li>
|
||||
<li><a href="#index_o"><span>o</span></a></li>
|
||||
<li><a href="#index_p"><span>p</span></a></li>
|
||||
<li><a href="#index_s"><span>s</span></a></li>
|
||||
<li><a href="#index_t"><span>t</span></a></li>
|
||||
<li><a href="#index_w"><span>w</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents">
|
||||
Here is a list of all documented struct and union fields with links to the struct/union documentation for each field:
|
||||
<p>
|
||||
<h3><a class="anchor" name="index_a">- a -</a></h3><ul>
|
||||
<li>AnimList
|
||||
: <a class="el" href="structILimage.html#b128f3c35d0617202e3ec8252af5fa03">ILimage</a>
|
||||
<li>AnimSize
|
||||
: <a class="el" href="structILimage.html#70e6057f47ac13562d06c43e17f9be56">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_b">- b -</a></h3><ul>
|
||||
<li>Bpc
|
||||
: <a class="el" href="structILimage.html#20c53053c80d504de93c3ee17290a9ba">ILimage</a>
|
||||
<li>Bpp
|
||||
: <a class="el" href="structILimage.html#1b3ec86e5bf7087b7d46f0ed61d86eb9">ILimage</a>
|
||||
<li>Bps
|
||||
: <a class="el" href="structILimage.html#09ee9478fab289cf2622f06db9171894">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_c">- c -</a></h3><ul>
|
||||
<li>CubeFlags
|
||||
: <a class="el" href="structILimage.html#20bd452e1573aa08c7d9687190cbfa89">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_d">- d -</a></h3><ul>
|
||||
<li>Data
|
||||
: <a class="el" href="structILimage.html#b7a9627719d89abb3cb48087452acbc8">ILimage</a>
|
||||
<li>Depth
|
||||
: <a class="el" href="structILimage.html#00e19fb6f1e50731d114c302129112d9">ILimage</a>
|
||||
<li>Duration
|
||||
: <a class="el" href="structILimage.html#fde5827e053680ff1e81a9a9c0832042">ILimage</a>
|
||||
<li>DxtcData
|
||||
: <a class="el" href="structILimage.html#65df57fee0fb33328ef00fecb7709638">ILimage</a>
|
||||
<li>DxtcFormat
|
||||
: <a class="el" href="structILimage.html#41c04c16ff79d67c0c20d726ea411805">ILimage</a>
|
||||
<li>DxtcSize
|
||||
: <a class="el" href="structILimage.html#5d423e11ee4e5076d92f6a7e863b2070">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_f">- f -</a></h3><ul>
|
||||
<li>Faces
|
||||
: <a class="el" href="structILimage.html#42b8f93f02ab5e6c9623967a08e2d013">ILimage</a>
|
||||
<li>Format
|
||||
: <a class="el" href="structILimage.html#f36941d08ffdd7ed7c42cdb11d2a5513">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_h">- h -</a></h3><ul>
|
||||
<li>Height
|
||||
: <a class="el" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_l">- l -</a></h3><ul>
|
||||
<li>Layers
|
||||
: <a class="el" href="structILimage.html#504d31f6b9c9d6da656f5eecb57bdd46">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_m">- m -</a></h3><ul>
|
||||
<li>Mipmaps
|
||||
: <a class="el" href="structILimage.html#fa2c8bedcd1178760327302911969035">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_n">- n -</a></h3><ul>
|
||||
<li>Next
|
||||
: <a class="el" href="structILimage.html#dbd033e6e25af697caa549be3deeb5ff">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_o">- o -</a></h3><ul>
|
||||
<li>OffX
|
||||
: <a class="el" href="structILimage.html#e0438126967c9e3fcdbf916776c7430c">ILimage</a>
|
||||
<li>OffY
|
||||
: <a class="el" href="structILimage.html#3d0db9b9c3aa7399ff8fe82327e1cc42">ILimage</a>
|
||||
<li>Origin
|
||||
: <a class="el" href="structILimage.html#c2bc011c3f8a65eea30a8d4495c96a2e">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_p">- p -</a></h3><ul>
|
||||
<li>Pal
|
||||
: <a class="el" href="structILimage.html#1e17c6b3c912a9bcddb50dd7a61011a7">ILimage</a>
|
||||
<li>Palette
|
||||
: <a class="el" href="structILpal.html#bc8ce06b53b2ca4de6bf2ebda303d746">ILpal</a>
|
||||
<li>PalSize
|
||||
: <a class="el" href="structILpal.html#0e64a8c7d3cdd2e63b60c947f118db9b">ILpal</a>
|
||||
<li>PalType
|
||||
: <a class="el" href="structILpal.html#586f4c7d59e6f202e1d63c67f7679c23">ILpal</a>
|
||||
<li>Profile
|
||||
: <a class="el" href="structILimage.html#78a95799c50680f0301e83b3f09c010f">ILimage</a>
|
||||
<li>ProfileSize
|
||||
: <a class="el" href="structILimage.html#03dcb37bc626f621f4c638fde928bf64">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_s">- s -</a></h3><ul>
|
||||
<li>SizeOfData
|
||||
: <a class="el" href="structILimage.html#9e84436c94d9cd5afad59be12dff753b">ILimage</a>
|
||||
<li>SizeOfPlane
|
||||
: <a class="el" href="structILimage.html#5ce85bc0b983ddf0ed91b1ed98d9132a">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_t">- t -</a></h3><ul>
|
||||
<li>Type
|
||||
: <a class="el" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_w">- w -</a></h3><ul>
|
||||
<li>Width
|
||||
: <a class="el" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1">ILimage</a>
|
||||
</ul>
|
||||
</div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,145 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: Data Fields - Variables</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="functions.html"><span>Data Fields</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="functions.html"><span>All</span></a></li>
|
||||
<li class="current"><a href="functions_vars.html"><span>Variables</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="#index_a"><span>a</span></a></li>
|
||||
<li><a href="#index_b"><span>b</span></a></li>
|
||||
<li><a href="#index_c"><span>c</span></a></li>
|
||||
<li><a href="#index_d"><span>d</span></a></li>
|
||||
<li><a href="#index_f"><span>f</span></a></li>
|
||||
<li><a href="#index_h"><span>h</span></a></li>
|
||||
<li><a href="#index_l"><span>l</span></a></li>
|
||||
<li><a href="#index_m"><span>m</span></a></li>
|
||||
<li><a href="#index_n"><span>n</span></a></li>
|
||||
<li><a href="#index_o"><span>o</span></a></li>
|
||||
<li><a href="#index_p"><span>p</span></a></li>
|
||||
<li><a href="#index_s"><span>s</span></a></li>
|
||||
<li><a href="#index_t"><span>t</span></a></li>
|
||||
<li><a href="#index_w"><span>w</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents">
|
||||
|
||||
<p>
|
||||
<h3><a class="anchor" name="index_a">- a -</a></h3><ul>
|
||||
<li>AnimList
|
||||
: <a class="el" href="structILimage.html#b128f3c35d0617202e3ec8252af5fa03">ILimage</a>
|
||||
<li>AnimSize
|
||||
: <a class="el" href="structILimage.html#70e6057f47ac13562d06c43e17f9be56">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_b">- b -</a></h3><ul>
|
||||
<li>Bpc
|
||||
: <a class="el" href="structILimage.html#20c53053c80d504de93c3ee17290a9ba">ILimage</a>
|
||||
<li>Bpp
|
||||
: <a class="el" href="structILimage.html#1b3ec86e5bf7087b7d46f0ed61d86eb9">ILimage</a>
|
||||
<li>Bps
|
||||
: <a class="el" href="structILimage.html#09ee9478fab289cf2622f06db9171894">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_c">- c -</a></h3><ul>
|
||||
<li>CubeFlags
|
||||
: <a class="el" href="structILimage.html#20bd452e1573aa08c7d9687190cbfa89">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_d">- d -</a></h3><ul>
|
||||
<li>Data
|
||||
: <a class="el" href="structILimage.html#b7a9627719d89abb3cb48087452acbc8">ILimage</a>
|
||||
<li>Depth
|
||||
: <a class="el" href="structILimage.html#00e19fb6f1e50731d114c302129112d9">ILimage</a>
|
||||
<li>Duration
|
||||
: <a class="el" href="structILimage.html#fde5827e053680ff1e81a9a9c0832042">ILimage</a>
|
||||
<li>DxtcData
|
||||
: <a class="el" href="structILimage.html#65df57fee0fb33328ef00fecb7709638">ILimage</a>
|
||||
<li>DxtcFormat
|
||||
: <a class="el" href="structILimage.html#41c04c16ff79d67c0c20d726ea411805">ILimage</a>
|
||||
<li>DxtcSize
|
||||
: <a class="el" href="structILimage.html#5d423e11ee4e5076d92f6a7e863b2070">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_f">- f -</a></h3><ul>
|
||||
<li>Faces
|
||||
: <a class="el" href="structILimage.html#42b8f93f02ab5e6c9623967a08e2d013">ILimage</a>
|
||||
<li>Format
|
||||
: <a class="el" href="structILimage.html#f36941d08ffdd7ed7c42cdb11d2a5513">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_h">- h -</a></h3><ul>
|
||||
<li>Height
|
||||
: <a class="el" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_l">- l -</a></h3><ul>
|
||||
<li>Layers
|
||||
: <a class="el" href="structILimage.html#504d31f6b9c9d6da656f5eecb57bdd46">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_m">- m -</a></h3><ul>
|
||||
<li>Mipmaps
|
||||
: <a class="el" href="structILimage.html#fa2c8bedcd1178760327302911969035">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_n">- n -</a></h3><ul>
|
||||
<li>Next
|
||||
: <a class="el" href="structILimage.html#dbd033e6e25af697caa549be3deeb5ff">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_o">- o -</a></h3><ul>
|
||||
<li>OffX
|
||||
: <a class="el" href="structILimage.html#e0438126967c9e3fcdbf916776c7430c">ILimage</a>
|
||||
<li>OffY
|
||||
: <a class="el" href="structILimage.html#3d0db9b9c3aa7399ff8fe82327e1cc42">ILimage</a>
|
||||
<li>Origin
|
||||
: <a class="el" href="structILimage.html#c2bc011c3f8a65eea30a8d4495c96a2e">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_p">- p -</a></h3><ul>
|
||||
<li>Pal
|
||||
: <a class="el" href="structILimage.html#1e17c6b3c912a9bcddb50dd7a61011a7">ILimage</a>
|
||||
<li>Palette
|
||||
: <a class="el" href="structILpal.html#bc8ce06b53b2ca4de6bf2ebda303d746">ILpal</a>
|
||||
<li>PalSize
|
||||
: <a class="el" href="structILpal.html#0e64a8c7d3cdd2e63b60c947f118db9b">ILpal</a>
|
||||
<li>PalType
|
||||
: <a class="el" href="structILpal.html#586f4c7d59e6f202e1d63c67f7679c23">ILpal</a>
|
||||
<li>Profile
|
||||
: <a class="el" href="structILimage.html#78a95799c50680f0301e83b3f09c010f">ILimage</a>
|
||||
<li>ProfileSize
|
||||
: <a class="el" href="structILimage.html#03dcb37bc626f621f4c638fde928bf64">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_s">- s -</a></h3><ul>
|
||||
<li>SizeOfData
|
||||
: <a class="el" href="structILimage.html#9e84436c94d9cd5afad59be12dff753b">ILimage</a>
|
||||
<li>SizeOfPlane
|
||||
: <a class="el" href="structILimage.html#5ce85bc0b983ddf0ed91b1ed98d9132a">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_t">- t -</a></h3><ul>
|
||||
<li>Type
|
||||
: <a class="el" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918">ILimage</a>
|
||||
</ul>
|
||||
<h3><a class="anchor" name="index_w">- w -</a></h3><ul>
|
||||
<li>Width
|
||||
: <a class="el" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1">ILimage</a>
|
||||
</ul>
|
||||
</div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,271 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: Data Fields</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="files.html"><span>File List</span></a></li>
|
||||
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li class="current"><a href="globals.html"><span>All</span></a></li>
|
||||
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||
<li><a href="globals_defs.html"><span>Defines</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="#index_i"><span>i</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents">
|
||||
Here is a list of all documented functions, variables, defines, enums, and typedefs with links to the documentation:
|
||||
<p>
|
||||
<h3><a class="anchor" name="index_i">- i -</a></h3><ul>
|
||||
<li>IL_BLP
|
||||
: <a class="el" href="il_8h.html#74d0d914139910e51ffe7ff325598413">il.h</a>
|
||||
<li>IL_BMP
|
||||
: <a class="el" href="il_8h.html#dd7e1d2be4e95756abb5b71a3c57cb5b">il.h</a>
|
||||
<li>IL_BYTE
|
||||
: <a class="el" href="il_8h.html#5a1e68002c5c3108e1fea27cb8b75330">il.h</a>
|
||||
<li>IL_CHEAD
|
||||
: <a class="el" href="il_8h.html#1c3111c577bb6039cac1affd2e90309c">il.h</a>
|
||||
<li>IL_COLOUR_INDEX
|
||||
: <a class="el" href="il_8h.html#2d5d7096248447f2ee131af82814392a">il.h</a>
|
||||
<li>IL_CUT
|
||||
: <a class="el" href="il_8h.html#087328a3745acd566143064645bfc463">il.h</a>
|
||||
<li>IL_DCX
|
||||
: <a class="el" href="il_8h.html#bfddb808d8129236744a34eb4bb4216a">il.h</a>
|
||||
<li>IL_DDS
|
||||
: <a class="el" href="il_8h.html#737d76763f2c9fb7f25be40130434913">il.h</a>
|
||||
<li>IL_DICOM
|
||||
: <a class="el" href="il_8h.html#c99ded04fa7abc9b5394f99107076be0">il.h</a>
|
||||
<li>IL_DOOM
|
||||
: <a class="el" href="il_8h.html#f3b00e93d3cee92c183ee457c8ce8f2a">il.h</a>
|
||||
<li>IL_DOOM_FLAT
|
||||
: <a class="el" href="il_8h.html#d0b331e9c40485c339bd0e5698234d89">il.h</a>
|
||||
<li>IL_DPX
|
||||
: <a class="el" href="il_8h.html#f725bc72635c3e96eee78d1b8b0b5688">il.h</a>
|
||||
<li>IL_EXR
|
||||
: <a class="el" href="il_8h.html#f233995bbe2f5eeee67b07365f7178d3">il.h</a>
|
||||
<li>IL_FITS
|
||||
: <a class="el" href="il_8h.html#494fe71a2bae847ad8102523e22283d8">il.h</a>
|
||||
<li>IL_FTX
|
||||
: <a class="el" href="il_8h.html#8f0ebc84a1bad958e92132d24efd18d1">il.h</a>
|
||||
<li>IL_GIF
|
||||
: <a class="el" href="il_8h.html#e5b5796118e89d8f9a4badea54dad9b2">il.h</a>
|
||||
<li>IL_HDR
|
||||
: <a class="el" href="il_8h.html#5d64125750873e31db8f469b771d88a7">il.h</a>
|
||||
<li>IL_ICNS
|
||||
: <a class="el" href="il_8h.html#9409add4fd49dc5a8d719e8cc2b2a2de">il.h</a>
|
||||
<li>IL_ICO
|
||||
: <a class="el" href="il_8h.html#96a36b5af19520c4e176e3c2706420ae">il.h</a>
|
||||
<li>IL_IFF
|
||||
: <a class="el" href="il_8h.html#24e25a541ecc79265ec876702a42cc8c">il.h</a>
|
||||
<li>IL_ILBM
|
||||
: <a class="el" href="il_8h.html#d519dac007bd705c82194d808f4b37c1">il.h</a>
|
||||
<li>IL_IWI
|
||||
: <a class="el" href="il_8h.html#1024c13c5d848c827bc70998d4559b36">il.h</a>
|
||||
<li>IL_JASC_PAL
|
||||
: <a class="el" href="il_8h.html#45aea262f25a3a0e5445c4d114e1851e">il.h</a>
|
||||
<li>IL_JP2
|
||||
: <a class="el" href="il_8h.html#c75f592e2adb874fa0e07c1e251a1410">il.h</a>
|
||||
<li>IL_JPG
|
||||
: <a class="el" href="il_8h.html#8ec94b2e3c2c499b3f8024ca1c3e6872">il.h</a>
|
||||
<li>IL_LIF
|
||||
: <a class="el" href="il_8h.html#046e1a13b4099c0e53ead2423612aa5b">il.h</a>
|
||||
<li>IL_MDL
|
||||
: <a class="el" href="il_8h.html#77ffd8f2fe9aada605897068f3ac8ad1">il.h</a>
|
||||
<li>IL_MNG
|
||||
: <a class="el" href="il_8h.html#a1c28f0b33674565bd4a9291ac0488d4">il.h</a>
|
||||
<li>IL_MP3
|
||||
: <a class="el" href="il_8h.html#79d0df78986bbc3e2a8317cc22d2d0ed">il.h</a>
|
||||
<li>IL_PCD
|
||||
: <a class="el" href="il_8h.html#bbf7912521d845cc4d4a476153809f5e">il.h</a>
|
||||
<li>IL_PCX
|
||||
: <a class="el" href="il_8h.html#fc747ca51da8a4f321007eabba5889cb">il.h</a>
|
||||
<li>IL_PIC
|
||||
: <a class="el" href="il_8h.html#81e844eda589791e15672d7720c030c3">il.h</a>
|
||||
<li>IL_PIX
|
||||
: <a class="el" href="il_8h.html#0f54e0e125c677295924a60b1c1a69cb">il.h</a>
|
||||
<li>IL_PNG
|
||||
: <a class="el" href="il_8h.html#44006e952eb70685efdb82059eca4386">il.h</a>
|
||||
<li>IL_PNM
|
||||
: <a class="el" href="il_8h.html#038dd1d1bf1d587dde4cb2c2e18b05e3">il.h</a>
|
||||
<li>IL_PSD
|
||||
: <a class="el" href="il_8h.html#f127af80b100398dc7c289538730f053">il.h</a>
|
||||
<li>IL_PSP
|
||||
: <a class="el" href="il_8h.html#4994a001d2387618290798d8460b2826">il.h</a>
|
||||
<li>IL_PXR
|
||||
: <a class="el" href="il_8h.html#c2138951f9cabdc0c190169d90165aad">il.h</a>
|
||||
<li>IL_RAW
|
||||
: <a class="el" href="il_8h.html#90b823d98bd7599f1afe79916858a64e">il.h</a>
|
||||
<li>IL_ROT
|
||||
: <a class="el" href="il_8h.html#f18cd1ee46a7f53a71672cb8187737f4">il.h</a>
|
||||
<li>IL_SGI
|
||||
: <a class="el" href="il_8h.html#83017abb57e2b8d13b2940dcd21e33ee">il.h</a>
|
||||
<li>IL_SUN
|
||||
: <a class="el" href="il_8h.html#0862d8715842e491fc49d1b8c77a7bcb">il.h</a>
|
||||
<li>IL_TEXTURE
|
||||
: <a class="el" href="il_8h.html#dbf6a57b74226ded9a04bf491d7c6ead">il.h</a>
|
||||
<li>IL_TGA
|
||||
: <a class="el" href="il_8h.html#5fb2bda79b1e3198ae2f05f8af93a14b">il.h</a>
|
||||
<li>IL_TIF
|
||||
: <a class="el" href="il_8h.html#4014e1df9671d92223fcf2cfcb4e438b">il.h</a>
|
||||
<li>IL_TPL
|
||||
: <a class="el" href="il_8h.html#9f2f4982af8e2d6d9d48d98398de8dd7">il.h</a>
|
||||
<li>IL_UTX
|
||||
: <a class="el" href="il_8h.html#774991afc70494f28b5c7f494ffe1fbb">il.h</a>
|
||||
<li>IL_VTF
|
||||
: <a class="el" href="il_8h.html#c78df8193efc63314efa495217a36d63">il.h</a>
|
||||
<li>IL_WAL
|
||||
: <a class="el" href="il_8h.html#b1e8eb9dd24155726d1469e1eae756dc">il.h</a>
|
||||
<li>IL_WBMP
|
||||
: <a class="el" href="il_8h.html#cabbc0ef52f005e4890c683a70c38cd6">il.h</a>
|
||||
<li>IL_WDP
|
||||
: <a class="el" href="il_8h.html#f17515a28c935dc8c01ed6f98a5d7ea5">il.h</a>
|
||||
<li>IL_XPM
|
||||
: <a class="el" href="il_8h.html#3f15f93b91a09441f3e7352ade9c6b46">il.h</a>
|
||||
<li>ilActiveFace()
|
||||
: <a class="el" href="il_8h.html#c3786cbdd6919615f6ed9bf406c6fb02">il.h</a>
|
||||
<li>ilActiveImage()
|
||||
: <a class="el" href="il_8h.html#ce0e0c80f63e19eff91bc0215a3d35c1">il.h</a>
|
||||
<li>ilActiveLayer()
|
||||
: <a class="el" href="il_8h.html#d0cf44cca6df82f34b82bf30db8890c9">il.h</a>
|
||||
<li>ilActiveMipmap()
|
||||
: <a class="el" href="il_8h.html#1def4fa64c4d65bb57fae92d87942f5f">il.h</a>
|
||||
<li>ilBindImage()
|
||||
: <a class="el" href="il_8h.html#5b194319263be3981e57edff5cd20f06">il.h</a>
|
||||
<li>ilClampNTSC()
|
||||
: <a class="el" href="il_8h.html#01ff56bfc597c186034816c17a094eca">il.h</a>
|
||||
<li>ilClearImage()
|
||||
: <a class="el" href="il_8h.html#e08b2535f46c32de4b398800c230219a">il.h</a>
|
||||
<li>ilCompressDXT()
|
||||
: <a class="el" href="il_8h.html#016b03ccbf86f6ba37d6c24b3357f9d1">il.h</a>
|
||||
<li>ilConvertImage()
|
||||
: <a class="el" href="il_8h.html#2d6590bc4210411925ecd19b2f414420">il.h</a>
|
||||
<li>ilConvertPal()
|
||||
: <a class="el" href="il_8h.html#68c3c3922366108a9cbb30860c825f74">il.h</a>
|
||||
<li>ilCopyImage()
|
||||
: <a class="el" href="il_8h.html#56284e508cbed8c7332e2c85421c11cb">il.h</a>
|
||||
<li>ilDefaultImage()
|
||||
: <a class="el" href="il_8h.html#32fdab2d228826a4cfb5dd12fcf8405b">il.h</a>
|
||||
<li>ilDeleteImages()
|
||||
: <a class="el" href="il_8h.html#19983786494ca1d9157922f6888f6277">il.h</a>
|
||||
<li>ilDisable()
|
||||
: <a class="el" href="il_8h.html#67bfe70ba2a7d24bf8723053b5d24bbd">il.h</a>
|
||||
<li>ilEnable()
|
||||
: <a class="el" href="il_8h.html#1dc69aee6c4a60673f6aa6f450d05c37">il.h</a>
|
||||
<li>ilFormatFunc()
|
||||
: <a class="el" href="il_8h.html#d7f9e0e048aa2993773fa902a419c174">il.h</a>
|
||||
<li>ilGenImages()
|
||||
: <a class="el" href="il_8h.html#1996dc2c6f1ec0b5ede9ea99373b1667">il.h</a>
|
||||
<li>ilGetBoolean()
|
||||
: <a class="el" href="il_8h.html#d3702df21f7cf778498b92433e8cfc58">il.h</a>
|
||||
<li>ilGetBooleanv()
|
||||
: <a class="el" href="il_8h.html#591ac8c18cd1271e6c38bc9aebddd719">il.h</a>
|
||||
<li>ilGetData()
|
||||
: <a class="el" href="il_8h.html#b4343941107c32d8312baa2ef2aeb796">il.h</a>
|
||||
<li>ilGetError()
|
||||
: <a class="el" href="il_8h.html#dd4600e363a1e68cf5f5e34e5bce5bac">il.h</a>
|
||||
<li>ilGetInteger()
|
||||
: <a class="el" href="il_8h.html#b142f916902d6d251b153151223a950d">il.h</a>
|
||||
<li>ilGetIntegerv()
|
||||
: <a class="el" href="il_8h.html#6676a4f621c70e808cd11b99e0c73368">il.h</a>
|
||||
<li>ilGetPalette()
|
||||
: <a class="el" href="il_8h.html#bc95ed260a357cb4ca0eb96a78b58f71">il.h</a>
|
||||
<li>ilGetString()
|
||||
: <a class="el" href="il_8h.html#34a788c5c16ecbb78ba25f6431aa35f6">il.h</a>
|
||||
<li>ilHint()
|
||||
: <a class="el" href="il_8h.html#364d12ff1c0e58472a85cd629f2379bf">il.h</a>
|
||||
<li>ilIsDisabled()
|
||||
: <a class="el" href="il_8h.html#b63752d2e97912a6475c7499423ece04">il.h</a>
|
||||
<li>ilIsEnabled()
|
||||
: <a class="el" href="il_8h.html#703382f3b6785948e3e921c3d30c3e7d">il.h</a>
|
||||
<li>ilIsImage()
|
||||
: <a class="el" href="il_8h.html#6f8c422fe6cb18230f20cef3011e5bab">il.h</a>
|
||||
<li>ilLoad()
|
||||
: <a class="el" href="il_8h.html#a8d2d7c7e86d0ac17d0ed9198316a7ab">il.h</a>
|
||||
<li>ilLoadData()
|
||||
: <a class="el" href="il_8h.html#20a0fdc73475ed823fb4a1046f2954e0">il.h</a>
|
||||
<li>ilLoadDataF()
|
||||
: <a class="el" href="il_8h.html#cd33261e718c2f42aa2aad711d9a6377">il.h</a>
|
||||
<li>ilLoadDataL()
|
||||
: <a class="el" href="il_8h.html#88b6ab22e4f1e4cd85988260afd53c62">il.h</a>
|
||||
<li>ilLoadF()
|
||||
: <a class="el" href="il_8h.html#56ae00f967f7ad6e46624be1bf76fa3d">il.h</a>
|
||||
<li>ilLoadImage()
|
||||
: <a class="el" href="il_8h.html#abdd461d9326ef760d550121d64da3e1">il.h</a>
|
||||
<li>ilLoadL()
|
||||
: <a class="el" href="il_8h.html#9c9c68638afcdbcf24550e200e88ec89">il.h</a>
|
||||
<li>ilLoadPal()
|
||||
: <a class="el" href="il_8h.html#aa55e9552c3e34eccc9900aaee66471b">il.h</a>
|
||||
<li>ilOriginFunc()
|
||||
: <a class="el" href="il_8h.html#d3ab67c4e120b397314e42c112eac628">il.h</a>
|
||||
<li>ilOverlayImage()
|
||||
: <a class="el" href="il_8h.html#a02170cb0e78f8fee60dff607d3fa5b6">il.h</a>
|
||||
<li>ilPopAttrib()
|
||||
: <a class="el" href="il_8h.html#f468a2acc8615256ef181877da8def07">il.h</a>
|
||||
<li>ilPushAttrib()
|
||||
: <a class="el" href="il_8h.html#4fb947f10435176dacc4819bbe9b7adb">il.h</a>
|
||||
<li>ilRemoveLoad()
|
||||
: <a class="el" href="il_8h.html#a43ad58c35950ee99ed38e9bb078a2a3">il.h</a>
|
||||
<li>ilRemoveSave()
|
||||
: <a class="el" href="il_8h.html#1f1dcd96ea5fb9508d6d391527593794">il.h</a>
|
||||
<li>ilSave()
|
||||
: <a class="el" href="il_8h.html#6af0280081eb2536a19962f3bdb8f0ee">il.h</a>
|
||||
<li>ilSaveData()
|
||||
: <a class="el" href="il_8h.html#ab38f680274eae65e8c7598f25e0b833">il.h</a>
|
||||
<li>ilSaveF()
|
||||
: <a class="el" href="il_8h.html#15f85cbc1faf6a596c64b6cd31cf855f">il.h</a>
|
||||
<li>ilSaveImage()
|
||||
: <a class="el" href="il_8h.html#a3dee0de71469c501aaffd46b94ed1f7">il.h</a>
|
||||
<li>ilSaveL()
|
||||
: <a class="el" href="il_8h.html#46587f783fca82a214eee8de2cf32d91">il.h</a>
|
||||
<li>ilSetData()
|
||||
: <a class="el" href="il_8h.html#42ab8e12716c31ad01a3575ee5e88a72">il.h</a>
|
||||
<li>ilSetRead()
|
||||
: <a class="el" href="il_8h.html#dabb3e0e1855394bddb515a4874cc415">il.h</a>
|
||||
<li>ilTexImage()
|
||||
: <a class="el" href="il_8h.html#0849e5416505edf1a5bc0f167e157e5d">il.h</a>
|
||||
<li>ilTypeFunc()
|
||||
: <a class="el" href="il_8h.html#6294bad310cd88a4ac91f018549cdb31">il.h</a>
|
||||
<li>iluAlienify()
|
||||
: <a class="el" href="ilu_8h.html#70fe0b8a1bae5e21961e05a53be20cd1">ilu.h</a>
|
||||
<li>iluEnlargeCanvas()
|
||||
: <a class="el" href="ilu_8h.html#df96f90370765335874084eee3ff370e">ilu.h</a>
|
||||
<li>iluFlipImage()
|
||||
: <a class="el" href="ilu_8h.html#bddcc5fa1efd75444164d0d55ceee3ee">ilu.h</a>
|
||||
<li>iluGetImageInfo()
|
||||
: <a class="el" href="ilu_8h.html#efb71b5edf7e9c0ecb23252678fa83da">ilu.h</a>
|
||||
<li>iluInvertAlpha()
|
||||
: <a class="el" href="ilu_8h.html#ffd9d3ec68b9e7db3dd1297b31b327da">ilu.h</a>
|
||||
<li>iluMirror()
|
||||
: <a class="el" href="ilu_8h.html#03db91501944c334d48e897e9e3b15d8">ilu.h</a>
|
||||
<li>iluNegative()
|
||||
: <a class="el" href="ilu_8h.html#15c05e56498b20189ab580dd120dccb3">ilu.h</a>
|
||||
<li>iluPixelize()
|
||||
: <a class="el" href="ilu_8h.html#69f567249abb33071da9b93abd6de427">ilu.h</a>
|
||||
<li>iluScaleColours()
|
||||
: <a class="el" href="ilu_8h.html#68e80cd1f8141a8687510b48fbe935fa">ilu.h</a>
|
||||
</ul>
|
||||
</div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,149 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: Data Fields</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="files.html"><span>File List</span></a></li>
|
||||
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="globals.html"><span>All</span></a></li>
|
||||
<li><a href="globals_func.html"><span>Functions</span></a></li>
|
||||
<li class="current"><a href="globals_defs.html"><span>Defines</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="#index_i"><span>i</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents">
|
||||
|
||||
<p>
|
||||
<h3><a class="anchor" name="index_i">- i -</a></h3><ul>
|
||||
<li>IL_BLP
|
||||
: <a class="el" href="il_8h.html#74d0d914139910e51ffe7ff325598413">il.h</a>
|
||||
<li>IL_BMP
|
||||
: <a class="el" href="il_8h.html#dd7e1d2be4e95756abb5b71a3c57cb5b">il.h</a>
|
||||
<li>IL_BYTE
|
||||
: <a class="el" href="il_8h.html#5a1e68002c5c3108e1fea27cb8b75330">il.h</a>
|
||||
<li>IL_CHEAD
|
||||
: <a class="el" href="il_8h.html#1c3111c577bb6039cac1affd2e90309c">il.h</a>
|
||||
<li>IL_COLOUR_INDEX
|
||||
: <a class="el" href="il_8h.html#2d5d7096248447f2ee131af82814392a">il.h</a>
|
||||
<li>IL_CUT
|
||||
: <a class="el" href="il_8h.html#087328a3745acd566143064645bfc463">il.h</a>
|
||||
<li>IL_DCX
|
||||
: <a class="el" href="il_8h.html#bfddb808d8129236744a34eb4bb4216a">il.h</a>
|
||||
<li>IL_DDS
|
||||
: <a class="el" href="il_8h.html#737d76763f2c9fb7f25be40130434913">il.h</a>
|
||||
<li>IL_DICOM
|
||||
: <a class="el" href="il_8h.html#c99ded04fa7abc9b5394f99107076be0">il.h</a>
|
||||
<li>IL_DOOM
|
||||
: <a class="el" href="il_8h.html#f3b00e93d3cee92c183ee457c8ce8f2a">il.h</a>
|
||||
<li>IL_DOOM_FLAT
|
||||
: <a class="el" href="il_8h.html#d0b331e9c40485c339bd0e5698234d89">il.h</a>
|
||||
<li>IL_DPX
|
||||
: <a class="el" href="il_8h.html#f725bc72635c3e96eee78d1b8b0b5688">il.h</a>
|
||||
<li>IL_EXR
|
||||
: <a class="el" href="il_8h.html#f233995bbe2f5eeee67b07365f7178d3">il.h</a>
|
||||
<li>IL_FITS
|
||||
: <a class="el" href="il_8h.html#494fe71a2bae847ad8102523e22283d8">il.h</a>
|
||||
<li>IL_FTX
|
||||
: <a class="el" href="il_8h.html#8f0ebc84a1bad958e92132d24efd18d1">il.h</a>
|
||||
<li>IL_GIF
|
||||
: <a class="el" href="il_8h.html#e5b5796118e89d8f9a4badea54dad9b2">il.h</a>
|
||||
<li>IL_HDR
|
||||
: <a class="el" href="il_8h.html#5d64125750873e31db8f469b771d88a7">il.h</a>
|
||||
<li>IL_ICNS
|
||||
: <a class="el" href="il_8h.html#9409add4fd49dc5a8d719e8cc2b2a2de">il.h</a>
|
||||
<li>IL_ICO
|
||||
: <a class="el" href="il_8h.html#96a36b5af19520c4e176e3c2706420ae">il.h</a>
|
||||
<li>IL_IFF
|
||||
: <a class="el" href="il_8h.html#24e25a541ecc79265ec876702a42cc8c">il.h</a>
|
||||
<li>IL_ILBM
|
||||
: <a class="el" href="il_8h.html#d519dac007bd705c82194d808f4b37c1">il.h</a>
|
||||
<li>IL_IWI
|
||||
: <a class="el" href="il_8h.html#1024c13c5d848c827bc70998d4559b36">il.h</a>
|
||||
<li>IL_JASC_PAL
|
||||
: <a class="el" href="il_8h.html#45aea262f25a3a0e5445c4d114e1851e">il.h</a>
|
||||
<li>IL_JP2
|
||||
: <a class="el" href="il_8h.html#c75f592e2adb874fa0e07c1e251a1410">il.h</a>
|
||||
<li>IL_JPG
|
||||
: <a class="el" href="il_8h.html#8ec94b2e3c2c499b3f8024ca1c3e6872">il.h</a>
|
||||
<li>IL_LIF
|
||||
: <a class="el" href="il_8h.html#046e1a13b4099c0e53ead2423612aa5b">il.h</a>
|
||||
<li>IL_MDL
|
||||
: <a class="el" href="il_8h.html#77ffd8f2fe9aada605897068f3ac8ad1">il.h</a>
|
||||
<li>IL_MNG
|
||||
: <a class="el" href="il_8h.html#a1c28f0b33674565bd4a9291ac0488d4">il.h</a>
|
||||
<li>IL_MP3
|
||||
: <a class="el" href="il_8h.html#79d0df78986bbc3e2a8317cc22d2d0ed">il.h</a>
|
||||
<li>IL_PCD
|
||||
: <a class="el" href="il_8h.html#bbf7912521d845cc4d4a476153809f5e">il.h</a>
|
||||
<li>IL_PCX
|
||||
: <a class="el" href="il_8h.html#fc747ca51da8a4f321007eabba5889cb">il.h</a>
|
||||
<li>IL_PIC
|
||||
: <a class="el" href="il_8h.html#81e844eda589791e15672d7720c030c3">il.h</a>
|
||||
<li>IL_PIX
|
||||
: <a class="el" href="il_8h.html#0f54e0e125c677295924a60b1c1a69cb">il.h</a>
|
||||
<li>IL_PNG
|
||||
: <a class="el" href="il_8h.html#44006e952eb70685efdb82059eca4386">il.h</a>
|
||||
<li>IL_PNM
|
||||
: <a class="el" href="il_8h.html#038dd1d1bf1d587dde4cb2c2e18b05e3">il.h</a>
|
||||
<li>IL_PSD
|
||||
: <a class="el" href="il_8h.html#f127af80b100398dc7c289538730f053">il.h</a>
|
||||
<li>IL_PSP
|
||||
: <a class="el" href="il_8h.html#4994a001d2387618290798d8460b2826">il.h</a>
|
||||
<li>IL_PXR
|
||||
: <a class="el" href="il_8h.html#c2138951f9cabdc0c190169d90165aad">il.h</a>
|
||||
<li>IL_RAW
|
||||
: <a class="el" href="il_8h.html#90b823d98bd7599f1afe79916858a64e">il.h</a>
|
||||
<li>IL_ROT
|
||||
: <a class="el" href="il_8h.html#f18cd1ee46a7f53a71672cb8187737f4">il.h</a>
|
||||
<li>IL_SGI
|
||||
: <a class="el" href="il_8h.html#83017abb57e2b8d13b2940dcd21e33ee">il.h</a>
|
||||
<li>IL_SUN
|
||||
: <a class="el" href="il_8h.html#0862d8715842e491fc49d1b8c77a7bcb">il.h</a>
|
||||
<li>IL_TEXTURE
|
||||
: <a class="el" href="il_8h.html#dbf6a57b74226ded9a04bf491d7c6ead">il.h</a>
|
||||
<li>IL_TGA
|
||||
: <a class="el" href="il_8h.html#5fb2bda79b1e3198ae2f05f8af93a14b">il.h</a>
|
||||
<li>IL_TIF
|
||||
: <a class="el" href="il_8h.html#4014e1df9671d92223fcf2cfcb4e438b">il.h</a>
|
||||
<li>IL_TPL
|
||||
: <a class="el" href="il_8h.html#9f2f4982af8e2d6d9d48d98398de8dd7">il.h</a>
|
||||
<li>IL_UTX
|
||||
: <a class="el" href="il_8h.html#774991afc70494f28b5c7f494ffe1fbb">il.h</a>
|
||||
<li>IL_VTF
|
||||
: <a class="el" href="il_8h.html#c78df8193efc63314efa495217a36d63">il.h</a>
|
||||
<li>IL_WAL
|
||||
: <a class="el" href="il_8h.html#b1e8eb9dd24155726d1469e1eae756dc">il.h</a>
|
||||
<li>IL_WBMP
|
||||
: <a class="el" href="il_8h.html#cabbc0ef52f005e4890c683a70c38cd6">il.h</a>
|
||||
<li>IL_WDP
|
||||
: <a class="el" href="il_8h.html#f17515a28c935dc8c01ed6f98a5d7ea5">il.h</a>
|
||||
<li>IL_XPM
|
||||
: <a class="el" href="il_8h.html#3f15f93b91a09441f3e7352ade9c6b46">il.h</a>
|
||||
</ul>
|
||||
</div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,167 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: Data Fields</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="files.html"><span>File List</span></a></li>
|
||||
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="globals.html"><span>All</span></a></li>
|
||||
<li class="current"><a href="globals_func.html"><span>Functions</span></a></li>
|
||||
<li><a href="globals_defs.html"><span>Defines</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="#index_i"><span>i</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents">
|
||||
|
||||
<p>
|
||||
<h3><a class="anchor" name="index_i">- i -</a></h3><ul>
|
||||
<li>ilActiveFace()
|
||||
: <a class="el" href="il_8h.html#c3786cbdd6919615f6ed9bf406c6fb02">il.h</a>
|
||||
<li>ilActiveImage()
|
||||
: <a class="el" href="il_8h.html#ce0e0c80f63e19eff91bc0215a3d35c1">il.h</a>
|
||||
<li>ilActiveLayer()
|
||||
: <a class="el" href="il_8h.html#d0cf44cca6df82f34b82bf30db8890c9">il.h</a>
|
||||
<li>ilActiveMipmap()
|
||||
: <a class="el" href="il_8h.html#1def4fa64c4d65bb57fae92d87942f5f">il.h</a>
|
||||
<li>ilBindImage()
|
||||
: <a class="el" href="il_8h.html#5b194319263be3981e57edff5cd20f06">il.h</a>
|
||||
<li>ilClampNTSC()
|
||||
: <a class="el" href="il_8h.html#01ff56bfc597c186034816c17a094eca">il.h</a>
|
||||
<li>ilClearImage()
|
||||
: <a class="el" href="il_8h.html#e08b2535f46c32de4b398800c230219a">il.h</a>
|
||||
<li>ilCompressDXT()
|
||||
: <a class="el" href="il_8h.html#016b03ccbf86f6ba37d6c24b3357f9d1">il.h</a>
|
||||
<li>ilConvertImage()
|
||||
: <a class="el" href="il_8h.html#2d6590bc4210411925ecd19b2f414420">il.h</a>
|
||||
<li>ilConvertPal()
|
||||
: <a class="el" href="il_8h.html#68c3c3922366108a9cbb30860c825f74">il.h</a>
|
||||
<li>ilCopyImage()
|
||||
: <a class="el" href="il_8h.html#56284e508cbed8c7332e2c85421c11cb">il.h</a>
|
||||
<li>ilDefaultImage()
|
||||
: <a class="el" href="il_8h.html#32fdab2d228826a4cfb5dd12fcf8405b">il.h</a>
|
||||
<li>ilDeleteImages()
|
||||
: <a class="el" href="il_8h.html#19983786494ca1d9157922f6888f6277">il.h</a>
|
||||
<li>ilDisable()
|
||||
: <a class="el" href="il_8h.html#67bfe70ba2a7d24bf8723053b5d24bbd">il.h</a>
|
||||
<li>ilEnable()
|
||||
: <a class="el" href="il_8h.html#1dc69aee6c4a60673f6aa6f450d05c37">il.h</a>
|
||||
<li>ilFormatFunc()
|
||||
: <a class="el" href="il_8h.html#d7f9e0e048aa2993773fa902a419c174">il.h</a>
|
||||
<li>ilGenImages()
|
||||
: <a class="el" href="il_8h.html#1996dc2c6f1ec0b5ede9ea99373b1667">il.h</a>
|
||||
<li>ilGetBoolean()
|
||||
: <a class="el" href="il_8h.html#d3702df21f7cf778498b92433e8cfc58">il.h</a>
|
||||
<li>ilGetBooleanv()
|
||||
: <a class="el" href="il_8h.html#591ac8c18cd1271e6c38bc9aebddd719">il.h</a>
|
||||
<li>ilGetData()
|
||||
: <a class="el" href="il_8h.html#b4343941107c32d8312baa2ef2aeb796">il.h</a>
|
||||
<li>ilGetError()
|
||||
: <a class="el" href="il_8h.html#dd4600e363a1e68cf5f5e34e5bce5bac">il.h</a>
|
||||
<li>ilGetInteger()
|
||||
: <a class="el" href="il_8h.html#b142f916902d6d251b153151223a950d">il.h</a>
|
||||
<li>ilGetIntegerv()
|
||||
: <a class="el" href="il_8h.html#6676a4f621c70e808cd11b99e0c73368">il.h</a>
|
||||
<li>ilGetPalette()
|
||||
: <a class="el" href="il_8h.html#bc95ed260a357cb4ca0eb96a78b58f71">il.h</a>
|
||||
<li>ilGetString()
|
||||
: <a class="el" href="il_8h.html#34a788c5c16ecbb78ba25f6431aa35f6">il.h</a>
|
||||
<li>ilHint()
|
||||
: <a class="el" href="il_8h.html#364d12ff1c0e58472a85cd629f2379bf">il.h</a>
|
||||
<li>ilIsDisabled()
|
||||
: <a class="el" href="il_8h.html#b63752d2e97912a6475c7499423ece04">il.h</a>
|
||||
<li>ilIsEnabled()
|
||||
: <a class="el" href="il_8h.html#703382f3b6785948e3e921c3d30c3e7d">il.h</a>
|
||||
<li>ilIsImage()
|
||||
: <a class="el" href="il_8h.html#6f8c422fe6cb18230f20cef3011e5bab">il.h</a>
|
||||
<li>ilLoad()
|
||||
: <a class="el" href="il_8h.html#a8d2d7c7e86d0ac17d0ed9198316a7ab">il.h</a>
|
||||
<li>ilLoadData()
|
||||
: <a class="el" href="il_8h.html#20a0fdc73475ed823fb4a1046f2954e0">il.h</a>
|
||||
<li>ilLoadDataF()
|
||||
: <a class="el" href="il_8h.html#cd33261e718c2f42aa2aad711d9a6377">il.h</a>
|
||||
<li>ilLoadDataL()
|
||||
: <a class="el" href="il_8h.html#88b6ab22e4f1e4cd85988260afd53c62">il.h</a>
|
||||
<li>ilLoadF()
|
||||
: <a class="el" href="il_8h.html#56ae00f967f7ad6e46624be1bf76fa3d">il.h</a>
|
||||
<li>ilLoadImage()
|
||||
: <a class="el" href="il_8h.html#abdd461d9326ef760d550121d64da3e1">il.h</a>
|
||||
<li>ilLoadL()
|
||||
: <a class="el" href="il_8h.html#9c9c68638afcdbcf24550e200e88ec89">il.h</a>
|
||||
<li>ilLoadPal()
|
||||
: <a class="el" href="il_8h.html#aa55e9552c3e34eccc9900aaee66471b">il.h</a>
|
||||
<li>ilOriginFunc()
|
||||
: <a class="el" href="il_8h.html#d3ab67c4e120b397314e42c112eac628">il.h</a>
|
||||
<li>ilOverlayImage()
|
||||
: <a class="el" href="il_8h.html#a02170cb0e78f8fee60dff607d3fa5b6">il.h</a>
|
||||
<li>ilPopAttrib()
|
||||
: <a class="el" href="il_8h.html#f468a2acc8615256ef181877da8def07">il.h</a>
|
||||
<li>ilPushAttrib()
|
||||
: <a class="el" href="il_8h.html#4fb947f10435176dacc4819bbe9b7adb">il.h</a>
|
||||
<li>ilRemoveLoad()
|
||||
: <a class="el" href="il_8h.html#a43ad58c35950ee99ed38e9bb078a2a3">il.h</a>
|
||||
<li>ilRemoveSave()
|
||||
: <a class="el" href="il_8h.html#1f1dcd96ea5fb9508d6d391527593794">il.h</a>
|
||||
<li>ilSave()
|
||||
: <a class="el" href="il_8h.html#6af0280081eb2536a19962f3bdb8f0ee">il.h</a>
|
||||
<li>ilSaveData()
|
||||
: <a class="el" href="il_8h.html#ab38f680274eae65e8c7598f25e0b833">il.h</a>
|
||||
<li>ilSaveF()
|
||||
: <a class="el" href="il_8h.html#15f85cbc1faf6a596c64b6cd31cf855f">il.h</a>
|
||||
<li>ilSaveImage()
|
||||
: <a class="el" href="il_8h.html#a3dee0de71469c501aaffd46b94ed1f7">il.h</a>
|
||||
<li>ilSaveL()
|
||||
: <a class="el" href="il_8h.html#46587f783fca82a214eee8de2cf32d91">il.h</a>
|
||||
<li>ilSetData()
|
||||
: <a class="el" href="il_8h.html#42ab8e12716c31ad01a3575ee5e88a72">il.h</a>
|
||||
<li>ilSetRead()
|
||||
: <a class="el" href="il_8h.html#dabb3e0e1855394bddb515a4874cc415">il.h</a>
|
||||
<li>ilTexImage()
|
||||
: <a class="el" href="il_8h.html#0849e5416505edf1a5bc0f167e157e5d">il.h</a>
|
||||
<li>ilTypeFunc()
|
||||
: <a class="el" href="il_8h.html#6294bad310cd88a4ac91f018549cdb31">il.h</a>
|
||||
<li>iluAlienify()
|
||||
: <a class="el" href="ilu_8h.html#70fe0b8a1bae5e21961e05a53be20cd1">ilu.h</a>
|
||||
<li>iluEnlargeCanvas()
|
||||
: <a class="el" href="ilu_8h.html#df96f90370765335874084eee3ff370e">ilu.h</a>
|
||||
<li>iluFlipImage()
|
||||
: <a class="el" href="ilu_8h.html#bddcc5fa1efd75444164d0d55ceee3ee">ilu.h</a>
|
||||
<li>iluGetImageInfo()
|
||||
: <a class="el" href="ilu_8h.html#efb71b5edf7e9c0ecb23252678fa83da">ilu.h</a>
|
||||
<li>iluInvertAlpha()
|
||||
: <a class="el" href="ilu_8h.html#ffd9d3ec68b9e7db3dd1297b31b327da">ilu.h</a>
|
||||
<li>iluMirror()
|
||||
: <a class="el" href="ilu_8h.html#03db91501944c334d48e897e9e3b15d8">ilu.h</a>
|
||||
<li>iluNegative()
|
||||
: <a class="el" href="ilu_8h.html#15c05e56498b20189ab580dd120dccb3">ilu.h</a>
|
||||
<li>iluPixelize()
|
||||
: <a class="el" href="ilu_8h.html#69f567249abb33071da9b93abd6de427">ilu.h</a>
|
||||
<li>iluScaleColours()
|
||||
: <a class="el" href="ilu_8h.html#68e80cd1f8141a8687510b48fbe935fa">ilu.h</a>
|
||||
</ul>
|
||||
</div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,659 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/include/IL/il.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/include/IL/il.h</h1><a href="il_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2009 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 03/07/2009</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: IL/il.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: The main include file for DevIL</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="comment">// Doxygen comment</span>
|
||||
<a name="l00018"></a>00018 <span class="comment"></span><span class="preprocessor">#ifndef __il_h_</span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#ifndef __IL_H__</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor">#define __il_h_</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define __IL_H__</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span>
|
||||
<a name="l00024"></a>00024 <span class="preprocessor">#ifdef __cplusplus</span>
|
||||
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
|
||||
<a name="l00026"></a>00026 <span class="preprocessor">#endif</span>
|
||||
<a name="l00027"></a>00027 <span class="preprocessor"></span>
|
||||
<a name="l00028"></a>00028 <span class="comment">//this define controls if floats and doubles are clampled to [0..1]</span>
|
||||
<a name="l00029"></a>00029 <span class="comment">//during conversion. It takes a little more time, but it is the correct</span>
|
||||
<a name="l00030"></a>00030 <span class="comment">//way of doing this. If you are sure your floats are always valid,</span>
|
||||
<a name="l00031"></a>00031 <span class="comment">//you can undefine this value...</span>
|
||||
<a name="l00032"></a>00032 <span class="preprocessor">#define CLAMP_HALF 1</span>
|
||||
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#define CLAMP_FLOATS 1</span>
|
||||
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#define CLAMP_DOUBLES 1</span>
|
||||
<a name="l00035"></a>00035 <span class="preprocessor"></span>
|
||||
<a name="l00036"></a>00036 <span class="comment">/*#ifdef _WIN32_WCE</span>
|
||||
<a name="l00037"></a>00037 <span class="comment"> #define IL_NO_EXR</span>
|
||||
<a name="l00038"></a>00038 <span class="comment"> #define IL_NO_GIF</span>
|
||||
<a name="l00039"></a>00039 <span class="comment"> #define IL_NO_JP2</span>
|
||||
<a name="l00040"></a>00040 <span class="comment"> #define IL_NO_JPG</span>
|
||||
<a name="l00041"></a>00041 <span class="comment"> #define IL_NO_MNG</span>
|
||||
<a name="l00042"></a>00042 <span class="comment"> #define IL_NO_PNG</span>
|
||||
<a name="l00043"></a>00043 <span class="comment"> #define IL_NO_TIF</span>
|
||||
<a name="l00044"></a>00044 <span class="comment"> #define IL_NO_LCMS</span>
|
||||
<a name="l00045"></a>00045 <span class="comment">#endif //_WIN32_WCE</span>
|
||||
<a name="l00046"></a>00046 <span class="comment"></span>
|
||||
<a name="l00047"></a>00047 <span class="comment">#ifdef DJGPP</span>
|
||||
<a name="l00048"></a>00048 <span class="comment"> #define IL_NO_EXR</span>
|
||||
<a name="l00049"></a>00049 <span class="comment"> #define IL_NO_GIF</span>
|
||||
<a name="l00050"></a>00050 <span class="comment"> #define IL_NO_JP2</span>
|
||||
<a name="l00051"></a>00051 <span class="comment"> #define IL_NO_JPG</span>
|
||||
<a name="l00052"></a>00052 <span class="comment"> #define IL_NO_MNG</span>
|
||||
<a name="l00053"></a>00053 <span class="comment"> #define IL_NO_PNG</span>
|
||||
<a name="l00054"></a>00054 <span class="comment"> #define IL_NO_TIF</span>
|
||||
<a name="l00055"></a>00055 <span class="comment"> #define IL_NO_LCMS</span>
|
||||
<a name="l00056"></a>00056 <span class="comment">#endif //DJGPP*/</span>
|
||||
<a name="l00057"></a>00057
|
||||
<a name="l00058"></a>00058 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor"> #if (defined(IL_USE_PRAGMA_LIBS)) && (!defined(_IL_BUILD_LIBRARY))</span>
|
||||
<a name="l00060"></a>00060 <span class="preprocessor"></span><span class="preprocessor"> #if defined(_MSC_VER) || defined(__BORLANDC__)</span>
|
||||
<a name="l00061"></a>00061 <span class="preprocessor"></span><span class="preprocessor"> #pragma comment(lib, "DevIL.lib")</span>
|
||||
<a name="l00062"></a>00062 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00064"></a>00064 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00065"></a>00065 <span class="preprocessor"></span>
|
||||
<a name="l00066"></a>00066 <span class="preprocessor">#ifdef RESTRICT_KEYWORD</span>
|
||||
<a name="l00067"></a>00067 <span class="preprocessor"></span><span class="preprocessor">#define RESTRICT restrict</span>
|
||||
<a name="l00068"></a>00068 <span class="preprocessor"></span><span class="preprocessor">#define CONST_RESTRICT const restrict</span>
|
||||
<a name="l00069"></a>00069 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00070"></a>00070 <span class="preprocessor"></span><span class="preprocessor">#define RESTRICT</span>
|
||||
<a name="l00071"></a>00071 <span class="preprocessor"></span><span class="preprocessor">#define CONST_RESTRICT const</span>
|
||||
<a name="l00072"></a>00072 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00073"></a>00073 <span class="preprocessor"></span>
|
||||
<a name="l00074"></a>00074 <span class="preprocessor">#include <stdio.h></span>
|
||||
<a name="l00075"></a>00075
|
||||
<a name="l00076"></a>00076 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ILenum;
|
||||
<a name="l00077"></a>00077 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> ILboolean;
|
||||
<a name="l00078"></a>00078 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ILbitfield;
|
||||
<a name="l00079"></a>00079 <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">char</span> ILbyte;
|
||||
<a name="l00080"></a>00080 <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">short</span> ILshort;
|
||||
<a name="l00081"></a>00081 <span class="keyword">typedef</span> <span class="keywordtype">int</span> ILint;
|
||||
<a name="l00082"></a>00082 <span class="keyword">typedef</span> <span class="keywordtype">size_t</span> ILsizei;
|
||||
<a name="l00083"></a>00083 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> ILubyte;
|
||||
<a name="l00084"></a>00084 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> ILushort;
|
||||
<a name="l00085"></a>00085 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ILuint;
|
||||
<a name="l00086"></a>00086 <span class="keyword">typedef</span> <span class="keywordtype">float</span> ILfloat;
|
||||
<a name="l00087"></a>00087 <span class="keyword">typedef</span> <span class="keywordtype">float</span> ILclampf;
|
||||
<a name="l00088"></a>00088 <span class="keyword">typedef</span> <span class="keywordtype">double</span> ILdouble;
|
||||
<a name="l00089"></a>00089 <span class="keyword">typedef</span> <span class="keywordtype">double</span> ILclampd;
|
||||
<a name="l00090"></a>00090
|
||||
<a name="l00091"></a>00091 <span class="preprocessor">#ifdef _MSC_VER</span>
|
||||
<a name="l00092"></a>00092 <span class="preprocessor"></span><span class="keyword">typedef</span> __int64 ILint64;
|
||||
<a name="l00093"></a>00093 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> __int64 ILuint64;
|
||||
<a name="l00094"></a>00094 <span class="preprocessor">#else</span>
|
||||
<a name="l00095"></a>00095 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> <span class="keywordtype">int</span> ILint64;
|
||||
<a name="l00096"></a>00096 <span class="keyword">typedef</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ILuint64;
|
||||
<a name="l00097"></a>00097 <span class="preprocessor">#endif</span>
|
||||
<a name="l00098"></a>00098 <span class="preprocessor"></span>
|
||||
<a name="l00099"></a>00099
|
||||
<a name="l00100"></a>00100 <span class="preprocessor">#include <limits.h></span>
|
||||
<a name="l00101"></a>00101 <span class="preprocessor">#ifdef _UNICODE</span>
|
||||
<a name="l00102"></a>00102 <span class="preprocessor"></span><span class="preprocessor"> #ifndef _WIN32_WCE</span>
|
||||
<a name="l00103"></a>00103 <span class="preprocessor"></span><span class="preprocessor"> #include <wchar.h></span>
|
||||
<a name="l00104"></a>00104 <span class="preprocessor"> #endif</span>
|
||||
<a name="l00105"></a>00105 <span class="preprocessor"></span> <span class="comment">//if we use a define instead of a typedef,</span>
|
||||
<a name="l00106"></a>00106 <span class="comment">//ILconst_string works as intended</span>
|
||||
<a name="l00107"></a>00107 <span class="preprocessor"> #define ILchar wchar_t</span>
|
||||
<a name="l00108"></a>00108 <span class="preprocessor"></span><span class="preprocessor"> #define ILstring wchar_t*</span>
|
||||
<a name="l00109"></a>00109 <span class="preprocessor"></span><span class="preprocessor"> #define ILconst_string wchar_t const *</span>
|
||||
<a name="l00110"></a>00110 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00111"></a>00111 <span class="preprocessor"></span> <span class="comment">//if we use a define instead of a typedef,</span>
|
||||
<a name="l00112"></a>00112 <span class="comment">//ILconst_string works as intended</span>
|
||||
<a name="l00113"></a>00113 <span class="preprocessor"> #define ILchar char</span>
|
||||
<a name="l00114"></a>00114 <span class="preprocessor"></span><span class="preprocessor"> #define ILstring char*</span>
|
||||
<a name="l00115"></a>00115 <span class="preprocessor"></span><span class="preprocessor"> #define ILconst_string char const *</span>
|
||||
<a name="l00116"></a>00116 <span class="preprocessor"></span><span class="preprocessor">#endif //_UNICODE</span>
|
||||
<a name="l00117"></a>00117 <span class="preprocessor"></span>
|
||||
<a name="l00118"></a>00118 <span class="preprocessor">#define IL_FALSE 0</span>
|
||||
<a name="l00119"></a>00119 <span class="preprocessor"></span><span class="preprocessor">#define IL_TRUE 1</span>
|
||||
<a name="l00120"></a>00120 <span class="preprocessor"></span>
|
||||
<a name="l00121"></a>00121 <span class="comment">// Matches OpenGL's right now.</span>
|
||||
<a name="l00123"></a><a class="code" href="il_8h.html#2d5d7096248447f2ee131af82814392a">00123</a> <span class="comment"></span><span class="preprocessor">#define IL_COLOUR_INDEX 0x1900</span>
|
||||
<a name="l00124"></a>00124 <span class="preprocessor"></span><span class="preprocessor">#define IL_COLOR_INDEX 0x1900</span>
|
||||
<a name="l00125"></a>00125 <span class="preprocessor"></span><span class="preprocessor">#define IL_ALPHA 0x1906</span>
|
||||
<a name="l00126"></a>00126 <span class="preprocessor"></span><span class="preprocessor">#define IL_RGB 0x1907</span>
|
||||
<a name="l00127"></a>00127 <span class="preprocessor"></span><span class="preprocessor">#define IL_RGBA 0x1908</span>
|
||||
<a name="l00128"></a>00128 <span class="preprocessor"></span><span class="preprocessor">#define IL_BGR 0x80E0</span>
|
||||
<a name="l00129"></a>00129 <span class="preprocessor"></span><span class="preprocessor">#define IL_BGRA 0x80E1</span>
|
||||
<a name="l00130"></a>00130 <span class="preprocessor"></span><span class="preprocessor">#define IL_LUMINANCE 0x1909</span>
|
||||
<a name="l00131"></a>00131 <span class="preprocessor"></span><span class="preprocessor">#define IL_LUMINANCE_ALPHA 0x190A</span>
|
||||
<a name="l00132"></a>00132 <span class="preprocessor"></span>
|
||||
<a name="l00134"></a><a class="code" href="il_8h.html#5a1e68002c5c3108e1fea27cb8b75330">00134</a> <span class="preprocessor">#define IL_BYTE 0x1400</span>
|
||||
<a name="l00135"></a>00135 <span class="preprocessor"></span><span class="preprocessor">#define IL_UNSIGNED_BYTE 0x1401</span>
|
||||
<a name="l00136"></a>00136 <span class="preprocessor"></span><span class="preprocessor">#define IL_SHORT 0x1402</span>
|
||||
<a name="l00137"></a>00137 <span class="preprocessor"></span><span class="preprocessor">#define IL_UNSIGNED_SHORT 0x1403</span>
|
||||
<a name="l00138"></a>00138 <span class="preprocessor"></span><span class="preprocessor">#define IL_INT 0x1404</span>
|
||||
<a name="l00139"></a>00139 <span class="preprocessor"></span><span class="preprocessor">#define IL_UNSIGNED_INT 0x1405</span>
|
||||
<a name="l00140"></a>00140 <span class="preprocessor"></span><span class="preprocessor">#define IL_FLOAT 0x1406</span>
|
||||
<a name="l00141"></a>00141 <span class="preprocessor"></span><span class="preprocessor">#define IL_DOUBLE 0x140A</span>
|
||||
<a name="l00142"></a>00142 <span class="preprocessor"></span><span class="preprocessor">#define IL_HALF 0x140B</span>
|
||||
<a name="l00143"></a>00143 <span class="preprocessor"></span>
|
||||
<a name="l00144"></a>00144
|
||||
<a name="l00145"></a>00145 <span class="preprocessor">#define IL_MAX_BYTE SCHAR_MAX</span>
|
||||
<a name="l00146"></a>00146 <span class="preprocessor"></span><span class="preprocessor">#define IL_MAX_UNSIGNED_BYTE UCHAR_MAX</span>
|
||||
<a name="l00147"></a>00147 <span class="preprocessor"></span><span class="preprocessor">#define IL_MAX_SHORT SHRT_MAX</span>
|
||||
<a name="l00148"></a>00148 <span class="preprocessor"></span><span class="preprocessor">#define IL_MAX_UNSIGNED_SHORT USHRT_MAX</span>
|
||||
<a name="l00149"></a>00149 <span class="preprocessor"></span><span class="preprocessor">#define IL_MAX_INT INT_MAX</span>
|
||||
<a name="l00150"></a>00150 <span class="preprocessor"></span><span class="preprocessor">#define IL_MAX_UNSIGNED_INT UINT_MAX</span>
|
||||
<a name="l00151"></a>00151 <span class="preprocessor"></span>
|
||||
<a name="l00152"></a>00152 <span class="preprocessor">#define IL_LIMIT(x,m,M) (x<m?m:(x>M?M:x))</span>
|
||||
<a name="l00153"></a>00153 <span class="preprocessor"></span><span class="preprocessor">#define IL_CLAMP(x) IL_LIMIT(x,0,1)</span>
|
||||
<a name="l00154"></a>00154 <span class="preprocessor"></span>
|
||||
<a name="l00155"></a>00155 <span class="preprocessor">#define IL_VENDOR 0x1F00</span>
|
||||
<a name="l00156"></a>00156 <span class="preprocessor"></span><span class="preprocessor">#define IL_LOAD_EXT 0x1F01</span>
|
||||
<a name="l00157"></a>00157 <span class="preprocessor"></span><span class="preprocessor">#define IL_SAVE_EXT 0x1F02</span>
|
||||
<a name="l00158"></a>00158 <span class="preprocessor"></span>
|
||||
<a name="l00159"></a>00159
|
||||
<a name="l00160"></a>00160 <span class="comment">//</span>
|
||||
<a name="l00161"></a>00161 <span class="comment">// IL-specific #define's</span>
|
||||
<a name="l00162"></a>00162 <span class="comment">//</span>
|
||||
<a name="l00163"></a>00163
|
||||
<a name="l00164"></a>00164 <span class="preprocessor">#define IL_VERSION_1_7_8 1</span>
|
||||
<a name="l00165"></a>00165 <span class="preprocessor"></span><span class="preprocessor">#define IL_VERSION 178</span>
|
||||
<a name="l00166"></a>00166 <span class="preprocessor"></span>
|
||||
<a name="l00167"></a>00167
|
||||
<a name="l00168"></a>00168 <span class="comment">// Attribute Bits</span>
|
||||
<a name="l00169"></a>00169 <span class="preprocessor">#define IL_ORIGIN_BIT 0x00000001</span>
|
||||
<a name="l00170"></a>00170 <span class="preprocessor"></span><span class="preprocessor">#define IL_FILE_BIT 0x00000002</span>
|
||||
<a name="l00171"></a>00171 <span class="preprocessor"></span><span class="preprocessor">#define IL_PAL_BIT 0x00000004</span>
|
||||
<a name="l00172"></a>00172 <span class="preprocessor"></span><span class="preprocessor">#define IL_FORMAT_BIT 0x00000008</span>
|
||||
<a name="l00173"></a>00173 <span class="preprocessor"></span><span class="preprocessor">#define IL_TYPE_BIT 0x00000010</span>
|
||||
<a name="l00174"></a>00174 <span class="preprocessor"></span><span class="preprocessor">#define IL_COMPRESS_BIT 0x00000020</span>
|
||||
<a name="l00175"></a>00175 <span class="preprocessor"></span><span class="preprocessor">#define IL_LOADFAIL_BIT 0x00000040</span>
|
||||
<a name="l00176"></a>00176 <span class="preprocessor"></span><span class="preprocessor">#define IL_FORMAT_SPECIFIC_BIT 0x00000080</span>
|
||||
<a name="l00177"></a>00177 <span class="preprocessor"></span><span class="preprocessor">#define IL_ALL_ATTRIB_BITS 0x000FFFFF</span>
|
||||
<a name="l00178"></a>00178 <span class="preprocessor"></span>
|
||||
<a name="l00179"></a>00179
|
||||
<a name="l00180"></a>00180 <span class="comment">// Palette types</span>
|
||||
<a name="l00181"></a>00181 <span class="preprocessor">#define IL_PAL_NONE 0x0400</span>
|
||||
<a name="l00182"></a>00182 <span class="preprocessor"></span><span class="preprocessor">#define IL_PAL_RGB24 0x0401</span>
|
||||
<a name="l00183"></a>00183 <span class="preprocessor"></span><span class="preprocessor">#define IL_PAL_RGB32 0x0402</span>
|
||||
<a name="l00184"></a>00184 <span class="preprocessor"></span><span class="preprocessor">#define IL_PAL_RGBA32 0x0403</span>
|
||||
<a name="l00185"></a>00185 <span class="preprocessor"></span><span class="preprocessor">#define IL_PAL_BGR24 0x0404</span>
|
||||
<a name="l00186"></a>00186 <span class="preprocessor"></span><span class="preprocessor">#define IL_PAL_BGR32 0x0405</span>
|
||||
<a name="l00187"></a>00187 <span class="preprocessor"></span><span class="preprocessor">#define IL_PAL_BGRA32 0x0406</span>
|
||||
<a name="l00188"></a>00188 <span class="preprocessor"></span>
|
||||
<a name="l00189"></a>00189
|
||||
<a name="l00190"></a>00190 <span class="comment">// Image types</span>
|
||||
<a name="l00191"></a>00191 <span class="preprocessor">#define IL_TYPE_UNKNOWN 0x0000</span>
|
||||
<a name="l00192"></a><a class="code" href="il_8h.html#dd7e1d2be4e95756abb5b71a3c57cb5b">00192</a> <span class="preprocessor"></span><span class="preprocessor">#define IL_BMP 0x0420 </span>
|
||||
<a name="l00193"></a><a class="code" href="il_8h.html#087328a3745acd566143064645bfc463">00193</a> <span class="preprocessor">#define IL_CUT 0x0421 </span>
|
||||
<a name="l00194"></a><a class="code" href="il_8h.html#f3b00e93d3cee92c183ee457c8ce8f2a">00194</a> <span class="preprocessor">#define IL_DOOM 0x0422 </span>
|
||||
<a name="l00195"></a><a class="code" href="il_8h.html#d0b331e9c40485c339bd0e5698234d89">00195</a> <span class="preprocessor">#define IL_DOOM_FLAT 0x0423 </span>
|
||||
<a name="l00196"></a><a class="code" href="il_8h.html#96a36b5af19520c4e176e3c2706420ae">00196</a> <span class="preprocessor">#define IL_ICO 0x0424 </span>
|
||||
<a name="l00197"></a><a class="code" href="il_8h.html#8ec94b2e3c2c499b3f8024ca1c3e6872">00197</a> <span class="preprocessor">#define IL_JPG 0x0425 </span>
|
||||
<a name="l00198"></a>00198 <span class="preprocessor">#define IL_JFIF 0x0425 </span>
|
||||
<a name="l00199"></a><a class="code" href="il_8h.html#d519dac007bd705c82194d808f4b37c1">00199</a> <span class="preprocessor">#define IL_ILBM 0x0426 </span>
|
||||
<a name="l00200"></a><a class="code" href="il_8h.html#bbf7912521d845cc4d4a476153809f5e">00200</a> <span class="preprocessor">#define IL_PCD 0x0427 </span>
|
||||
<a name="l00201"></a><a class="code" href="il_8h.html#fc747ca51da8a4f321007eabba5889cb">00201</a> <span class="preprocessor">#define IL_PCX 0x0428 </span>
|
||||
<a name="l00202"></a><a class="code" href="il_8h.html#81e844eda589791e15672d7720c030c3">00202</a> <span class="preprocessor">#define IL_PIC 0x0429 </span>
|
||||
<a name="l00203"></a><a class="code" href="il_8h.html#44006e952eb70685efdb82059eca4386">00203</a> <span class="preprocessor">#define IL_PNG 0x042A </span>
|
||||
<a name="l00204"></a><a class="code" href="il_8h.html#038dd1d1bf1d587dde4cb2c2e18b05e3">00204</a> <span class="preprocessor">#define IL_PNM 0x042B </span>
|
||||
<a name="l00205"></a><a class="code" href="il_8h.html#83017abb57e2b8d13b2940dcd21e33ee">00205</a> <span class="preprocessor">#define IL_SGI 0x042C </span>
|
||||
<a name="l00206"></a><a class="code" href="il_8h.html#5fb2bda79b1e3198ae2f05f8af93a14b">00206</a> <span class="preprocessor">#define IL_TGA 0x042D </span>
|
||||
<a name="l00207"></a><a class="code" href="il_8h.html#4014e1df9671d92223fcf2cfcb4e438b">00207</a> <span class="preprocessor">#define IL_TIF 0x042E </span>
|
||||
<a name="l00208"></a><a class="code" href="il_8h.html#1c3111c577bb6039cac1affd2e90309c">00208</a> <span class="preprocessor">#define IL_CHEAD 0x042F </span>
|
||||
<a name="l00209"></a><a class="code" href="il_8h.html#90b823d98bd7599f1afe79916858a64e">00209</a> <span class="preprocessor">#define IL_RAW 0x0430 </span>
|
||||
<a name="l00210"></a><a class="code" href="il_8h.html#77ffd8f2fe9aada605897068f3ac8ad1">00210</a> <span class="preprocessor">#define IL_MDL 0x0431 </span>
|
||||
<a name="l00211"></a><a class="code" href="il_8h.html#b1e8eb9dd24155726d1469e1eae756dc">00211</a> <span class="preprocessor">#define IL_WAL 0x0432 </span>
|
||||
<a name="l00212"></a><a class="code" href="il_8h.html#046e1a13b4099c0e53ead2423612aa5b">00212</a> <span class="preprocessor">#define IL_LIF 0x0434 </span>
|
||||
<a name="l00213"></a><a class="code" href="il_8h.html#a1c28f0b33674565bd4a9291ac0488d4">00213</a> <span class="preprocessor">#define IL_MNG 0x0435 </span>
|
||||
<a name="l00214"></a>00214 <span class="preprocessor">#define IL_JNG 0x0435 </span>
|
||||
<a name="l00215"></a><a class="code" href="il_8h.html#e5b5796118e89d8f9a4badea54dad9b2">00215</a> <span class="preprocessor">#define IL_GIF 0x0436 </span>
|
||||
<a name="l00216"></a><a class="code" href="il_8h.html#737d76763f2c9fb7f25be40130434913">00216</a> <span class="preprocessor">#define IL_DDS 0x0437 </span>
|
||||
<a name="l00217"></a><a class="code" href="il_8h.html#bfddb808d8129236744a34eb4bb4216a">00217</a> <span class="preprocessor">#define IL_DCX 0x0438 </span>
|
||||
<a name="l00218"></a><a class="code" href="il_8h.html#f127af80b100398dc7c289538730f053">00218</a> <span class="preprocessor">#define IL_PSD 0x0439 </span>
|
||||
<a name="l00219"></a>00219 <span class="preprocessor">#define IL_EXIF 0x043A </span>
|
||||
<a name="l00220"></a><a class="code" href="il_8h.html#4994a001d2387618290798d8460b2826">00220</a> <span class="preprocessor">#define IL_PSP 0x043B </span>
|
||||
<a name="l00221"></a><a class="code" href="il_8h.html#0f54e0e125c677295924a60b1c1a69cb">00221</a> <span class="preprocessor">#define IL_PIX 0x043C </span>
|
||||
<a name="l00222"></a><a class="code" href="il_8h.html#c2138951f9cabdc0c190169d90165aad">00222</a> <span class="preprocessor">#define IL_PXR 0x043D </span>
|
||||
<a name="l00223"></a><a class="code" href="il_8h.html#3f15f93b91a09441f3e7352ade9c6b46">00223</a> <span class="preprocessor">#define IL_XPM 0x043E </span>
|
||||
<a name="l00224"></a><a class="code" href="il_8h.html#5d64125750873e31db8f469b771d88a7">00224</a> <span class="preprocessor">#define IL_HDR 0x043F </span>
|
||||
<a name="l00225"></a><a class="code" href="il_8h.html#9409add4fd49dc5a8d719e8cc2b2a2de">00225</a> <span class="preprocessor">#define IL_ICNS 0x0440 </span>
|
||||
<a name="l00226"></a><a class="code" href="il_8h.html#c75f592e2adb874fa0e07c1e251a1410">00226</a> <span class="preprocessor">#define IL_JP2 0x0441 </span>
|
||||
<a name="l00227"></a><a class="code" href="il_8h.html#f233995bbe2f5eeee67b07365f7178d3">00227</a> <span class="preprocessor">#define IL_EXR 0x0442 </span>
|
||||
<a name="l00228"></a><a class="code" href="il_8h.html#f17515a28c935dc8c01ed6f98a5d7ea5">00228</a> <span class="preprocessor">#define IL_WDP 0x0443 </span>
|
||||
<a name="l00229"></a><a class="code" href="il_8h.html#c78df8193efc63314efa495217a36d63">00229</a> <span class="preprocessor">#define IL_VTF 0x0444 </span>
|
||||
<a name="l00230"></a><a class="code" href="il_8h.html#cabbc0ef52f005e4890c683a70c38cd6">00230</a> <span class="preprocessor">#define IL_WBMP 0x0445 </span>
|
||||
<a name="l00231"></a><a class="code" href="il_8h.html#0862d8715842e491fc49d1b8c77a7bcb">00231</a> <span class="preprocessor">#define IL_SUN 0x0446 </span>
|
||||
<a name="l00232"></a><a class="code" href="il_8h.html#24e25a541ecc79265ec876702a42cc8c">00232</a> <span class="preprocessor">#define IL_IFF 0x0447 </span>
|
||||
<a name="l00233"></a><a class="code" href="il_8h.html#9f2f4982af8e2d6d9d48d98398de8dd7">00233</a> <span class="preprocessor">#define IL_TPL 0x0448 </span>
|
||||
<a name="l00234"></a><a class="code" href="il_8h.html#494fe71a2bae847ad8102523e22283d8">00234</a> <span class="preprocessor">#define IL_FITS 0x0449 </span>
|
||||
<a name="l00235"></a><a class="code" href="il_8h.html#c99ded04fa7abc9b5394f99107076be0">00235</a> <span class="preprocessor">#define IL_DICOM 0x044A </span>
|
||||
<a name="l00236"></a><a class="code" href="il_8h.html#1024c13c5d848c827bc70998d4559b36">00236</a> <span class="preprocessor">#define IL_IWI 0x044B </span>
|
||||
<a name="l00237"></a><a class="code" href="il_8h.html#74d0d914139910e51ffe7ff325598413">00237</a> <span class="preprocessor">#define IL_BLP 0x044C </span>
|
||||
<a name="l00238"></a><a class="code" href="il_8h.html#8f0ebc84a1bad958e92132d24efd18d1">00238</a> <span class="preprocessor">#define IL_FTX 0x044D </span>
|
||||
<a name="l00239"></a><a class="code" href="il_8h.html#f18cd1ee46a7f53a71672cb8187737f4">00239</a> <span class="preprocessor">#define IL_ROT 0x044E </span>
|
||||
<a name="l00240"></a><a class="code" href="il_8h.html#dbf6a57b74226ded9a04bf491d7c6ead">00240</a> <span class="preprocessor">#define IL_TEXTURE 0x044F </span>
|
||||
<a name="l00241"></a><a class="code" href="il_8h.html#f725bc72635c3e96eee78d1b8b0b5688">00241</a> <span class="preprocessor">#define IL_DPX 0x0450 </span>
|
||||
<a name="l00242"></a><a class="code" href="il_8h.html#774991afc70494f28b5c7f494ffe1fbb">00242</a> <span class="preprocessor">#define IL_UTX 0x0451 </span>
|
||||
<a name="l00243"></a><a class="code" href="il_8h.html#79d0df78986bbc3e2a8317cc22d2d0ed">00243</a> <span class="preprocessor">#define IL_MP3 0x0452 </span>
|
||||
<a name="l00244"></a>00244 <span class="preprocessor"></span>
|
||||
<a name="l00245"></a>00245 <span class="preprocessor"></span>
|
||||
<a name="l00246"></a><a class="code" href="il_8h.html#45aea262f25a3a0e5445c4d114e1851e">00246</a> <span class="preprocessor">#define IL_JASC_PAL 0x0475 </span>
|
||||
<a name="l00247"></a>00247 <span class="preprocessor"></span>
|
||||
<a name="l00248"></a>00248 <span class="preprocessor"></span>
|
||||
<a name="l00249"></a>00249 <span class="comment">// Error Types</span>
|
||||
<a name="l00250"></a>00250 <span class="preprocessor">#define IL_NO_ERROR 0x0000</span>
|
||||
<a name="l00251"></a>00251 <span class="preprocessor"></span><span class="preprocessor">#define IL_INVALID_ENUM 0x0501</span>
|
||||
<a name="l00252"></a>00252 <span class="preprocessor"></span><span class="preprocessor">#define IL_OUT_OF_MEMORY 0x0502</span>
|
||||
<a name="l00253"></a>00253 <span class="preprocessor"></span><span class="preprocessor">#define IL_FORMAT_NOT_SUPPORTED 0x0503</span>
|
||||
<a name="l00254"></a>00254 <span class="preprocessor"></span><span class="preprocessor">#define IL_INTERNAL_ERROR 0x0504</span>
|
||||
<a name="l00255"></a>00255 <span class="preprocessor"></span><span class="preprocessor">#define IL_INVALID_VALUE 0x0505</span>
|
||||
<a name="l00256"></a>00256 <span class="preprocessor"></span><span class="preprocessor">#define IL_ILLEGAL_OPERATION 0x0506</span>
|
||||
<a name="l00257"></a>00257 <span class="preprocessor"></span><span class="preprocessor">#define IL_ILLEGAL_FILE_VALUE 0x0507</span>
|
||||
<a name="l00258"></a>00258 <span class="preprocessor"></span><span class="preprocessor">#define IL_INVALID_FILE_HEADER 0x0508</span>
|
||||
<a name="l00259"></a>00259 <span class="preprocessor"></span><span class="preprocessor">#define IL_INVALID_PARAM 0x0509</span>
|
||||
<a name="l00260"></a>00260 <span class="preprocessor"></span><span class="preprocessor">#define IL_COULD_NOT_OPEN_FILE 0x050A</span>
|
||||
<a name="l00261"></a>00261 <span class="preprocessor"></span><span class="preprocessor">#define IL_INVALID_EXTENSION 0x050B</span>
|
||||
<a name="l00262"></a>00262 <span class="preprocessor"></span><span class="preprocessor">#define IL_FILE_ALREADY_EXISTS 0x050C</span>
|
||||
<a name="l00263"></a>00263 <span class="preprocessor"></span><span class="preprocessor">#define IL_OUT_FORMAT_SAME 0x050D</span>
|
||||
<a name="l00264"></a>00264 <span class="preprocessor"></span><span class="preprocessor">#define IL_STACK_OVERFLOW 0x050E</span>
|
||||
<a name="l00265"></a>00265 <span class="preprocessor"></span><span class="preprocessor">#define IL_STACK_UNDERFLOW 0x050F</span>
|
||||
<a name="l00266"></a>00266 <span class="preprocessor"></span><span class="preprocessor">#define IL_INVALID_CONVERSION 0x0510</span>
|
||||
<a name="l00267"></a>00267 <span class="preprocessor"></span><span class="preprocessor">#define IL_BAD_DIMENSIONS 0x0511</span>
|
||||
<a name="l00268"></a>00268 <span class="preprocessor"></span><span class="preprocessor">#define IL_FILE_READ_ERROR 0x0512 // 05/12/2002: Addition by Sam.</span>
|
||||
<a name="l00269"></a>00269 <span class="preprocessor"></span><span class="preprocessor">#define IL_FILE_WRITE_ERROR 0x0512</span>
|
||||
<a name="l00270"></a>00270 <span class="preprocessor"></span>
|
||||
<a name="l00271"></a>00271 <span class="preprocessor">#define IL_LIB_GIF_ERROR 0x05E1</span>
|
||||
<a name="l00272"></a>00272 <span class="preprocessor"></span><span class="preprocessor">#define IL_LIB_JPEG_ERROR 0x05E2</span>
|
||||
<a name="l00273"></a>00273 <span class="preprocessor"></span><span class="preprocessor">#define IL_LIB_PNG_ERROR 0x05E3</span>
|
||||
<a name="l00274"></a>00274 <span class="preprocessor"></span><span class="preprocessor">#define IL_LIB_TIFF_ERROR 0x05E4</span>
|
||||
<a name="l00275"></a>00275 <span class="preprocessor"></span><span class="preprocessor">#define IL_LIB_MNG_ERROR 0x05E5</span>
|
||||
<a name="l00276"></a>00276 <span class="preprocessor"></span><span class="preprocessor">#define IL_LIB_JP2_ERROR 0x05E6</span>
|
||||
<a name="l00277"></a>00277 <span class="preprocessor"></span><span class="preprocessor">#define IL_LIB_EXR_ERROR 0x05E7</span>
|
||||
<a name="l00278"></a>00278 <span class="preprocessor"></span><span class="preprocessor">#define IL_UNKNOWN_ERROR 0x05FF</span>
|
||||
<a name="l00279"></a>00279 <span class="preprocessor"></span>
|
||||
<a name="l00280"></a>00280
|
||||
<a name="l00281"></a>00281 <span class="comment">// Origin Definitions</span>
|
||||
<a name="l00282"></a>00282 <span class="preprocessor">#define IL_ORIGIN_SET 0x0600</span>
|
||||
<a name="l00283"></a>00283 <span class="preprocessor"></span><span class="preprocessor">#define IL_ORIGIN_LOWER_LEFT 0x0601</span>
|
||||
<a name="l00284"></a>00284 <span class="preprocessor"></span><span class="preprocessor">#define IL_ORIGIN_UPPER_LEFT 0x0602</span>
|
||||
<a name="l00285"></a>00285 <span class="preprocessor"></span><span class="preprocessor">#define IL_ORIGIN_MODE 0x0603</span>
|
||||
<a name="l00286"></a>00286 <span class="preprocessor"></span>
|
||||
<a name="l00287"></a>00287
|
||||
<a name="l00288"></a>00288 <span class="comment">// Format and Type Mode Definitions</span>
|
||||
<a name="l00289"></a>00289 <span class="preprocessor">#define IL_FORMAT_SET 0x0610</span>
|
||||
<a name="l00290"></a>00290 <span class="preprocessor"></span><span class="preprocessor">#define IL_FORMAT_MODE 0x0611</span>
|
||||
<a name="l00291"></a>00291 <span class="preprocessor"></span><span class="preprocessor">#define IL_TYPE_SET 0x0612</span>
|
||||
<a name="l00292"></a>00292 <span class="preprocessor"></span><span class="preprocessor">#define IL_TYPE_MODE 0x0613</span>
|
||||
<a name="l00293"></a>00293 <span class="preprocessor"></span>
|
||||
<a name="l00294"></a>00294
|
||||
<a name="l00295"></a>00295 <span class="comment">// File definitions</span>
|
||||
<a name="l00296"></a>00296 <span class="preprocessor">#define IL_FILE_OVERWRITE 0x0620</span>
|
||||
<a name="l00297"></a>00297 <span class="preprocessor"></span><span class="preprocessor">#define IL_FILE_MODE 0x0621</span>
|
||||
<a name="l00298"></a>00298 <span class="preprocessor"></span>
|
||||
<a name="l00299"></a>00299
|
||||
<a name="l00300"></a>00300 <span class="comment">// Palette definitions</span>
|
||||
<a name="l00301"></a>00301 <span class="preprocessor">#define IL_CONV_PAL 0x0630</span>
|
||||
<a name="l00302"></a>00302 <span class="preprocessor"></span>
|
||||
<a name="l00303"></a>00303
|
||||
<a name="l00304"></a>00304 <span class="comment">// Load fail definitions</span>
|
||||
<a name="l00305"></a>00305 <span class="preprocessor">#define IL_DEFAULT_ON_FAIL 0x0632</span>
|
||||
<a name="l00306"></a>00306 <span class="preprocessor"></span>
|
||||
<a name="l00307"></a>00307
|
||||
<a name="l00308"></a>00308 <span class="comment">// Key colour and alpha definitions</span>
|
||||
<a name="l00309"></a>00309 <span class="preprocessor">#define IL_USE_KEY_COLOUR 0x0635</span>
|
||||
<a name="l00310"></a>00310 <span class="preprocessor"></span><span class="preprocessor">#define IL_USE_KEY_COLOR 0x0635</span>
|
||||
<a name="l00311"></a>00311 <span class="preprocessor"></span><span class="preprocessor">#define IL_BLIT_BLEND 0x0636</span>
|
||||
<a name="l00312"></a>00312 <span class="preprocessor"></span>
|
||||
<a name="l00313"></a>00313
|
||||
<a name="l00314"></a>00314 <span class="comment">// Interlace definitions</span>
|
||||
<a name="l00315"></a>00315 <span class="preprocessor">#define IL_SAVE_INTERLACED 0x0639</span>
|
||||
<a name="l00316"></a>00316 <span class="preprocessor"></span><span class="preprocessor">#define IL_INTERLACE_MODE 0x063A</span>
|
||||
<a name="l00317"></a>00317 <span class="preprocessor"></span>
|
||||
<a name="l00318"></a>00318
|
||||
<a name="l00319"></a>00319 <span class="comment">// Quantization definitions</span>
|
||||
<a name="l00320"></a>00320 <span class="preprocessor">#define IL_QUANTIZATION_MODE 0x0640</span>
|
||||
<a name="l00321"></a>00321 <span class="preprocessor"></span><span class="preprocessor">#define IL_WU_QUANT 0x0641</span>
|
||||
<a name="l00322"></a>00322 <span class="preprocessor"></span><span class="preprocessor">#define IL_NEU_QUANT 0x0642</span>
|
||||
<a name="l00323"></a>00323 <span class="preprocessor"></span><span class="preprocessor">#define IL_NEU_QUANT_SAMPLE 0x0643</span>
|
||||
<a name="l00324"></a>00324 <span class="preprocessor"></span><span class="preprocessor">#define IL_MAX_QUANT_INDEXS 0x0644 //XIX : ILint : Maximum number of colors to reduce to, default of 256. and has a range of 2-256</span>
|
||||
<a name="l00325"></a>00325 <span class="preprocessor"></span><span class="preprocessor">#define IL_MAX_QUANT_INDICES 0x0644 // Redefined, since the above #define is misspelled</span>
|
||||
<a name="l00326"></a>00326 <span class="preprocessor"></span>
|
||||
<a name="l00327"></a>00327
|
||||
<a name="l00328"></a>00328 <span class="comment">// Hints</span>
|
||||
<a name="l00329"></a>00329 <span class="preprocessor">#define IL_FASTEST 0x0660</span>
|
||||
<a name="l00330"></a>00330 <span class="preprocessor"></span><span class="preprocessor">#define IL_LESS_MEM 0x0661</span>
|
||||
<a name="l00331"></a>00331 <span class="preprocessor"></span><span class="preprocessor">#define IL_DONT_CARE 0x0662</span>
|
||||
<a name="l00332"></a>00332 <span class="preprocessor"></span><span class="preprocessor">#define IL_MEM_SPEED_HINT 0x0665</span>
|
||||
<a name="l00333"></a>00333 <span class="preprocessor"></span><span class="preprocessor">#define IL_USE_COMPRESSION 0x0666</span>
|
||||
<a name="l00334"></a>00334 <span class="preprocessor"></span><span class="preprocessor">#define IL_NO_COMPRESSION 0x0667</span>
|
||||
<a name="l00335"></a>00335 <span class="preprocessor"></span><span class="preprocessor">#define IL_COMPRESSION_HINT 0x0668</span>
|
||||
<a name="l00336"></a>00336 <span class="preprocessor"></span>
|
||||
<a name="l00337"></a>00337
|
||||
<a name="l00338"></a>00338 <span class="comment">// Compression</span>
|
||||
<a name="l00339"></a>00339 <span class="preprocessor">#define IL_NVIDIA_COMPRESS 0x0670</span>
|
||||
<a name="l00340"></a>00340 <span class="preprocessor"></span><span class="preprocessor">#define IL_SQUISH_COMPRESS 0x0671</span>
|
||||
<a name="l00341"></a>00341 <span class="preprocessor"></span>
|
||||
<a name="l00342"></a>00342
|
||||
<a name="l00343"></a>00343 <span class="comment">// Subimage types</span>
|
||||
<a name="l00344"></a>00344 <span class="preprocessor">#define IL_SUB_NEXT 0x0680</span>
|
||||
<a name="l00345"></a>00345 <span class="preprocessor"></span><span class="preprocessor">#define IL_SUB_MIPMAP 0x0681</span>
|
||||
<a name="l00346"></a>00346 <span class="preprocessor"></span><span class="preprocessor">#define IL_SUB_LAYER 0x0682</span>
|
||||
<a name="l00347"></a>00347 <span class="preprocessor"></span>
|
||||
<a name="l00348"></a>00348
|
||||
<a name="l00349"></a>00349 <span class="comment">// Compression definitions</span>
|
||||
<a name="l00350"></a>00350 <span class="preprocessor">#define IL_COMPRESS_MODE 0x0700</span>
|
||||
<a name="l00351"></a>00351 <span class="preprocessor"></span><span class="preprocessor">#define IL_COMPRESS_NONE 0x0701</span>
|
||||
<a name="l00352"></a>00352 <span class="preprocessor"></span><span class="preprocessor">#define IL_COMPRESS_RLE 0x0702</span>
|
||||
<a name="l00353"></a>00353 <span class="preprocessor"></span><span class="preprocessor">#define IL_COMPRESS_LZO 0x0703</span>
|
||||
<a name="l00354"></a>00354 <span class="preprocessor"></span><span class="preprocessor">#define IL_COMPRESS_ZLIB 0x0704</span>
|
||||
<a name="l00355"></a>00355 <span class="preprocessor"></span>
|
||||
<a name="l00356"></a>00356
|
||||
<a name="l00357"></a>00357 <span class="comment">// File format-specific values</span>
|
||||
<a name="l00358"></a>00358 <span class="preprocessor">#define IL_TGA_CREATE_STAMP 0x0710</span>
|
||||
<a name="l00359"></a>00359 <span class="preprocessor"></span><span class="preprocessor">#define IL_JPG_QUALITY 0x0711</span>
|
||||
<a name="l00360"></a>00360 <span class="preprocessor"></span><span class="preprocessor">#define IL_PNG_INTERLACE 0x0712</span>
|
||||
<a name="l00361"></a>00361 <span class="preprocessor"></span><span class="preprocessor">#define IL_TGA_RLE 0x0713</span>
|
||||
<a name="l00362"></a>00362 <span class="preprocessor"></span><span class="preprocessor">#define IL_BMP_RLE 0x0714</span>
|
||||
<a name="l00363"></a>00363 <span class="preprocessor"></span><span class="preprocessor">#define IL_SGI_RLE 0x0715</span>
|
||||
<a name="l00364"></a>00364 <span class="preprocessor"></span><span class="preprocessor">#define IL_TGA_ID_STRING 0x0717</span>
|
||||
<a name="l00365"></a>00365 <span class="preprocessor"></span><span class="preprocessor">#define IL_TGA_AUTHNAME_STRING 0x0718</span>
|
||||
<a name="l00366"></a>00366 <span class="preprocessor"></span><span class="preprocessor">#define IL_TGA_AUTHCOMMENT_STRING 0x0719</span>
|
||||
<a name="l00367"></a>00367 <span class="preprocessor"></span><span class="preprocessor">#define IL_PNG_AUTHNAME_STRING 0x071A</span>
|
||||
<a name="l00368"></a>00368 <span class="preprocessor"></span><span class="preprocessor">#define IL_PNG_TITLE_STRING 0x071B</span>
|
||||
<a name="l00369"></a>00369 <span class="preprocessor"></span><span class="preprocessor">#define IL_PNG_DESCRIPTION_STRING 0x071C</span>
|
||||
<a name="l00370"></a>00370 <span class="preprocessor"></span><span class="preprocessor">#define IL_TIF_DESCRIPTION_STRING 0x071D</span>
|
||||
<a name="l00371"></a>00371 <span class="preprocessor"></span><span class="preprocessor">#define IL_TIF_HOSTCOMPUTER_STRING 0x071E</span>
|
||||
<a name="l00372"></a>00372 <span class="preprocessor"></span><span class="preprocessor">#define IL_TIF_DOCUMENTNAME_STRING 0x071F</span>
|
||||
<a name="l00373"></a>00373 <span class="preprocessor"></span><span class="preprocessor">#define IL_TIF_AUTHNAME_STRING 0x0720</span>
|
||||
<a name="l00374"></a>00374 <span class="preprocessor"></span><span class="preprocessor">#define IL_JPG_SAVE_FORMAT 0x0721</span>
|
||||
<a name="l00375"></a>00375 <span class="preprocessor"></span><span class="preprocessor">#define IL_CHEAD_HEADER_STRING 0x0722</span>
|
||||
<a name="l00376"></a>00376 <span class="preprocessor"></span><span class="preprocessor">#define IL_PCD_PICNUM 0x0723</span>
|
||||
<a name="l00377"></a>00377 <span class="preprocessor"></span><span class="preprocessor">#define IL_PNG_ALPHA_INDEX 0x0724 //XIX : ILint : the color in the palette at this index value (0-255) is considered transparent, -1 for no trasparent color</span>
|
||||
<a name="l00378"></a>00378 <span class="preprocessor"></span><span class="preprocessor">#define IL_JPG_PROGRESSIVE 0x0725</span>
|
||||
<a name="l00379"></a>00379 <span class="preprocessor"></span><span class="preprocessor">#define IL_VTF_COMP 0x0726</span>
|
||||
<a name="l00380"></a>00380 <span class="preprocessor"></span>
|
||||
<a name="l00381"></a>00381
|
||||
<a name="l00382"></a>00382 <span class="comment">// DXTC definitions</span>
|
||||
<a name="l00383"></a>00383 <span class="preprocessor">#define IL_DXTC_FORMAT 0x0705</span>
|
||||
<a name="l00384"></a>00384 <span class="preprocessor"></span><span class="preprocessor">#define IL_DXT1 0x0706</span>
|
||||
<a name="l00385"></a>00385 <span class="preprocessor"></span><span class="preprocessor">#define IL_DXT2 0x0707</span>
|
||||
<a name="l00386"></a>00386 <span class="preprocessor"></span><span class="preprocessor">#define IL_DXT3 0x0708</span>
|
||||
<a name="l00387"></a>00387 <span class="preprocessor"></span><span class="preprocessor">#define IL_DXT4 0x0709</span>
|
||||
<a name="l00388"></a>00388 <span class="preprocessor"></span><span class="preprocessor">#define IL_DXT5 0x070A</span>
|
||||
<a name="l00389"></a>00389 <span class="preprocessor"></span><span class="preprocessor">#define IL_DXT_NO_COMP 0x070B</span>
|
||||
<a name="l00390"></a>00390 <span class="preprocessor"></span><span class="preprocessor">#define IL_KEEP_DXTC_DATA 0x070C</span>
|
||||
<a name="l00391"></a>00391 <span class="preprocessor"></span><span class="preprocessor">#define IL_DXTC_DATA_FORMAT 0x070D</span>
|
||||
<a name="l00392"></a>00392 <span class="preprocessor"></span><span class="preprocessor">#define IL_3DC 0x070E</span>
|
||||
<a name="l00393"></a>00393 <span class="preprocessor"></span><span class="preprocessor">#define IL_RXGB 0x070F</span>
|
||||
<a name="l00394"></a>00394 <span class="preprocessor"></span><span class="preprocessor">#define IL_ATI1N 0x0710</span>
|
||||
<a name="l00395"></a>00395 <span class="preprocessor"></span><span class="preprocessor">#define IL_DXT1A 0x0711 // Normally the same as IL_DXT1, except for nVidia Texture Tools.</span>
|
||||
<a name="l00396"></a>00396 <span class="preprocessor"></span>
|
||||
<a name="l00397"></a>00397 <span class="comment">// Environment map definitions</span>
|
||||
<a name="l00398"></a>00398 <span class="preprocessor">#define IL_CUBEMAP_POSITIVEX 0x00000400</span>
|
||||
<a name="l00399"></a>00399 <span class="preprocessor"></span><span class="preprocessor">#define IL_CUBEMAP_NEGATIVEX 0x00000800</span>
|
||||
<a name="l00400"></a>00400 <span class="preprocessor"></span><span class="preprocessor">#define IL_CUBEMAP_POSITIVEY 0x00001000</span>
|
||||
<a name="l00401"></a>00401 <span class="preprocessor"></span><span class="preprocessor">#define IL_CUBEMAP_NEGATIVEY 0x00002000</span>
|
||||
<a name="l00402"></a>00402 <span class="preprocessor"></span><span class="preprocessor">#define IL_CUBEMAP_POSITIVEZ 0x00004000</span>
|
||||
<a name="l00403"></a>00403 <span class="preprocessor"></span><span class="preprocessor">#define IL_CUBEMAP_NEGATIVEZ 0x00008000</span>
|
||||
<a name="l00404"></a>00404 <span class="preprocessor"></span><span class="preprocessor">#define IL_SPHEREMAP 0x00010000</span>
|
||||
<a name="l00405"></a>00405 <span class="preprocessor"></span>
|
||||
<a name="l00406"></a>00406
|
||||
<a name="l00407"></a>00407 <span class="comment">// Values</span>
|
||||
<a name="l00408"></a>00408 <span class="preprocessor">#define IL_VERSION_NUM 0x0DE2</span>
|
||||
<a name="l00409"></a>00409 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_WIDTH 0x0DE4</span>
|
||||
<a name="l00410"></a>00410 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_HEIGHT 0x0DE5</span>
|
||||
<a name="l00411"></a>00411 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_DEPTH 0x0DE6</span>
|
||||
<a name="l00412"></a>00412 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_SIZE_OF_DATA 0x0DE7</span>
|
||||
<a name="l00413"></a>00413 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_BPP 0x0DE8</span>
|
||||
<a name="l00414"></a>00414 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_BYTES_PER_PIXEL 0x0DE8</span>
|
||||
<a name="l00415"></a>00415 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_BPP 0x0DE8</span>
|
||||
<a name="l00416"></a>00416 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_BITS_PER_PIXEL 0x0DE9</span>
|
||||
<a name="l00417"></a>00417 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_FORMAT 0x0DEA</span>
|
||||
<a name="l00418"></a>00418 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_TYPE 0x0DEB</span>
|
||||
<a name="l00419"></a>00419 <span class="preprocessor"></span><span class="preprocessor">#define IL_PALETTE_TYPE 0x0DEC</span>
|
||||
<a name="l00420"></a>00420 <span class="preprocessor"></span><span class="preprocessor">#define IL_PALETTE_SIZE 0x0DED</span>
|
||||
<a name="l00421"></a>00421 <span class="preprocessor"></span><span class="preprocessor">#define IL_PALETTE_BPP 0x0DEE</span>
|
||||
<a name="l00422"></a>00422 <span class="preprocessor"></span><span class="preprocessor">#define IL_PALETTE_NUM_COLS 0x0DEF</span>
|
||||
<a name="l00423"></a>00423 <span class="preprocessor"></span><span class="preprocessor">#define IL_PALETTE_BASE_TYPE 0x0DF0</span>
|
||||
<a name="l00424"></a>00424 <span class="preprocessor"></span><span class="preprocessor">#define IL_NUM_FACES 0x0DE1</span>
|
||||
<a name="l00425"></a>00425 <span class="preprocessor"></span><span class="preprocessor">#define IL_NUM_IMAGES 0x0DF1</span>
|
||||
<a name="l00426"></a>00426 <span class="preprocessor"></span><span class="preprocessor">#define IL_NUM_MIPMAPS 0x0DF2</span>
|
||||
<a name="l00427"></a>00427 <span class="preprocessor"></span><span class="preprocessor">#define IL_NUM_LAYERS 0x0DF3</span>
|
||||
<a name="l00428"></a>00428 <span class="preprocessor"></span><span class="preprocessor">#define IL_ACTIVE_IMAGE 0x0DF4</span>
|
||||
<a name="l00429"></a>00429 <span class="preprocessor"></span><span class="preprocessor">#define IL_ACTIVE_MIPMAP 0x0DF5</span>
|
||||
<a name="l00430"></a>00430 <span class="preprocessor"></span><span class="preprocessor">#define IL_ACTIVE_LAYER 0x0DF6</span>
|
||||
<a name="l00431"></a>00431 <span class="preprocessor"></span><span class="preprocessor">#define IL_ACTIVE_FACE 0x0E00</span>
|
||||
<a name="l00432"></a>00432 <span class="preprocessor"></span><span class="preprocessor">#define IL_CUR_IMAGE 0x0DF7</span>
|
||||
<a name="l00433"></a>00433 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_DURATION 0x0DF8</span>
|
||||
<a name="l00434"></a>00434 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_PLANESIZE 0x0DF9</span>
|
||||
<a name="l00435"></a>00435 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_BPC 0x0DFA</span>
|
||||
<a name="l00436"></a>00436 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_OFFX 0x0DFB</span>
|
||||
<a name="l00437"></a>00437 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_OFFY 0x0DFC</span>
|
||||
<a name="l00438"></a>00438 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_CUBEFLAGS 0x0DFD</span>
|
||||
<a name="l00439"></a>00439 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_ORIGIN 0x0DFE</span>
|
||||
<a name="l00440"></a>00440 <span class="preprocessor"></span><span class="preprocessor">#define IL_IMAGE_CHANNELS 0x0DFF</span>
|
||||
<a name="l00441"></a>00441 <span class="preprocessor"></span>
|
||||
<a name="l00442"></a>00442 <span class="preprocessor"># if defined __GNUC__ && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0))</span>
|
||||
<a name="l00443"></a>00443 <span class="preprocessor"></span><span class="comment">// __attribute__((deprecated)) is supported by GCC 3.1 and later.</span>
|
||||
<a name="l00444"></a>00444 <span class="preprocessor"># define DEPRECATED(D) D __attribute__((deprecated))</span>
|
||||
<a name="l00445"></a>00445 <span class="preprocessor"></span><span class="preprocessor"># elif defined _MSC_VER && _MSC_VER >= 1300</span>
|
||||
<a name="l00446"></a>00446 <span class="preprocessor"></span><span class="comment">// __declspec(deprecated) is supported by MSVC 7.0 and later.</span>
|
||||
<a name="l00447"></a>00447 <span class="preprocessor"># define DEPRECATED(D) __declspec(deprecated) D</span>
|
||||
<a name="l00448"></a>00448 <span class="preprocessor"></span><span class="preprocessor"># else</span>
|
||||
<a name="l00449"></a>00449 <span class="preprocessor"></span><span class="preprocessor"># define DEPRECATED (D) D</span>
|
||||
<a name="l00450"></a>00450 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
|
||||
<a name="l00451"></a>00451 <span class="preprocessor"></span>
|
||||
<a name="l00452"></a>00452 <span class="comment">//</span>
|
||||
<a name="l00453"></a>00453 <span class="comment">// Section shamelessly modified from the glut header.</span>
|
||||
<a name="l00454"></a>00454 <span class="comment">//</span>
|
||||
<a name="l00455"></a>00455
|
||||
<a name="l00456"></a>00456 <span class="comment">// This is from Win32's <windef.h></span>
|
||||
<a name="l00457"></a>00457 <span class="preprocessor">#if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLANDC__) || defined(__LCC__)</span>
|
||||
<a name="l00458"></a>00458 <span class="preprocessor"></span><span class="preprocessor"> #define ILAPIENTRY __stdcall </span>
|
||||
<a name="l00459"></a>00459 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PACKSTRUCT</span>
|
||||
<a name="l00460"></a>00460 <span class="preprocessor"></span><span class="comment">//#elif defined(linux) || defined(MACOSX) || defined(__CYGWIN__) //fix bug 840364</span>
|
||||
<a name="l00461"></a>00461 <span class="preprocessor">#elif defined( __GNUC__ )</span>
|
||||
<a name="l00462"></a>00462 <span class="preprocessor"></span> <span class="comment">// this should work for any of the above commented platforms </span>
|
||||
<a name="l00463"></a>00463 <span class="comment">// plus any platform using GCC</span>
|
||||
<a name="l00464"></a>00464 <span class="preprocessor"> #ifdef __MINGW32__</span>
|
||||
<a name="l00465"></a>00465 <span class="preprocessor"></span><span class="preprocessor"> #define ILAPIENTRY __stdcall</span>
|
||||
<a name="l00466"></a>00466 <span class="preprocessor"></span><span class="preprocessor"> #else</span>
|
||||
<a name="l00467"></a>00467 <span class="preprocessor"></span><span class="preprocessor"> #define ILAPIENTRY</span>
|
||||
<a name="l00468"></a>00468 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00469"></a>00469 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PACKSTRUCT __attribute__ ((packed))</span>
|
||||
<a name="l00470"></a>00470 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00471"></a>00471 <span class="preprocessor"></span><span class="preprocessor"> #define ILAPIENTRY</span>
|
||||
<a name="l00472"></a>00472 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PACKSTRUCT</span>
|
||||
<a name="l00473"></a>00473 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00474"></a>00474 <span class="preprocessor"></span>
|
||||
<a name="l00475"></a>00475 <span class="comment">// This is from Win32's <wingdi.h> and <winnt.h></span>
|
||||
<a name="l00476"></a>00476 <span class="preprocessor">#if defined(__LCC__)</span>
|
||||
<a name="l00477"></a>00477 <span class="preprocessor"></span><span class="preprocessor"> #define ILAPI __stdcall</span>
|
||||
<a name="l00478"></a>00478 <span class="preprocessor"></span><span class="preprocessor">#elif defined(_WIN32) //changed 20031221 to fix bug 840421</span>
|
||||
<a name="l00479"></a>00479 <span class="preprocessor"></span><span class="preprocessor"> #ifdef IL_STATIC_LIB</span>
|
||||
<a name="l00480"></a>00480 <span class="preprocessor"></span><span class="preprocessor"> #define ILAPI</span>
|
||||
<a name="l00481"></a>00481 <span class="preprocessor"></span><span class="preprocessor"> #else</span>
|
||||
<a name="l00482"></a>00482 <span class="preprocessor"></span><span class="preprocessor"> #ifdef _IL_BUILD_LIBRARY</span>
|
||||
<a name="l00483"></a>00483 <span class="preprocessor"></span><span class="preprocessor"> #define ILAPI __declspec(dllexport)</span>
|
||||
<a name="l00484"></a>00484 <span class="preprocessor"></span><span class="preprocessor"> #else</span>
|
||||
<a name="l00485"></a>00485 <span class="preprocessor"></span><span class="preprocessor"> #define ILAPI __declspec(dllimport)</span>
|
||||
<a name="l00486"></a>00486 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00487"></a>00487 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00488"></a>00488 <span class="preprocessor"></span><span class="preprocessor">#elif __APPLE__</span>
|
||||
<a name="l00489"></a>00489 <span class="preprocessor"></span><span class="preprocessor"> #define ILAPI extern</span>
|
||||
<a name="l00490"></a>00490 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00491"></a>00491 <span class="preprocessor"></span><span class="preprocessor"> #define ILAPI</span>
|
||||
<a name="l00492"></a>00492 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00493"></a>00493 <span class="preprocessor"></span>
|
||||
<a name="l00494"></a>00494
|
||||
<a name="l00495"></a>00495 <span class="preprocessor">#define IL_SEEK_SET 0</span>
|
||||
<a name="l00496"></a>00496 <span class="preprocessor"></span><span class="preprocessor">#define IL_SEEK_CUR 1</span>
|
||||
<a name="l00497"></a>00497 <span class="preprocessor"></span><span class="preprocessor">#define IL_SEEK_END 2</span>
|
||||
<a name="l00498"></a>00498 <span class="preprocessor"></span><span class="preprocessor">#define IL_EOF -1</span>
|
||||
<a name="l00499"></a>00499 <span class="preprocessor"></span>
|
||||
<a name="l00500"></a>00500
|
||||
<a name="l00501"></a>00501 <span class="comment">// Callback functions for file reading</span>
|
||||
<a name="l00502"></a>00502 <span class="keyword">typedef</span> <span class="keywordtype">void</span>* ILHANDLE;
|
||||
<a name="l00503"></a>00503 <span class="keyword">typedef</span> void (ILAPIENTRY *fCloseRProc)(ILHANDLE);
|
||||
<a name="l00504"></a>00504 <span class="keyword">typedef</span> ILboolean (ILAPIENTRY *fEofProc) (ILHANDLE);
|
||||
<a name="l00505"></a>00505 <span class="keyword">typedef</span> ILint (ILAPIENTRY *fGetcProc) (ILHANDLE);
|
||||
<a name="l00506"></a>00506 <span class="keyword">typedef</span> ILHANDLE (ILAPIENTRY *fOpenRProc) (ILconst_string);
|
||||
<a name="l00507"></a>00507 <span class="keyword">typedef</span> ILint (ILAPIENTRY *fReadProc) (<span class="keywordtype">void</span>*, ILuint, ILuint, ILHANDLE);
|
||||
<a name="l00508"></a>00508 <span class="keyword">typedef</span> ILint (ILAPIENTRY *fSeekRProc) (ILHANDLE, ILint, ILint);
|
||||
<a name="l00509"></a>00509 <span class="keyword">typedef</span> ILint (ILAPIENTRY *fTellRProc) (ILHANDLE);
|
||||
<a name="l00510"></a>00510
|
||||
<a name="l00511"></a>00511 <span class="comment">// Callback functions for file writing</span>
|
||||
<a name="l00512"></a>00512 <span class="keyword">typedef</span> void (ILAPIENTRY *fCloseWProc)(ILHANDLE);
|
||||
<a name="l00513"></a>00513 <span class="keyword">typedef</span> ILHANDLE (ILAPIENTRY *fOpenWProc) (ILconst_string);
|
||||
<a name="l00514"></a>00514 <span class="keyword">typedef</span> ILint (ILAPIENTRY *fPutcProc) (ILubyte, ILHANDLE);
|
||||
<a name="l00515"></a>00515 <span class="keyword">typedef</span> ILint (ILAPIENTRY *fSeekWProc) (ILHANDLE, ILint, ILint);
|
||||
<a name="l00516"></a>00516 <span class="keyword">typedef</span> ILint (ILAPIENTRY *fTellWProc) (ILHANDLE);
|
||||
<a name="l00517"></a>00517 <span class="keyword">typedef</span> ILint (ILAPIENTRY *fWriteProc) (<span class="keyword">const</span> <span class="keywordtype">void</span>*, ILuint, ILuint, ILHANDLE);
|
||||
<a name="l00518"></a>00518
|
||||
<a name="l00519"></a>00519 <span class="comment">// Callback functions for allocation and deallocation</span>
|
||||
<a name="l00520"></a>00520 <span class="keyword">typedef</span> <span class="keywordtype">void</span>* (ILAPIENTRY *mAlloc)(<span class="keyword">const</span> ILsizei);
|
||||
<a name="l00521"></a>00521 <span class="keyword">typedef</span> void (ILAPIENTRY *mFree) (<span class="keyword">const</span> <span class="keywordtype">void</span>* CONST_RESTRICT);
|
||||
<a name="l00522"></a>00522
|
||||
<a name="l00523"></a>00523 <span class="comment">// Registered format procedures</span>
|
||||
<a name="l00524"></a>00524 <span class="keyword">typedef</span> ILenum (ILAPIENTRY *IL_LOADPROC)(ILconst_string);
|
||||
<a name="l00525"></a>00525 <span class="keyword">typedef</span> ILenum (ILAPIENTRY *IL_SAVEPROC)(ILconst_string);
|
||||
<a name="l00526"></a>00526
|
||||
<a name="l00527"></a>00527
|
||||
<a name="l00528"></a>00528 <span class="comment">// ImageLib Functions</span>
|
||||
<a name="l00529"></a>00529 ILAPI ILboolean ILAPIENTRY ilActiveFace(ILuint Number);
|
||||
<a name="l00530"></a>00530 ILAPI ILboolean ILAPIENTRY ilActiveImage(ILuint Number);
|
||||
<a name="l00531"></a>00531 ILAPI ILboolean ILAPIENTRY ilActiveLayer(ILuint Number);
|
||||
<a name="l00532"></a>00532 ILAPI ILboolean ILAPIENTRY ilActiveMipmap(ILuint Number);
|
||||
<a name="l00533"></a>00533 ILAPI ILboolean ILAPIENTRY ilApplyPal(ILconst_string FileName);
|
||||
<a name="l00534"></a>00534 ILAPI ILboolean ILAPIENTRY ilApplyProfile(ILstring InProfile, ILstring OutProfile);
|
||||
<a name="l00535"></a>00535 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilBindImage(ILuint Image);
|
||||
<a name="l00536"></a>00536 ILAPI ILboolean ILAPIENTRY ilBlit(ILuint Source, ILint DestX, ILint DestY, ILint DestZ, ILuint SrcX, ILuint SrcY, ILuint SrcZ, ILuint <a class="code" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1" title="the image&#39;s width">Width</a>, ILuint <a class="code" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da" title="the image&#39;s height">Height</a>, ILuint <a class="code" href="structILimage.html#00e19fb6f1e50731d114c302129112d9" title="the image&#39;s depth">Depth</a>);
|
||||
<a name="l00537"></a>00537 ILAPI ILboolean ILAPIENTRY ilClampNTSC(<span class="keywordtype">void</span>);
|
||||
<a name="l00538"></a>00538 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilClearColour(ILclampf Red, ILclampf Green, ILclampf Blue, ILclampf Alpha);
|
||||
<a name="l00539"></a>00539 ILAPI ILboolean ILAPIENTRY ilClearImage(<span class="keywordtype">void</span>);
|
||||
<a name="l00540"></a>00540 ILAPI ILuint ILAPIENTRY ilCloneCurImage(<span class="keywordtype">void</span>);
|
||||
<a name="l00541"></a>00541 ILAPI ILubyte* ILAPIENTRY ilCompressDXT(ILubyte *<a class="code" href="structILimage.html#b7a9627719d89abb3cb48087452acbc8" title="the image data">Data</a>, ILuint <a class="code" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1" title="the image&#39;s width">Width</a>, ILuint <a class="code" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da" title="the image&#39;s height">Height</a>, ILuint <a class="code" href="structILimage.html#00e19fb6f1e50731d114c302129112d9" title="the image&#39;s depth">Depth</a>, ILenum DXTCFormat, ILuint *DXTCSize);
|
||||
<a name="l00542"></a>00542 ILAPI ILboolean ILAPIENTRY ilCompressFunc(ILenum Mode);
|
||||
<a name="l00543"></a>00543 ILAPI ILboolean ILAPIENTRY ilConvertImage(ILenum DestFormat, ILenum DestType);
|
||||
<a name="l00544"></a>00544 ILAPI ILboolean ILAPIENTRY ilConvertPal(ILenum DestFormat);
|
||||
<a name="l00545"></a>00545 ILAPI ILboolean ILAPIENTRY ilCopyImage(ILuint Src);
|
||||
<a name="l00546"></a>00546 ILAPI ILuint ILAPIENTRY ilCopyPixels(ILuint XOff, ILuint YOff, ILuint ZOff, ILuint <a class="code" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1" title="the image&#39;s width">Width</a>, ILuint <a class="code" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da" title="the image&#39;s height">Height</a>, ILuint <a class="code" href="structILimage.html#00e19fb6f1e50731d114c302129112d9" title="the image&#39;s depth">Depth</a>, ILenum <a class="code" href="structILimage.html#f36941d08ffdd7ed7c42cdb11d2a5513" title="image format (in IL enum style)">Format</a>, ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>, <span class="keywordtype">void</span> *<a class="code" href="structILimage.html#b7a9627719d89abb3cb48087452acbc8" title="the image data">Data</a>);
|
||||
<a name="l00547"></a>00547 ILAPI ILuint ILAPIENTRY ilCreateSubImage(ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>, ILuint Num);
|
||||
<a name="l00548"></a>00548 ILAPI ILboolean ILAPIENTRY ilDefaultImage(<span class="keywordtype">void</span>);
|
||||
<a name="l00549"></a>00549 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilDeleteImage(<span class="keyword">const</span> ILuint Num);
|
||||
<a name="l00550"></a>00550 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilDeleteImages(ILsizei Num, <span class="keyword">const</span> ILuint *Images);
|
||||
<a name="l00551"></a>00551 ILAPI ILenum ILAPIENTRY ilDetermineType(ILconst_string FileName);
|
||||
<a name="l00552"></a>00552 ILAPI ILenum ILAPIENTRY ilDetermineTypeF(ILHANDLE File);
|
||||
<a name="l00553"></a>00553 ILAPI ILenum ILAPIENTRY ilDetermineTypeL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00554"></a>00554 ILAPI ILboolean ILAPIENTRY ilDisable(ILenum Mode);
|
||||
<a name="l00555"></a>00555 ILAPI ILboolean ILAPIENTRY ilDxtcDataToImage(<span class="keywordtype">void</span>);
|
||||
<a name="l00556"></a>00556 ILAPI ILboolean ILAPIENTRY ilDxtcDataToSurface(<span class="keywordtype">void</span>);
|
||||
<a name="l00557"></a>00557 ILAPI ILboolean ILAPIENTRY ilEnable(ILenum Mode);
|
||||
<a name="l00558"></a>00558 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilFlipSurfaceDxtcData(<span class="keywordtype">void</span>);
|
||||
<a name="l00559"></a>00559 ILAPI ILboolean ILAPIENTRY ilFormatFunc(ILenum Mode);
|
||||
<a name="l00560"></a>00560 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilGenImages(ILsizei Num, ILuint *Images);
|
||||
<a name="l00561"></a>00561 ILAPI ILuint ILAPIENTRY ilGenImage(<span class="keywordtype">void</span>);
|
||||
<a name="l00562"></a>00562 ILAPI ILubyte* ILAPIENTRY ilGetAlpha(ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>);
|
||||
<a name="l00563"></a>00563 ILAPI ILboolean ILAPIENTRY ilGetBoolean(ILenum Mode);
|
||||
<a name="l00564"></a>00564 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilGetBooleanv(ILenum Mode, ILboolean *Param);
|
||||
<a name="l00565"></a>00565 ILAPI ILubyte* ILAPIENTRY ilGetData(<span class="keywordtype">void</span>);
|
||||
<a name="l00566"></a>00566 ILAPI ILuint ILAPIENTRY ilGetDXTCData(<span class="keywordtype">void</span> *Buffer, ILuint BufferSize, ILenum DXTCFormat);
|
||||
<a name="l00567"></a>00567 ILAPI ILenum ILAPIENTRY ilGetError(<span class="keywordtype">void</span>);
|
||||
<a name="l00568"></a>00568 ILAPI ILint ILAPIENTRY ilGetInteger(ILenum Mode);
|
||||
<a name="l00569"></a>00569 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilGetIntegerv(ILenum Mode, ILint *Param);
|
||||
<a name="l00570"></a>00570 ILAPI ILuint ILAPIENTRY ilGetLumpPos(<span class="keywordtype">void</span>);
|
||||
<a name="l00571"></a>00571 ILAPI ILubyte* ILAPIENTRY ilGetPalette(<span class="keywordtype">void</span>);
|
||||
<a name="l00572"></a>00572 ILAPI ILconst_string ILAPIENTRY ilGetString(ILenum StringName);
|
||||
<a name="l00573"></a>00573 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilHint(ILenum Target, ILenum Mode);
|
||||
<a name="l00574"></a>00574 ILAPI ILboolean ILAPIENTRY ilInvertSurfaceDxtcDataAlpha(<span class="keywordtype">void</span>);
|
||||
<a name="l00575"></a>00575 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilInit(<span class="keywordtype">void</span>);
|
||||
<a name="l00576"></a>00576 ILAPI ILboolean ILAPIENTRY ilImageToDxtcData(ILenum <a class="code" href="structILimage.html#f36941d08ffdd7ed7c42cdb11d2a5513" title="image format (in IL enum style)">Format</a>);
|
||||
<a name="l00577"></a>00577 ILAPI ILboolean ILAPIENTRY ilIsDisabled(ILenum Mode);
|
||||
<a name="l00578"></a>00578 ILAPI ILboolean ILAPIENTRY ilIsEnabled(ILenum Mode);
|
||||
<a name="l00579"></a>00579 ILAPI ILboolean ILAPIENTRY ilIsImage(ILuint Image);
|
||||
<a name="l00580"></a>00580 ILAPI ILboolean ILAPIENTRY ilIsValid(ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>, ILconst_string FileName);
|
||||
<a name="l00581"></a>00581 ILAPI ILboolean ILAPIENTRY ilIsValidF(ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>, ILHANDLE File);
|
||||
<a name="l00582"></a>00582 ILAPI ILboolean ILAPIENTRY ilIsValidL(ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>, <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00583"></a>00583 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilKeyColour(ILclampf Red, ILclampf Green, ILclampf Blue, ILclampf Alpha);
|
||||
<a name="l00584"></a>00584 ILAPI ILboolean ILAPIENTRY ilLoad(ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>, ILconst_string FileName);
|
||||
<a name="l00585"></a>00585 ILAPI ILboolean ILAPIENTRY ilLoadF(ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>, ILHANDLE File);
|
||||
<a name="l00586"></a>00586 ILAPI ILboolean ILAPIENTRY ilLoadImage(ILconst_string FileName);
|
||||
<a name="l00587"></a>00587 ILAPI ILboolean ILAPIENTRY ilLoadL(ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>, <span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00588"></a>00588 ILAPI ILboolean ILAPIENTRY ilLoadPal(ILconst_string FileName);
|
||||
<a name="l00589"></a>00589 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilModAlpha(ILdouble AlphaValue);
|
||||
<a name="l00590"></a>00590 ILAPI ILboolean ILAPIENTRY ilOriginFunc(ILenum Mode);
|
||||
<a name="l00591"></a>00591 ILAPI ILboolean ILAPIENTRY ilOverlayImage(ILuint Source, ILint XCoord, ILint YCoord, ILint ZCoord);
|
||||
<a name="l00592"></a>00592 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilPopAttrib(<span class="keywordtype">void</span>);
|
||||
<a name="l00593"></a>00593 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilPushAttrib(ILuint Bits);
|
||||
<a name="l00594"></a>00594 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilRegisterFormat(ILenum <a class="code" href="structILimage.html#f36941d08ffdd7ed7c42cdb11d2a5513" title="image format (in IL enum style)">Format</a>);
|
||||
<a name="l00595"></a>00595 ILAPI ILboolean ILAPIENTRY ilRegisterLoad(ILconst_string Ext, IL_LOADPROC Load);
|
||||
<a name="l00596"></a>00596 ILAPI ILboolean ILAPIENTRY ilRegisterMipNum(ILuint Num);
|
||||
<a name="l00597"></a>00597 ILAPI ILboolean ILAPIENTRY ilRegisterNumFaces(ILuint Num);
|
||||
<a name="l00598"></a>00598 ILAPI ILboolean ILAPIENTRY ilRegisterNumImages(ILuint Num);
|
||||
<a name="l00599"></a>00599 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilRegisterOrigin(ILenum <a class="code" href="structILimage.html#c2bc011c3f8a65eea30a8d4495c96a2e" title="origin of the image">Origin</a>);
|
||||
<a name="l00600"></a>00600 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilRegisterPal(<span class="keywordtype">void</span> *<a class="code" href="structILimage.html#1e17c6b3c912a9bcddb50dd7a61011a7" title="palette details">Pal</a>, ILuint Size, ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>);
|
||||
<a name="l00601"></a>00601 ILAPI ILboolean ILAPIENTRY ilRegisterSave(ILconst_string Ext, IL_SAVEPROC Save);
|
||||
<a name="l00602"></a>00602 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilRegisterType(ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>);
|
||||
<a name="l00603"></a>00603 ILAPI ILboolean ILAPIENTRY ilRemoveLoad(ILconst_string Ext);
|
||||
<a name="l00604"></a>00604 ILAPI ILboolean ILAPIENTRY ilRemoveSave(ILconst_string Ext);
|
||||
<a name="l00605"></a>00605 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilResetMemory(<span class="keywordtype">void</span>); <span class="comment">// Deprecated</span>
|
||||
<a name="l00606"></a>00606 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilResetRead(<span class="keywordtype">void</span>);
|
||||
<a name="l00607"></a>00607 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilResetWrite(<span class="keywordtype">void</span>);
|
||||
<a name="l00608"></a>00608 ILAPI ILboolean ILAPIENTRY ilSave(ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>, ILconst_string FileName);
|
||||
<a name="l00609"></a>00609 ILAPI ILuint ILAPIENTRY ilSaveF(ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>, ILHANDLE File);
|
||||
<a name="l00610"></a>00610 ILAPI ILboolean ILAPIENTRY ilSaveImage(ILconst_string FileName);
|
||||
<a name="l00611"></a>00611 ILAPI ILuint ILAPIENTRY ilSaveL(ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>, <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00612"></a>00612 ILAPI ILboolean ILAPIENTRY ilSavePal(ILconst_string FileName);
|
||||
<a name="l00613"></a>00613 ILAPI ILboolean ILAPIENTRY ilSetAlpha(ILdouble AlphaValue);
|
||||
<a name="l00614"></a>00614 ILAPI ILboolean ILAPIENTRY ilSetData(<span class="keywordtype">void</span> *<a class="code" href="structILimage.html#b7a9627719d89abb3cb48087452acbc8" title="the image data">Data</a>);
|
||||
<a name="l00615"></a>00615 ILAPI ILboolean ILAPIENTRY ilSetDuration(ILuint <a class="code" href="structILimage.html#fde5827e053680ff1e81a9a9c0832042" title="length of the time to display this &quot;frame&quot;">Duration</a>);
|
||||
<a name="l00616"></a>00616 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilSetInteger(ILenum Mode, ILint Param);
|
||||
<a name="l00617"></a>00617 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilSetMemory(mAlloc, mFree);
|
||||
<a name="l00618"></a>00618 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilSetPixels(ILint XOff, ILint YOff, ILint ZOff, ILuint <a class="code" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1" title="the image&#39;s width">Width</a>, ILuint <a class="code" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da" title="the image&#39;s height">Height</a>, ILuint <a class="code" href="structILimage.html#00e19fb6f1e50731d114c302129112d9" title="the image&#39;s depth">Depth</a>, ILenum <a class="code" href="structILimage.html#f36941d08ffdd7ed7c42cdb11d2a5513" title="image format (in IL enum style)">Format</a>, ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>, <span class="keywordtype">void</span> *<a class="code" href="structILimage.html#b7a9627719d89abb3cb48087452acbc8" title="the image data">Data</a>);
|
||||
<a name="l00619"></a>00619 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilSetRead(fOpenRProc, fCloseRProc, fEofProc, fGetcProc, fReadProc, fSeekRProc, fTellRProc);
|
||||
<a name="l00620"></a>00620 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilSetString(ILenum Mode, <span class="keyword">const</span> <span class="keywordtype">char</span> *String);
|
||||
<a name="l00621"></a>00621 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilSetWrite(fOpenWProc, fCloseWProc, fPutcProc, fSeekWProc, fTellWProc, fWriteProc);
|
||||
<a name="l00622"></a>00622 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilShutDown(<span class="keywordtype">void</span>);
|
||||
<a name="l00623"></a>00623 ILAPI ILboolean ILAPIENTRY ilSurfaceToDxtcData(ILenum <a class="code" href="structILimage.html#f36941d08ffdd7ed7c42cdb11d2a5513" title="image format (in IL enum style)">Format</a>);
|
||||
<a name="l00624"></a>00624 ILAPI ILboolean ILAPIENTRY ilTexImage(ILuint <a class="code" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1" title="the image&#39;s width">Width</a>, ILuint <a class="code" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da" title="the image&#39;s height">Height</a>, ILuint <a class="code" href="structILimage.html#00e19fb6f1e50731d114c302129112d9" title="the image&#39;s depth">Depth</a>, ILubyte NumChannels, ILenum <a class="code" href="structILimage.html#f36941d08ffdd7ed7c42cdb11d2a5513" title="image format (in IL enum style)">Format</a>, ILenum <a class="code" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918" title="image type (in IL enum style)">Type</a>, <span class="keywordtype">void</span> *<a class="code" href="structILimage.html#b7a9627719d89abb3cb48087452acbc8" title="the image data">Data</a>);
|
||||
<a name="l00625"></a>00625 ILAPI ILboolean ILAPIENTRY ilTexImageDxtc(ILint w, ILint h, ILint d, ILenum DxtFormat, <span class="keyword">const</span> ILubyte* data);
|
||||
<a name="l00626"></a>00626 ILAPI ILenum ILAPIENTRY ilTypeFromExt(ILconst_string FileName);
|
||||
<a name="l00627"></a>00627 ILAPI ILboolean ILAPIENTRY ilTypeFunc(ILenum Mode);
|
||||
<a name="l00628"></a>00628 ILAPI ILboolean ILAPIENTRY ilLoadData(ILconst_string FileName, ILuint <a class="code" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1" title="the image&#39;s width">Width</a>, ILuint <a class="code" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da" title="the image&#39;s height">Height</a>, ILuint <a class="code" href="structILimage.html#00e19fb6f1e50731d114c302129112d9" title="the image&#39;s depth">Depth</a>, ILubyte <a class="code" href="structILimage.html#1b3ec86e5bf7087b7d46f0ed61d86eb9" title="bytes per pixel (now number of channels)">Bpp</a>);
|
||||
<a name="l00629"></a>00629 ILAPI ILboolean ILAPIENTRY ilLoadDataF(ILHANDLE File, ILuint <a class="code" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1" title="the image&#39;s width">Width</a>, ILuint <a class="code" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da" title="the image&#39;s height">Height</a>, ILuint <a class="code" href="structILimage.html#00e19fb6f1e50731d114c302129112d9" title="the image&#39;s depth">Depth</a>, ILubyte <a class="code" href="structILimage.html#1b3ec86e5bf7087b7d46f0ed61d86eb9" title="bytes per pixel (now number of channels)">Bpp</a>);
|
||||
<a name="l00630"></a>00630 ILAPI ILboolean ILAPIENTRY ilLoadDataL(<span class="keywordtype">void</span> *Lump, ILuint Size, ILuint <a class="code" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1" title="the image&#39;s width">Width</a>, ILuint <a class="code" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da" title="the image&#39;s height">Height</a>, ILuint <a class="code" href="structILimage.html#00e19fb6f1e50731d114c302129112d9" title="the image&#39;s depth">Depth</a>, ILubyte <a class="code" href="structILimage.html#1b3ec86e5bf7087b7d46f0ed61d86eb9" title="bytes per pixel (now number of channels)">Bpp</a>);
|
||||
<a name="l00631"></a>00631 ILAPI ILboolean ILAPIENTRY ilSaveData(ILconst_string FileName);
|
||||
<a name="l00632"></a>00632
|
||||
<a name="l00633"></a>00633 <span class="comment">// For all those weirdos that spell "colour" without the 'u'.</span>
|
||||
<a name="l00634"></a>00634 <span class="preprocessor">#define ilClearColor ilClearColour</span>
|
||||
<a name="l00635"></a>00635 <span class="preprocessor"></span><span class="preprocessor">#define ilKeyColor ilKeyColour</span>
|
||||
<a name="l00636"></a>00636 <span class="preprocessor"></span>
|
||||
<a name="l00637"></a>00637 <span class="preprocessor">#define imemclear(x,y) memset(x,0,y);</span>
|
||||
<a name="l00638"></a>00638 <span class="preprocessor"></span>
|
||||
<a name="l00639"></a>00639 <span class="preprocessor">#ifdef __cplusplus</span>
|
||||
<a name="l00640"></a>00640 <span class="preprocessor"></span>}
|
||||
<a name="l00641"></a>00641 <span class="preprocessor">#endif</span>
|
||||
<a name="l00642"></a>00642 <span class="preprocessor"></span>
|
||||
<a name="l00643"></a>00643 <span class="preprocessor">#endif // __IL_H__</span>
|
||||
<a name="l00644"></a>00644 <span class="preprocessor"></span><span class="preprocessor">#endif // __il_h__</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,62 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_alloc.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_alloc.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef ALLOC_H</span>
|
||||
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define ALLOC_H</span>
|
||||
<a name="l00003"></a>00003 <span class="preprocessor"></span>
|
||||
<a name="l00004"></a>00004 <span class="comment">/*#if defined(_WIN32) && defined(_MEM_DEBUG)</span>
|
||||
<a name="l00005"></a>00005 <span class="comment"> void *c_alloc(unsigned long size, unsigned long num, const char *file, unsigned long line);</span>
|
||||
<a name="l00006"></a>00006 <span class="comment"> void *m_alloc(unsigned long size, const char *file, unsigned long line);</span>
|
||||
<a name="l00007"></a>00007 <span class="comment"> void f_ree(void *ptr);</span>
|
||||
<a name="l00008"></a>00008 <span class="comment"></span>
|
||||
<a name="l00009"></a>00009 <span class="comment"> #ifdef malloc</span>
|
||||
<a name="l00010"></a>00010 <span class="comment"> #undef malloc</span>
|
||||
<a name="l00011"></a>00011 <span class="comment"> #endif</span>
|
||||
<a name="l00012"></a>00012 <span class="comment"></span>
|
||||
<a name="l00013"></a>00013 <span class="comment"> #ifdef calloc</span>
|
||||
<a name="l00014"></a>00014 <span class="comment"> #undef calloc</span>
|
||||
<a name="l00015"></a>00015 <span class="comment"> #endif</span>
|
||||
<a name="l00016"></a>00016 <span class="comment"></span>
|
||||
<a name="l00017"></a>00017 <span class="comment"> #ifdef free</span>
|
||||
<a name="l00018"></a>00018 <span class="comment"> #undef free</span>
|
||||
<a name="l00019"></a>00019 <span class="comment"> #endif</span>
|
||||
<a name="l00020"></a>00020 <span class="comment"></span>
|
||||
<a name="l00021"></a>00021 <span class="comment"></span>
|
||||
<a name="l00022"></a>00022 <span class="comment"> #define malloc(size) m_alloc(size, __FILE__, __LINE__)</span>
|
||||
<a name="l00023"></a>00023 <span class="comment"> #define calloc(size, num) c_alloc(size, num, __FILE__, __LINE__)</span>
|
||||
<a name="l00024"></a>00024 <span class="comment"> #define free(addr) f_ree(addr)</span>
|
||||
<a name="l00025"></a>00025 <span class="comment">#endif//defined(_WIN32) && defined(_MEM_DEBUG)*/</span>
|
||||
<a name="l00026"></a>00026
|
||||
<a name="l00027"></a>00027
|
||||
<a name="l00028"></a>00028 <span class="preprocessor">#if defined (__ALLOC_C)</span>
|
||||
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor"> #define __ALLOC_EXTERN</span>
|
||||
<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor"> #define __ALLOC_EXTERN extern</span>
|
||||
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#include <<a class="code" href="il_8h.html">IL/il.h</a>></span>
|
||||
<a name="l00034"></a>00034
|
||||
<a name="l00035"></a>00035
|
||||
<a name="l00036"></a>00036 __ALLOC_EXTERN mAlloc ialloc_ptr;
|
||||
<a name="l00037"></a>00037 __ALLOC_EXTERN mFree ifree_ptr;
|
||||
<a name="l00038"></a>00038
|
||||
<a name="l00039"></a>00039
|
||||
<a name="l00040"></a>00040
|
||||
<a name="l00041"></a>00041 <span class="preprocessor">#endif//ALLOC_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,64 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_bits.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_bits.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/25/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_bits.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Implements a file class that reads/writes bits directly.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef BITS_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define BITS_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019
|
||||
<a name="l00020"></a>00020 <span class="comment">// Struct for dealing with reading bits from a file</span>
|
||||
<a name="l00021"></a>00021 <span class="keyword">typedef</span> <span class="keyword">struct </span>BITFILE
|
||||
<a name="l00022"></a>00022 {
|
||||
<a name="l00023"></a>00023 ILHANDLE File;
|
||||
<a name="l00024"></a>00024 ILuint BitPos;
|
||||
<a name="l00025"></a>00025 ILint ByteBitOff;
|
||||
<a name="l00026"></a>00026 ILubyte Buff;
|
||||
<a name="l00027"></a>00027 } BITFILE;
|
||||
<a name="l00028"></a>00028
|
||||
<a name="l00029"></a>00029 <span class="comment">// Functions for reading bits from a file</span>
|
||||
<a name="l00030"></a>00030 <span class="comment">//BITFILE* bopen(const char *FileName, const char *Mode);</span>
|
||||
<a name="l00031"></a>00031 ILint bclose(BITFILE *BitFile);
|
||||
<a name="l00032"></a>00032 BITFILE* bfile(ILHANDLE File);
|
||||
<a name="l00033"></a>00033 ILint btell(BITFILE *BitFile);
|
||||
<a name="l00034"></a>00034 ILint bseek(BITFILE *BitFile, ILuint Offset, ILuint Mode);
|
||||
<a name="l00035"></a>00035 ILint bread(<span class="keywordtype">void</span> *Buffer, ILuint Size, ILuint Number, BITFILE *BitFile);
|
||||
<a name="l00036"></a>00036 <span class="comment">//ILint bwrite(void *Buffer, ILuint Size, ILuint Number, BITFILE *BitFile);</span>
|
||||
<a name="l00037"></a>00037
|
||||
<a name="l00038"></a>00038 <span class="comment">// Useful macros for manipulating bits</span>
|
||||
<a name="l00039"></a>00039 <span class="preprocessor">#define SetBits(var, bits) (var |= bits)</span>
|
||||
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#define ClearBits(var, bits) (var &= ~(bits))</span>
|
||||
<a name="l00041"></a>00041 <span class="preprocessor"></span>
|
||||
<a name="l00042"></a>00042
|
||||
<a name="l00043"></a>00043 <span class="preprocessor">#endif//BITS_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,128 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_bmp.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_bmp.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 09/01/2003 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_bmp.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads and writes to a bitmap (.bmp) file.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef BMP_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define BMP_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor"> #pragma pack(push, bmp_struct, 1)</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>BMPHEAD {
|
||||
<a name="l00023"></a>00023 ILushort bfType;
|
||||
<a name="l00024"></a>00024 ILint bfSize;
|
||||
<a name="l00025"></a>00025 ILuint bfReserved;
|
||||
<a name="l00026"></a>00026 ILint bfDataOff;
|
||||
<a name="l00027"></a>00027 ILint biSize;
|
||||
<a name="l00028"></a>00028 ILint biWidth;
|
||||
<a name="l00029"></a>00029 ILint biHeight;
|
||||
<a name="l00030"></a>00030 ILshort biPlanes;
|
||||
<a name="l00031"></a>00031 ILshort biBitCount;
|
||||
<a name="l00032"></a>00032 ILint biCompression;
|
||||
<a name="l00033"></a>00033 ILint biSizeImage;
|
||||
<a name="l00034"></a>00034 ILint biXPelsPerMeter;
|
||||
<a name="l00035"></a>00035 ILint biYPelsPerMeter;
|
||||
<a name="l00036"></a>00036 ILint biClrUsed;
|
||||
<a name="l00037"></a>00037 ILint biClrImportant;
|
||||
<a name="l00038"></a>00038 } IL_PACKSTRUCT BMPHEAD;
|
||||
<a name="l00039"></a>00039
|
||||
<a name="l00040"></a>00040 <span class="keyword">typedef</span> <span class="keyword">struct </span>OS2_HEAD
|
||||
<a name="l00041"></a>00041 {
|
||||
<a name="l00042"></a>00042 <span class="comment">// Bitmap file header.</span>
|
||||
<a name="l00043"></a>00043 ILushort bfType;
|
||||
<a name="l00044"></a>00044 ILuint biSize;
|
||||
<a name="l00045"></a>00045 ILshort xHotspot;
|
||||
<a name="l00046"></a>00046 ILshort yHotspot;
|
||||
<a name="l00047"></a>00047 ILuint DataOff;
|
||||
<a name="l00048"></a>00048
|
||||
<a name="l00049"></a>00049 <span class="comment">// Bitmap core header.</span>
|
||||
<a name="l00050"></a>00050 ILuint cbFix;
|
||||
<a name="l00051"></a>00051 <span class="comment">//2003-09-01: changed cx, cy to ushort according to MSDN</span>
|
||||
<a name="l00052"></a>00052 ILushort cx;
|
||||
<a name="l00053"></a>00053 ILushort cy;
|
||||
<a name="l00054"></a>00054 ILushort cPlanes;
|
||||
<a name="l00055"></a>00055 ILushort cBitCount;
|
||||
<a name="l00056"></a>00056 } IL_PACKSTRUCT OS2_HEAD;
|
||||
<a name="l00057"></a>00057 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor"> #pragma pack(pop, bmp_struct)</span>
|
||||
<a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00060"></a>00060 <span class="preprocessor"></span>
|
||||
<a name="l00061"></a>00061 <span class="comment">// Internal functions</span>
|
||||
<a name="l00062"></a>00062 ILboolean iGetBmpHead(BMPHEAD * <span class="keyword">const</span> Header);
|
||||
<a name="l00063"></a>00063 ILboolean iGetOS2Head(OS2_HEAD * <span class="keyword">const</span> Header);
|
||||
<a name="l00064"></a>00064 ILboolean iIsValidBmp();
|
||||
<a name="l00065"></a>00065 ILboolean iCheckBmp(<span class="keyword">const</span> BMPHEAD *CONST_RESTRICT Header);
|
||||
<a name="l00066"></a>00066 ILboolean iCheckOS2(<span class="keyword">const</span> OS2_HEAD *CONST_RESTRICT Header);
|
||||
<a name="l00067"></a>00067 ILboolean iLoadBitmapInternal();
|
||||
<a name="l00068"></a>00068 ILboolean iSaveBitmapInternal();
|
||||
<a name="l00069"></a>00069 ILboolean ilReadUncompBmp(BMPHEAD *Info);
|
||||
<a name="l00070"></a>00070 ILboolean ilReadRLE8Bmp(BMPHEAD *Info);
|
||||
<a name="l00071"></a>00071 ILboolean ilReadRLE4Bmp(BMPHEAD *Info);
|
||||
<a name="l00072"></a>00072 ILboolean iGetOS2Bmp(OS2_HEAD *Header);
|
||||
<a name="l00073"></a>00073
|
||||
<a name="l00074"></a>00074 <span class="preprocessor">#ifdef IL_BMP_C</span>
|
||||
<a name="l00075"></a>00075 <span class="preprocessor"></span><span class="preprocessor">#undef NOINLINE</span>
|
||||
<a name="l00076"></a>00076 <span class="preprocessor"></span><span class="preprocessor">#undef INLINE</span>
|
||||
<a name="l00077"></a>00077 <span class="preprocessor"></span><span class="preprocessor">#define INLINE</span>
|
||||
<a name="l00078"></a>00078 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00079"></a>00079 <span class="preprocessor"></span>
|
||||
<a name="l00080"></a>00080 <span class="preprocessor">#ifndef NOINLINE</span>
|
||||
<a name="l00081"></a>00081 <span class="preprocessor"></span>INLINE <span class="keywordtype">void</span> GetShiftFromMask(<span class="keyword">const</span> ILuint Mask, ILuint * CONST_RESTRICT ShiftLeft, ILuint * CONST_RESTRICT ShiftRight) {
|
||||
<a name="l00082"></a>00082 ILuint Temp, i;
|
||||
<a name="l00083"></a>00083
|
||||
<a name="l00084"></a>00084 <span class="keywordflow">if</span>( Mask == 0 ) {
|
||||
<a name="l00085"></a>00085 *ShiftLeft = *ShiftRight = 0;
|
||||
<a name="l00086"></a>00086 <span class="keywordflow">return</span>;
|
||||
<a name="l00087"></a>00087 }
|
||||
<a name="l00088"></a>00088
|
||||
<a name="l00089"></a>00089 Temp = Mask;
|
||||
<a name="l00090"></a>00090 <span class="keywordflow">for</span>( i = 0; i < 32; i++, Temp >>= 1 ) {
|
||||
<a name="l00091"></a>00091 <span class="keywordflow">if</span>( Temp & 1 )
|
||||
<a name="l00092"></a>00092 <span class="keywordflow">break</span>;
|
||||
<a name="l00093"></a>00093 }
|
||||
<a name="l00094"></a>00094 *ShiftRight = i;
|
||||
<a name="l00095"></a>00095
|
||||
<a name="l00096"></a>00096 <span class="comment">// Temp is preserved, so use it again:</span>
|
||||
<a name="l00097"></a>00097 <span class="keywordflow">for</span>( i = 0; i < 8; i++, Temp >>= 1 ) {
|
||||
<a name="l00098"></a>00098 <span class="keywordflow">if</span>( !(Temp & 1) )
|
||||
<a name="l00099"></a>00099 <span class="keywordflow">break</span>;
|
||||
<a name="l00100"></a>00100 }
|
||||
<a name="l00101"></a>00101 *ShiftLeft = 8 - i;
|
||||
<a name="l00102"></a>00102
|
||||
<a name="l00103"></a>00103 <span class="keywordflow">return</span>;
|
||||
<a name="l00104"></a>00104 }
|
||||
<a name="l00105"></a>00105 <span class="preprocessor">#endif</span>
|
||||
<a name="l00106"></a>00106 <span class="preprocessor"></span>
|
||||
<a name="l00107"></a>00107 <span class="preprocessor">#endif//BMP_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,73 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_dcx.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_dcx.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2009 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 02/26/2009</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_dcx.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads from a .dcx file.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef DCX_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define DCX_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019
|
||||
<a name="l00020"></a>00020 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(push, packed_struct, 1)</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>DCXHEAD
|
||||
<a name="l00024"></a>00024 {
|
||||
<a name="l00025"></a>00025 ILubyte Manufacturer;
|
||||
<a name="l00026"></a>00026 ILubyte Version;
|
||||
<a name="l00027"></a>00027 ILubyte Encoding;
|
||||
<a name="l00028"></a>00028 ILubyte Bpp;
|
||||
<a name="l00029"></a>00029 ILushort Xmin, Ymin, Xmax, Ymax;
|
||||
<a name="l00030"></a>00030 ILushort HDpi;
|
||||
<a name="l00031"></a>00031 ILushort VDpi;
|
||||
<a name="l00032"></a>00032 ILubyte ColMap[48];
|
||||
<a name="l00033"></a>00033 ILubyte Reserved;
|
||||
<a name="l00034"></a>00034 ILubyte NumPlanes;
|
||||
<a name="l00035"></a>00035 ILushort Bps;
|
||||
<a name="l00036"></a>00036 ILushort PaletteInfo;
|
||||
<a name="l00037"></a>00037 ILushort HScreenSize;
|
||||
<a name="l00038"></a>00038 ILushort VScreenSize;
|
||||
<a name="l00039"></a>00039 ILubyte Filler[54];
|
||||
<a name="l00040"></a>00040 } IL_PACKSTRUCT DCXHEAD;
|
||||
<a name="l00041"></a>00041 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(pop, packed_struct)</span>
|
||||
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00044"></a>00044 <span class="preprocessor"></span>
|
||||
<a name="l00045"></a>00045 <span class="comment">// For checking and reading</span>
|
||||
<a name="l00046"></a>00046 ILboolean iIsValidDcx(<span class="keywordtype">void</span>);
|
||||
<a name="l00047"></a>00047 ILboolean iCheckDcx(DCXHEAD *Header);
|
||||
<a name="l00048"></a>00048 ILboolean iLoadDcxInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00049"></a>00049 <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* iUncompressDcx(DCXHEAD *Header);
|
||||
<a name="l00050"></a>00050 <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* iUncompressDcxSmall(DCXHEAD *Header);
|
||||
<a name="l00051"></a>00051
|
||||
<a name="l00052"></a>00052 <span class="preprocessor">#endif//PCX_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,242 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_dds.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_dds.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2008 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 12/27/2008</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_dds.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads from a DirectDraw Surface (.dds) file.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef DDS_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define DDS_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019
|
||||
<a name="l00020"></a>00020 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor"> #pragma pack(push, dds_struct, 1)</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>DDSHEAD
|
||||
<a name="l00024"></a>00024 {
|
||||
<a name="l00025"></a>00025 ILbyte Signature[4];
|
||||
<a name="l00026"></a>00026
|
||||
<a name="l00027"></a>00027 ILuint Size1; <span class="comment">// size of the structure (minus MagicNum)</span>
|
||||
<a name="l00028"></a>00028 ILuint Flags1; <span class="comment">// determines what fields are valid</span>
|
||||
<a name="l00029"></a>00029 ILuint Height; <span class="comment">// height of surface to be created</span>
|
||||
<a name="l00030"></a>00030 ILuint Width; <span class="comment">// width of input surface</span>
|
||||
<a name="l00031"></a>00031 ILuint LinearSize; <span class="comment">// Formless late-allocated optimized surface size</span>
|
||||
<a name="l00032"></a>00032 ILuint Depth; <span class="comment">// Depth if a volume texture</span>
|
||||
<a name="l00033"></a>00033 ILuint MipMapCount; <span class="comment">// number of mip-map levels requested</span>
|
||||
<a name="l00034"></a>00034 ILuint AlphaBitDepth; <span class="comment">// depth of alpha buffer requested</span>
|
||||
<a name="l00035"></a>00035
|
||||
<a name="l00036"></a>00036 ILuint NotUsed[10];
|
||||
<a name="l00037"></a>00037
|
||||
<a name="l00038"></a>00038 ILuint Size2; <span class="comment">// size of structure</span>
|
||||
<a name="l00039"></a>00039 ILuint Flags2; <span class="comment">// pixel format flags</span>
|
||||
<a name="l00040"></a>00040 ILuint FourCC; <span class="comment">// (FOURCC code)</span>
|
||||
<a name="l00041"></a>00041 ILuint RGBBitCount; <span class="comment">// how many bits per pixel</span>
|
||||
<a name="l00042"></a>00042 ILuint RBitMask; <span class="comment">// mask for red bit</span>
|
||||
<a name="l00043"></a>00043 ILuint GBitMask; <span class="comment">// mask for green bits</span>
|
||||
<a name="l00044"></a>00044 ILuint BBitMask; <span class="comment">// mask for blue bits</span>
|
||||
<a name="l00045"></a>00045 ILuint RGBAlphaBitMask; <span class="comment">// mask for alpha channel</span>
|
||||
<a name="l00046"></a>00046
|
||||
<a name="l00047"></a>00047 ILuint ddsCaps1, ddsCaps2, ddsCaps3, ddsCaps4; <span class="comment">// direct draw surface capabilities</span>
|
||||
<a name="l00048"></a>00048 ILuint TextureStage;
|
||||
<a name="l00049"></a>00049 } IL_PACKSTRUCT DDSHEAD;
|
||||
<a name="l00050"></a>00050 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor"> #pragma pack(pop, dds_struct)</span>
|
||||
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00053"></a>00053 <span class="preprocessor"></span>
|
||||
<a name="l00054"></a>00054
|
||||
<a name="l00055"></a>00055
|
||||
<a name="l00056"></a>00056 <span class="comment">// use cast to struct instead of RGBA_MAKE as struct is</span>
|
||||
<a name="l00057"></a>00057 <span class="comment">// much</span>
|
||||
<a name="l00058"></a>00058 <span class="keyword">typedef</span> <span class="keyword">struct </span>Color8888
|
||||
<a name="l00059"></a>00059 {
|
||||
<a name="l00060"></a>00060 ILubyte r; <span class="comment">// change the order of names to change the </span>
|
||||
<a name="l00061"></a>00061 ILubyte g; <span class="comment">// order of the output ARGB or BGRA, etc...</span>
|
||||
<a name="l00062"></a>00062 ILubyte b; <span class="comment">// Last one is MSB, 1st is LSB.</span>
|
||||
<a name="l00063"></a>00063 ILubyte a;
|
||||
<a name="l00064"></a>00064 } Color8888;
|
||||
<a name="l00065"></a>00065
|
||||
<a name="l00066"></a>00066
|
||||
<a name="l00067"></a>00067 <span class="keyword">typedef</span> <span class="keyword">struct </span>Color888
|
||||
<a name="l00068"></a>00068 {
|
||||
<a name="l00069"></a>00069 ILubyte r; <span class="comment">// change the order of names to change the </span>
|
||||
<a name="l00070"></a>00070 ILubyte g; <span class="comment">// order of the output ARGB or BGRA, etc...</span>
|
||||
<a name="l00071"></a>00071 ILubyte b; <span class="comment">// Last one is MSB, 1st is LSB.</span>
|
||||
<a name="l00072"></a>00072 } Color888;
|
||||
<a name="l00073"></a>00073
|
||||
<a name="l00074"></a>00074
|
||||
<a name="l00075"></a>00075 <span class="keyword">typedef</span> <span class="keyword">struct </span>Color565
|
||||
<a name="l00076"></a>00076 {
|
||||
<a name="l00077"></a>00077 <span class="keywordtype">unsigned</span> nBlue : 5; <span class="comment">// order of names changes</span>
|
||||
<a name="l00078"></a>00078 <span class="keywordtype">unsigned</span> nGreen : 6; <span class="comment">// byte order of output to 32 bit</span>
|
||||
<a name="l00079"></a>00079 <span class="keywordtype">unsigned</span> nRed : 5;
|
||||
<a name="l00080"></a>00080 } Color565;
|
||||
<a name="l00081"></a>00081
|
||||
<a name="l00082"></a>00082
|
||||
<a name="l00083"></a>00083 <span class="keyword">typedef</span> <span class="keyword">struct </span>DXTColBlock
|
||||
<a name="l00084"></a>00084 {
|
||||
<a name="l00085"></a>00085 ILshort col0;
|
||||
<a name="l00086"></a>00086 ILshort col1;
|
||||
<a name="l00087"></a>00087
|
||||
<a name="l00088"></a>00088 <span class="comment">// no bit fields - use bytes</span>
|
||||
<a name="l00089"></a>00089 ILbyte row[4];
|
||||
<a name="l00090"></a>00090 } DXTColBlock;
|
||||
<a name="l00091"></a>00091
|
||||
<a name="l00092"></a>00092 <span class="keyword">typedef</span> <span class="keyword">struct </span>DXTAlphaBlockExplicit
|
||||
<a name="l00093"></a>00093 {
|
||||
<a name="l00094"></a>00094 ILshort row[4];
|
||||
<a name="l00095"></a>00095 } DXTAlphaBlockExplicit;
|
||||
<a name="l00096"></a>00096
|
||||
<a name="l00097"></a>00097 <span class="keyword">typedef</span> <span class="keyword">struct </span>DXTAlphaBlock3BitLinear
|
||||
<a name="l00098"></a>00098 {
|
||||
<a name="l00099"></a>00099 ILbyte alpha0;
|
||||
<a name="l00100"></a>00100 ILbyte alpha1;
|
||||
<a name="l00101"></a>00101
|
||||
<a name="l00102"></a>00102 ILbyte stuff[6];
|
||||
<a name="l00103"></a>00103 } DXTAlphaBlock3BitLinear;
|
||||
<a name="l00104"></a>00104
|
||||
<a name="l00105"></a>00105
|
||||
<a name="l00106"></a>00106 <span class="comment">// Defines</span>
|
||||
<a name="l00107"></a>00107
|
||||
<a name="l00108"></a>00108 <span class="comment">//Those 4 were added on 20040516 to make</span>
|
||||
<a name="l00109"></a>00109 <span class="comment">//the written dds files more standard compliant</span>
|
||||
<a name="l00110"></a>00110 <span class="preprocessor">#define DDS_CAPS 0x00000001L</span>
|
||||
<a name="l00111"></a>00111 <span class="preprocessor"></span><span class="preprocessor">#define DDS_HEIGHT 0x00000002L</span>
|
||||
<a name="l00112"></a>00112 <span class="preprocessor"></span><span class="preprocessor">#define DDS_WIDTH 0x00000004L</span>
|
||||
<a name="l00113"></a>00113 <span class="preprocessor"></span>
|
||||
<a name="l00114"></a>00114 <span class="preprocessor">#define DDS_RGB 0x00000040L</span>
|
||||
<a name="l00115"></a>00115 <span class="preprocessor"></span><span class="preprocessor">#define DDS_PIXELFORMAT 0x00001000L</span>
|
||||
<a name="l00116"></a>00116 <span class="preprocessor"></span>
|
||||
<a name="l00117"></a>00117 <span class="preprocessor">#define DDS_LUMINANCE 0x00020000L</span>
|
||||
<a name="l00118"></a>00118 <span class="preprocessor"></span>
|
||||
<a name="l00119"></a>00119 <span class="preprocessor">#define DDS_ALPHAPIXELS 0x00000001L</span>
|
||||
<a name="l00120"></a>00120 <span class="preprocessor"></span><span class="preprocessor">#define DDS_ALPHA 0x00000002L</span>
|
||||
<a name="l00121"></a>00121 <span class="preprocessor"></span><span class="preprocessor">#define DDS_FOURCC 0x00000004L</span>
|
||||
<a name="l00122"></a>00122 <span class="preprocessor"></span><span class="preprocessor">#define DDS_PITCH 0x00000008L</span>
|
||||
<a name="l00123"></a>00123 <span class="preprocessor"></span><span class="preprocessor">#define DDS_COMPLEX 0x00000008L</span>
|
||||
<a name="l00124"></a>00124 <span class="preprocessor"></span><span class="preprocessor">#define DDS_TEXTURE 0x00001000L</span>
|
||||
<a name="l00125"></a>00125 <span class="preprocessor"></span><span class="preprocessor">#define DDS_MIPMAPCOUNT 0x00020000L</span>
|
||||
<a name="l00126"></a>00126 <span class="preprocessor"></span><span class="preprocessor">#define DDS_LINEARSIZE 0x00080000L</span>
|
||||
<a name="l00127"></a>00127 <span class="preprocessor"></span><span class="preprocessor">#define DDS_VOLUME 0x00200000L</span>
|
||||
<a name="l00128"></a>00128 <span class="preprocessor"></span><span class="preprocessor">#define DDS_MIPMAP 0x00400000L</span>
|
||||
<a name="l00129"></a>00129 <span class="preprocessor"></span><span class="preprocessor">#define DDS_DEPTH 0x00800000L</span>
|
||||
<a name="l00130"></a>00130 <span class="preprocessor"></span>
|
||||
<a name="l00131"></a>00131 <span class="preprocessor">#define DDS_CUBEMAP 0x00000200L</span>
|
||||
<a name="l00132"></a>00132 <span class="preprocessor"></span><span class="preprocessor">#define DDS_CUBEMAP_POSITIVEX 0x00000400L</span>
|
||||
<a name="l00133"></a>00133 <span class="preprocessor"></span><span class="preprocessor">#define DDS_CUBEMAP_NEGATIVEX 0x00000800L</span>
|
||||
<a name="l00134"></a>00134 <span class="preprocessor"></span><span class="preprocessor">#define DDS_CUBEMAP_POSITIVEY 0x00001000L</span>
|
||||
<a name="l00135"></a>00135 <span class="preprocessor"></span><span class="preprocessor">#define DDS_CUBEMAP_NEGATIVEY 0x00002000L</span>
|
||||
<a name="l00136"></a>00136 <span class="preprocessor"></span><span class="preprocessor">#define DDS_CUBEMAP_POSITIVEZ 0x00004000L</span>
|
||||
<a name="l00137"></a>00137 <span class="preprocessor"></span><span class="preprocessor">#define DDS_CUBEMAP_NEGATIVEZ 0x00008000L</span>
|
||||
<a name="l00138"></a>00138 <span class="preprocessor"></span>
|
||||
<a name="l00139"></a>00139
|
||||
<a name="l00140"></a>00140 <span class="preprocessor">#define IL_MAKEFOURCC(ch0, ch1, ch2, ch3) \</span>
|
||||
<a name="l00141"></a>00141 <span class="preprocessor"> ((ILint)(ILbyte)(ch0) | ((ILint)(ILbyte)(ch1) << 8) | \</span>
|
||||
<a name="l00142"></a>00142 <span class="preprocessor"> ((ILint)(ILbyte)(ch2) << 16) | ((ILint)(ILbyte)(ch3) << 24 ))</span>
|
||||
<a name="l00143"></a>00143 <span class="preprocessor"></span>
|
||||
<a name="l00144"></a>00144 <span class="keyword">enum</span> PixFormat
|
||||
<a name="l00145"></a>00145 {
|
||||
<a name="l00146"></a>00146 PF_ARGB,
|
||||
<a name="l00147"></a>00147 PF_RGB,
|
||||
<a name="l00148"></a>00148 PF_DXT1,
|
||||
<a name="l00149"></a>00149 PF_DXT2,
|
||||
<a name="l00150"></a>00150 PF_DXT3,
|
||||
<a name="l00151"></a>00151 PF_DXT4,
|
||||
<a name="l00152"></a>00152 PF_DXT5,
|
||||
<a name="l00153"></a>00153 PF_3DC,
|
||||
<a name="l00154"></a>00154 PF_ATI1N,
|
||||
<a name="l00155"></a>00155 PF_LUMINANCE,
|
||||
<a name="l00156"></a>00156 PF_LUMINANCE_ALPHA,
|
||||
<a name="l00157"></a>00157 PF_RXGB, <span class="comment">//Doom3 normal maps</span>
|
||||
<a name="l00158"></a>00158 PF_A16B16G16R16,
|
||||
<a name="l00159"></a>00159 PF_R16F,
|
||||
<a name="l00160"></a>00160 PF_G16R16F,
|
||||
<a name="l00161"></a>00161 PF_A16B16G16R16F,
|
||||
<a name="l00162"></a>00162 PF_R32F,
|
||||
<a name="l00163"></a>00163 PF_G32R32F,
|
||||
<a name="l00164"></a>00164 PF_A32B32G32R32F,
|
||||
<a name="l00165"></a>00165 PF_UNKNOWN = 0xFF
|
||||
<a name="l00166"></a>00166 };
|
||||
<a name="l00167"></a>00167
|
||||
<a name="l00168"></a>00168 <span class="preprocessor">#define CUBEMAP_SIDES 6</span>
|
||||
<a name="l00169"></a>00169 <span class="preprocessor"></span>
|
||||
<a name="l00170"></a>00170 <span class="comment">// Internal functions</span>
|
||||
<a name="l00171"></a>00171 ILboolean iLoadDdsInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00172"></a>00172 ILboolean iIsValidDds(<span class="keywordtype">void</span>);
|
||||
<a name="l00173"></a>00173 ILboolean iCheckDds(DDSHEAD *Head);
|
||||
<a name="l00174"></a>00174 <span class="keywordtype">void</span> AdjustVolumeTexture(DDSHEAD *Head, ILuint CompFormat);
|
||||
<a name="l00175"></a>00175 ILboolean ReadData();
|
||||
<a name="l00176"></a>00176 ILboolean AllocImage(ILuint CompFormat);
|
||||
<a name="l00177"></a>00177 ILboolean DdsDecompress(ILuint CompFormat);
|
||||
<a name="l00178"></a>00178 ILboolean ReadMipmaps(ILuint CompFormat);
|
||||
<a name="l00179"></a>00179 ILuint DecodePixelFormat();
|
||||
<a name="l00180"></a>00180 <span class="keywordtype">void</span> DxtcReadColor(ILushort Data, Color8888* Out);
|
||||
<a name="l00181"></a>00181 <span class="keywordtype">void</span> DxtcReadColors(<span class="keyword">const</span> ILubyte* Data, Color8888* Out);
|
||||
<a name="l00182"></a>00182 ILboolean DecompressARGB(ILuint CompFormat);
|
||||
<a name="l00183"></a>00183 ILboolean DecompressARGB16(ILuint CompFormat);
|
||||
<a name="l00184"></a>00184 ILboolean DecompressDXT1(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *lImage, ILubyte *lCompData);
|
||||
<a name="l00185"></a>00185 ILboolean DecompressDXT2(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *lImage, ILubyte *lCompData);
|
||||
<a name="l00186"></a>00186 ILboolean DecompressDXT3(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *lImage, ILubyte *lCompData);
|
||||
<a name="l00187"></a>00187 ILboolean DecompressDXT4(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *lImage, ILubyte *lCompData);
|
||||
<a name="l00188"></a>00188 ILboolean DecompressDXT5(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *lImage, ILubyte *lCompData);
|
||||
<a name="l00189"></a>00189 ILboolean Decompress3Dc();
|
||||
<a name="l00190"></a>00190 ILboolean DecompressAti1n();
|
||||
<a name="l00191"></a>00191 ILboolean DecompressRXGB();
|
||||
<a name="l00192"></a>00192 ILboolean iConvFloat16ToFloat32(ILuint* dest, ILushort* src, ILuint size);
|
||||
<a name="l00193"></a>00193 ILboolean DecompressFloat(ILuint lCompFormat);
|
||||
<a name="l00194"></a>00194 <span class="keywordtype">void</span> CorrectPreMult();
|
||||
<a name="l00195"></a>00195 <span class="keywordtype">void</span> GetBitsFromMask(ILuint Mask, ILuint *ShiftLeft, ILuint *ShiftRight);
|
||||
<a name="l00196"></a>00196 ILboolean iSaveDdsInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00197"></a>00197 ILboolean WriteHeader(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image, ILenum DXTCFormat, ILuint CubeFlags);
|
||||
<a name="l00198"></a>00198 ILushort *CompressTo565(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image);
|
||||
<a name="l00199"></a>00199 ILubyte *CompressTo88(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image);
|
||||
<a name="l00200"></a>00200 ILuint Compress(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image, ILenum DXTCFormat);
|
||||
<a name="l00201"></a>00201 ILboolean GetBlock(ILushort *Block, ILushort *Data, <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image, ILuint XPos, ILuint YPos);
|
||||
<a name="l00202"></a>00202 ILboolean GetAlphaBlock(ILubyte *Block, ILubyte *Data, <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image, ILuint XPos, ILuint YPos);
|
||||
<a name="l00203"></a>00203 ILboolean Get3DcBlock(ILubyte *Block, ILubyte *Data, <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image, ILuint XPos, ILuint YPos, <span class="keywordtype">int</span> channel);
|
||||
<a name="l00204"></a>00204 <span class="keywordtype">void</span> ShortToColor565(ILushort Pixel, Color565 *Colour);
|
||||
<a name="l00205"></a>00205 <span class="keywordtype">void</span> ShortToColor888(ILushort Pixel, Color888 *Colour);
|
||||
<a name="l00206"></a>00206 ILushort Color565ToShort(Color565 *Colour);
|
||||
<a name="l00207"></a>00207 ILushort Color888ToShort(Color888 *Colour);
|
||||
<a name="l00208"></a>00208 ILuint GenBitMask(ILushort ex0, ILushort ex1, ILuint NumCols, ILushort *In, ILubyte *Alpha, Color888 *OutCol);
|
||||
<a name="l00209"></a>00209 <span class="keywordtype">void</span> GenAlphaBitMask(ILubyte a0, ILubyte a1, ILubyte *In, ILubyte *Mask, ILubyte *Out);
|
||||
<a name="l00210"></a>00210 ILuint RMSAlpha(ILubyte *Orig, ILubyte *Test);
|
||||
<a name="l00211"></a>00211 ILuint Distance(Color888 *c1, Color888 *c2);
|
||||
<a name="l00212"></a>00212 <span class="keywordtype">void</span> ChooseEndpoints(ILushort *Block, ILushort *ex0, ILushort *ex1);
|
||||
<a name="l00213"></a>00213 <span class="keywordtype">void</span> ChooseAlphaEndpoints(ILubyte *Block, ILubyte *a0, ILubyte *a1);
|
||||
<a name="l00214"></a>00214 <span class="keywordtype">void</span> CorrectEndDXT1(ILushort *ex0, ILushort *ex1, ILboolean HasAlpha);
|
||||
<a name="l00215"></a>00215 <span class="keywordtype">void</span> PreMult(ILushort *Data, ILubyte *Alpha);
|
||||
<a name="l00216"></a>00216
|
||||
<a name="l00217"></a>00217
|
||||
<a name="l00218"></a>00218 <span class="keyword">extern</span> ILuint CubemapDirections[CUBEMAP_SIDES];
|
||||
<a name="l00219"></a>00219
|
||||
<a name="l00220"></a>00220
|
||||
<a name="l00221"></a>00221 <span class="preprocessor">#endif//DDS_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,297 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_doompal.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_doompal.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/25/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_doompal.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: The default Doom palette</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef DOOMPAL_H</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define DOOMPAL_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor">#define IL_DOOMPAL_SIZE 768</span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor"></span>ILubyte ilDefaultDoomPal[IL_DOOMPAL_SIZE] = {
|
||||
<a name="l00018"></a>00018 0, 0, 0,
|
||||
<a name="l00019"></a>00019 31, 23, 11,
|
||||
<a name="l00020"></a>00020 23, 15, 7,
|
||||
<a name="l00021"></a>00021 75, 75, 75,
|
||||
<a name="l00022"></a>00022 255, 255, 255,
|
||||
<a name="l00023"></a>00023 27, 27, 27,
|
||||
<a name="l00024"></a>00024 19, 19, 19,
|
||||
<a name="l00025"></a>00025 11, 11, 11,
|
||||
<a name="l00026"></a>00026 7, 7, 7,
|
||||
<a name="l00027"></a>00027 47, 55, 31,
|
||||
<a name="l00028"></a>00028 35, 43, 15,
|
||||
<a name="l00029"></a>00029 23, 31, 7,
|
||||
<a name="l00030"></a>00030 15, 23, 0,
|
||||
<a name="l00031"></a>00031 79, 59, 43,
|
||||
<a name="l00032"></a>00032 71, 51, 35,
|
||||
<a name="l00033"></a>00033 63, 43, 27,
|
||||
<a name="l00034"></a>00034 255, 183, 183,
|
||||
<a name="l00035"></a>00035 247, 171, 171,
|
||||
<a name="l00036"></a>00036 243, 163, 163,
|
||||
<a name="l00037"></a>00037 235, 151, 151,
|
||||
<a name="l00038"></a>00038 231, 143, 143,
|
||||
<a name="l00039"></a>00039 223, 135, 135,
|
||||
<a name="l00040"></a>00040 219, 123, 123,
|
||||
<a name="l00041"></a>00041 211, 115, 115,
|
||||
<a name="l00042"></a>00042 203, 107, 107,
|
||||
<a name="l00043"></a>00043 199, 99, 99,
|
||||
<a name="l00044"></a>00044 191, 91, 91,
|
||||
<a name="l00045"></a>00045 187, 87, 87,
|
||||
<a name="l00046"></a>00046 179, 79, 79,
|
||||
<a name="l00047"></a>00047 175, 71, 71,
|
||||
<a name="l00048"></a>00048 167, 63, 63,
|
||||
<a name="l00049"></a>00049 163, 59, 59,
|
||||
<a name="l00050"></a>00050 155, 51, 51,
|
||||
<a name="l00051"></a>00051 151, 47, 47,
|
||||
<a name="l00052"></a>00052 143, 43, 43,
|
||||
<a name="l00053"></a>00053 139, 35, 35,
|
||||
<a name="l00054"></a>00054 131, 31, 31,
|
||||
<a name="l00055"></a>00055 127, 27, 27,
|
||||
<a name="l00056"></a>00056 119, 23, 23,
|
||||
<a name="l00057"></a>00057 115, 19, 19,
|
||||
<a name="l00058"></a>00058 107, 15, 15,
|
||||
<a name="l00059"></a>00059 103, 11, 11,
|
||||
<a name="l00060"></a>00060 95, 7, 7,
|
||||
<a name="l00061"></a>00061 91, 7, 7,
|
||||
<a name="l00062"></a>00062 83, 7, 7,
|
||||
<a name="l00063"></a>00063 79, 0, 0,
|
||||
<a name="l00064"></a>00064 71, 0, 0,
|
||||
<a name="l00065"></a>00065 67, 0, 0,
|
||||
<a name="l00066"></a>00066 255, 235, 223,
|
||||
<a name="l00067"></a>00067 255, 227, 211,
|
||||
<a name="l00068"></a>00068 255, 219, 199,
|
||||
<a name="l00069"></a>00069 255, 211, 187,
|
||||
<a name="l00070"></a>00070 255, 207, 179,
|
||||
<a name="l00071"></a>00071 255, 199, 167,
|
||||
<a name="l00072"></a>00072 255, 191, 155,
|
||||
<a name="l00073"></a>00073 255, 187, 147,
|
||||
<a name="l00074"></a>00074 255, 179, 131,
|
||||
<a name="l00075"></a>00075 247, 171, 123,
|
||||
<a name="l00076"></a>00076 239, 163, 115,
|
||||
<a name="l00077"></a>00077 231, 155, 107,
|
||||
<a name="l00078"></a>00078 223, 147, 99,
|
||||
<a name="l00079"></a>00079 215, 139, 91,
|
||||
<a name="l00080"></a>00080 207, 131, 83,
|
||||
<a name="l00081"></a>00081 203, 127, 79,
|
||||
<a name="l00082"></a>00082 191, 123, 75,
|
||||
<a name="l00083"></a>00083 179, 115, 71,
|
||||
<a name="l00084"></a>00084 171, 111, 67,
|
||||
<a name="l00085"></a>00085 163, 107, 63,
|
||||
<a name="l00086"></a>00086 155, 99, 59,
|
||||
<a name="l00087"></a>00087 143, 95, 55,
|
||||
<a name="l00088"></a>00088 135, 87, 51,
|
||||
<a name="l00089"></a>00089 127, 83, 47,
|
||||
<a name="l00090"></a>00090 119, 79, 43,
|
||||
<a name="l00091"></a>00091 107, 71, 39,
|
||||
<a name="l00092"></a>00092 95, 67, 35,
|
||||
<a name="l00093"></a>00093 83, 63, 31,
|
||||
<a name="l00094"></a>00094 75, 55, 27,
|
||||
<a name="l00095"></a>00095 63, 47, 23,
|
||||
<a name="l00096"></a>00096 51, 43, 19,
|
||||
<a name="l00097"></a>00097 43, 35, 15,
|
||||
<a name="l00098"></a>00098 239, 239, 239,
|
||||
<a name="l00099"></a>00099 231, 231, 231,
|
||||
<a name="l00100"></a>00100 223, 223, 223,
|
||||
<a name="l00101"></a>00101 219, 219, 219,
|
||||
<a name="l00102"></a>00102 211, 211, 211,
|
||||
<a name="l00103"></a>00103 203, 203, 203,
|
||||
<a name="l00104"></a>00104 199, 199, 199,
|
||||
<a name="l00105"></a>00105 191, 191, 191,
|
||||
<a name="l00106"></a>00106 183, 183, 183,
|
||||
<a name="l00107"></a>00107 179, 179, 179,
|
||||
<a name="l00108"></a>00108 171, 171, 171,
|
||||
<a name="l00109"></a>00109 167, 167, 167,
|
||||
<a name="l00110"></a>00110 159, 159, 159,
|
||||
<a name="l00111"></a>00111 151, 151, 151,
|
||||
<a name="l00112"></a>00112 147, 147, 147,
|
||||
<a name="l00113"></a>00113 139, 139, 139,
|
||||
<a name="l00114"></a>00114 131, 131, 131,
|
||||
<a name="l00115"></a>00115 127, 127, 127,
|
||||
<a name="l00116"></a>00116 119, 119, 119,
|
||||
<a name="l00117"></a>00117 111, 111, 111,
|
||||
<a name="l00118"></a>00118 107, 107, 107,
|
||||
<a name="l00119"></a>00119 99, 99, 99,
|
||||
<a name="l00120"></a>00120 91, 91, 91,
|
||||
<a name="l00121"></a>00121 87, 87, 87,
|
||||
<a name="l00122"></a>00122 79, 79, 79,
|
||||
<a name="l00123"></a>00123 71, 71, 71,
|
||||
<a name="l00124"></a>00124 67, 67, 67,
|
||||
<a name="l00125"></a>00125 59, 59, 59,
|
||||
<a name="l00126"></a>00126 55, 55, 55,
|
||||
<a name="l00127"></a>00127 47, 47, 47,
|
||||
<a name="l00128"></a>00128 39, 39, 39,
|
||||
<a name="l00129"></a>00129 35, 35, 35,
|
||||
<a name="l00130"></a>00130 119, 255, 111,
|
||||
<a name="l00131"></a>00131 111, 239, 103,
|
||||
<a name="l00132"></a>00132 103, 223, 95,
|
||||
<a name="l00133"></a>00133 95, 207, 87,
|
||||
<a name="l00134"></a>00134 91, 191, 79,
|
||||
<a name="l00135"></a>00135 83, 175, 71,
|
||||
<a name="l00136"></a>00136 75, 159, 63,
|
||||
<a name="l00137"></a>00137 67, 147, 55,
|
||||
<a name="l00138"></a>00138 63, 131, 47,
|
||||
<a name="l00139"></a>00139 55, 115, 43,
|
||||
<a name="l00140"></a>00140 47, 99, 35,
|
||||
<a name="l00141"></a>00141 39, 83, 27,
|
||||
<a name="l00142"></a>00142 31, 67, 23,
|
||||
<a name="l00143"></a>00143 23, 51, 15,
|
||||
<a name="l00144"></a>00144 19, 35, 11,
|
||||
<a name="l00145"></a>00145 11, 23, 7,
|
||||
<a name="l00146"></a>00146 191, 167, 143,
|
||||
<a name="l00147"></a>00147 183, 159, 135,
|
||||
<a name="l00148"></a>00148 175, 151, 127,
|
||||
<a name="l00149"></a>00149 167, 143, 119,
|
||||
<a name="l00150"></a>00150 159, 135, 111,
|
||||
<a name="l00151"></a>00151 155, 127, 107,
|
||||
<a name="l00152"></a>00152 147, 123, 99,
|
||||
<a name="l00153"></a>00153 139, 115, 91,
|
||||
<a name="l00154"></a>00154 131, 107, 87,
|
||||
<a name="l00155"></a>00155 123, 99, 79,
|
||||
<a name="l00156"></a>00156 119, 95, 75,
|
||||
<a name="l00157"></a>00157 111, 87, 67,
|
||||
<a name="l00158"></a>00158 103, 83, 63,
|
||||
<a name="l00159"></a>00159 95, 75, 55,
|
||||
<a name="l00160"></a>00160 87, 67, 51,
|
||||
<a name="l00161"></a>00161 83, 63, 47,
|
||||
<a name="l00162"></a>00162 159, 131, 99,
|
||||
<a name="l00163"></a>00163 143, 119, 83,
|
||||
<a name="l00164"></a>00164 131, 107, 75,
|
||||
<a name="l00165"></a>00165 119, 95, 63,
|
||||
<a name="l00166"></a>00166 103, 83, 51,
|
||||
<a name="l00167"></a>00167 91, 71, 43,
|
||||
<a name="l00168"></a>00168 79, 59, 35,
|
||||
<a name="l00169"></a>00169 67, 51, 27,
|
||||
<a name="l00170"></a>00170 123, 127, 99,
|
||||
<a name="l00171"></a>00171 111, 115, 87,
|
||||
<a name="l00172"></a>00172 103, 107, 79,
|
||||
<a name="l00173"></a>00173 91, 99, 71,
|
||||
<a name="l00174"></a>00174 83, 87, 59,
|
||||
<a name="l00175"></a>00175 71, 79, 51,
|
||||
<a name="l00176"></a>00176 63, 71, 43,
|
||||
<a name="l00177"></a>00177 55, 63, 39,
|
||||
<a name="l00178"></a>00178 255, 255, 115,
|
||||
<a name="l00179"></a>00179 235, 219, 87,
|
||||
<a name="l00180"></a>00180 215, 187, 67,
|
||||
<a name="l00181"></a>00181 195, 155, 47,
|
||||
<a name="l00182"></a>00182 175, 123, 31,
|
||||
<a name="l00183"></a>00183 155, 91, 19,
|
||||
<a name="l00184"></a>00184 135, 67, 7,
|
||||
<a name="l00185"></a>00185 115, 43, 0,
|
||||
<a name="l00186"></a>00186 255, 255, 255,
|
||||
<a name="l00187"></a>00187 255, 219, 219,
|
||||
<a name="l00188"></a>00188 255, 187, 187,
|
||||
<a name="l00189"></a>00189 255, 155, 155,
|
||||
<a name="l00190"></a>00190 255, 123, 123,
|
||||
<a name="l00191"></a>00191 255, 95, 95,
|
||||
<a name="l00192"></a>00192 255, 63, 63,
|
||||
<a name="l00193"></a>00193 255, 31, 31,
|
||||
<a name="l00194"></a>00194 255, 0, 0,
|
||||
<a name="l00195"></a>00195 239, 0, 0,
|
||||
<a name="l00196"></a>00196 227, 0, 0,
|
||||
<a name="l00197"></a>00197 215, 0, 0,
|
||||
<a name="l00198"></a>00198 203, 0, 0,
|
||||
<a name="l00199"></a>00199 191, 0, 0,
|
||||
<a name="l00200"></a>00200 179, 0, 0,
|
||||
<a name="l00201"></a>00201 167, 0, 0,
|
||||
<a name="l00202"></a>00202 155, 0, 0,
|
||||
<a name="l00203"></a>00203 139, 0, 0,
|
||||
<a name="l00204"></a>00204 127, 0, 0,
|
||||
<a name="l00205"></a>00205 115, 0, 0,
|
||||
<a name="l00206"></a>00206 103, 0, 0,
|
||||
<a name="l00207"></a>00207 91, 0, 0,
|
||||
<a name="l00208"></a>00208 79, 0, 0,
|
||||
<a name="l00209"></a>00209 67, 0, 0,
|
||||
<a name="l00210"></a>00210 231, 231, 255,
|
||||
<a name="l00211"></a>00211 199, 199, 255,
|
||||
<a name="l00212"></a>00212 171, 171, 255,
|
||||
<a name="l00213"></a>00213 143, 143, 255,
|
||||
<a name="l00214"></a>00214 115, 115, 255,
|
||||
<a name="l00215"></a>00215 83, 83, 255,
|
||||
<a name="l00216"></a>00216 55, 55, 255,
|
||||
<a name="l00217"></a>00217 27, 27, 255,
|
||||
<a name="l00218"></a>00218 0, 0, 255,
|
||||
<a name="l00219"></a>00219 0, 0, 227,
|
||||
<a name="l00220"></a>00220 0, 0, 203,
|
||||
<a name="l00221"></a>00221 0, 0, 179,
|
||||
<a name="l00222"></a>00222 0, 0, 155,
|
||||
<a name="l00223"></a>00223 0, 0, 131,
|
||||
<a name="l00224"></a>00224 0, 0, 107,
|
||||
<a name="l00225"></a>00225 0, 0, 83,
|
||||
<a name="l00226"></a>00226 255, 255, 255,
|
||||
<a name="l00227"></a>00227 255, 235, 219,
|
||||
<a name="l00228"></a>00228 255, 215, 187,
|
||||
<a name="l00229"></a>00229 255, 199, 155,
|
||||
<a name="l00230"></a>00230 255, 179, 123,
|
||||
<a name="l00231"></a>00231 255, 163, 91,
|
||||
<a name="l00232"></a>00232 255, 143, 59,
|
||||
<a name="l00233"></a>00233 255, 127, 27,
|
||||
<a name="l00234"></a>00234 243, 115, 23,
|
||||
<a name="l00235"></a>00235 235, 111, 15,
|
||||
<a name="l00236"></a>00236 223, 103, 15,
|
||||
<a name="l00237"></a>00237 215, 95, 11,
|
||||
<a name="l00238"></a>00238 203, 87, 7,
|
||||
<a name="l00239"></a>00239 195, 79, 0,
|
||||
<a name="l00240"></a>00240 183, 71, 0,
|
||||
<a name="l00241"></a>00241 175, 67, 0,
|
||||
<a name="l00242"></a>00242 255, 255, 255,
|
||||
<a name="l00243"></a>00243 255, 255, 215,
|
||||
<a name="l00244"></a>00244 255, 255, 179,
|
||||
<a name="l00245"></a>00245 255, 255, 143,
|
||||
<a name="l00246"></a>00246 255, 255, 107,
|
||||
<a name="l00247"></a>00247 255, 255, 71,
|
||||
<a name="l00248"></a>00248 255, 255, 35,
|
||||
<a name="l00249"></a>00249 255, 255, 0,
|
||||
<a name="l00250"></a>00250 167, 63, 0,
|
||||
<a name="l00251"></a>00251 159, 55, 0,
|
||||
<a name="l00252"></a>00252 147, 47, 0,
|
||||
<a name="l00253"></a>00253 135, 35, 0,
|
||||
<a name="l00254"></a>00254 79, 59, 39,
|
||||
<a name="l00255"></a>00255 67, 47, 27,
|
||||
<a name="l00256"></a>00256 55, 35, 19,
|
||||
<a name="l00257"></a>00257 47, 27, 11,
|
||||
<a name="l00258"></a>00258 0, 0, 83,
|
||||
<a name="l00259"></a>00259 0, 0, 71,
|
||||
<a name="l00260"></a>00260 0, 0, 59,
|
||||
<a name="l00261"></a>00261 0, 0, 47,
|
||||
<a name="l00262"></a>00262 0, 0, 35,
|
||||
<a name="l00263"></a>00263 0, 0, 23,
|
||||
<a name="l00264"></a>00264 0, 0, 11,
|
||||
<a name="l00265"></a>00265 0, 255, 255,
|
||||
<a name="l00266"></a>00266 255, 159, 67,
|
||||
<a name="l00267"></a>00267 255, 231, 75,
|
||||
<a name="l00268"></a>00268 255, 123, 255,
|
||||
<a name="l00269"></a>00269 255, 0, 255,
|
||||
<a name="l00270"></a>00270 207, 0, 207,
|
||||
<a name="l00271"></a>00271 159, 0, 155,
|
||||
<a name="l00272"></a>00272 111, 0, 107,
|
||||
<a name="l00273"></a>00273 167, 107, 107
|
||||
<a name="l00274"></a>00274 };
|
||||
<a name="l00275"></a>00275
|
||||
<a name="l00276"></a>00276 <span class="preprocessor">#endif//DOOMPAL_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,171 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_dpx.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_dpx.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2009 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 02/26/2009</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_dpx.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads from a Digital Picture Exchange (.dpx) file.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">// Specifications for this format were found at</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">// http://www.cineon.com/ff_draft.php and</span>
|
||||
<a name="l00012"></a>00012 <span class="comment">// http://www.fileformat.info/format/dpx/.</span>
|
||||
<a name="l00013"></a>00013 <span class="comment">//</span>
|
||||
<a name="l00014"></a>00014 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00015"></a>00015
|
||||
<a name="l00016"></a>00016
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#ifndef DPX_H</span>
|
||||
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define DPX_H</span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor"></span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00021"></a>00021
|
||||
<a name="l00022"></a>00022
|
||||
<a name="l00023"></a>00023 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(push, packed_struct, 1)</span>
|
||||
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>R32
|
||||
<a name="l00027"></a>00027 {
|
||||
<a name="l00028"></a>00028 ILubyte r, g, b, a;
|
||||
<a name="l00029"></a>00029 } IL_PACKSTRUCT R32;
|
||||
<a name="l00030"></a>00030 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(pop, packed_struct)</span>
|
||||
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00033"></a>00033 <span class="preprocessor"></span>
|
||||
<a name="l00034"></a>00034
|
||||
<a name="l00035"></a>00035 <span class="keyword">typedef</span> <span class="keyword">struct </span>DPX_FILE_INFO
|
||||
<a name="l00036"></a>00036 {
|
||||
<a name="l00037"></a>00037 ILuint MagicNum; <span class="comment">/* magic number 0x53445058 (SDPX) or 0x58504453 (XPDS) */</span>
|
||||
<a name="l00038"></a>00038 ILuint Offset; <span class="comment">/* offset to image data in bytes */</span>
|
||||
<a name="l00039"></a>00039 ILbyte Vers[8]; <span class="comment">/* which header format version is being used (v1.0)*/</span>
|
||||
<a name="l00040"></a>00040 ILuint FileSize; <span class="comment">/* file size in bytes */</span>
|
||||
<a name="l00041"></a>00041 ILuint DittoKey; <span class="comment">/* read time short cut - 0 = same, 1 = new */</span>
|
||||
<a name="l00042"></a>00042 ILuint GenHdrSize; <span class="comment">/* generic header length in bytes */</span>
|
||||
<a name="l00043"></a>00043 ILuint IndHdrSize; <span class="comment">/* industry header length in bytes */</span>
|
||||
<a name="l00044"></a>00044 ILuint UserDataSize; <span class="comment">/* user-defined data length in bytes */</span>
|
||||
<a name="l00045"></a>00045 ILbyte FileName[100]; <span class="comment">/* image file name */</span>
|
||||
<a name="l00046"></a>00046 ILbyte CreateTime[24]; <span class="comment">/* file creation date "yyyy:mm:dd:hh:mm:ss:LTZ" */</span>
|
||||
<a name="l00047"></a>00047 ILbyte Creator[100]; <span class="comment">/* file creator's name */</span>
|
||||
<a name="l00048"></a>00048 ILbyte Project[200]; <span class="comment">/* project name */</span>
|
||||
<a name="l00049"></a>00049 ILbyte Copyright[200]; <span class="comment">/* right to use or copyright info */</span>
|
||||
<a name="l00050"></a>00050 ILuint Key; <span class="comment">/* encryption ( FFFFFFFF = unencrypted ) */</span>
|
||||
<a name="l00051"></a>00051 ILbyte Reserved[104]; <span class="comment">/* reserved field TBD (need to pad) */</span>
|
||||
<a name="l00052"></a>00052 } DPX_FILE_INFO;
|
||||
<a name="l00053"></a>00053
|
||||
<a name="l00054"></a>00054 <span class="keyword">typedef</span> <span class="keyword">struct </span>DPX_IMAGE_ELEMENT
|
||||
<a name="l00055"></a>00055 {
|
||||
<a name="l00056"></a>00056 ILuint DataSign; <span class="comment">/* data sign (0 = unsigned, 1 = signed ) */</span>
|
||||
<a name="l00057"></a>00057 <span class="comment">/* "Core set images are unsigned" */</span>
|
||||
<a name="l00058"></a>00058 ILuint RefLowData; <span class="comment">/* reference low data code value */</span>
|
||||
<a name="l00059"></a>00059 R32 RefLowQuantity; <span class="comment">/* reference low quantity represented */</span>
|
||||
<a name="l00060"></a>00060 ILuint RefHighData; <span class="comment">/* reference high data code value */</span>
|
||||
<a name="l00061"></a>00061 R32 RefHighQuantity;<span class="comment">/* reference high quantity represented */</span>
|
||||
<a name="l00062"></a>00062 ILubyte Descriptor; <span class="comment">/* descriptor for image element */</span>
|
||||
<a name="l00063"></a>00063 ILubyte Transfer; <span class="comment">/* transfer characteristics for element */</span>
|
||||
<a name="l00064"></a>00064 ILubyte Colorimetric; <span class="comment">/* colormetric specification for element */</span>
|
||||
<a name="l00065"></a>00065 ILubyte BitSize; <span class="comment">/* bit size for element */</span>
|
||||
<a name="l00066"></a>00066 ILushort Packing; <span class="comment">/* packing for element */</span>
|
||||
<a name="l00067"></a>00067 ILushort Encoding; <span class="comment">/* encoding for element */</span>
|
||||
<a name="l00068"></a>00068 ILuint DataOffset; <span class="comment">/* offset to data of element */</span>
|
||||
<a name="l00069"></a>00069 ILuint EolPadding; <span class="comment">/* end of line padding used in element */</span>
|
||||
<a name="l00070"></a>00070 ILuint EoImagePadding; <span class="comment">/* end of image padding used in element */</span>
|
||||
<a name="l00071"></a>00071 ILbyte Description[32];<span class="comment">/* description of element */</span>
|
||||
<a name="l00072"></a>00072 } DPX_IMAGE_ELEMENT; <span class="comment">/* NOTE THERE ARE EIGHT OF THESE */</span>
|
||||
<a name="l00073"></a>00073
|
||||
<a name="l00074"></a>00074
|
||||
<a name="l00075"></a>00075 <span class="keyword">typedef</span> <span class="keyword">struct </span>DPX_IMAGE_INFO
|
||||
<a name="l00076"></a>00076 {
|
||||
<a name="l00077"></a>00077 ILushort Orientation; <span class="comment">/* image orientation */</span>
|
||||
<a name="l00078"></a>00078 ILushort NumElements; <span class="comment">/* number of image elements */</span>
|
||||
<a name="l00079"></a>00079 ILuint Width; <span class="comment">/* or x value */</span>
|
||||
<a name="l00080"></a>00080 ILuint Height; <span class="comment">/* or y value, per element */</span>
|
||||
<a name="l00081"></a>00081 DPX_IMAGE_ELEMENT ImageElement[8];
|
||||
<a name="l00082"></a>00082 ILubyte reserved[52]; <span class="comment">/* reserved for future use (padding) */</span>
|
||||
<a name="l00083"></a>00083 } DPX_IMAGE_INFO;
|
||||
<a name="l00084"></a>00084
|
||||
<a name="l00085"></a>00085
|
||||
<a name="l00086"></a>00086 <span class="keyword">typedef</span> <span class="keyword">struct </span>DPX_IMAGE_ORIENT
|
||||
<a name="l00087"></a>00087 {
|
||||
<a name="l00088"></a>00088 ILuint XOffset; <span class="comment">/* X offset */</span>
|
||||
<a name="l00089"></a>00089 ILuint YOffset; <span class="comment">/* Y offset */</span>
|
||||
<a name="l00090"></a>00090 R32 XCenter; <span class="comment">/* X center */</span>
|
||||
<a name="l00091"></a>00091 R32 YCenter; <span class="comment">/* Y center */</span>
|
||||
<a name="l00092"></a>00092 ILuint XOrigSize; <span class="comment">/* X original size */</span>
|
||||
<a name="l00093"></a>00093 ILuint YOrigSize; <span class="comment">/* Y original size */</span>
|
||||
<a name="l00094"></a>00094 ILbyte FileName[100]; <span class="comment">/* source image file name */</span>
|
||||
<a name="l00095"></a>00095 ILbyte CreationTime[24]; <span class="comment">/* source image creation date and time */</span>
|
||||
<a name="l00096"></a>00096 ILbyte InputDev[32]; <span class="comment">/* input device name */</span>
|
||||
<a name="l00097"></a>00097 ILbyte InputSerial[32]; <span class="comment">/* input device serial number */</span>
|
||||
<a name="l00098"></a>00098 ILushort Border[4]; <span class="comment">/* border validity (XL, XR, YT, YB) */</span>
|
||||
<a name="l00099"></a>00099 ILuint PixelAspect[2]; <span class="comment">/* pixel aspect ratio (H:V) */</span>
|
||||
<a name="l00100"></a>00100 ILubyte Reserved[28]; <span class="comment">/* reserved for future use (padding) */</span>
|
||||
<a name="l00101"></a>00101 } DPX_IMAGE_ORIENT;
|
||||
<a name="l00102"></a>00102
|
||||
<a name="l00103"></a>00103
|
||||
<a name="l00104"></a>00104 <span class="keyword">typedef</span> <span class="keyword">struct </span>DPX_MOTION_PICTURE_HEAD
|
||||
<a name="l00105"></a>00105 {
|
||||
<a name="l00106"></a>00106 ILbyte film_mfg_id[2]; <span class="comment">/* film manufacturer ID code (2 digits from film edge code) */</span>
|
||||
<a name="l00107"></a>00107 ILbyte film_type[2]; <span class="comment">/* file type (2 digits from film edge code) */</span>
|
||||
<a name="l00108"></a>00108 ILbyte offset[2]; <span class="comment">/* offset in perfs (2 digits from film edge code)*/</span>
|
||||
<a name="l00109"></a>00109 ILbyte prefix[6]; <span class="comment">/* prefix (6 digits from film edge code) */</span>
|
||||
<a name="l00110"></a>00110 ILbyte count[4]; <span class="comment">/* count (4 digits from film edge code)*/</span>
|
||||
<a name="l00111"></a>00111 ILbyte format[32]; <span class="comment">/* format (i.e. academy) */</span>
|
||||
<a name="l00112"></a>00112 ILuint frame_position; <span class="comment">/* frame position in sequence */</span>
|
||||
<a name="l00113"></a>00113 ILuint sequence_len; <span class="comment">/* sequence length in frames */</span>
|
||||
<a name="l00114"></a>00114 ILuint held_count; <span class="comment">/* held count (1 = default) */</span>
|
||||
<a name="l00115"></a>00115 R32 frame_rate; <span class="comment">/* frame rate of original in frames/sec */</span>
|
||||
<a name="l00116"></a>00116 R32 shutter_angle; <span class="comment">/* shutter angle of camera in degrees */</span>
|
||||
<a name="l00117"></a>00117 ILbyte frame_id[32]; <span class="comment">/* frame identification (i.e. keyframe) */</span>
|
||||
<a name="l00118"></a>00118 ILbyte slate_info[100]; <span class="comment">/* slate information */</span>
|
||||
<a name="l00119"></a>00119 ILubyte reserved[56]; <span class="comment">/* reserved for future use (padding) */</span>
|
||||
<a name="l00120"></a>00120 } DPX_MOTION_PICTURE_HEAD;
|
||||
<a name="l00121"></a>00121
|
||||
<a name="l00122"></a>00122
|
||||
<a name="l00123"></a>00123 <span class="keyword">typedef</span> <span class="keyword">struct </span>DPX_TELEVISION_HEAD
|
||||
<a name="l00124"></a>00124 {
|
||||
<a name="l00125"></a>00125 ILuint tim_code; <span class="comment">/* SMPTE time code */</span>
|
||||
<a name="l00126"></a>00126 ILuint userBits; <span class="comment">/* SMPTE user bits */</span>
|
||||
<a name="l00127"></a>00127 ILubyte interlace; <span class="comment">/* interlace ( 0 = noninterlaced, 1 = 2:1 interlace*/</span>
|
||||
<a name="l00128"></a>00128 ILubyte field_num; <span class="comment">/* field number */</span>
|
||||
<a name="l00129"></a>00129 ILubyte video_signal; <span class="comment">/* video signal standard (table 4)*/</span>
|
||||
<a name="l00130"></a>00130 ILubyte unused; <span class="comment">/* used for byte alignment only */</span>
|
||||
<a name="l00131"></a>00131 R32 hor_sample_rate; <span class="comment">/* horizontal sampling rate in Hz */</span>
|
||||
<a name="l00132"></a>00132 R32 ver_sample_rate; <span class="comment">/* vertical sampling rate in Hz */</span>
|
||||
<a name="l00133"></a>00133 R32 frame_rate; <span class="comment">/* temporal sampling rate or frame rate in Hz */</span>
|
||||
<a name="l00134"></a>00134 R32 time_offset; <span class="comment">/* time offset from sync to first pixel */</span>
|
||||
<a name="l00135"></a>00135 R32 gamma; <span class="comment">/* gamma value */</span>
|
||||
<a name="l00136"></a>00136 R32 black_level; <span class="comment">/* black level code value */</span>
|
||||
<a name="l00137"></a>00137 R32 black_gain; <span class="comment">/* black gain */</span>
|
||||
<a name="l00138"></a>00138 R32 break_point; <span class="comment">/* breakpoint */</span>
|
||||
<a name="l00139"></a>00139 R32 white_level; <span class="comment">/* reference white level code value */</span>
|
||||
<a name="l00140"></a>00140 R32 integration_times; <span class="comment">/* integration time(s) */</span>
|
||||
<a name="l00141"></a>00141 ILubyte reserved[76]; <span class="comment">/* reserved for future use (padding) */</span>
|
||||
<a name="l00142"></a>00142 } DPX_TELEVISION_HEAD;
|
||||
<a name="l00143"></a>00143
|
||||
<a name="l00144"></a>00144
|
||||
<a name="l00145"></a>00145 <span class="comment">// For checking and reading</span>
|
||||
<a name="l00146"></a>00146 ILboolean iIsValidDpx(<span class="keywordtype">void</span>);
|
||||
<a name="l00147"></a>00147 <span class="comment">//ILboolean iCheckDpx(DPXHEAD *Header);</span>
|
||||
<a name="l00148"></a>00148 ILboolean iLoadDpxInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00149"></a>00149
|
||||
<a name="l00150"></a>00150 <span class="preprocessor">#endif//PCX_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,398 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_endian.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_endian.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2009 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 01/29/2009</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_endian.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Handles Endian-ness</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef IL_ENDIAN_H</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define IL_ENDIAN_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00017"></a>00017
|
||||
<a name="l00018"></a>00018 <span class="preprocessor">#ifdef WORDS_BIGENDIAN // This is defined by ./configure.</span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor"> #ifndef __BIG_ENDIAN__</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor"> #define __BIG_ENDIAN__ 1</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span>
|
||||
<a name="l00024"></a>00024 <span class="preprocessor">#if (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __BIG_ENDIAN__) \</span>
|
||||
<a name="l00025"></a>00025 <span class="preprocessor"> || (defined(__BIG_ENDIAN__) && !defined(__LITTLE_ENDIAN__))</span>
|
||||
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor"> #undef __LITTLE_ENDIAN__</span>
|
||||
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor"> #define Short(s) iSwapShort(s)</span>
|
||||
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor"> #define UShort(s) iSwapUShort(s)</span>
|
||||
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor"> #define Int(i) iSwapInt(i)</span>
|
||||
<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor"> #define UInt(i) iSwapUInt(i)</span>
|
||||
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor"> #define Float(f) iSwapFloat(f)</span>
|
||||
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor"> #define Double(d) iSwapDouble(d)</span>
|
||||
<a name="l00033"></a>00033 <span class="preprocessor"></span>
|
||||
<a name="l00034"></a>00034 <span class="preprocessor"> #define BigShort(s) </span>
|
||||
<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor"> #define BigUShort(s) </span>
|
||||
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor"> #define BigInt(i) </span>
|
||||
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor"> #define BigUInt(i) </span>
|
||||
<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor"> #define BigFloat(f) </span>
|
||||
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor"> #define BigDouble(d) </span>
|
||||
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor"> #undef __BIG_ENDIAN__</span>
|
||||
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor"> #undef __LITTLE_ENDIAN__ // Not sure if it's defined by any compiler...</span>
|
||||
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor"> #define __LITTLE_ENDIAN__</span>
|
||||
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor"> #define Short(s) </span>
|
||||
<a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor"> #define UShort(s) </span>
|
||||
<a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor"> #define Int(i) </span>
|
||||
<a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor"> #define UInt(i) </span>
|
||||
<a name="l00048"></a>00048 <span class="preprocessor"></span><span class="preprocessor"> #define Float(f) </span>
|
||||
<a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor"> #define Double(d) </span>
|
||||
<a name="l00050"></a>00050 <span class="preprocessor"></span>
|
||||
<a name="l00051"></a>00051 <span class="preprocessor"> #define BigShort(s) iSwapShort(s)</span>
|
||||
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor"> #define BigUShort(s) iSwapUShort(s)</span>
|
||||
<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor"> #define BigInt(i) iSwapInt(i)</span>
|
||||
<a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor"> #define BigUInt(i) iSwapUInt(i)</span>
|
||||
<a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor"> #define BigFloat(f) iSwapFloat(f)</span>
|
||||
<a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor"> #define BigDouble(d) iSwapDouble(d)</span>
|
||||
<a name="l00057"></a>00057 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00058"></a>00058 <span class="preprocessor"></span>
|
||||
<a name="l00059"></a>00059 <span class="keywordtype">void</span> iSwapUShort(ILushort *s);
|
||||
<a name="l00060"></a>00060 <span class="keywordtype">void</span> iSwapShort(ILshort *s);
|
||||
<a name="l00061"></a>00061 <span class="keywordtype">void</span> iSwapUInt(ILuint *i);
|
||||
<a name="l00062"></a>00062 <span class="keywordtype">void</span> iSwapInt(ILint *i);
|
||||
<a name="l00063"></a>00063 <span class="keywordtype">void</span> iSwapFloat(ILfloat *f);
|
||||
<a name="l00064"></a>00064 <span class="keywordtype">void</span> iSwapDouble(ILdouble *d);
|
||||
<a name="l00065"></a>00065 ILushort GetLittleUShort();
|
||||
<a name="l00066"></a>00066 ILshort GetLittleShort();
|
||||
<a name="l00067"></a>00067 ILuint GetLittleUInt();
|
||||
<a name="l00068"></a>00068 ILint GetLittleInt();
|
||||
<a name="l00069"></a>00069 ILfloat GetLittleFloat();
|
||||
<a name="l00070"></a>00070 ILdouble GetLittleDouble();
|
||||
<a name="l00071"></a>00071 ILushort GetBigUShort();
|
||||
<a name="l00072"></a>00072 ILshort GetBigShort();
|
||||
<a name="l00073"></a>00073 ILuint GetBigUInt();
|
||||
<a name="l00074"></a>00074 ILint GetBigInt();
|
||||
<a name="l00075"></a>00075 ILfloat GetBigFloat();
|
||||
<a name="l00076"></a>00076 ILdouble GetBigDouble();
|
||||
<a name="l00077"></a>00077 ILubyte SaveLittleUShort(ILushort s);
|
||||
<a name="l00078"></a>00078 ILubyte SaveLittleShort(ILshort s);
|
||||
<a name="l00079"></a>00079 ILubyte SaveLittleUInt(ILuint i);
|
||||
<a name="l00080"></a>00080 ILubyte SaveLittleInt(ILint i);
|
||||
<a name="l00081"></a>00081 ILubyte SaveLittleFloat(ILfloat f);
|
||||
<a name="l00082"></a>00082 ILubyte SaveLittleDouble(ILdouble d);
|
||||
<a name="l00083"></a>00083 ILubyte SaveBigUShort(ILushort s);
|
||||
<a name="l00084"></a>00084 ILubyte SaveBigShort(ILshort s);
|
||||
<a name="l00085"></a>00085 ILubyte SaveBigUInt(ILuint i);
|
||||
<a name="l00086"></a>00086 ILubyte SaveBigInt(ILint i);
|
||||
<a name="l00087"></a>00087 ILubyte SaveBigFloat(ILfloat f);
|
||||
<a name="l00088"></a>00088 ILubyte SaveBigDouble(ILdouble d);
|
||||
<a name="l00089"></a>00089
|
||||
<a name="l00090"></a>00090 <span class="preprocessor">#ifdef IL_ENDIAN_C</span>
|
||||
<a name="l00091"></a>00091 <span class="preprocessor"></span><span class="preprocessor">#undef NOINLINE</span>
|
||||
<a name="l00092"></a>00092 <span class="preprocessor"></span><span class="preprocessor">#undef INLINE</span>
|
||||
<a name="l00093"></a>00093 <span class="preprocessor"></span><span class="preprocessor">#define INLINE</span>
|
||||
<a name="l00094"></a>00094 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00095"></a>00095 <span class="preprocessor"></span>
|
||||
<a name="l00096"></a>00096 <span class="preprocessor">#ifndef NOINLINE</span>
|
||||
<a name="l00097"></a>00097 <span class="preprocessor"></span>INLINE <span class="keywordtype">void</span> iSwapUShort(ILushort *s) {
|
||||
<a name="l00098"></a>00098 <span class="preprocessor"> #ifdef USE_WIN32_ASM</span>
|
||||
<a name="l00099"></a>00099 <span class="preprocessor"></span> __asm {
|
||||
<a name="l00100"></a>00100 mov ebx, s
|
||||
<a name="l00101"></a>00101 mov al, [ebx+1]
|
||||
<a name="l00102"></a>00102 mov ah, [ebx ]
|
||||
<a name="l00103"></a>00103 mov [ebx], ax
|
||||
<a name="l00104"></a>00104 }
|
||||
<a name="l00105"></a>00105 <span class="preprocessor"> #else</span>
|
||||
<a name="l00106"></a>00106 <span class="preprocessor"></span><span class="preprocessor"> #ifdef GCC_X86_ASM</span>
|
||||
<a name="l00107"></a>00107 <span class="preprocessor"></span> <span class="keyword">asm</span>(<span class="stringliteral">"ror $8,%0"</span>
|
||||
<a name="l00108"></a>00108 : <span class="stringliteral">"=r"</span> (*s)
|
||||
<a name="l00109"></a>00109 : <span class="stringliteral">"0"</span> (*s));
|
||||
<a name="l00110"></a>00110 <span class="preprocessor"> #else</span>
|
||||
<a name="l00111"></a>00111 <span class="preprocessor"></span> *s = ((*s)>>8) | ((*s)<<8);
|
||||
<a name="l00112"></a>00112 <span class="preprocessor"> #endif //GCC_X86_ASM</span>
|
||||
<a name="l00113"></a>00113 <span class="preprocessor"></span><span class="preprocessor"> #endif //USE_WIN32_ASM</span>
|
||||
<a name="l00114"></a>00114 <span class="preprocessor"></span>}
|
||||
<a name="l00115"></a>00115
|
||||
<a name="l00116"></a>00116 INLINE <span class="keywordtype">void</span> iSwapShort(ILshort *s) {
|
||||
<a name="l00117"></a>00117 iSwapUShort((ILushort*)s);
|
||||
<a name="l00118"></a>00118 }
|
||||
<a name="l00119"></a>00119
|
||||
<a name="l00120"></a>00120 INLINE <span class="keywordtype">void</span> iSwapUInt(ILuint *i) {
|
||||
<a name="l00121"></a>00121 <span class="preprocessor"> #ifdef USE_WIN32_ASM</span>
|
||||
<a name="l00122"></a>00122 <span class="preprocessor"></span> __asm {
|
||||
<a name="l00123"></a>00123 mov ebx, i
|
||||
<a name="l00124"></a>00124 mov eax, [ebx]
|
||||
<a name="l00125"></a>00125 bswap eax
|
||||
<a name="l00126"></a>00126 mov [ebx], eax
|
||||
<a name="l00127"></a>00127 }
|
||||
<a name="l00128"></a>00128 <span class="preprocessor"> #else</span>
|
||||
<a name="l00129"></a>00129 <span class="preprocessor"></span><span class="preprocessor"> #ifdef GCC_X86_ASM</span>
|
||||
<a name="l00130"></a>00130 <span class="preprocessor"></span> <span class="keyword">asm</span>(<span class="stringliteral">"bswap %0;"</span>
|
||||
<a name="l00131"></a>00131 : <span class="stringliteral">"+r"</span> (*i));
|
||||
<a name="l00132"></a>00132 <span class="preprocessor"> #else</span>
|
||||
<a name="l00133"></a>00133 <span class="preprocessor"></span> *i = ((*i)>>24) | (((*i)>>8) & 0xff00) | (((*i)<<8) & 0xff0000) | ((*i)<<24);
|
||||
<a name="l00134"></a>00134 <span class="preprocessor"> #endif //GCC_X86_ASM</span>
|
||||
<a name="l00135"></a>00135 <span class="preprocessor"></span><span class="preprocessor"> #endif //USE_WIN32_ASM</span>
|
||||
<a name="l00136"></a>00136 <span class="preprocessor"></span>}
|
||||
<a name="l00137"></a>00137
|
||||
<a name="l00138"></a>00138 INLINE <span class="keywordtype">void</span> iSwapInt(ILint *i) {
|
||||
<a name="l00139"></a>00139 iSwapUInt((ILuint*)i);
|
||||
<a name="l00140"></a>00140 }
|
||||
<a name="l00141"></a>00141
|
||||
<a name="l00142"></a>00142 INLINE <span class="keywordtype">void</span> iSwapFloat(ILfloat *f) {
|
||||
<a name="l00143"></a>00143 iSwapUInt((ILuint*)f);
|
||||
<a name="l00144"></a>00144 }
|
||||
<a name="l00145"></a>00145
|
||||
<a name="l00146"></a>00146 INLINE <span class="keywordtype">void</span> iSwapDouble(ILdouble *d) {
|
||||
<a name="l00147"></a>00147 <span class="preprocessor"> #ifdef GCC_X86_ASM</span>
|
||||
<a name="l00148"></a>00148 <span class="preprocessor"></span> <span class="keywordtype">int</span> *t = (<span class="keywordtype">int</span>*)d;
|
||||
<a name="l00149"></a>00149 <span class="keyword">asm</span>(<span class="stringliteral">"bswap %2 \n"</span>
|
||||
<a name="l00150"></a>00150 <span class="stringliteral">"bswap %3 \n"</span>
|
||||
<a name="l00151"></a>00151 <span class="stringliteral">"movl %2,%1 \n"</span>
|
||||
<a name="l00152"></a>00152 <span class="stringliteral">"movl %3,%0 \n"</span>
|
||||
<a name="l00153"></a>00153 : <span class="stringliteral">"=g"</span> (t[0]), <span class="stringliteral">"=g"</span> (t[1])
|
||||
<a name="l00154"></a>00154 : <span class="stringliteral">"r"</span> (t[0]), <span class="stringliteral">"r"</span> (t[1]));
|
||||
<a name="l00155"></a>00155 <span class="preprocessor"> #else</span>
|
||||
<a name="l00156"></a>00156 <span class="preprocessor"></span> ILubyte t,*b = (ILubyte*)d;
|
||||
<a name="l00157"></a>00157 <span class="preprocessor"> #define dswap(x,y) t=b[x];b[x]=b[y];b[y]=b[x];</span>
|
||||
<a name="l00158"></a>00158 <span class="preprocessor"></span> dswap(0,7);
|
||||
<a name="l00159"></a>00159 dswap(1,6);
|
||||
<a name="l00160"></a>00160 dswap(2,5);
|
||||
<a name="l00161"></a>00161 dswap(3,4);
|
||||
<a name="l00162"></a>00162 <span class="preprocessor"> #undef dswap</span>
|
||||
<a name="l00163"></a>00163 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00164"></a>00164 <span class="preprocessor"></span>}
|
||||
<a name="l00165"></a>00165
|
||||
<a name="l00166"></a>00166
|
||||
<a name="l00167"></a>00167 INLINE ILushort GetLittleUShort() {
|
||||
<a name="l00168"></a>00168 ILushort s;
|
||||
<a name="l00169"></a>00169 iread(&s, <span class="keyword">sizeof</span>(ILushort), 1);
|
||||
<a name="l00170"></a>00170 <span class="preprocessor">#ifdef __BIG_ENDIAN__</span>
|
||||
<a name="l00171"></a>00171 <span class="preprocessor"></span> iSwapUShort(&s);
|
||||
<a name="l00172"></a>00172 <span class="preprocessor">#endif</span>
|
||||
<a name="l00173"></a>00173 <span class="preprocessor"></span> <span class="keywordflow">return</span> s;
|
||||
<a name="l00174"></a>00174 }
|
||||
<a name="l00175"></a>00175
|
||||
<a name="l00176"></a>00176 INLINE ILshort GetLittleShort() {
|
||||
<a name="l00177"></a>00177 ILshort s;
|
||||
<a name="l00178"></a>00178 iread(&s, <span class="keyword">sizeof</span>(ILshort), 1);
|
||||
<a name="l00179"></a>00179 <span class="preprocessor">#ifdef __BIG_ENDIAN__</span>
|
||||
<a name="l00180"></a>00180 <span class="preprocessor"></span> iSwapShort(&s);
|
||||
<a name="l00181"></a>00181 <span class="preprocessor">#endif</span>
|
||||
<a name="l00182"></a>00182 <span class="preprocessor"></span> <span class="keywordflow">return</span> s;
|
||||
<a name="l00183"></a>00183 }
|
||||
<a name="l00184"></a>00184
|
||||
<a name="l00185"></a>00185 INLINE ILuint GetLittleUInt() {
|
||||
<a name="l00186"></a>00186 ILuint i;
|
||||
<a name="l00187"></a>00187 iread(&i, <span class="keyword">sizeof</span>(ILuint), 1);
|
||||
<a name="l00188"></a>00188 <span class="preprocessor">#ifdef __BIG_ENDIAN__</span>
|
||||
<a name="l00189"></a>00189 <span class="preprocessor"></span> iSwapUInt(&i);
|
||||
<a name="l00190"></a>00190 <span class="preprocessor">#endif</span>
|
||||
<a name="l00191"></a>00191 <span class="preprocessor"></span> <span class="keywordflow">return</span> i;
|
||||
<a name="l00192"></a>00192 }
|
||||
<a name="l00193"></a>00193
|
||||
<a name="l00194"></a>00194 INLINE ILint GetLittleInt() {
|
||||
<a name="l00195"></a>00195 ILint i;
|
||||
<a name="l00196"></a>00196 iread(&i, <span class="keyword">sizeof</span>(ILint), 1);
|
||||
<a name="l00197"></a>00197 <span class="preprocessor">#ifdef __BIG_ENDIAN__</span>
|
||||
<a name="l00198"></a>00198 <span class="preprocessor"></span> iSwapInt(&i);
|
||||
<a name="l00199"></a>00199 <span class="preprocessor">#endif</span>
|
||||
<a name="l00200"></a>00200 <span class="preprocessor"></span> <span class="keywordflow">return</span> i;
|
||||
<a name="l00201"></a>00201 }
|
||||
<a name="l00202"></a>00202
|
||||
<a name="l00203"></a>00203 INLINE ILfloat GetLittleFloat() {
|
||||
<a name="l00204"></a>00204 ILfloat f;
|
||||
<a name="l00205"></a>00205 iread(&f, <span class="keyword">sizeof</span>(ILfloat), 1);
|
||||
<a name="l00206"></a>00206 <span class="preprocessor">#ifdef __BIG_ENDIAN__</span>
|
||||
<a name="l00207"></a>00207 <span class="preprocessor"></span> iSwapFloat(&f);
|
||||
<a name="l00208"></a>00208 <span class="preprocessor">#endif</span>
|
||||
<a name="l00209"></a>00209 <span class="preprocessor"></span> <span class="keywordflow">return</span> f;
|
||||
<a name="l00210"></a>00210 }
|
||||
<a name="l00211"></a>00211
|
||||
<a name="l00212"></a>00212 INLINE ILdouble GetLittleDouble() {
|
||||
<a name="l00213"></a>00213 ILdouble d;
|
||||
<a name="l00214"></a>00214 iread(&d, <span class="keyword">sizeof</span>(ILdouble), 1);
|
||||
<a name="l00215"></a>00215 <span class="preprocessor">#ifdef __BIG_ENDIAN__</span>
|
||||
<a name="l00216"></a>00216 <span class="preprocessor"></span> iSwapDouble(&d);
|
||||
<a name="l00217"></a>00217 <span class="preprocessor">#endif</span>
|
||||
<a name="l00218"></a>00218 <span class="preprocessor"></span> <span class="keywordflow">return</span> d;
|
||||
<a name="l00219"></a>00219 }
|
||||
<a name="l00220"></a>00220
|
||||
<a name="l00221"></a>00221
|
||||
<a name="l00222"></a>00222 INLINE ILushort GetBigUShort() {
|
||||
<a name="l00223"></a>00223 ILushort s;
|
||||
<a name="l00224"></a>00224 iread(&s, <span class="keyword">sizeof</span>(ILushort), 1);
|
||||
<a name="l00225"></a>00225 <span class="preprocessor">#ifdef __LITTLE_ENDIAN__</span>
|
||||
<a name="l00226"></a>00226 <span class="preprocessor"></span> iSwapUShort(&s);
|
||||
<a name="l00227"></a>00227 <span class="preprocessor">#endif</span>
|
||||
<a name="l00228"></a>00228 <span class="preprocessor"></span> <span class="keywordflow">return</span> s;
|
||||
<a name="l00229"></a>00229 }
|
||||
<a name="l00230"></a>00230
|
||||
<a name="l00231"></a>00231
|
||||
<a name="l00232"></a>00232 INLINE ILshort GetBigShort() {
|
||||
<a name="l00233"></a>00233 ILshort s;
|
||||
<a name="l00234"></a>00234 iread(&s, <span class="keyword">sizeof</span>(ILshort), 1);
|
||||
<a name="l00235"></a>00235 <span class="preprocessor">#ifdef __LITTLE_ENDIAN__</span>
|
||||
<a name="l00236"></a>00236 <span class="preprocessor"></span> iSwapShort(&s);
|
||||
<a name="l00237"></a>00237 <span class="preprocessor">#endif</span>
|
||||
<a name="l00238"></a>00238 <span class="preprocessor"></span> <span class="keywordflow">return</span> s;
|
||||
<a name="l00239"></a>00239 }
|
||||
<a name="l00240"></a>00240
|
||||
<a name="l00241"></a>00241
|
||||
<a name="l00242"></a>00242 INLINE ILuint GetBigUInt() {
|
||||
<a name="l00243"></a>00243 ILuint i;
|
||||
<a name="l00244"></a>00244 iread(&i, <span class="keyword">sizeof</span>(ILuint), 1);
|
||||
<a name="l00245"></a>00245 <span class="preprocessor">#ifdef __LITTLE_ENDIAN__</span>
|
||||
<a name="l00246"></a>00246 <span class="preprocessor"></span> iSwapUInt(&i);
|
||||
<a name="l00247"></a>00247 <span class="preprocessor">#endif</span>
|
||||
<a name="l00248"></a>00248 <span class="preprocessor"></span> <span class="keywordflow">return</span> i;
|
||||
<a name="l00249"></a>00249 }
|
||||
<a name="l00250"></a>00250
|
||||
<a name="l00251"></a>00251
|
||||
<a name="l00252"></a>00252 INLINE ILint GetBigInt() {
|
||||
<a name="l00253"></a>00253 ILint i;
|
||||
<a name="l00254"></a>00254 iread(&i, <span class="keyword">sizeof</span>(ILint), 1);
|
||||
<a name="l00255"></a>00255 <span class="preprocessor">#ifdef __LITTLE_ENDIAN__</span>
|
||||
<a name="l00256"></a>00256 <span class="preprocessor"></span> iSwapInt(&i);
|
||||
<a name="l00257"></a>00257 <span class="preprocessor">#endif</span>
|
||||
<a name="l00258"></a>00258 <span class="preprocessor"></span> <span class="keywordflow">return</span> i;
|
||||
<a name="l00259"></a>00259 }
|
||||
<a name="l00260"></a>00260
|
||||
<a name="l00261"></a>00261
|
||||
<a name="l00262"></a>00262 INLINE ILfloat GetBigFloat() {
|
||||
<a name="l00263"></a>00263 ILfloat f;
|
||||
<a name="l00264"></a>00264 iread(&f, <span class="keyword">sizeof</span>(ILfloat), 1);
|
||||
<a name="l00265"></a>00265 <span class="preprocessor">#ifdef __LITTLE_ENDIAN__</span>
|
||||
<a name="l00266"></a>00266 <span class="preprocessor"></span> iSwapFloat(&f);
|
||||
<a name="l00267"></a>00267 <span class="preprocessor">#endif</span>
|
||||
<a name="l00268"></a>00268 <span class="preprocessor"></span> <span class="keywordflow">return</span> f;
|
||||
<a name="l00269"></a>00269 }
|
||||
<a name="l00270"></a>00270
|
||||
<a name="l00271"></a>00271
|
||||
<a name="l00272"></a>00272 INLINE ILdouble GetBigDouble() {
|
||||
<a name="l00273"></a>00273 ILdouble d;
|
||||
<a name="l00274"></a>00274 iread(&d, <span class="keyword">sizeof</span>(ILdouble), 1);
|
||||
<a name="l00275"></a>00275 <span class="preprocessor">#ifdef __LITTLE_ENDIAN__</span>
|
||||
<a name="l00276"></a>00276 <span class="preprocessor"></span> iSwapDouble(&d);
|
||||
<a name="l00277"></a>00277 <span class="preprocessor">#endif</span>
|
||||
<a name="l00278"></a>00278 <span class="preprocessor"></span> <span class="keywordflow">return</span> d;
|
||||
<a name="l00279"></a>00279 }
|
||||
<a name="l00280"></a>00280
|
||||
<a name="l00281"></a>00281 INLINE ILubyte SaveLittleUShort(ILushort s) {
|
||||
<a name="l00282"></a>00282 <span class="preprocessor">#ifdef __BIG_ENDIAN__</span>
|
||||
<a name="l00283"></a>00283 <span class="preprocessor"></span> iSwapUShort(&s);
|
||||
<a name="l00284"></a>00284 <span class="preprocessor">#endif</span>
|
||||
<a name="l00285"></a>00285 <span class="preprocessor"></span> <span class="keywordflow">return</span> iwrite(&s, <span class="keyword">sizeof</span>(ILushort), 1);
|
||||
<a name="l00286"></a>00286 }
|
||||
<a name="l00287"></a>00287
|
||||
<a name="l00288"></a>00288 INLINE ILubyte SaveLittleShort(ILshort s) {
|
||||
<a name="l00289"></a>00289 <span class="preprocessor">#ifdef __BIG_ENDIAN__</span>
|
||||
<a name="l00290"></a>00290 <span class="preprocessor"></span> iSwapShort(&s);
|
||||
<a name="l00291"></a>00291 <span class="preprocessor">#endif</span>
|
||||
<a name="l00292"></a>00292 <span class="preprocessor"></span> <span class="keywordflow">return</span> iwrite(&s, <span class="keyword">sizeof</span>(ILshort), 1);
|
||||
<a name="l00293"></a>00293 }
|
||||
<a name="l00294"></a>00294
|
||||
<a name="l00295"></a>00295
|
||||
<a name="l00296"></a>00296 INLINE ILubyte SaveLittleUInt(ILuint i) {
|
||||
<a name="l00297"></a>00297 <span class="preprocessor">#ifdef __BIG_ENDIAN__</span>
|
||||
<a name="l00298"></a>00298 <span class="preprocessor"></span> iSwapUInt(&i);
|
||||
<a name="l00299"></a>00299 <span class="preprocessor">#endif</span>
|
||||
<a name="l00300"></a>00300 <span class="preprocessor"></span> <span class="keywordflow">return</span> iwrite(&i, <span class="keyword">sizeof</span>(ILuint), 1);
|
||||
<a name="l00301"></a>00301 }
|
||||
<a name="l00302"></a>00302
|
||||
<a name="l00303"></a>00303
|
||||
<a name="l00304"></a>00304 INLINE ILubyte SaveLittleInt(ILint i) {
|
||||
<a name="l00305"></a>00305 <span class="preprocessor">#ifdef __BIG_ENDIAN__</span>
|
||||
<a name="l00306"></a>00306 <span class="preprocessor"></span> iSwapInt(&i);
|
||||
<a name="l00307"></a>00307 <span class="preprocessor">#endif</span>
|
||||
<a name="l00308"></a>00308 <span class="preprocessor"></span> <span class="keywordflow">return</span> iwrite(&i, <span class="keyword">sizeof</span>(ILint), 1);
|
||||
<a name="l00309"></a>00309 }
|
||||
<a name="l00310"></a>00310
|
||||
<a name="l00311"></a>00311 INLINE ILubyte SaveLittleFloat(ILfloat f) {
|
||||
<a name="l00312"></a>00312 <span class="preprocessor">#ifdef __BIG_ENDIAN__</span>
|
||||
<a name="l00313"></a>00313 <span class="preprocessor"></span> iSwapFloat(&f);
|
||||
<a name="l00314"></a>00314 <span class="preprocessor">#endif</span>
|
||||
<a name="l00315"></a>00315 <span class="preprocessor"></span> <span class="keywordflow">return</span> iwrite(&f, <span class="keyword">sizeof</span>(ILfloat), 1);
|
||||
<a name="l00316"></a>00316 }
|
||||
<a name="l00317"></a>00317
|
||||
<a name="l00318"></a>00318
|
||||
<a name="l00319"></a>00319 INLINE ILubyte SaveLittleDouble(ILdouble d) {
|
||||
<a name="l00320"></a>00320 <span class="preprocessor">#ifdef __BIG_ENDIAN__</span>
|
||||
<a name="l00321"></a>00321 <span class="preprocessor"></span> iSwapDouble(&d);
|
||||
<a name="l00322"></a>00322 <span class="preprocessor">#endif</span>
|
||||
<a name="l00323"></a>00323 <span class="preprocessor"></span> <span class="keywordflow">return</span> iwrite(&d, <span class="keyword">sizeof</span>(ILdouble), 1);
|
||||
<a name="l00324"></a>00324 }
|
||||
<a name="l00325"></a>00325
|
||||
<a name="l00326"></a>00326
|
||||
<a name="l00327"></a>00327 INLINE ILubyte SaveBigUShort(ILushort s) {
|
||||
<a name="l00328"></a>00328 <span class="preprocessor">#ifdef __LITTLE_ENDIAN__</span>
|
||||
<a name="l00329"></a>00329 <span class="preprocessor"></span> iSwapUShort(&s);
|
||||
<a name="l00330"></a>00330 <span class="preprocessor">#endif</span>
|
||||
<a name="l00331"></a>00331 <span class="preprocessor"></span> <span class="keywordflow">return</span> iwrite(&s, <span class="keyword">sizeof</span>(ILushort), 1);
|
||||
<a name="l00332"></a>00332 }
|
||||
<a name="l00333"></a>00333
|
||||
<a name="l00334"></a>00334
|
||||
<a name="l00335"></a>00335 INLINE ILubyte SaveBigShort(ILshort s) {
|
||||
<a name="l00336"></a>00336 <span class="preprocessor">#ifdef __LITTLE_ENDIAN__</span>
|
||||
<a name="l00337"></a>00337 <span class="preprocessor"></span> iSwapShort(&s);
|
||||
<a name="l00338"></a>00338 <span class="preprocessor">#endif</span>
|
||||
<a name="l00339"></a>00339 <span class="preprocessor"></span> <span class="keywordflow">return</span> iwrite(&s, <span class="keyword">sizeof</span>(ILshort), 1);
|
||||
<a name="l00340"></a>00340 }
|
||||
<a name="l00341"></a>00341
|
||||
<a name="l00342"></a>00342
|
||||
<a name="l00343"></a>00343 INLINE ILubyte SaveBigUInt(ILuint i) {
|
||||
<a name="l00344"></a>00344 <span class="preprocessor">#ifdef __LITTLE_ENDIAN__</span>
|
||||
<a name="l00345"></a>00345 <span class="preprocessor"></span> iSwapUInt(&i);
|
||||
<a name="l00346"></a>00346 <span class="preprocessor">#endif</span>
|
||||
<a name="l00347"></a>00347 <span class="preprocessor"></span> <span class="keywordflow">return</span> iwrite(&i, <span class="keyword">sizeof</span>(ILuint), 1);
|
||||
<a name="l00348"></a>00348 }
|
||||
<a name="l00349"></a>00349
|
||||
<a name="l00350"></a>00350
|
||||
<a name="l00351"></a>00351 INLINE ILubyte SaveBigInt(ILint i) {
|
||||
<a name="l00352"></a>00352 <span class="preprocessor">#ifdef __LITTLE_ENDIAN__</span>
|
||||
<a name="l00353"></a>00353 <span class="preprocessor"></span> iSwapInt(&i);
|
||||
<a name="l00354"></a>00354 <span class="preprocessor">#endif</span>
|
||||
<a name="l00355"></a>00355 <span class="preprocessor"></span> <span class="keywordflow">return</span> iwrite(&i, <span class="keyword">sizeof</span>(ILint), 1);
|
||||
<a name="l00356"></a>00356 }
|
||||
<a name="l00357"></a>00357
|
||||
<a name="l00358"></a>00358
|
||||
<a name="l00359"></a>00359 INLINE ILubyte SaveBigFloat(ILfloat f) {
|
||||
<a name="l00360"></a>00360 <span class="preprocessor">#ifdef __LITTLE_ENDIAN__</span>
|
||||
<a name="l00361"></a>00361 <span class="preprocessor"></span> iSwapFloat(&f);
|
||||
<a name="l00362"></a>00362 <span class="preprocessor">#endif</span>
|
||||
<a name="l00363"></a>00363 <span class="preprocessor"></span> <span class="keywordflow">return</span> iwrite(&f, <span class="keyword">sizeof</span>(ILfloat), 1);
|
||||
<a name="l00364"></a>00364 }
|
||||
<a name="l00365"></a>00365
|
||||
<a name="l00366"></a>00366
|
||||
<a name="l00367"></a>00367 INLINE ILubyte SaveBigDouble(ILdouble d) {
|
||||
<a name="l00368"></a>00368 <span class="preprocessor">#ifdef __LITTLE_ENDIAN__</span>
|
||||
<a name="l00369"></a>00369 <span class="preprocessor"></span> iSwapDouble(&d);
|
||||
<a name="l00370"></a>00370 <span class="preprocessor">#endif</span>
|
||||
<a name="l00371"></a>00371 <span class="preprocessor"></span> <span class="keywordflow">return</span> iwrite(&d, <span class="keyword">sizeof</span>(ILdouble), 1);
|
||||
<a name="l00372"></a>00372 }
|
||||
<a name="l00373"></a>00373 <span class="preprocessor">#endif//NOINLINE</span>
|
||||
<a name="l00374"></a>00374 <span class="preprocessor"></span>
|
||||
<a name="l00375"></a>00375 <span class="keywordtype">void</span> EndianSwapData(<span class="keywordtype">void</span> *_Image);
|
||||
<a name="l00376"></a>00376
|
||||
<a name="l00377"></a>00377 <span class="preprocessor">#endif//ENDIAN_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,111 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_exr.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_exr.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2008 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 08/29/2008</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_exr.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads from an OpenEXR (.exr) file.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef EXR_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define EXR_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018 <span class="preprocessor">#include <ImfIO.h></span>
|
||||
<a name="l00019"></a>00019
|
||||
<a name="l00020"></a>00020
|
||||
<a name="l00021"></a>00021 <span class="comment">//using namespace Imf; // Using this leads to errors with Microsoft's IStream.</span>
|
||||
<a name="l00022"></a>00022 <span class="comment">// So it is better to just specify the namespace explicitly.</span>
|
||||
<a name="l00023"></a>00023
|
||||
<a name="l00024"></a>00024
|
||||
<a name="l00025"></a>00025 <span class="keyword">typedef</span> <span class="keyword">struct </span>EXRHEAD
|
||||
<a name="l00026"></a>00026 {
|
||||
<a name="l00027"></a>00027 ILuint MagicNumber; <span class="comment">// File signature (0x76, 0x2f, 0x31, 0x01)</span>
|
||||
<a name="l00028"></a>00028 ILuint Version; <span class="comment">// Treated as two bitfields</span>
|
||||
<a name="l00029"></a>00029 } IL_PACKSTRUCT EXRHEAD;
|
||||
<a name="l00030"></a>00030
|
||||
<a name="l00031"></a>00031 <span class="comment">//@TODO: Should I just do these as enums?</span>
|
||||
<a name="l00032"></a>00032 <span class="preprocessor">#define EXR_UINT 0</span>
|
||||
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#define EXR_HALF 1</span>
|
||||
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#define EXR_FLOAT 2</span>
|
||||
<a name="l00035"></a>00035 <span class="preprocessor"></span>
|
||||
<a name="l00036"></a>00036 <span class="preprocessor">#define EXR_NO_COMPRESSION 0</span>
|
||||
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#define EXR_RLE_COMPRESSION 1</span>
|
||||
<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor">#define EXR_ZIPS_COMPRESSION 2</span>
|
||||
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor">#define EXR_ZIP_COMPRESSION 3</span>
|
||||
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#define EXR_PIZ_COMPRESSION 4</span>
|
||||
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#define EXR_PXR24_COMPRESSION 5</span>
|
||||
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#define EXR_B44_COMPRESSION 6</span>
|
||||
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#define EXR_B44A_COMPRESSION 7</span>
|
||||
<a name="l00044"></a>00044 <span class="preprocessor"></span>
|
||||
<a name="l00045"></a>00045
|
||||
<a name="l00046"></a>00046 <span class="preprocessor">#ifdef __cplusplus</span>
|
||||
<a name="l00047"></a>00047 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
|
||||
<a name="l00048"></a>00048 <span class="preprocessor">#endif</span>
|
||||
<a name="l00049"></a>00049 <span class="preprocessor"></span>
|
||||
<a name="l00050"></a>00050 ILboolean iIsValidExr();
|
||||
<a name="l00051"></a>00051 ILboolean iCheckExr(EXRHEAD *Header);
|
||||
<a name="l00052"></a>00052 ILboolean iLoadExrInternal();
|
||||
<a name="l00053"></a>00053 ILboolean iSaveExrInternal();
|
||||
<a name="l00054"></a>00054
|
||||
<a name="l00055"></a>00055 <span class="preprocessor">#ifdef __cplusplus</span>
|
||||
<a name="l00056"></a>00056 <span class="preprocessor"></span>}
|
||||
<a name="l00057"></a>00057 <span class="preprocessor">#endif</span>
|
||||
<a name="l00058"></a>00058 <span class="preprocessor"></span>
|
||||
<a name="l00059"></a>00059 <span class="keyword">class </span>ilIStream : <span class="keyword">public</span> Imf::IStream
|
||||
<a name="l00060"></a>00060 {
|
||||
<a name="l00061"></a>00061 <span class="keyword">public</span>:
|
||||
<a name="l00062"></a>00062 ilIStream(<span class="comment">/*ILHANDLE Handle*/</span>);
|
||||
<a name="l00063"></a>00063 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> read (<span class="keywordtype">char</span> c[<span class="comment">/*n*/</span>], <span class="keywordtype">int</span> n);
|
||||
<a name="l00064"></a>00064 <span class="comment">// I don't think I need this one, since we are taking care of the file handles ourselves.</span>
|
||||
<a name="l00065"></a>00065 <span class="comment">//virtual char * readMemoryMapped (int n);</span>
|
||||
<a name="l00066"></a>00066 <span class="keyword">virtual</span> Imf::Int64 tellg ();
|
||||
<a name="l00067"></a>00067 <span class="keyword">virtual</span> <span class="keywordtype">void</span> seekg (Imf::Int64 Pos);
|
||||
<a name="l00068"></a>00068 <span class="keyword">virtual</span> <span class="keywordtype">void</span> clear ();
|
||||
<a name="l00069"></a>00069
|
||||
<a name="l00070"></a>00070 <span class="keyword">protected</span>:
|
||||
<a name="l00071"></a>00071
|
||||
<a name="l00072"></a>00072 <span class="keyword">private</span>:
|
||||
<a name="l00073"></a>00073 };
|
||||
<a name="l00074"></a>00074
|
||||
<a name="l00075"></a>00075 <span class="keyword">class </span>ilOStream : <span class="keyword">public</span> Imf::OStream
|
||||
<a name="l00076"></a>00076 {
|
||||
<a name="l00077"></a>00077 <span class="keyword">public</span>:
|
||||
<a name="l00078"></a>00078 ilOStream(<span class="comment">/*ILHANDLE Handle*/</span>);
|
||||
<a name="l00079"></a>00079 <span class="keyword">virtual</span> <span class="keywordtype">void</span> write (<span class="keyword">const</span> <span class="keywordtype">char</span> c[<span class="comment">/*n*/</span>], <span class="keywordtype">int</span> n);
|
||||
<a name="l00080"></a>00080 <span class="comment">// I don't think I need this one, since we are taking care of the file handles ourselves.</span>
|
||||
<a name="l00081"></a>00081 <span class="comment">//virtual char * readMemoryMapped (int n);</span>
|
||||
<a name="l00082"></a>00082 <span class="keyword">virtual</span> Imf::Int64 tellp ();
|
||||
<a name="l00083"></a>00083 <span class="keyword">virtual</span> <span class="keywordtype">void</span> seekp (Imf::Int64 Pos);
|
||||
<a name="l00084"></a>00084
|
||||
<a name="l00085"></a>00085 <span class="keyword">protected</span>:
|
||||
<a name="l00086"></a>00086
|
||||
<a name="l00087"></a>00087 <span class="keyword">private</span>:
|
||||
<a name="l00088"></a>00088 };
|
||||
<a name="l00089"></a>00089
|
||||
<a name="l00090"></a>00090 <span class="preprocessor">#endif//EXR_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,100 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_files.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_files.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2009 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 01/04/2009</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_files.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: File handling for DevIL</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef FILES_H</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define FILES_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor">#if defined (__FILES_C)</span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor">#define __FILES_EXTERN</span>
|
||||
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define __FILES_EXTERN extern</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#include <<a class="code" href="il_8h.html">IL/il.h</a>></span>
|
||||
<a name="l00022"></a>00022
|
||||
<a name="l00023"></a>00023
|
||||
<a name="l00024"></a>00024 __FILES_EXTERN <span class="keywordtype">void</span> ILAPIENTRY iPreserveReadFuncs(<span class="keywordtype">void</span>);
|
||||
<a name="l00025"></a>00025 __FILES_EXTERN <span class="keywordtype">void</span> ILAPIENTRY iRestoreReadFuncs(<span class="keywordtype">void</span>);
|
||||
<a name="l00026"></a>00026 __FILES_EXTERN <span class="keywordtype">void</span> ILAPIENTRY iPreserveWriteFuncs(<span class="keywordtype">void</span>);
|
||||
<a name="l00027"></a>00027 __FILES_EXTERN <span class="keywordtype">void</span> ILAPIENTRY iRestoreWriteFuncs(<span class="keywordtype">void</span>);
|
||||
<a name="l00028"></a>00028
|
||||
<a name="l00029"></a>00029 __FILES_EXTERN fEofProc EofProc;
|
||||
<a name="l00030"></a>00030 __FILES_EXTERN fGetcProc GetcProc;
|
||||
<a name="l00031"></a>00031 __FILES_EXTERN fReadProc ReadProc;
|
||||
<a name="l00032"></a>00032 __FILES_EXTERN fSeekRProc SeekRProc;
|
||||
<a name="l00033"></a>00033 __FILES_EXTERN fSeekWProc SeekWProc;
|
||||
<a name="l00034"></a>00034 __FILES_EXTERN fTellRProc TellRProc;
|
||||
<a name="l00035"></a>00035 __FILES_EXTERN fTellWProc TellWProc;
|
||||
<a name="l00036"></a>00036 __FILES_EXTERN fPutcProc PutcProc;
|
||||
<a name="l00037"></a>00037 __FILES_EXTERN fWriteProc WriteProc;
|
||||
<a name="l00038"></a>00038
|
||||
<a name="l00039"></a>00039 __FILES_EXTERN ILHANDLE ILAPIENTRY iDefaultOpen(ILconst_string FileName);
|
||||
<a name="l00040"></a>00040 __FILES_EXTERN <span class="keywordtype">void</span> ILAPIENTRY iDefaultClose(ILHANDLE Handle);
|
||||
<a name="l00041"></a>00041 __FILES_EXTERN ILint ILAPIENTRY iDefaultGetc(ILHANDLE Handle);
|
||||
<a name="l00042"></a>00042 __FILES_EXTERN ILint ILAPIENTRY iDefaultRead(<span class="keywordtype">void</span> *Buffer, ILuint Size, ILuint Number, ILHANDLE Handle);
|
||||
<a name="l00043"></a>00043 __FILES_EXTERN ILint ILAPIENTRY iDefaultSeekR(ILHANDLE Handle, ILint Offset, ILint Mode);
|
||||
<a name="l00044"></a>00044 __FILES_EXTERN ILint ILAPIENTRY iDefaultSeekW(ILHANDLE Handle, ILint Offset, ILint Mode);
|
||||
<a name="l00045"></a>00045 __FILES_EXTERN ILint ILAPIENTRY iDefaultTellR(ILHANDLE Handle);
|
||||
<a name="l00046"></a>00046 __FILES_EXTERN ILint ILAPIENTRY iDefaultTellW(ILHANDLE Handle);
|
||||
<a name="l00047"></a>00047 __FILES_EXTERN ILint ILAPIENTRY iDefaultPutc(ILubyte Char, ILHANDLE Handle);
|
||||
<a name="l00048"></a>00048 __FILES_EXTERN ILint ILAPIENTRY iDefaultWrite(<span class="keyword">const</span> <span class="keywordtype">void</span> *Buffer, ILuint Size, ILuint Number, ILHANDLE Handle);
|
||||
<a name="l00049"></a>00049
|
||||
<a name="l00050"></a>00050 __FILES_EXTERN <span class="keywordtype">void</span> iSetInputFile(ILHANDLE File);
|
||||
<a name="l00051"></a>00051 __FILES_EXTERN <span class="keywordtype">void</span> iSetInputLump(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00052"></a>00052 __FILES_EXTERN ILboolean (ILAPIENTRY *ieof)(void);
|
||||
<a name="l00053"></a>00053 __FILES_EXTERN ILHANDLE (ILAPIENTRY *iopenr)(ILconst_string);
|
||||
<a name="l00054"></a>00054 __FILES_EXTERN void (ILAPIENTRY *icloser)(ILHANDLE);
|
||||
<a name="l00055"></a>00055 __FILES_EXTERN ILint (ILAPIENTRY *igetc)(void);
|
||||
<a name="l00056"></a>00056 __FILES_EXTERN ILuint (ILAPIENTRY *iread)(<span class="keywordtype">void</span> *Buffer, ILuint Size, ILuint Number);
|
||||
<a name="l00057"></a>00057 __FILES_EXTERN ILint (ILAPIENTRY *iseek)(ILint Offset, ILuint Mode);
|
||||
<a name="l00058"></a>00058 __FILES_EXTERN ILuint (ILAPIENTRY *itell)(void);
|
||||
<a name="l00059"></a>00059
|
||||
<a name="l00060"></a>00060 __FILES_EXTERN <span class="keywordtype">void</span> iSetOutputFile(ILHANDLE File);
|
||||
<a name="l00061"></a>00061 __FILES_EXTERN <span class="keywordtype">void</span> iSetOutputLump(<span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00062"></a>00062 __FILES_EXTERN <span class="keywordtype">void</span> iSetOutputFake(<span class="keywordtype">void</span>);
|
||||
<a name="l00063"></a>00063 __FILES_EXTERN void (ILAPIENTRY *iclosew)(ILHANDLE);
|
||||
<a name="l00064"></a>00064 __FILES_EXTERN ILHANDLE (ILAPIENTRY *iopenw)(ILconst_string);
|
||||
<a name="l00065"></a>00065 __FILES_EXTERN ILint (ILAPIENTRY *iputc)(ILubyte Char);
|
||||
<a name="l00066"></a>00066 __FILES_EXTERN ILint (ILAPIENTRY *iseekw)(ILint Offset, ILuint Mode);
|
||||
<a name="l00067"></a>00067 __FILES_EXTERN ILuint (ILAPIENTRY *itellw)(void);
|
||||
<a name="l00068"></a>00068 __FILES_EXTERN ILint (ILAPIENTRY *iwrite)(<span class="keyword">const</span> <span class="keywordtype">void</span> *Buffer, ILuint Size, ILuint Number);
|
||||
<a name="l00069"></a>00069
|
||||
<a name="l00070"></a>00070 __FILES_EXTERN ILHANDLE ILAPIENTRY iGetFile(<span class="keywordtype">void</span>);
|
||||
<a name="l00071"></a>00071 __FILES_EXTERN <span class="keyword">const</span> ILubyte* ILAPIENTRY iGetLump(<span class="keywordtype">void</span>);
|
||||
<a name="l00072"></a>00072
|
||||
<a name="l00073"></a>00073 __FILES_EXTERN ILuint ILAPIENTRY ilprintf(<span class="keyword">const</span> <span class="keywordtype">char</span> *, ...);
|
||||
<a name="l00074"></a>00074 __FILES_EXTERN <span class="keywordtype">void</span> ipad(ILuint NumZeros);
|
||||
<a name="l00075"></a>00075
|
||||
<a name="l00076"></a>00076 __FILES_EXTERN ILboolean iPreCache(ILuint Size);
|
||||
<a name="l00077"></a>00077 __FILES_EXTERN <span class="keywordtype">void</span> iUnCache(<span class="keywordtype">void</span>);
|
||||
<a name="l00078"></a>00078
|
||||
<a name="l00079"></a>00079 <span class="preprocessor">#endif//FILES_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,92 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_gif.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_gif.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2009 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 02/14/2009</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_gif.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads from a Graphics Interchange Format (.gif) file.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef GIF_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define GIF_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 <span class="preprocessor">#define GIF87A 87</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define GIF89A 89</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor"> #pragma pack(push, gif_struct, 1)</span>
|
||||
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>GIFHEAD
|
||||
<a name="l00026"></a>00026 {
|
||||
<a name="l00027"></a>00027 <span class="keywordtype">char</span> Sig[6];
|
||||
<a name="l00028"></a>00028 ILushort Width;
|
||||
<a name="l00029"></a>00029 ILushort Height;
|
||||
<a name="l00030"></a>00030 ILubyte ColourInfo;
|
||||
<a name="l00031"></a>00031 ILubyte Background;
|
||||
<a name="l00032"></a>00032 ILubyte Aspect;
|
||||
<a name="l00033"></a>00033 } IL_PACKSTRUCT GIFHEAD;
|
||||
<a name="l00034"></a>00034
|
||||
<a name="l00035"></a>00035 <span class="keyword">typedef</span> <span class="keyword">struct </span>IMAGEDESC
|
||||
<a name="l00036"></a>00036 {
|
||||
<a name="l00037"></a>00037 ILubyte Separator;
|
||||
<a name="l00038"></a>00038 ILushort OffX;
|
||||
<a name="l00039"></a>00039 ILushort OffY;
|
||||
<a name="l00040"></a>00040 ILushort Width;
|
||||
<a name="l00041"></a>00041 ILushort Height;
|
||||
<a name="l00042"></a>00042 ILubyte ImageInfo;
|
||||
<a name="l00043"></a>00043 } IL_PACKSTRUCT IMAGEDESC;
|
||||
<a name="l00044"></a>00044
|
||||
<a name="l00045"></a>00045 <span class="keyword">typedef</span> <span class="keyword">struct </span>GFXCONTROL
|
||||
<a name="l00046"></a>00046 {
|
||||
<a name="l00047"></a>00047 ILubyte Size;
|
||||
<a name="l00048"></a>00048 ILubyte Packed;
|
||||
<a name="l00049"></a>00049 ILushort Delay;
|
||||
<a name="l00050"></a>00050 ILubyte Transparent;
|
||||
<a name="l00051"></a>00051 ILubyte Terminator;
|
||||
<a name="l00052"></a>00052 ILboolean Used; <span class="comment">//this stores if a gfxcontrol was read - it is IL_FALSE (!)</span>
|
||||
<a name="l00053"></a>00053
|
||||
<a name="l00054"></a>00054 <span class="comment">//if a gfxcontrol was read from the file, IL_TRUE otherwise</span>
|
||||
<a name="l00055"></a>00055 } IL_PACKSTRUCT GFXCONTROL;
|
||||
<a name="l00056"></a>00056 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00057"></a>00057 <span class="preprocessor"></span><span class="preprocessor"> #pragma pack(pop, gif_struct)</span>
|
||||
<a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00059"></a>00059 <span class="preprocessor"></span>
|
||||
<a name="l00060"></a>00060 <span class="comment">// Internal functions</span>
|
||||
<a name="l00061"></a>00061 ILboolean iLoadGifInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00062"></a>00062 ILboolean ilLoadGifF(ILHANDLE File);
|
||||
<a name="l00063"></a>00063 ILboolean iIsValidGif(<span class="keywordtype">void</span>);
|
||||
<a name="l00064"></a>00064 ILboolean iGetPalette(ILubyte Info, <a class="code" href="structILpal.html" title="Basic Palette struct.">ILpal</a> *Pal, ILboolean UsePrevPal, <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *PrevImage);
|
||||
<a name="l00065"></a>00065 ILboolean GetImages(<a class="code" href="structILpal.html" title="Basic Palette struct.">ILpal</a> *GlobalPal, GIFHEAD *GifHead);
|
||||
<a name="l00066"></a>00066 ILboolean SkipExtensions(GFXCONTROL *Gfx);
|
||||
<a name="l00067"></a>00067 ILboolean GifGetData(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image, ILubyte *Data, ILuint ImageSize, ILuint Width, ILuint Height, ILuint Stride, ILuint PalOffset, GFXCONTROL *Gfx);
|
||||
<a name="l00068"></a>00068 ILboolean RemoveInterlace(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *image);
|
||||
<a name="l00069"></a>00069 ILboolean ConvertTransparent(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image, ILubyte TransColour);
|
||||
<a name="l00070"></a>00070
|
||||
<a name="l00071"></a>00071 <span class="preprocessor">#endif//GIF_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,64 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_hdr.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_hdr.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2004 by Denton Woods (this file by thakis)</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 06/09/2004</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_hdr.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads a RADIANCE High Dynamic Range Image</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef HDR_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define HDR_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor"> #pragma pack(push, gif_struct, 1)</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span>
|
||||
<a name="l00023"></a>00023 <span class="keyword">typedef</span> <span class="keyword">struct </span>HDRHEADER
|
||||
<a name="l00024"></a>00024 {
|
||||
<a name="l00025"></a>00025 <span class="keywordtype">char</span> Signature[10]; <span class="comment">//must be "#?RADIANCE"</span>
|
||||
<a name="l00026"></a>00026 ILuint Width, Height;
|
||||
<a name="l00027"></a>00027 } IL_PACKSTRUCT HDRHEADER;
|
||||
<a name="l00028"></a>00028
|
||||
<a name="l00029"></a>00029 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor"> #pragma pack(pop, gif_struct)</span>
|
||||
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00032"></a>00032 <span class="preprocessor"></span>
|
||||
<a name="l00033"></a>00033 <span class="comment">// Internal functions</span>
|
||||
<a name="l00034"></a>00034 ILboolean ilIsValidHdrF(ILHANDLE file);
|
||||
<a name="l00035"></a>00035 ILboolean iIsValidHdr();
|
||||
<a name="l00036"></a>00036 ILboolean iCheckHdr(HDRHEADER *Header);
|
||||
<a name="l00037"></a>00037 ILboolean ilLoadHdrF(ILHANDLE file);
|
||||
<a name="l00038"></a>00038 ILboolean iLoadHdrInternal();
|
||||
<a name="l00039"></a>00039 ILboolean iSaveHdrInternal();
|
||||
<a name="l00040"></a>00040
|
||||
<a name="l00041"></a>00041 <span class="keywordtype">void</span> ReadScanline(ILubyte *scanline, ILuint w);
|
||||
<a name="l00042"></a>00042
|
||||
<a name="l00043"></a>00043 <span class="preprocessor">#endif//HDR_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,63 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_icns.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_icns.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2008 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 08/23/2008</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_icns.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads from a Mac OS X icon (.icns) file.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef ICNS_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define ICNS_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor"> #pragma pack(push, icns_struct, 1)</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>ICNSHEAD
|
||||
<a name="l00023"></a>00023 {
|
||||
<a name="l00024"></a>00024 <span class="keywordtype">char</span> Head[4]; <span class="comment">// Must be 'ICNS'</span>
|
||||
<a name="l00025"></a>00025 ILint Size; <span class="comment">// Total size of the file (including header)</span>
|
||||
<a name="l00026"></a>00026 } IL_PACKSTRUCT ICNSHEAD;
|
||||
<a name="l00027"></a>00027
|
||||
<a name="l00028"></a>00028 <span class="keyword">typedef</span> <span class="keyword">struct </span>ICNSDATA
|
||||
<a name="l00029"></a>00029 {
|
||||
<a name="l00030"></a>00030 <span class="keywordtype">char</span> ID[4]; <span class="comment">// Identifier ('it32', 'il32', etc.)</span>
|
||||
<a name="l00031"></a>00031 ILint Size; <span class="comment">// Total size of the entry (including identifier)</span>
|
||||
<a name="l00032"></a>00032 } IL_PACKSTRUCT ICNSDATA;
|
||||
<a name="l00033"></a>00033
|
||||
<a name="l00034"></a>00034 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor"> #pragma pack(pop, icns_struct)</span>
|
||||
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00037"></a>00037 <span class="preprocessor"></span>
|
||||
<a name="l00038"></a>00038 ILboolean iIsValidIcns();
|
||||
<a name="l00039"></a>00039 ILboolean iLoadIcnsInternal();
|
||||
<a name="l00040"></a>00040 ILboolean iIcnsReadData(ILboolean *BaseCreated, ILboolean IsAlpha, ILint Width, ICNSDATA *Entry, <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> **Image);
|
||||
<a name="l00041"></a>00041
|
||||
<a name="l00042"></a>00042 <span class="preprocessor">#endif//ICNS_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,91 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_icon.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_icon.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/25/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_icon.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads from a Windows icon (.ico) file.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef ICON_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define ICON_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor"> #pragma pack(push, ico_struct, 1)</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>ICODIR
|
||||
<a name="l00023"></a>00023 {
|
||||
<a name="l00024"></a>00024 ILshort Reserved; <span class="comment">// Reserved (must be 0)</span>
|
||||
<a name="l00025"></a>00025 ILshort Type; <span class="comment">// Type (1 for icons, 2 for cursors)</span>
|
||||
<a name="l00026"></a>00026 ILshort Count; <span class="comment">// How many different images?</span>
|
||||
<a name="l00027"></a>00027 } IL_PACKSTRUCT ICODIR;
|
||||
<a name="l00028"></a>00028
|
||||
<a name="l00029"></a>00029 <span class="keyword">typedef</span> <span class="keyword">struct </span>ICODIRENTRY
|
||||
<a name="l00030"></a>00030 {
|
||||
<a name="l00031"></a>00031 ILubyte Width; <span class="comment">// Width, in pixels</span>
|
||||
<a name="l00032"></a>00032 ILubyte Height; <span class="comment">// Height, in pixels</span>
|
||||
<a name="l00033"></a>00033 ILubyte NumColours; <span class="comment">// Number of colors in image (0 if >=8bpp)</span>
|
||||
<a name="l00034"></a>00034 ILubyte Reserved; <span class="comment">// Reserved (must be 0)</span>
|
||||
<a name="l00035"></a>00035 ILshort Planes; <span class="comment">// Colour planes</span>
|
||||
<a name="l00036"></a>00036 ILshort Bpp; <span class="comment">// Bits per pixel</span>
|
||||
<a name="l00037"></a>00037 ILuint SizeOfData; <span class="comment">// How many bytes in this resource?</span>
|
||||
<a name="l00038"></a>00038 ILuint Offset; <span class="comment">// Offset from beginning of the file</span>
|
||||
<a name="l00039"></a>00039 } IL_PACKSTRUCT ICODIRENTRY;
|
||||
<a name="l00040"></a>00040
|
||||
<a name="l00041"></a>00041 <span class="keyword">typedef</span> <span class="keyword">struct </span>INFOHEAD
|
||||
<a name="l00042"></a>00042 {
|
||||
<a name="l00043"></a>00043 ILint Size;
|
||||
<a name="l00044"></a>00044 ILint Width;
|
||||
<a name="l00045"></a>00045 ILint Height;
|
||||
<a name="l00046"></a>00046 ILshort Planes;
|
||||
<a name="l00047"></a>00047 ILshort BitCount;
|
||||
<a name="l00048"></a>00048 ILint Compression;
|
||||
<a name="l00049"></a>00049 ILint SizeImage;
|
||||
<a name="l00050"></a>00050 ILint XPixPerMeter;
|
||||
<a name="l00051"></a>00051 ILint YPixPerMeter;
|
||||
<a name="l00052"></a>00052 ILint ColourUsed;
|
||||
<a name="l00053"></a>00053 ILint ColourImportant;
|
||||
<a name="l00054"></a>00054 } IL_PACKSTRUCT INFOHEAD;
|
||||
<a name="l00055"></a>00055
|
||||
<a name="l00056"></a>00056 <span class="keyword">typedef</span> <span class="keyword">struct </span>ICOIMAGE
|
||||
<a name="l00057"></a>00057 {
|
||||
<a name="l00058"></a>00058 INFOHEAD Head;
|
||||
<a name="l00059"></a>00059 ILubyte *Pal; <span class="comment">// Palette</span>
|
||||
<a name="l00060"></a>00060 ILubyte *Data; <span class="comment">// XOR mask</span>
|
||||
<a name="l00061"></a>00061 ILubyte *AND; <span class="comment">// AND mask</span>
|
||||
<a name="l00062"></a>00062 } ICOIMAGE;
|
||||
<a name="l00063"></a>00063 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00064"></a>00064 <span class="preprocessor"></span><span class="preprocessor"> #pragma pack(pop, ico_struct)</span>
|
||||
<a name="l00065"></a>00065 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00066"></a>00066 <span class="preprocessor"></span>
|
||||
<a name="l00067"></a>00067 ILboolean iLoadIconInternal();
|
||||
<a name="l00068"></a>00068 ILboolean iLoadIconPNG(ICOIMAGE *Icon);
|
||||
<a name="l00069"></a>00069
|
||||
<a name="l00070"></a>00070 <span class="preprocessor">#endif//ICON_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,560 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_internal.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_internal.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2009 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 03/01/2009</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_internal.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Internal stuff for DevIL</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012 <span class="preprocessor">#ifndef INTERNAL_H</span>
|
||||
<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#define INTERNAL_H</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define _IL_BUILD_LIBRARY</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span>
|
||||
<a name="l00016"></a>00016
|
||||
<a name="l00017"></a>00017 <span class="comment">// Local headers</span>
|
||||
<a name="l00018"></a>00018 <span class="comment">/*#if (defined(_WIN32) || defined(_WIN64)) && !defined(HAVE_CONFIG_H)</span>
|
||||
<a name="l00019"></a>00019 <span class="comment"> #define HAVE_CONFIG_H</span>
|
||||
<a name="l00020"></a>00020 <span class="comment">#endif*/</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor">#ifdef HAVE_CONFIG_H //if we use autotools, we have HAVE_CONFIG_H defined and we have to look for it like that</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor"> #include <config.h></span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor">#else // If we do not use autotools, we have to point to (possibly different) config.h than in the opposite case</span>
|
||||
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor"> #include <IL/config.h></span>
|
||||
<a name="l00025"></a>00025 <span class="preprocessor">#endif</span>
|
||||
<a name="l00026"></a>00026 <span class="preprocessor"></span>
|
||||
<a name="l00027"></a>00027 <span class="comment">// Standard headers</span>
|
||||
<a name="l00028"></a>00028 <span class="preprocessor">#include <stdlib.h></span>
|
||||
<a name="l00029"></a>00029 <span class="preprocessor">#include <stdio.h></span>
|
||||
<a name="l00030"></a>00030 <span class="preprocessor">#include <math.h></span>
|
||||
<a name="l00031"></a>00031 <span class="preprocessor">#include <string.h></span>
|
||||
<a name="l00032"></a>00032
|
||||
<a name="l00033"></a>00033 <span class="preprocessor">#ifdef __cplusplus</span>
|
||||
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
|
||||
<a name="l00035"></a>00035 <span class="preprocessor">#endif</span>
|
||||
<a name="l00036"></a>00036 <span class="preprocessor"></span>
|
||||
<a name="l00037"></a>00037 <span class="preprocessor">#include <<a class="code" href="il_8h.html">IL/il.h</a>></span>
|
||||
<a name="l00038"></a>00038 <span class="preprocessor">#include <IL/devil_internal_exports.h></span>
|
||||
<a name="l00039"></a>00039 <span class="preprocessor">#include "il_files.h"</span>
|
||||
<a name="l00040"></a>00040 <span class="preprocessor">#include "il_endian.h"</span>
|
||||
<a name="l00041"></a>00041
|
||||
<a name="l00042"></a>00042 <span class="preprocessor">#ifndef _WIN32</span>
|
||||
<a name="l00043"></a>00043 <span class="preprocessor"></span> <span class="comment">// The Microsoft HD Photo Device Porting Kit has not been ported to anything other</span>
|
||||
<a name="l00044"></a>00044 <span class="comment">// than Windows yet, so we disable this if Windows is not the current platform.</span>
|
||||
<a name="l00045"></a>00045 <span class="preprocessor"> #define IL_NO_WDP</span>
|
||||
<a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor">#endif//_WIN32</span>
|
||||
<a name="l00047"></a>00047 <span class="preprocessor"></span>
|
||||
<a name="l00048"></a>00048 <span class="comment">// If we do not want support for game image formats, this define removes them all.</span>
|
||||
<a name="l00049"></a>00049 <span class="preprocessor">#ifdef IL_NO_GAMES</span>
|
||||
<a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_BLP</span>
|
||||
<a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_DOOM</span>
|
||||
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_FTX</span>
|
||||
<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_IWI</span>
|
||||
<a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_LIF</span>
|
||||
<a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_MDL</span>
|
||||
<a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_ROT</span>
|
||||
<a name="l00057"></a>00057 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_TPL</span>
|
||||
<a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_UTX</span>
|
||||
<a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_WAL</span>
|
||||
<a name="l00060"></a>00060 <span class="preprocessor"></span><span class="preprocessor">#endif//IL_NO_GAMES</span>
|
||||
<a name="l00061"></a>00061 <span class="preprocessor"></span>
|
||||
<a name="l00062"></a>00062 <span class="comment">// If we want to compile without support for formats supported by external libraries,</span>
|
||||
<a name="l00063"></a>00063 <span class="comment">// this define will remove them all.</span>
|
||||
<a name="l00064"></a>00064 <span class="preprocessor">#ifdef IL_NO_EXTLIBS</span>
|
||||
<a name="l00065"></a>00065 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_EXR</span>
|
||||
<a name="l00066"></a>00066 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_JP2</span>
|
||||
<a name="l00067"></a>00067 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_JPG</span>
|
||||
<a name="l00068"></a>00068 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_LCMS</span>
|
||||
<a name="l00069"></a>00069 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_MNG</span>
|
||||
<a name="l00070"></a>00070 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_PNG</span>
|
||||
<a name="l00071"></a>00071 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_TIF</span>
|
||||
<a name="l00072"></a>00072 <span class="preprocessor"></span><span class="preprocessor"> #define IL_NO_WDP</span>
|
||||
<a name="l00073"></a>00073 <span class="preprocessor"></span><span class="preprocessor"> #undef IL_USE_DXTC_NVIDIA</span>
|
||||
<a name="l00074"></a>00074 <span class="preprocessor"></span><span class="preprocessor"> #undef IL_USE_DXTC_SQUISH</span>
|
||||
<a name="l00075"></a>00075 <span class="preprocessor"></span><span class="preprocessor">#endif//IL_NO_EXTLIBS</span>
|
||||
<a name="l00076"></a>00076 <span class="preprocessor"></span>
|
||||
<a name="l00077"></a>00077 <span class="comment">// Windows-specific</span>
|
||||
<a name="l00078"></a>00078 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00079"></a>00079 <span class="preprocessor"></span><span class="preprocessor"> #ifdef _MSC_VER</span>
|
||||
<a name="l00080"></a>00080 <span class="preprocessor"></span><span class="preprocessor"> #if _MSC_VER > 1000</span>
|
||||
<a name="l00081"></a>00081 <span class="preprocessor"></span><span class="preprocessor"> #pragma once</span>
|
||||
<a name="l00082"></a>00082 <span class="preprocessor"></span><span class="preprocessor"> #pragma intrinsic(memcpy)</span>
|
||||
<a name="l00083"></a>00083 <span class="preprocessor"></span><span class="preprocessor"> #pragma intrinsic(memset)</span>
|
||||
<a name="l00084"></a>00084 <span class="preprocessor"></span><span class="preprocessor"> #pragma intrinsic(strcmp)</span>
|
||||
<a name="l00085"></a>00085 <span class="preprocessor"></span><span class="preprocessor"> #pragma intrinsic(strlen)</span>
|
||||
<a name="l00086"></a>00086 <span class="preprocessor"></span><span class="preprocessor"> #pragma intrinsic(strcpy)</span>
|
||||
<a name="l00087"></a>00087 <span class="preprocessor"></span>
|
||||
<a name="l00088"></a>00088 <span class="preprocessor"> #if _MSC_VER >= 1300</span>
|
||||
<a name="l00089"></a>00089 <span class="preprocessor"></span><span class="preprocessor"> #pragma warning(disable : 4996) // MSVC++ 8/9 deprecation warnings</span>
|
||||
<a name="l00090"></a>00090 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00091"></a>00091 <span class="preprocessor"></span><span class="preprocessor"> #endif // _MSC_VER > 1000</span>
|
||||
<a name="l00092"></a>00092 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00093"></a>00093 <span class="preprocessor"></span><span class="preprocessor"> #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers</span>
|
||||
<a name="l00094"></a>00094 <span class="preprocessor"></span><span class="preprocessor"> #include <windows.h></span>
|
||||
<a name="l00095"></a>00095 <span class="preprocessor">#endif//_WIN32</span>
|
||||
<a name="l00096"></a>00096 <span class="preprocessor"></span>
|
||||
<a name="l00097"></a>00097 <span class="preprocessor">#ifdef _UNICODE</span>
|
||||
<a name="l00098"></a>00098 <span class="preprocessor"></span><span class="preprocessor"> #define IL_TEXT(s) L##s</span>
|
||||
<a name="l00099"></a>00099 <span class="preprocessor"></span><span class="preprocessor"> #ifndef _WIN32 // At least in Linux, fopen works fine, and wcsicmp is not defined.</span>
|
||||
<a name="l00100"></a>00100 <span class="preprocessor"></span><span class="preprocessor"> #define wcsicmp wcsncasecmp</span>
|
||||
<a name="l00101"></a>00101 <span class="preprocessor"></span><span class="preprocessor"> #define _wcsicmp wcsncasecmp</span>
|
||||
<a name="l00102"></a>00102 <span class="preprocessor"></span><span class="preprocessor"> #define _wfopen fopen</span>
|
||||
<a name="l00103"></a>00103 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00104"></a>00104 <span class="preprocessor"></span><span class="preprocessor"> #define iStrCpy wcscpy</span>
|
||||
<a name="l00105"></a>00105 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00106"></a>00106 <span class="preprocessor"></span><span class="preprocessor"> #define IL_TEXT(s) (s)</span>
|
||||
<a name="l00107"></a>00107 <span class="preprocessor"></span><span class="preprocessor"> #define iStrCpy strcpy</span>
|
||||
<a name="l00108"></a>00108 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00109"></a>00109 <span class="preprocessor"></span>
|
||||
<a name="l00110"></a>00110 <span class="preprocessor">#ifdef IL_INLINE_ASM</span>
|
||||
<a name="l00111"></a>00111 <span class="preprocessor"></span><span class="preprocessor"> #if (defined (_MSC_VER) && defined(_WIN32)) // MSVC++ only</span>
|
||||
<a name="l00112"></a>00112 <span class="preprocessor"></span><span class="preprocessor"> #define USE_WIN32_ASM</span>
|
||||
<a name="l00113"></a>00113 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00114"></a>00114 <span class="preprocessor"></span>
|
||||
<a name="l00115"></a>00115 <span class="preprocessor"> #ifdef _WIN64</span>
|
||||
<a name="l00116"></a>00116 <span class="preprocessor"></span><span class="preprocessor"> #undef USE_WIN32_ASM</span>
|
||||
<a name="l00117"></a>00117 <span class="preprocessor"></span> <span class="comment">//@TODO: Windows 64 compiler cannot use inline ASM, so we need to</span>
|
||||
<a name="l00118"></a>00118 <span class="comment">// generate some MASM code at some point.</span>
|
||||
<a name="l00119"></a>00119 <span class="preprocessor"> #endif</span>
|
||||
<a name="l00120"></a>00120 <span class="preprocessor"></span>
|
||||
<a name="l00121"></a>00121 <span class="preprocessor"> #ifdef _WIN32_WCE // Cannot use our inline ASM in Windows Mobile.</span>
|
||||
<a name="l00122"></a>00122 <span class="preprocessor"></span><span class="preprocessor"> #undef USE_WIN32_ASM</span>
|
||||
<a name="l00123"></a>00123 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00124"></a>00124 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00125"></a>00125 <span class="preprocessor"></span><span class="keyword">extern</span> <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *iCurImage;
|
||||
<a name="l00126"></a>00126 <span class="preprocessor">#define BIT_0 0x00000001</span>
|
||||
<a name="l00127"></a>00127 <span class="preprocessor"></span><span class="preprocessor">#define BIT_1 0x00000002</span>
|
||||
<a name="l00128"></a>00128 <span class="preprocessor"></span><span class="preprocessor">#define BIT_2 0x00000004</span>
|
||||
<a name="l00129"></a>00129 <span class="preprocessor"></span><span class="preprocessor">#define BIT_3 0x00000008</span>
|
||||
<a name="l00130"></a>00130 <span class="preprocessor"></span><span class="preprocessor">#define BIT_4 0x00000010</span>
|
||||
<a name="l00131"></a>00131 <span class="preprocessor"></span><span class="preprocessor">#define BIT_5 0x00000020</span>
|
||||
<a name="l00132"></a>00132 <span class="preprocessor"></span><span class="preprocessor">#define BIT_6 0x00000040</span>
|
||||
<a name="l00133"></a>00133 <span class="preprocessor"></span><span class="preprocessor">#define BIT_7 0x00000080</span>
|
||||
<a name="l00134"></a>00134 <span class="preprocessor"></span><span class="preprocessor">#define BIT_8 0x00000100</span>
|
||||
<a name="l00135"></a>00135 <span class="preprocessor"></span><span class="preprocessor">#define BIT_9 0x00000200</span>
|
||||
<a name="l00136"></a>00136 <span class="preprocessor"></span><span class="preprocessor">#define BIT_10 0x00000400</span>
|
||||
<a name="l00137"></a>00137 <span class="preprocessor"></span><span class="preprocessor">#define BIT_11 0x00000800</span>
|
||||
<a name="l00138"></a>00138 <span class="preprocessor"></span><span class="preprocessor">#define BIT_12 0x00001000</span>
|
||||
<a name="l00139"></a>00139 <span class="preprocessor"></span><span class="preprocessor">#define BIT_13 0x00002000</span>
|
||||
<a name="l00140"></a>00140 <span class="preprocessor"></span><span class="preprocessor">#define BIT_14 0x00004000</span>
|
||||
<a name="l00141"></a>00141 <span class="preprocessor"></span><span class="preprocessor">#define BIT_15 0x00008000</span>
|
||||
<a name="l00142"></a>00142 <span class="preprocessor"></span><span class="preprocessor">#define BIT_16 0x00010000</span>
|
||||
<a name="l00143"></a>00143 <span class="preprocessor"></span><span class="preprocessor">#define BIT_17 0x00020000</span>
|
||||
<a name="l00144"></a>00144 <span class="preprocessor"></span><span class="preprocessor">#define BIT_18 0x00040000</span>
|
||||
<a name="l00145"></a>00145 <span class="preprocessor"></span><span class="preprocessor">#define BIT_19 0x00080000</span>
|
||||
<a name="l00146"></a>00146 <span class="preprocessor"></span><span class="preprocessor">#define BIT_20 0x00100000</span>
|
||||
<a name="l00147"></a>00147 <span class="preprocessor"></span><span class="preprocessor">#define BIT_21 0x00200000</span>
|
||||
<a name="l00148"></a>00148 <span class="preprocessor"></span><span class="preprocessor">#define BIT_22 0x00400000</span>
|
||||
<a name="l00149"></a>00149 <span class="preprocessor"></span><span class="preprocessor">#define BIT_23 0x00800000</span>
|
||||
<a name="l00150"></a>00150 <span class="preprocessor"></span><span class="preprocessor">#define BIT_24 0x01000000</span>
|
||||
<a name="l00151"></a>00151 <span class="preprocessor"></span><span class="preprocessor">#define BIT_25 0x02000000</span>
|
||||
<a name="l00152"></a>00152 <span class="preprocessor"></span><span class="preprocessor">#define BIT_26 0x04000000</span>
|
||||
<a name="l00153"></a>00153 <span class="preprocessor"></span><span class="preprocessor">#define BIT_27 0x08000000</span>
|
||||
<a name="l00154"></a>00154 <span class="preprocessor"></span><span class="preprocessor">#define BIT_28 0x10000000</span>
|
||||
<a name="l00155"></a>00155 <span class="preprocessor"></span><span class="preprocessor">#define BIT_29 0x20000000</span>
|
||||
<a name="l00156"></a>00156 <span class="preprocessor"></span><span class="preprocessor">#define BIT_30 0x40000000</span>
|
||||
<a name="l00157"></a>00157 <span class="preprocessor"></span><span class="preprocessor">#define BIT_31 0x80000000</span>
|
||||
<a name="l00158"></a>00158 <span class="preprocessor"></span><span class="preprocessor">#define NUL '\0' // Easier to type and ?portable?</span>
|
||||
<a name="l00159"></a>00159 <span class="preprocessor"></span><span class="preprocessor">#if !_WIN32 || _WIN32_WCE</span>
|
||||
<a name="l00160"></a>00160 <span class="preprocessor"></span> <span class="keywordtype">int</span> stricmp(<span class="keyword">const</span> <span class="keywordtype">char</span> *src1, <span class="keyword">const</span> <span class="keywordtype">char</span> *src2);
|
||||
<a name="l00161"></a>00161 <span class="keywordtype">int</span> strnicmp(<span class="keyword">const</span> <span class="keywordtype">char</span> *src1, <span class="keyword">const</span> <span class="keywordtype">char</span> *src2, <span class="keywordtype">size_t</span> max);
|
||||
<a name="l00162"></a>00162 <span class="preprocessor">#endif//_WIN32</span>
|
||||
<a name="l00163"></a>00163 <span class="preprocessor"></span><span class="preprocessor">#ifdef _WIN32_WCE</span>
|
||||
<a name="l00164"></a>00164 <span class="preprocessor"></span> <span class="keywordtype">char</span> *strdup(<span class="keyword">const</span> <span class="keywordtype">char</span> *src);
|
||||
<a name="l00165"></a>00165 <span class="preprocessor">#endif</span>
|
||||
<a name="l00166"></a>00166 <span class="preprocessor"></span><span class="keywordtype">int</span> iStrCmp(ILconst_string src1, ILconst_string src2);
|
||||
<a name="l00167"></a>00167
|
||||
<a name="l00168"></a>00168 <span class="comment">//</span>
|
||||
<a name="l00169"></a>00169 <span class="comment">// Some math functions</span>
|
||||
<a name="l00170"></a>00170 <span class="comment">//</span>
|
||||
<a name="l00171"></a>00171 <span class="comment">// A fast integer squareroot, completely accurate for x < 289.</span>
|
||||
<a name="l00172"></a>00172 <span class="comment">// Taken from http://atoms.org.uk/sqrt/</span>
|
||||
<a name="l00173"></a>00173 <span class="comment">// There is also a version that is accurate for all integers</span>
|
||||
<a name="l00174"></a>00174 <span class="comment">// < 2^31, if we should need it</span>
|
||||
<a name="l00175"></a>00175 <span class="keywordtype">int</span> iSqrt(<span class="keywordtype">int</span> x);
|
||||
<a name="l00176"></a>00176 <span class="comment">//</span>
|
||||
<a name="l00177"></a>00177 <span class="comment">// Useful miscellaneous functions</span>
|
||||
<a name="l00178"></a>00178 <span class="comment">//</span>
|
||||
<a name="l00179"></a>00179 ILboolean iCheckExtension(ILconst_string Arg, ILconst_string Ext);
|
||||
<a name="l00180"></a>00180 ILbyte* iFgets(<span class="keywordtype">char</span> *buffer, ILuint maxlen);
|
||||
<a name="l00181"></a>00181 ILboolean iFileExists(ILconst_string FileName);
|
||||
<a name="l00182"></a>00182 ILstring iGetExtension(ILconst_string FileName);
|
||||
<a name="l00183"></a>00183 ILstring ilStrDup(ILconst_string Str);
|
||||
<a name="l00184"></a>00184 ILuint ilStrLen(ILconst_string Str);
|
||||
<a name="l00185"></a>00185 ILuint ilCharStrLen(<span class="keyword">const</span> <span class="keywordtype">char</span> *Str);
|
||||
<a name="l00186"></a>00186 <span class="comment">// Miscellaneous functions</span>
|
||||
<a name="l00187"></a>00187 <span class="keywordtype">void</span> ilDefaultStates(<span class="keywordtype">void</span>);
|
||||
<a name="l00188"></a>00188 ILenum iGetHint(ILenum Target);
|
||||
<a name="l00189"></a>00189 ILint iGetInt(ILenum Mode);
|
||||
<a name="l00190"></a>00190 <span class="keywordtype">void</span> ilRemoveRegistered(<span class="keywordtype">void</span>);
|
||||
<a name="l00191"></a>00191 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilSetCurImage(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image);
|
||||
<a name="l00192"></a>00192 ILuint ilDetermineSize(ILenum Type);
|
||||
<a name="l00193"></a>00193 <span class="comment">//</span>
|
||||
<a name="l00194"></a>00194 <span class="comment">// Rle compression</span>
|
||||
<a name="l00195"></a>00195 <span class="comment">//</span>
|
||||
<a name="l00196"></a>00196 <span class="preprocessor">#define IL_TGACOMP 0x01</span>
|
||||
<a name="l00197"></a>00197 <span class="preprocessor"></span><span class="preprocessor">#define IL_PCXCOMP 0x02</span>
|
||||
<a name="l00198"></a>00198 <span class="preprocessor"></span><span class="preprocessor">#define IL_SGICOMP 0x03</span>
|
||||
<a name="l00199"></a>00199 <span class="preprocessor"></span><span class="preprocessor">#define IL_BMPCOMP 0x04</span>
|
||||
<a name="l00200"></a>00200 <span class="preprocessor"></span>ILboolean ilRleCompressLine(ILubyte *ScanLine, ILuint Width, ILubyte Bpp, ILubyte *Dest, ILuint *DestWidth, ILenum CompressMode);
|
||||
<a name="l00201"></a>00201 ILuint ilRleCompress(ILubyte *Data, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp, ILubyte *Dest, ILenum CompressMode, ILuint *ScanTable);
|
||||
<a name="l00202"></a>00202 <span class="keywordtype">void</span> iSetImage0(<span class="keywordtype">void</span>);
|
||||
<a name="l00203"></a>00203 <span class="comment">// DXTC compression</span>
|
||||
<a name="l00204"></a>00204 ILuint ilNVidiaCompressDXTFile(ILubyte *Data, ILuint Width, ILuint Height, ILuint Depth, ILenum DxtType);
|
||||
<a name="l00205"></a>00205 ILAPI ILubyte* ILAPIENTRY ilNVidiaCompressDXT(ILubyte *Data, ILuint Width, ILuint Height, ILuint Depth, ILenum DxtFormat, ILuint *DxtSize);
|
||||
<a name="l00206"></a>00206 ILAPI ILubyte* ILAPIENTRY ilSquishCompressDXT(ILubyte *Data, ILuint Width, ILuint Height, ILuint Depth, ILenum DxtFormat, ILuint *DxtSize);
|
||||
<a name="l00207"></a>00207
|
||||
<a name="l00208"></a>00208 <span class="comment">// Conversion functions</span>
|
||||
<a name="l00209"></a>00209 ILboolean ilAddAlpha(<span class="keywordtype">void</span>);
|
||||
<a name="l00210"></a>00210 ILboolean ilAddAlphaKey(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image);
|
||||
<a name="l00211"></a>00211 ILboolean iFastConvert(ILenum DestFormat);
|
||||
<a name="l00212"></a>00212 ILboolean ilFixCur(<span class="keywordtype">void</span>);
|
||||
<a name="l00213"></a>00213 ILboolean ilFixImage(<span class="keywordtype">void</span>);
|
||||
<a name="l00214"></a>00214 ILboolean ilRemoveAlpha(<span class="keywordtype">void</span>);
|
||||
<a name="l00215"></a>00215 ILboolean ilSwapColours(<span class="keywordtype">void</span>);
|
||||
<a name="l00216"></a>00216 <span class="comment">// Palette functions</span>
|
||||
<a name="l00217"></a>00217 ILboolean iCopyPalette(<a class="code" href="structILpal.html" title="Basic Palette struct.">ILpal</a> *Dest, <a class="code" href="structILpal.html" title="Basic Palette struct.">ILpal</a> *Src);
|
||||
<a name="l00218"></a>00218 <span class="comment">// Miscellaneous functions</span>
|
||||
<a name="l00219"></a>00219 <span class="keywordtype">char</span>* iGetString(ILenum StringName); <span class="comment">// Internal version of ilGetString</span>
|
||||
<a name="l00220"></a>00220
|
||||
<a name="l00221"></a>00221 <span class="comment">//</span>
|
||||
<a name="l00222"></a>00222 <span class="comment">// Image loading/saving functions</span>
|
||||
<a name="l00223"></a>00223 <span class="comment">//</span>
|
||||
<a name="l00224"></a>00224 ILboolean ilIsValidBlp(ILconst_string FileName);
|
||||
<a name="l00225"></a>00225 ILboolean ilIsValidBlpF(ILHANDLE File);
|
||||
<a name="l00226"></a>00226 ILboolean ilIsValidBlpL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00227"></a>00227 ILboolean ilLoadBlp(ILconst_string FileName);
|
||||
<a name="l00228"></a>00228 ILboolean ilLoadBlpF(ILHANDLE File);
|
||||
<a name="l00229"></a>00229 ILboolean ilLoadBlpL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00230"></a>00230 ILboolean ilIsValidBmp(ILconst_string CONST_RESTRICT FileName);
|
||||
<a name="l00231"></a>00231 ILboolean ilIsValidBmpF(ILHANDLE File);
|
||||
<a name="l00232"></a>00232 ILboolean ilIsValidBmpL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00233"></a>00233 ILboolean ilLoadBmp(ILconst_string FileName);
|
||||
<a name="l00234"></a>00234 ILboolean ilLoadBmpF(ILHANDLE File);
|
||||
<a name="l00235"></a>00235 ILboolean ilLoadBmpL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00236"></a>00236 ILboolean ilSaveBmp(ILconst_string FileName);
|
||||
<a name="l00237"></a>00237 ILuint ilSaveBmpF(ILHANDLE File);
|
||||
<a name="l00238"></a>00238 ILuint ilSaveBmpL(<span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00239"></a>00239 ILboolean ilSaveCHeader(ILconst_string FileName, <span class="keywordtype">char</span> *InternalName);
|
||||
<a name="l00240"></a>00240 ILboolean ilLoadCut(ILconst_string FileName);
|
||||
<a name="l00241"></a>00241 ILboolean ilLoadCutF(ILHANDLE File);
|
||||
<a name="l00242"></a>00242 ILboolean ilLoadCutL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00243"></a>00243 ILboolean ilIsValidDcx(ILconst_string FileName);
|
||||
<a name="l00244"></a>00244 ILboolean ilIsValidDcxF(ILHANDLE File);
|
||||
<a name="l00245"></a>00245 ILboolean ilIsValidDcxL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00246"></a>00246 ILboolean ilLoadDcx(ILconst_string FileName);
|
||||
<a name="l00247"></a>00247 ILboolean ilLoadDcxF(ILHANDLE File);
|
||||
<a name="l00248"></a>00248 ILboolean ilLoadDcxL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00249"></a>00249 ILboolean ilIsValidDds(ILconst_string FileName);
|
||||
<a name="l00250"></a>00250 ILboolean ilIsValidDdsF(ILHANDLE File);
|
||||
<a name="l00251"></a>00251 ILboolean ilIsValidDdsL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00252"></a>00252 ILboolean ilLoadDds(ILconst_string FileName);
|
||||
<a name="l00253"></a>00253 ILboolean ilLoadDdsF(ILHANDLE File);
|
||||
<a name="l00254"></a>00254 ILboolean ilLoadDdsL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00255"></a>00255 ILboolean ilSaveDds(ILconst_string FileName);
|
||||
<a name="l00256"></a>00256 ILuint ilSaveDdsF(ILHANDLE File);
|
||||
<a name="l00257"></a>00257 ILuint ilSaveDdsL(<span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00258"></a>00258 ILboolean ilIsValidDicom(ILconst_string FileName);
|
||||
<a name="l00259"></a>00259 ILboolean ilIsValidDicomF(ILHANDLE File);
|
||||
<a name="l00260"></a>00260 ILboolean ilIsValidDicomL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00261"></a>00261 ILboolean ilLoadDicom(ILconst_string FileName);
|
||||
<a name="l00262"></a>00262 ILboolean ilLoadDicomF(ILHANDLE File);
|
||||
<a name="l00263"></a>00263 ILboolean ilLoadDicomL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00264"></a>00264 ILboolean ilLoadDoom(ILconst_string FileName);
|
||||
<a name="l00265"></a>00265 ILboolean ilLoadDoomF(ILHANDLE File);
|
||||
<a name="l00266"></a>00266 ILboolean ilLoadDoomL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00267"></a>00267 ILboolean ilLoadDoomFlat(ILconst_string FileName);
|
||||
<a name="l00268"></a>00268 ILboolean ilLoadDoomFlatF(ILHANDLE File);
|
||||
<a name="l00269"></a>00269 ILboolean ilLoadDoomFlatL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00270"></a>00270 ILboolean ilIsValidDpx(ILconst_string FileName);
|
||||
<a name="l00271"></a>00271 ILboolean ilIsValidDpxF(ILHANDLE File);
|
||||
<a name="l00272"></a>00272 ILboolean ilIsValidDpxL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00273"></a>00273 ILboolean ilLoadDpx(ILconst_string FileName);
|
||||
<a name="l00274"></a>00274 ILboolean ilLoadDpxF(ILHANDLE File);
|
||||
<a name="l00275"></a>00275 ILboolean ilLoadDpxL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00276"></a>00276 ILboolean ilIsValidExr(ILconst_string FileName);
|
||||
<a name="l00277"></a>00277 ILboolean ilIsValidExrF(ILHANDLE File);
|
||||
<a name="l00278"></a>00278 ILboolean ilIsValidExrL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00279"></a>00279 ILboolean ilLoadExr(ILconst_string FileName);
|
||||
<a name="l00280"></a>00280 ILboolean ilLoadExrF(ILHANDLE File);
|
||||
<a name="l00281"></a>00281 ILboolean ilLoadExrL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00282"></a>00282 ILboolean ilSaveExr(ILconst_string FileName);
|
||||
<a name="l00283"></a>00283 ILuint ilSaveExrF(ILHANDLE File);
|
||||
<a name="l00284"></a>00284 ILuint ilSaveExrL(<span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00285"></a>00285 ILboolean ilIsValidFits(ILconst_string FileName);
|
||||
<a name="l00286"></a>00286 ILboolean ilIsValidFitsF(ILHANDLE File);
|
||||
<a name="l00287"></a>00287 ILboolean ilIsValidFitsL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00288"></a>00288 ILboolean ilLoadFits(ILconst_string FileName);
|
||||
<a name="l00289"></a>00289 ILboolean ilLoadFitsF(ILHANDLE File);
|
||||
<a name="l00290"></a>00290 ILboolean ilLoadFitsL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00291"></a>00291 ILboolean ilLoadFtx(ILconst_string FileName);
|
||||
<a name="l00292"></a>00292 ILboolean ilLoadFtxF(ILHANDLE File);
|
||||
<a name="l00293"></a>00293 ILboolean ilLoadFtxL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00294"></a>00294 ILboolean ilIsValidGif(ILconst_string FileName);
|
||||
<a name="l00295"></a>00295 ILboolean ilIsValidGifF(ILHANDLE File);
|
||||
<a name="l00296"></a>00296 ILboolean ilIsValidGifL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00297"></a>00297 ILboolean ilLoadGif(ILconst_string FileName);
|
||||
<a name="l00298"></a>00298 ILboolean ilLoadGifF(ILHANDLE File);
|
||||
<a name="l00299"></a>00299 ILboolean ilLoadGifL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00300"></a>00300 ILboolean ilIsValidHdr(ILconst_string FileName);
|
||||
<a name="l00301"></a>00301 ILboolean ilIsValidHdrF(ILHANDLE File);
|
||||
<a name="l00302"></a>00302 ILboolean ilIsValidHdrL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00303"></a>00303 ILboolean ilLoadHdr(ILconst_string FileName);
|
||||
<a name="l00304"></a>00304 ILboolean ilLoadHdrF(ILHANDLE File);
|
||||
<a name="l00305"></a>00305 ILboolean ilLoadHdrL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00306"></a>00306 ILboolean ilSaveHdr(ILconst_string FileName);
|
||||
<a name="l00307"></a>00307 ILuint ilSaveHdrF(ILHANDLE File);
|
||||
<a name="l00308"></a>00308 ILuint ilSaveHdrL(<span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00309"></a>00309 ILboolean ilLoadIcon(ILconst_string FileName);
|
||||
<a name="l00310"></a>00310 ILboolean ilLoadIconF(ILHANDLE File);
|
||||
<a name="l00311"></a>00311 ILboolean ilLoadIconL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00312"></a>00312 ILboolean ilIsValidIcns(ILconst_string FileName);
|
||||
<a name="l00313"></a>00313 ILboolean ilIsValidIcnsF(ILHANDLE File);
|
||||
<a name="l00314"></a>00314 ILboolean ilIsValidIcnsL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00315"></a>00315 ILboolean ilLoadIcns(ILconst_string FileName);
|
||||
<a name="l00316"></a>00316 ILboolean ilLoadIcnsF(ILHANDLE File);
|
||||
<a name="l00317"></a>00317 ILboolean ilLoadIcnsL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00318"></a>00318 ILboolean ilLoadIff(ILconst_string FileName);
|
||||
<a name="l00319"></a>00319 ILboolean ilLoadIffF(ILHANDLE File);
|
||||
<a name="l00320"></a>00320 ILboolean ilLoadIffL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00321"></a>00321 ILboolean ilIsValidIlbm(ILconst_string FileName);
|
||||
<a name="l00322"></a>00322 ILboolean ilIsValidIlbmF(ILHANDLE File);
|
||||
<a name="l00323"></a>00323 ILboolean ilIsValidIlbmL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00324"></a>00324 ILboolean ilLoadIlbm(ILconst_string FileName);
|
||||
<a name="l00325"></a>00325 ILboolean ilLoadIlbmF(ILHANDLE File);
|
||||
<a name="l00326"></a>00326 ILboolean ilLoadIlbmL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00327"></a>00327 ILboolean ilIsValidIwi(ILconst_string FileName);
|
||||
<a name="l00328"></a>00328 ILboolean ilIsValidIwiF(ILHANDLE File);
|
||||
<a name="l00329"></a>00329 ILboolean ilIsValidIwiL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00330"></a>00330 ILboolean ilLoadIwi(ILconst_string FileName);
|
||||
<a name="l00331"></a>00331 ILboolean ilLoadIwiF(ILHANDLE File);
|
||||
<a name="l00332"></a>00332 ILboolean ilLoadIwiL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00333"></a>00333 ILboolean ilIsValidJp2(ILconst_string FileName);
|
||||
<a name="l00334"></a>00334 ILboolean ilIsValidJp2F(ILHANDLE File);
|
||||
<a name="l00335"></a>00335 ILboolean ilIsValidJp2L(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00336"></a>00336 ILboolean ilLoadJp2(ILconst_string FileName);
|
||||
<a name="l00337"></a>00337 ILboolean ilLoadJp2F(ILHANDLE File);
|
||||
<a name="l00338"></a>00338 ILboolean ilLoadJp2L(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00339"></a>00339 ILboolean ilLoadJp2LInternal(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size, <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image);
|
||||
<a name="l00340"></a>00340 ILboolean ilSaveJp2(ILconst_string FileName);
|
||||
<a name="l00341"></a>00341 ILuint ilSaveJp2F(ILHANDLE File);
|
||||
<a name="l00342"></a>00342 ILuint ilSaveJp2L(<span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00343"></a>00343 ILboolean ilIsValidJpeg(ILconst_string FileName);
|
||||
<a name="l00344"></a>00344 ILboolean ilIsValidJpegF(ILHANDLE File);
|
||||
<a name="l00345"></a>00345 ILboolean ilIsValidJpegL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00346"></a>00346 ILboolean ilLoadJpeg(ILconst_string FileName);
|
||||
<a name="l00347"></a>00347 ILboolean ilLoadJpegF(ILHANDLE File);
|
||||
<a name="l00348"></a>00348 ILboolean ilLoadJpegL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00349"></a>00349 ILboolean ilSaveJpeg(ILconst_string FileName);
|
||||
<a name="l00350"></a>00350 ILuint ilSaveJpegF(ILHANDLE File);
|
||||
<a name="l00351"></a>00351 ILuint ilSaveJpegL(<span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00352"></a>00352 ILboolean ilIsValidLif(ILconst_string FileName);
|
||||
<a name="l00353"></a>00353 ILboolean ilIsValidLifF(ILHANDLE File);
|
||||
<a name="l00354"></a>00354 ILboolean ilIsValidLifL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00355"></a>00355 ILboolean ilLoadLif(ILconst_string FileName);
|
||||
<a name="l00356"></a>00356 ILboolean ilLoadLifF(ILHANDLE File);
|
||||
<a name="l00357"></a>00357 ILboolean ilLoadLifL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00358"></a>00358 ILboolean ilIsValidMdl(ILconst_string FileName);
|
||||
<a name="l00359"></a>00359 ILboolean ilIsValidMdlF(ILHANDLE File);
|
||||
<a name="l00360"></a>00360 ILboolean ilIsValidMdlL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00361"></a>00361 ILboolean ilLoadMdl(ILconst_string FileName);
|
||||
<a name="l00362"></a>00362 ILboolean ilLoadMdlF(ILHANDLE File);
|
||||
<a name="l00363"></a>00363 ILboolean ilLoadMdlL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00364"></a>00364 ILboolean ilLoadMng(ILconst_string FileName);
|
||||
<a name="l00365"></a>00365 ILboolean ilLoadMngF(ILHANDLE File);
|
||||
<a name="l00366"></a>00366 ILboolean ilLoadMngL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00367"></a>00367 ILboolean ilSaveMng(ILconst_string FileName);
|
||||
<a name="l00368"></a>00368 ILuint ilSaveMngF(ILHANDLE File);
|
||||
<a name="l00369"></a>00369 ILuint ilSaveMngL(<span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00370"></a>00370 ILboolean ilIsValidMp3(ILconst_string FileName);
|
||||
<a name="l00371"></a>00371 ILboolean ilIsValidMp3F(ILHANDLE File);
|
||||
<a name="l00372"></a>00372 ILboolean ilIsValidMp3L(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00373"></a>00373 ILboolean ilLoadMp3(ILconst_string FileName);
|
||||
<a name="l00374"></a>00374 ILboolean ilLoadMp3F(ILHANDLE File);
|
||||
<a name="l00375"></a>00375 ILboolean ilLoadMp3L(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00376"></a>00376 ILboolean ilLoadPcd(ILconst_string FileName);
|
||||
<a name="l00377"></a>00377 ILboolean ilLoadPcdF(ILHANDLE File);
|
||||
<a name="l00378"></a>00378 ILboolean ilLoadPcdL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00379"></a>00379 ILboolean ilIsValidPcx(ILconst_string FileName);
|
||||
<a name="l00380"></a>00380 ILboolean ilIsValidPcxF(ILHANDLE File);
|
||||
<a name="l00381"></a>00381 ILboolean ilIsValidPcxL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00382"></a>00382 ILboolean ilLoadPcx(ILconst_string FileName);
|
||||
<a name="l00383"></a>00383 ILboolean ilLoadPcxF(ILHANDLE File);
|
||||
<a name="l00384"></a>00384 ILboolean ilLoadPcxL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00385"></a>00385 ILboolean ilSavePcx(ILconst_string FileName);
|
||||
<a name="l00386"></a>00386 ILuint ilSavePcxF(ILHANDLE File);
|
||||
<a name="l00387"></a>00387 ILuint ilSavePcxL(<span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00388"></a>00388 ILboolean ilIsValidPic(ILconst_string FileName);
|
||||
<a name="l00389"></a>00389 ILboolean ilIsValidPicF(ILHANDLE File);
|
||||
<a name="l00390"></a>00390 ILboolean ilIsValidPicL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00391"></a>00391 ILboolean ilLoadPic(ILconst_string FileName);
|
||||
<a name="l00392"></a>00392 ILboolean ilLoadPicF(ILHANDLE File);
|
||||
<a name="l00393"></a>00393 ILboolean ilLoadPicL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00394"></a>00394 ILboolean ilLoadPix(ILconst_string FileName);
|
||||
<a name="l00395"></a>00395 ILboolean ilLoadPixF(ILHANDLE File);
|
||||
<a name="l00396"></a>00396 ILboolean ilLoadPixL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00397"></a>00397 ILboolean ilIsValidPng(ILconst_string FileName);
|
||||
<a name="l00398"></a>00398 ILboolean ilIsValidPngF(ILHANDLE File);
|
||||
<a name="l00399"></a>00399 ILboolean ilIsValidPngL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00400"></a>00400 ILboolean ilLoadPng(ILconst_string FileName);
|
||||
<a name="l00401"></a>00401 ILboolean ilLoadPngF(ILHANDLE File);
|
||||
<a name="l00402"></a>00402 ILboolean ilLoadPngL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00403"></a>00403 ILboolean ilSavePng(ILconst_string FileName);
|
||||
<a name="l00404"></a>00404 ILuint ilSavePngF(ILHANDLE File);
|
||||
<a name="l00405"></a>00405 ILuint ilSavePngL(<span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00406"></a>00406 ILboolean ilIsValidPnm(ILconst_string FileName);
|
||||
<a name="l00407"></a>00407 ILboolean ilIsValidPnmF(ILHANDLE File);
|
||||
<a name="l00408"></a>00408 ILboolean ilIsValidPnmL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00409"></a>00409 ILboolean ilLoadPnm(ILconst_string FileName);
|
||||
<a name="l00410"></a>00410 ILboolean ilLoadPnmF(ILHANDLE File);
|
||||
<a name="l00411"></a>00411 ILboolean ilLoadPnmL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00412"></a>00412 ILboolean ilSavePnm(ILconst_string FileName);
|
||||
<a name="l00413"></a>00413 ILuint ilSavePnmF(ILHANDLE File);
|
||||
<a name="l00414"></a>00414 ILuint ilSavePnmL(<span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00415"></a>00415 ILboolean ilIsValidPsd(ILconst_string FileName);
|
||||
<a name="l00416"></a>00416 ILboolean ilIsValidPsdF(ILHANDLE File);
|
||||
<a name="l00417"></a>00417 ILboolean ilIsValidPsdL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00418"></a>00418 ILboolean ilLoadPsd(ILconst_string FileName);
|
||||
<a name="l00419"></a>00419 ILboolean ilLoadPsdF(ILHANDLE File);
|
||||
<a name="l00420"></a>00420 ILboolean ilLoadPsdL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00421"></a>00421 ILboolean ilSavePsd(ILconst_string FileName);
|
||||
<a name="l00422"></a>00422 ILuint ilSavePsdF(ILHANDLE File);
|
||||
<a name="l00423"></a>00423 ILuint ilSavePsdL(<span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00424"></a>00424 ILboolean ilIsValidPsp(ILconst_string FileName);
|
||||
<a name="l00425"></a>00425 ILboolean ilIsValidPspF(ILHANDLE File);
|
||||
<a name="l00426"></a>00426 ILboolean ilIsValidPspL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00427"></a>00427 ILboolean ilLoadPsp(ILconst_string FileName);
|
||||
<a name="l00428"></a>00428 ILboolean ilLoadPspF(ILHANDLE File);
|
||||
<a name="l00429"></a>00429 ILboolean ilLoadPspL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00430"></a>00430 ILboolean ilLoadPxr(ILconst_string FileName);
|
||||
<a name="l00431"></a>00431 ILboolean ilLoadPxrF(ILHANDLE File);
|
||||
<a name="l00432"></a>00432 ILboolean ilLoadPxrL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00433"></a>00433 ILboolean ilLoadRaw(ILconst_string FileName);
|
||||
<a name="l00434"></a>00434 ILboolean ilLoadRawF(ILHANDLE File);
|
||||
<a name="l00435"></a>00435 ILboolean ilLoadRawL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00436"></a>00436 ILboolean ilSaveRaw(ILconst_string FileName);
|
||||
<a name="l00437"></a>00437 ILuint ilSaveRawF(ILHANDLE File);
|
||||
<a name="l00438"></a>00438 ILuint ilSaveRawL(<span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00439"></a>00439 ILboolean ilLoadRot(ILconst_string FileName);
|
||||
<a name="l00440"></a>00440 ILboolean ilLoadRotF(ILHANDLE File);
|
||||
<a name="l00441"></a>00441 ILboolean ilLoadRotL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00442"></a>00442 ILboolean ilIsValidRot(ILconst_string FileName);
|
||||
<a name="l00443"></a>00443 ILboolean ilIsValidRotF(ILHANDLE File);
|
||||
<a name="l00444"></a>00444 ILboolean ilIsValidRotL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00445"></a>00445 ILboolean ilIsValidSgi(ILconst_string FileName);
|
||||
<a name="l00446"></a>00446 ILboolean ilIsValidSgiF(ILHANDLE File);
|
||||
<a name="l00447"></a>00447 ILboolean ilIsValidSgiL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00448"></a>00448 ILboolean ilLoadSgi(ILconst_string FileName);
|
||||
<a name="l00449"></a>00449 ILboolean ilLoadSgiF(ILHANDLE File);
|
||||
<a name="l00450"></a>00450 ILboolean ilLoadSgiL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00451"></a>00451 ILboolean ilSaveSgi(ILconst_string FileName);
|
||||
<a name="l00452"></a>00452 ILuint ilSaveSgiF(ILHANDLE File);
|
||||
<a name="l00453"></a>00453 ILuint ilSaveSgiL(<span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00454"></a>00454 ILboolean ilIsValidSun(ILconst_string FileName);
|
||||
<a name="l00455"></a>00455 ILboolean ilIsValidSunF(ILHANDLE File);
|
||||
<a name="l00456"></a>00456 ILboolean ilIsValidSunL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00457"></a>00457 ILboolean ilLoadSun(ILconst_string FileName);
|
||||
<a name="l00458"></a>00458 ILboolean ilLoadSunF(ILHANDLE File);
|
||||
<a name="l00459"></a>00459 ILboolean ilLoadSunL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00460"></a>00460 ILboolean ilIsValidTga(ILconst_string FileName);
|
||||
<a name="l00461"></a>00461 ILboolean ilIsValidTgaF(ILHANDLE File);
|
||||
<a name="l00462"></a>00462 ILboolean ilIsValidTgaL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00463"></a>00463 ILboolean ilLoadTarga(ILconst_string FileName);
|
||||
<a name="l00464"></a>00464 ILboolean ilLoadTargaF(ILHANDLE File);
|
||||
<a name="l00465"></a>00465 ILboolean ilLoadTargaL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00466"></a>00466 ILboolean ilSaveTarga(ILconst_string FileName);
|
||||
<a name="l00467"></a>00467 ILuint ilSaveTargaF(ILHANDLE File);
|
||||
<a name="l00468"></a>00468 ILuint ilSaveTargaL(<span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00469"></a>00469 ILboolean ilLoadTexture(ILconst_string FileName);
|
||||
<a name="l00470"></a>00470 ILboolean ilLoadTextureF(ILHANDLE File);
|
||||
<a name="l00471"></a>00471 ILboolean ilLoadTextureL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00472"></a>00472 ILboolean ilIsValidTiff(ILconst_string FileName);
|
||||
<a name="l00473"></a>00473 ILboolean ilIsValidTiffF(ILHANDLE File);
|
||||
<a name="l00474"></a>00474 ILboolean ilIsValidTiffL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00475"></a>00475 ILboolean ilLoadTiff(ILconst_string FileName);
|
||||
<a name="l00476"></a>00476 ILboolean ilLoadTiffF(ILHANDLE File);
|
||||
<a name="l00477"></a>00477 ILboolean ilLoadTiffL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00478"></a>00478 ILboolean ilSaveTiff(ILconst_string FileName);
|
||||
<a name="l00479"></a>00479 ILuint ilSaveTiffF(ILHANDLE File);
|
||||
<a name="l00480"></a>00480 ILuint ilSaveTiffL(<span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00481"></a>00481 ILboolean ilIsValidTpl(ILconst_string FileName);
|
||||
<a name="l00482"></a>00482 ILboolean ilIsValidTplF(ILHANDLE File);
|
||||
<a name="l00483"></a>00483 ILboolean ilIsValidTplL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00484"></a>00484 ILboolean ilLoadTpl(ILconst_string FileName);
|
||||
<a name="l00485"></a>00485 ILboolean ilLoadTplF(ILHANDLE File);
|
||||
<a name="l00486"></a>00486 ILboolean ilLoadTplL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00487"></a>00487 ILboolean ilLoadUtx(ILconst_string FileName);
|
||||
<a name="l00488"></a>00488 ILboolean ilLoadUtxF(ILHANDLE File);
|
||||
<a name="l00489"></a>00489 ILboolean ilLoadUtxL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00490"></a>00490 ILboolean ilIsValidVtf(ILconst_string FileName);
|
||||
<a name="l00491"></a>00491 ILboolean ilIsValidVtfF(ILHANDLE File);
|
||||
<a name="l00492"></a>00492 ILboolean ilIsValidVtfL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00493"></a>00493 ILboolean ilLoadVtf(ILconst_string FileName);
|
||||
<a name="l00494"></a>00494 ILboolean ilLoadVtfF(ILHANDLE File);
|
||||
<a name="l00495"></a>00495 ILboolean ilLoadVtfL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00496"></a>00496 ILboolean ilSaveVtf(ILconst_string FileName);
|
||||
<a name="l00497"></a>00497 ILuint ilSaveVtfF(ILHANDLE File);
|
||||
<a name="l00498"></a>00498 ILuint ilSaveVtfL(<span class="keywordtype">void</span> *Lump, ILuint Size);ILboolean ilLoadWal(ILconst_string FileName);
|
||||
<a name="l00499"></a>00499 ILboolean ilLoadWalF(ILHANDLE File);
|
||||
<a name="l00500"></a>00500 ILboolean ilLoadWalL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00501"></a>00501 ILboolean ilLoadWbmp(ILconst_string FileName);
|
||||
<a name="l00502"></a>00502 ILboolean ilLoadWbmpF(ILHANDLE File);
|
||||
<a name="l00503"></a>00503 ILboolean ilLoadWbmpL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00504"></a>00504 ILboolean ilSaveWbmp(ILconst_string FileName);
|
||||
<a name="l00505"></a>00505 ILuint ilSaveWbmpF(ILHANDLE File);
|
||||
<a name="l00506"></a>00506 ILuint ilSaveWbmpL(<span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00507"></a>00507 ILboolean ilIsValidWdp(ILconst_string FileName);
|
||||
<a name="l00508"></a>00508 ILboolean ilIsValidWdpF(ILHANDLE File);
|
||||
<a name="l00509"></a>00509 ILboolean ilIsValidWdpL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00510"></a>00510 ILboolean ilLoadWdp(ILconst_string FileName);
|
||||
<a name="l00511"></a>00511 ILboolean ilLoadWdpF(ILHANDLE File);
|
||||
<a name="l00512"></a>00512 ILboolean ilLoadWdpL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00513"></a>00513 ILboolean ilIsValidXpm(ILconst_string FileName);
|
||||
<a name="l00514"></a>00514 ILboolean ilIsValidXpmF(ILHANDLE File);
|
||||
<a name="l00515"></a>00515 ILboolean ilIsValidXpmL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00516"></a>00516 ILboolean ilLoadXpm(ILconst_string FileName);
|
||||
<a name="l00517"></a>00517 ILboolean ilLoadXpmF(ILHANDLE File);
|
||||
<a name="l00518"></a>00518 ILboolean ilLoadXpmL(<span class="keyword">const</span> <span class="keywordtype">void</span> *Lump, ILuint Size);
|
||||
<a name="l00519"></a>00519
|
||||
<a name="l00520"></a>00520
|
||||
<a name="l00521"></a>00521 <span class="comment">// OpenEXR is written in C++, so we have to wrap this to avoid linker errors.</span>
|
||||
<a name="l00522"></a>00522 <span class="comment">/*#ifndef IL_NO_EXR</span>
|
||||
<a name="l00523"></a>00523 <span class="comment"> #ifdef __cplusplus</span>
|
||||
<a name="l00524"></a>00524 <span class="comment"> extern "C" {</span>
|
||||
<a name="l00525"></a>00525 <span class="comment"> #endif</span>
|
||||
<a name="l00526"></a>00526 <span class="comment"> ILboolean ilLoadExr(ILconst_string FileName);</span>
|
||||
<a name="l00527"></a>00527 <span class="comment"> #ifdef __cplusplus</span>
|
||||
<a name="l00528"></a>00528 <span class="comment"> }</span>
|
||||
<a name="l00529"></a>00529 <span class="comment"> #endif</span>
|
||||
<a name="l00530"></a>00530 <span class="comment">#endif*/</span>
|
||||
<a name="l00531"></a>00531
|
||||
<a name="l00532"></a>00532 <span class="comment">//ILboolean ilLoadExr(ILconst_string FileName);</span>
|
||||
<a name="l00533"></a>00533
|
||||
<a name="l00534"></a>00534
|
||||
<a name="l00535"></a>00535 <span class="preprocessor">#ifdef __cplusplus</span>
|
||||
<a name="l00536"></a>00536 <span class="preprocessor"></span>}
|
||||
<a name="l00537"></a>00537 <span class="preprocessor">#endif</span>
|
||||
<a name="l00538"></a>00538 <span class="preprocessor"></span>
|
||||
<a name="l00539"></a>00539 <span class="preprocessor">#endif//INTERNAL_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_jp2.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_jp2.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2008 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 08/24/2008</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/src/il_jp2.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Jpeg-2000 (.jp2) functions</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef JP2_H</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define JP2_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00017"></a>00017
|
||||
<a name="l00018"></a>00018 ILboolean iLoadJp2Internal(jas_stream_t *Stream, <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image);
|
||||
<a name="l00019"></a>00019 ILboolean iSaveJp2Internal();
|
||||
<a name="l00020"></a>00020 jas_stream_t *iJp2ReadStream();
|
||||
<a name="l00021"></a>00021
|
||||
<a name="l00022"></a>00022 <span class="preprocessor">#endif//JP2_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,50 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_jpeg.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_jpeg.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2009 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 03/07/2009</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_jpeg.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Jpeg (.jpg) functions</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef JPEG_H</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define JPEG_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00017"></a>00017
|
||||
<a name="l00018"></a>00018 ILboolean iCheckJpg(ILubyte Header[2]);
|
||||
<a name="l00019"></a>00019 ILboolean iIsValidJpg(<span class="keywordtype">void</span>);
|
||||
<a name="l00020"></a>00020
|
||||
<a name="l00021"></a>00021 <span class="preprocessor">#ifndef IL_USE_IJL</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span> ILboolean iLoadJpegInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00023"></a>00023 ILboolean iSaveJpegInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00024"></a>00024 <span class="preprocessor">#else</span>
|
||||
<a name="l00025"></a>00025 <span class="preprocessor"></span> ILboolean iLoadJpegInternal(ILconst_string FileName, ILvoid *Lump, ILuint Size);
|
||||
<a name="l00026"></a>00026 ILboolean iSaveJpegInternal(ILconst_string FileName, ILvoid *Lump, ILuint Size);
|
||||
<a name="l00027"></a>00027 <span class="preprocessor">#endif</span>
|
||||
<a name="l00028"></a>00028 <span class="preprocessor"></span>
|
||||
<a name="l00029"></a>00029 <span class="preprocessor">#endif//JPEG_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,58 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_lif.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_lif.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2001 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/25/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_lif.c</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads a Homeworld image.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef LIF_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define LIF_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 <span class="keyword">typedef</span> <span class="keyword">struct </span>LIF_HEAD
|
||||
<a name="l00020"></a>00020 {
|
||||
<a name="l00021"></a>00021 <span class="keywordtype">char</span> Id[8]; <span class="comment">//"Willy 7"</span>
|
||||
<a name="l00022"></a>00022 ILuint Version; <span class="comment">// Version Number (260)</span>
|
||||
<a name="l00023"></a>00023 ILuint Flags; <span class="comment">// Usually 50</span>
|
||||
<a name="l00024"></a>00024 ILuint Width;
|
||||
<a name="l00025"></a>00025 ILuint Height;
|
||||
<a name="l00026"></a>00026 ILuint PaletteCRC; <span class="comment">// CRC of palettes for fast comparison.</span>
|
||||
<a name="l00027"></a>00027 ILuint ImageCRC; <span class="comment">// CRC of the image.</span>
|
||||
<a name="l00028"></a>00028 ILuint PalOffset; <span class="comment">// Offset to the palette (not used).</span>
|
||||
<a name="l00029"></a>00029 ILuint TeamEffect0; <span class="comment">// Team effect offset 0</span>
|
||||
<a name="l00030"></a>00030 ILuint TeamEffect1; <span class="comment">// Team effect offset 1</span>
|
||||
<a name="l00031"></a>00031 } LIF_HEAD;
|
||||
<a name="l00032"></a>00032
|
||||
<a name="l00033"></a>00033 ILboolean iIsValidLif(<span class="keywordtype">void</span>);
|
||||
<a name="l00034"></a>00034 ILboolean iCheckLif(LIF_HEAD *Header);
|
||||
<a name="l00035"></a>00035 ILboolean iLoadLifInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00036"></a>00036
|
||||
<a name="l00037"></a>00037 <span class="preprocessor">#endif//LIF_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,270 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_manip.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_manip.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2001-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/25/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_manip.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Image manipulation</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef MANIP_H</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define MANIP_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor">#ifdef _cplusplus</span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
|
||||
<a name="l00018"></a>00018 <span class="preprocessor">#endif</span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor"></span>
|
||||
<a name="l00020"></a>00020 ILboolean ilFlipImage(<span class="keywordtype">void</span>);
|
||||
<a name="l00021"></a>00021 ILboolean ilMirrorImage(<span class="keywordtype">void</span>); <span class="comment">//@JASON New routine created 03/28/2001</span>
|
||||
<a name="l00022"></a>00022
|
||||
<a name="l00023"></a>00023 <span class="comment">//-----------------------------------------------</span>
|
||||
<a name="l00024"></a>00024 <span class="comment">// Overflow handler for float-to-half conversion;</span>
|
||||
<a name="l00025"></a>00025 <span class="comment">// generates a hardware floating-point overflow,</span>
|
||||
<a name="l00026"></a>00026 <span class="comment">// which may be trapped by the operating system.</span>
|
||||
<a name="l00027"></a>00027 <span class="comment">//-----------------------------------------------</span>
|
||||
<a name="l00028"></a>00028 <span class="preprocessor">#ifndef NOINLINE</span>
|
||||
<a name="l00029"></a>00029 <span class="preprocessor"></span>
|
||||
<a name="l00030"></a>00030 <span class="preprocessor">#if defined(_MSC_VER)</span>
|
||||
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor"> #pragma warning(push)</span>
|
||||
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor"> #pragma warning(disable : 4756) // Disables 'named type definition in parentheses' warning</span>
|
||||
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00034"></a>00034 <span class="preprocessor"></span>INLINE ILfloat <span class="comment">/*ILAPIENTRY*/</span> ilFloatToHalfOverflow() {
|
||||
<a name="l00035"></a>00035 ILfloat f = 1e10;
|
||||
<a name="l00036"></a>00036 ILint j;
|
||||
<a name="l00037"></a>00037 <span class="keywordflow">for</span> (j = 0; j < 10; j++)
|
||||
<a name="l00038"></a>00038 f *= f; <span class="comment">// this will overflow before</span>
|
||||
<a name="l00039"></a>00039 <span class="comment">// the for loop terminates</span>
|
||||
<a name="l00040"></a>00040 <span class="keywordflow">return</span> f;
|
||||
<a name="l00041"></a>00041 }
|
||||
<a name="l00042"></a>00042 <span class="preprocessor">#if defined(_MSC_VER)</span>
|
||||
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor"> #pragma warning(pop)</span>
|
||||
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00045"></a>00045 <span class="preprocessor"></span>
|
||||
<a name="l00046"></a>00046 <span class="comment">//-----------------------------------------------------</span>
|
||||
<a name="l00047"></a>00047 <span class="comment">// Float-to-half conversion -- general case, including</span>
|
||||
<a name="l00048"></a>00048 <span class="comment">// zeroes, denormalized numbers and exponent overflows.</span>
|
||||
<a name="l00049"></a>00049 <span class="comment">//-----------------------------------------------------</span>
|
||||
<a name="l00050"></a>00050 INLINE ILushort ILAPIENTRY ilFloatToHalf(ILuint i) {
|
||||
<a name="l00051"></a>00051 <span class="comment">//</span>
|
||||
<a name="l00052"></a>00052 <span class="comment">// Our floating point number, f, is represented by the bit</span>
|
||||
<a name="l00053"></a>00053 <span class="comment">// pattern in integer i. Disassemble that bit pattern into</span>
|
||||
<a name="l00054"></a>00054 <span class="comment">// the sign, s, the exponent, e, and the significand, m.</span>
|
||||
<a name="l00055"></a>00055 <span class="comment">// Shift s into the position where it will go in in the</span>
|
||||
<a name="l00056"></a>00056 <span class="comment">// resulting half number.</span>
|
||||
<a name="l00057"></a>00057 <span class="comment">// Adjust e, accounting for the different exponent bias</span>
|
||||
<a name="l00058"></a>00058 <span class="comment">// of float and half (127 versus 15).</span>
|
||||
<a name="l00059"></a>00059 <span class="comment">//</span>
|
||||
<a name="l00060"></a>00060
|
||||
<a name="l00061"></a>00061 <span class="keyword">register</span> <span class="keywordtype">int</span> s = (i >> 16) & 0x00008000;
|
||||
<a name="l00062"></a>00062 <span class="keyword">register</span> <span class="keywordtype">int</span> e = ((i >> 23) & 0x000000ff) - (127 - 15);
|
||||
<a name="l00063"></a>00063 <span class="keyword">register</span> <span class="keywordtype">int</span> m = i & 0x007fffff;
|
||||
<a name="l00064"></a>00064
|
||||
<a name="l00065"></a>00065 <span class="comment">//</span>
|
||||
<a name="l00066"></a>00066 <span class="comment">// Now reassemble s, e and m into a half:</span>
|
||||
<a name="l00067"></a>00067 <span class="comment">//</span>
|
||||
<a name="l00068"></a>00068
|
||||
<a name="l00069"></a>00069 <span class="keywordflow">if</span> (e <= 0)
|
||||
<a name="l00070"></a>00070 {
|
||||
<a name="l00071"></a>00071 <span class="keywordflow">if</span> (e < -10)
|
||||
<a name="l00072"></a>00072 {
|
||||
<a name="l00073"></a>00073 <span class="comment">//</span>
|
||||
<a name="l00074"></a>00074 <span class="comment">// E is less than -10. The absolute value of f is</span>
|
||||
<a name="l00075"></a>00075 <span class="comment">// less than HALF_MIN (f may be a small normalized</span>
|
||||
<a name="l00076"></a>00076 <span class="comment">// float, a denormalized float or a zero).</span>
|
||||
<a name="l00077"></a>00077 <span class="comment">//</span>
|
||||
<a name="l00078"></a>00078 <span class="comment">// We convert f to a half zero.</span>
|
||||
<a name="l00079"></a>00079 <span class="comment">//</span>
|
||||
<a name="l00080"></a>00080
|
||||
<a name="l00081"></a>00081 <span class="keywordflow">return</span> 0;
|
||||
<a name="l00082"></a>00082 }
|
||||
<a name="l00083"></a>00083
|
||||
<a name="l00084"></a>00084 <span class="comment">//</span>
|
||||
<a name="l00085"></a>00085 <span class="comment">// E is between -10 and 0. F is a normalized float,</span>
|
||||
<a name="l00086"></a>00086 <span class="comment">// whose magnitude is less than HALF_NRM_MIN.</span>
|
||||
<a name="l00087"></a>00087 <span class="comment">//</span>
|
||||
<a name="l00088"></a>00088 <span class="comment">// We convert f to a denormalized half.</span>
|
||||
<a name="l00089"></a>00089 <span class="comment">// </span>
|
||||
<a name="l00090"></a>00090
|
||||
<a name="l00091"></a>00091 m = (m | 0x00800000) >> (1 - e);
|
||||
<a name="l00092"></a>00092
|
||||
<a name="l00093"></a>00093 <span class="comment">//</span>
|
||||
<a name="l00094"></a>00094 <span class="comment">// Round to nearest, round "0.5" up.</span>
|
||||
<a name="l00095"></a>00095 <span class="comment">//</span>
|
||||
<a name="l00096"></a>00096 <span class="comment">// Rounding may cause the significand to overflow and make</span>
|
||||
<a name="l00097"></a>00097 <span class="comment">// our number normalized. Because of the way a half's bits</span>
|
||||
<a name="l00098"></a>00098 <span class="comment">// are laid out, we don't have to treat this case separately;</span>
|
||||
<a name="l00099"></a>00099 <span class="comment">// the code below will handle it correctly.</span>
|
||||
<a name="l00100"></a>00100 <span class="comment">// </span>
|
||||
<a name="l00101"></a>00101
|
||||
<a name="l00102"></a>00102 <span class="keywordflow">if</span> (m & 0x00001000)
|
||||
<a name="l00103"></a>00103 m += 0x00002000;
|
||||
<a name="l00104"></a>00104
|
||||
<a name="l00105"></a>00105 <span class="comment">//</span>
|
||||
<a name="l00106"></a>00106 <span class="comment">// Assemble the half from s, e (zero) and m.</span>
|
||||
<a name="l00107"></a>00107 <span class="comment">//</span>
|
||||
<a name="l00108"></a>00108
|
||||
<a name="l00109"></a>00109 <span class="keywordflow">return</span> s | (m >> 13);
|
||||
<a name="l00110"></a>00110 }
|
||||
<a name="l00111"></a>00111 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (e == 0xff - (127 - 15))
|
||||
<a name="l00112"></a>00112 {
|
||||
<a name="l00113"></a>00113 <span class="keywordflow">if</span> (m == 0)
|
||||
<a name="l00114"></a>00114 {
|
||||
<a name="l00115"></a>00115 <span class="comment">//</span>
|
||||
<a name="l00116"></a>00116 <span class="comment">// F is an infinity; convert f to a half</span>
|
||||
<a name="l00117"></a>00117 <span class="comment">// infinity with the same sign as f.</span>
|
||||
<a name="l00118"></a>00118 <span class="comment">//</span>
|
||||
<a name="l00119"></a>00119
|
||||
<a name="l00120"></a>00120 <span class="keywordflow">return</span> s | 0x7c00;
|
||||
<a name="l00121"></a>00121 }
|
||||
<a name="l00122"></a>00122 <span class="keywordflow">else</span>
|
||||
<a name="l00123"></a>00123 {
|
||||
<a name="l00124"></a>00124 <span class="comment">//</span>
|
||||
<a name="l00125"></a>00125 <span class="comment">// F is a NAN; we produce a half NAN that preserves</span>
|
||||
<a name="l00126"></a>00126 <span class="comment">// the sign bit and the 10 leftmost bits of the</span>
|
||||
<a name="l00127"></a>00127 <span class="comment">// significand of f, with one exception: If the 10</span>
|
||||
<a name="l00128"></a>00128 <span class="comment">// leftmost bits are all zero, the NAN would turn </span>
|
||||
<a name="l00129"></a>00129 <span class="comment">// into an infinity, so we have to set at least one</span>
|
||||
<a name="l00130"></a>00130 <span class="comment">// bit in the significand.</span>
|
||||
<a name="l00131"></a>00131 <span class="comment">//</span>
|
||||
<a name="l00132"></a>00132
|
||||
<a name="l00133"></a>00133 m >>= 13;
|
||||
<a name="l00134"></a>00134 <span class="keywordflow">return</span> s | 0x7c00 | m | (m == 0);
|
||||
<a name="l00135"></a>00135 }
|
||||
<a name="l00136"></a>00136 }
|
||||
<a name="l00137"></a>00137 <span class="keywordflow">else</span>
|
||||
<a name="l00138"></a>00138 {
|
||||
<a name="l00139"></a>00139 <span class="comment">//</span>
|
||||
<a name="l00140"></a>00140 <span class="comment">// E is greater than zero. F is a normalized float.</span>
|
||||
<a name="l00141"></a>00141 <span class="comment">// We try to convert f to a normalized half.</span>
|
||||
<a name="l00142"></a>00142 <span class="comment">//</span>
|
||||
<a name="l00143"></a>00143
|
||||
<a name="l00144"></a>00144 <span class="comment">//</span>
|
||||
<a name="l00145"></a>00145 <span class="comment">// Round to nearest, round "0.5" up</span>
|
||||
<a name="l00146"></a>00146 <span class="comment">//</span>
|
||||
<a name="l00147"></a>00147
|
||||
<a name="l00148"></a>00148 <span class="keywordflow">if</span> (m & 0x00001000)
|
||||
<a name="l00149"></a>00149 {
|
||||
<a name="l00150"></a>00150 m += 0x00002000;
|
||||
<a name="l00151"></a>00151
|
||||
<a name="l00152"></a>00152 <span class="keywordflow">if</span> (m & 0x00800000)
|
||||
<a name="l00153"></a>00153 {
|
||||
<a name="l00154"></a>00154 m = 0; <span class="comment">// overflow in significand,</span>
|
||||
<a name="l00155"></a>00155 e += 1; <span class="comment">// adjust exponent</span>
|
||||
<a name="l00156"></a>00156 }
|
||||
<a name="l00157"></a>00157 }
|
||||
<a name="l00158"></a>00158
|
||||
<a name="l00159"></a>00159 <span class="comment">//</span>
|
||||
<a name="l00160"></a>00160 <span class="comment">// Handle exponent overflow</span>
|
||||
<a name="l00161"></a>00161 <span class="comment">//</span>
|
||||
<a name="l00162"></a>00162
|
||||
<a name="l00163"></a>00163 <span class="keywordflow">if</span> (e > 30)
|
||||
<a name="l00164"></a>00164 {
|
||||
<a name="l00165"></a>00165 ilFloatToHalfOverflow(); <span class="comment">// Cause a hardware floating point overflow;</span>
|
||||
<a name="l00166"></a>00166 <span class="keywordflow">return</span> s | 0x7c00; <span class="comment">// if this returns, the half becomes an</span>
|
||||
<a name="l00167"></a>00167 } <span class="comment">// infinity with the same sign as f.</span>
|
||||
<a name="l00168"></a>00168
|
||||
<a name="l00169"></a>00169 <span class="comment">//</span>
|
||||
<a name="l00170"></a>00170 <span class="comment">// Assemble the half from s, e and m.</span>
|
||||
<a name="l00171"></a>00171 <span class="comment">//</span>
|
||||
<a name="l00172"></a>00172
|
||||
<a name="l00173"></a>00173 <span class="keywordflow">return</span> s | (e << 10) | (m >> 13);
|
||||
<a name="l00174"></a>00174 }
|
||||
<a name="l00175"></a>00175 }
|
||||
<a name="l00176"></a>00176
|
||||
<a name="l00177"></a>00177 <span class="comment">// Taken from OpenEXR</span>
|
||||
<a name="l00178"></a>00178 INLINE ILuint ILAPIENTRY ilHalfToFloat (ILushort y) {
|
||||
<a name="l00179"></a>00179
|
||||
<a name="l00180"></a>00180 <span class="keywordtype">int</span> s = (y >> 15) & 0x00000001;
|
||||
<a name="l00181"></a>00181 <span class="keywordtype">int</span> e = (y >> 10) & 0x0000001f;
|
||||
<a name="l00182"></a>00182 <span class="keywordtype">int</span> m = y & 0x000003ff;
|
||||
<a name="l00183"></a>00183
|
||||
<a name="l00184"></a>00184 <span class="keywordflow">if</span> (e == 0)
|
||||
<a name="l00185"></a>00185 {
|
||||
<a name="l00186"></a>00186 <span class="keywordflow">if</span> (m == 0)
|
||||
<a name="l00187"></a>00187 {
|
||||
<a name="l00188"></a>00188 <span class="comment">//</span>
|
||||
<a name="l00189"></a>00189 <span class="comment">// Plus or minus zero</span>
|
||||
<a name="l00190"></a>00190 <span class="comment">//</span>
|
||||
<a name="l00191"></a>00191
|
||||
<a name="l00192"></a>00192 <span class="keywordflow">return</span> s << 31;
|
||||
<a name="l00193"></a>00193 }
|
||||
<a name="l00194"></a>00194 <span class="keywordflow">else</span>
|
||||
<a name="l00195"></a>00195 {
|
||||
<a name="l00196"></a>00196 <span class="comment">//</span>
|
||||
<a name="l00197"></a>00197 <span class="comment">// Denormalized number -- renormalize it</span>
|
||||
<a name="l00198"></a>00198 <span class="comment">//</span>
|
||||
<a name="l00199"></a>00199
|
||||
<a name="l00200"></a>00200 <span class="keywordflow">while</span> (!(m & 0x00000400))
|
||||
<a name="l00201"></a>00201 {
|
||||
<a name="l00202"></a>00202 m <<= 1;
|
||||
<a name="l00203"></a>00203 e -= 1;
|
||||
<a name="l00204"></a>00204 }
|
||||
<a name="l00205"></a>00205
|
||||
<a name="l00206"></a>00206 e += 1;
|
||||
<a name="l00207"></a>00207 m &= ~0x00000400;
|
||||
<a name="l00208"></a>00208 }
|
||||
<a name="l00209"></a>00209 }
|
||||
<a name="l00210"></a>00210 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (e == 31)
|
||||
<a name="l00211"></a>00211 {
|
||||
<a name="l00212"></a>00212 <span class="keywordflow">if</span> (m == 0)
|
||||
<a name="l00213"></a>00213 {
|
||||
<a name="l00214"></a>00214 <span class="comment">//</span>
|
||||
<a name="l00215"></a>00215 <span class="comment">// Positive or negative infinity</span>
|
||||
<a name="l00216"></a>00216 <span class="comment">//</span>
|
||||
<a name="l00217"></a>00217
|
||||
<a name="l00218"></a>00218 <span class="keywordflow">return</span> (s << 31) | 0x7f800000;
|
||||
<a name="l00219"></a>00219 }
|
||||
<a name="l00220"></a>00220 <span class="keywordflow">else</span>
|
||||
<a name="l00221"></a>00221 {
|
||||
<a name="l00222"></a>00222 <span class="comment">//</span>
|
||||
<a name="l00223"></a>00223 <span class="comment">// Nan -- preserve sign and significand bits</span>
|
||||
<a name="l00224"></a>00224 <span class="comment">//</span>
|
||||
<a name="l00225"></a>00225
|
||||
<a name="l00226"></a>00226 <span class="keywordflow">return</span> (s << 31) | 0x7f800000 | (m << 13);
|
||||
<a name="l00227"></a>00227 }
|
||||
<a name="l00228"></a>00228 }
|
||||
<a name="l00229"></a>00229
|
||||
<a name="l00230"></a>00230 <span class="comment">//</span>
|
||||
<a name="l00231"></a>00231 <span class="comment">// Normalized number</span>
|
||||
<a name="l00232"></a>00232 <span class="comment">//</span>
|
||||
<a name="l00233"></a>00233
|
||||
<a name="l00234"></a>00234 e = e + (127 - 15);
|
||||
<a name="l00235"></a>00235 m = m << 13;
|
||||
<a name="l00236"></a>00236
|
||||
<a name="l00237"></a>00237 <span class="comment">//</span>
|
||||
<a name="l00238"></a>00238 <span class="comment">// Assemble s, e and m.</span>
|
||||
<a name="l00239"></a>00239 <span class="comment">//</span>
|
||||
<a name="l00240"></a>00240
|
||||
<a name="l00241"></a>00241 <span class="keywordflow">return</span> (s << 31) | (e << 23) | m;
|
||||
<a name="l00242"></a>00242 }
|
||||
<a name="l00243"></a>00243 <span class="preprocessor">#endif //NOINLINE</span>
|
||||
<a name="l00244"></a>00244 <span class="preprocessor"></span>
|
||||
<a name="l00245"></a>00245 <span class="preprocessor">#ifdef _cplusplus</span>
|
||||
<a name="l00246"></a>00246 <span class="preprocessor"></span>}
|
||||
<a name="l00247"></a>00247 <span class="preprocessor">#endif</span>
|
||||
<a name="l00248"></a>00248 <span class="preprocessor"></span>
|
||||
<a name="l00249"></a>00249 <span class="preprocessor">#endif//MANIP_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,49 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_mdl.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_mdl.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/25/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_mdl.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads a Half-Life model file.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef MD2_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define MD2_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 <span class="keyword">typedef</span> <span class="keyword">struct </span>TEX_HEAD
|
||||
<a name="l00020"></a>00020 {
|
||||
<a name="l00021"></a>00021 <span class="keywordtype">char</span> Name[64];
|
||||
<a name="l00022"></a>00022 ILuint Flags;
|
||||
<a name="l00023"></a>00023 ILuint Width;
|
||||
<a name="l00024"></a>00024 ILuint Height;
|
||||
<a name="l00025"></a>00025 ILuint Offset;
|
||||
<a name="l00026"></a>00026 } TEX_HEAD;
|
||||
<a name="l00027"></a>00027
|
||||
<a name="l00028"></a>00028 <span class="preprocessor">#endif//MD2_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,75 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_pal.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_pal.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/25/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_pal.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Loads palettes from different file formats</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef IL_PAL_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define IL_PAL_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 <span class="preprocessor">#define BUFFLEN 256</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define PALBPP 3</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor">#ifdef _MSC_VER</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(push, packed_struct, 1)</span>
|
||||
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>HALOHEAD
|
||||
<a name="l00026"></a>00026 {
|
||||
<a name="l00027"></a>00027 ILushort Id; <span class="comment">// 'AH'</span>
|
||||
<a name="l00028"></a>00028 ILshort Version;
|
||||
<a name="l00029"></a>00029 ILshort Size;
|
||||
<a name="l00030"></a>00030 ILbyte Filetype;
|
||||
<a name="l00031"></a>00031 ILbyte Subtype;
|
||||
<a name="l00032"></a>00032 <span class="comment">//ILshort Brdid, Grmode;</span>
|
||||
<a name="l00033"></a>00033 ILint Ignored;
|
||||
<a name="l00034"></a>00034 ILushort MaxIndex; <span class="comment">// Colors = maxindex + 1</span>
|
||||
<a name="l00035"></a>00035 ILushort MaxRed;
|
||||
<a name="l00036"></a>00036 ILushort MaxGreen;
|
||||
<a name="l00037"></a>00037 ILushort MaxBlue;
|
||||
<a name="l00038"></a>00038 <span class="comment">/*ILbyte Signature[8];</span>
|
||||
<a name="l00039"></a>00039 <span class="comment"> ILbyte Filler[12];*/</span>
|
||||
<a name="l00040"></a>00040 ILbyte Filler[20]; <span class="comment">// Always 0 by PSP 4</span>
|
||||
<a name="l00041"></a>00041 } IL_PACKSTRUCT HALOHEAD;
|
||||
<a name="l00042"></a>00042 <span class="preprocessor">#ifdef _MSC_VER</span>
|
||||
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(pop, packed_struct)</span>
|
||||
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00045"></a>00045 <span class="preprocessor"></span>
|
||||
<a name="l00046"></a>00046 ILboolean ilLoadJascPal(ILconst_string FileName);
|
||||
<a name="l00047"></a>00047 ILboolean ilSaveJascPal(ILconst_string FileName);
|
||||
<a name="l00048"></a>00048 <span class="keywordtype">char</span> *iFgetw(ILubyte *Buff, ILint MaxLen, FILE *File);
|
||||
<a name="l00049"></a>00049 ILboolean ilLoadHaloPal(ILconst_string FileName);
|
||||
<a name="l00050"></a>00050 ILboolean ilLoadColPal(ILconst_string FileName);
|
||||
<a name="l00051"></a>00051 ILboolean ilLoadActPal(ILconst_string FileName);
|
||||
<a name="l00052"></a>00052 ILboolean ilLoadPltPal(ILconst_string FileName);
|
||||
<a name="l00053"></a>00053
|
||||
<a name="l00054"></a>00054 <span class="preprocessor">#endif//IL_PAL_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,79 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_pcx.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_pcx.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/25/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_pcx.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads and writes from/to a .pcx file.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef PCX_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define PCX_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019
|
||||
<a name="l00020"></a>00020 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(push, packed_struct, 1)</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>PCXHEAD
|
||||
<a name="l00024"></a>00024 {
|
||||
<a name="l00025"></a>00025 ILubyte Manufacturer;
|
||||
<a name="l00026"></a>00026 ILubyte Version;
|
||||
<a name="l00027"></a>00027 ILubyte Encoding;
|
||||
<a name="l00028"></a>00028 ILubyte Bpp;
|
||||
<a name="l00029"></a>00029 ILushort Xmin, Ymin, Xmax, Ymax;
|
||||
<a name="l00030"></a>00030 ILushort HDpi;
|
||||
<a name="l00031"></a>00031 ILushort VDpi;
|
||||
<a name="l00032"></a>00032 ILubyte ColMap[48];
|
||||
<a name="l00033"></a>00033 ILubyte Reserved;
|
||||
<a name="l00034"></a>00034 ILubyte NumPlanes;
|
||||
<a name="l00035"></a>00035 ILushort Bps;
|
||||
<a name="l00036"></a>00036 ILushort PaletteInfo;
|
||||
<a name="l00037"></a>00037 ILushort HScreenSize;
|
||||
<a name="l00038"></a>00038 ILushort VScreenSize;
|
||||
<a name="l00039"></a>00039 ILubyte Filler[54];
|
||||
<a name="l00040"></a>00040 } IL_PACKSTRUCT PCXHEAD;
|
||||
<a name="l00041"></a>00041 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(pop, packed_struct)</span>
|
||||
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00044"></a>00044 <span class="preprocessor"></span>
|
||||
<a name="l00045"></a>00045 <span class="comment">// For checking and reading</span>
|
||||
<a name="l00046"></a>00046 ILboolean iIsValidPcx(<span class="keywordtype">void</span>);
|
||||
<a name="l00047"></a>00047 ILboolean iCheckPcx(PCXHEAD *Header);
|
||||
<a name="l00048"></a>00048 ILboolean iLoadPcxInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00049"></a>00049 ILboolean iSavePcxInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00050"></a>00050 ILboolean iUncompressPcx(PCXHEAD *Header);
|
||||
<a name="l00051"></a>00051 ILboolean iUncompressSmall(PCXHEAD *Header);
|
||||
<a name="l00052"></a>00052
|
||||
<a name="l00053"></a>00053 <span class="comment">// For writing</span>
|
||||
<a name="l00054"></a>00054 ILuint encput(ILubyte byt, ILubyte cnt);
|
||||
<a name="l00055"></a>00055 ILuint encLine(ILubyte *inBuff, ILint inLen, ILubyte Stride);
|
||||
<a name="l00056"></a>00056
|
||||
<a name="l00057"></a>00057
|
||||
<a name="l00058"></a>00058 <span class="preprocessor">#endif//PCX_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,100 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_pic.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_pic.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/21/2002 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_pic.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Softimage Pic (.pic) functions</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef PIC_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define PIC_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 <span class="preprocessor">#ifdef _MSC_VER</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(push, packed_struct, 1)</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>PIC_HEAD
|
||||
<a name="l00023"></a>00023 {
|
||||
<a name="l00024"></a>00024 ILint Magic; <span class="comment">// PIC_MAGIC_NUMBER</span>
|
||||
<a name="l00025"></a>00025 ILfloat Version; <span class="comment">// Version of format</span>
|
||||
<a name="l00026"></a>00026 ILbyte Comment[80]; <span class="comment">// Prototype description</span>
|
||||
<a name="l00027"></a>00027 ILbyte Id[4]; <span class="comment">// 'PICT'</span>
|
||||
<a name="l00028"></a>00028 ILshort Width; <span class="comment">// Image width, in pixels</span>
|
||||
<a name="l00029"></a>00029 ILshort Height; <span class="comment">// Image height, in pixels</span>
|
||||
<a name="l00030"></a>00030 ILfloat Ratio; <span class="comment">// Pixel aspect ratio</span>
|
||||
<a name="l00031"></a>00031 ILshort Fields; <span class="comment">// Picture field type</span>
|
||||
<a name="l00032"></a>00032 ILshort Padding; <span class="comment">// Unused</span>
|
||||
<a name="l00033"></a>00033 } IL_PACKSTRUCT PIC_HEAD;
|
||||
<a name="l00034"></a>00034
|
||||
<a name="l00035"></a>00035 <span class="keyword">typedef</span> <span class="keyword">struct </span>CHANNEL
|
||||
<a name="l00036"></a>00036 {
|
||||
<a name="l00037"></a>00037 ILubyte Size;
|
||||
<a name="l00038"></a>00038 ILubyte Type;
|
||||
<a name="l00039"></a>00039 ILubyte Chan;
|
||||
<a name="l00040"></a>00040 <span class="keywordtype">void</span> *Next;
|
||||
<a name="l00041"></a>00041 } CHANNEL;
|
||||
<a name="l00042"></a>00042 <span class="preprocessor">#ifdef _MSC_VER</span>
|
||||
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(pop, packed_struct)</span>
|
||||
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00045"></a>00045 <span class="preprocessor"></span>
|
||||
<a name="l00046"></a>00046
|
||||
<a name="l00047"></a>00047 <span class="comment">// Data type</span>
|
||||
<a name="l00048"></a>00048 <span class="preprocessor">#define PIC_UNSIGNED_INTEGER 0x00</span>
|
||||
<a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor">#define PIC_SIGNED_INTEGER 0x10 // XXX: Not implemented</span>
|
||||
<a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor">#define PIC_SIGNED_FLOAT 0x20 // XXX: Not implemented</span>
|
||||
<a name="l00051"></a>00051 <span class="preprocessor"></span>
|
||||
<a name="l00052"></a>00052
|
||||
<a name="l00053"></a>00053 <span class="comment">// Compression type</span>
|
||||
<a name="l00054"></a>00054 <span class="preprocessor">#define PIC_UNCOMPRESSED 0x00</span>
|
||||
<a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor">#define PIC_PURE_RUN_LENGTH 0x01</span>
|
||||
<a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor">#define PIC_MIXED_RUN_LENGTH 0x02</span>
|
||||
<a name="l00057"></a>00057 <span class="preprocessor"></span>
|
||||
<a name="l00058"></a>00058 <span class="comment">// CHANNEL types (OR'd)</span>
|
||||
<a name="l00059"></a>00059 <span class="preprocessor">#define PIC_RED_CHANNEL 0x80</span>
|
||||
<a name="l00060"></a>00060 <span class="preprocessor"></span><span class="preprocessor">#define PIC_GREEN_CHANNEL 0x40</span>
|
||||
<a name="l00061"></a>00061 <span class="preprocessor"></span><span class="preprocessor">#define PIC_BLUE_CHANNEL 0x20</span>
|
||||
<a name="l00062"></a>00062 <span class="preprocessor"></span><span class="preprocessor">#define PIC_ALPHA_CHANNEL 0x10</span>
|
||||
<a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor">#define PIC_SHADOW_CHANNEL 0x08 // XXX: Not implemented</span>
|
||||
<a name="l00064"></a>00064 <span class="preprocessor"></span><span class="preprocessor">#define PIC_DEPTH_CHANNEL 0x04 // XXX: Not implemented</span>
|
||||
<a name="l00065"></a>00065 <span class="preprocessor"></span><span class="preprocessor">#define PIC_AUXILIARY_1_CHANNEL 0x02 // XXX: Not implemented</span>
|
||||
<a name="l00066"></a>00066 <span class="preprocessor"></span><span class="preprocessor">#define PIC_AUXILIARY_2_CHANNEL 0x01 // XXX: Not implemented</span>
|
||||
<a name="l00067"></a>00067 <span class="preprocessor"></span>
|
||||
<a name="l00068"></a>00068 ILboolean iIsValidPic(<span class="keywordtype">void</span>);
|
||||
<a name="l00069"></a>00069 ILboolean iCheckPic(PIC_HEAD *Header);
|
||||
<a name="l00070"></a>00070 ILboolean iLoadPicInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00071"></a>00071 ILboolean readScanlines(ILuint *image, ILint width, ILint height, CHANNEL *channel, ILuint alpha);
|
||||
<a name="l00072"></a>00072 ILuint readScanline(ILubyte *scan, ILint width, CHANNEL *channel, ILint bytes);
|
||||
<a name="l00073"></a>00073 ILboolean channelReadRaw(ILubyte *scan, ILint width, ILint noCol, ILint *off, ILint bytes);
|
||||
<a name="l00074"></a>00074 ILboolean channelReadPure(ILubyte *scan, ILint width, ILint noCol, ILint *off, ILint bytes);
|
||||
<a name="l00075"></a>00075 ILboolean channelReadMixed(ILubyte *scan, ILint width, ILint noCol, ILint *off, ILint bytes);
|
||||
<a name="l00076"></a>00076
|
||||
<a name="l00077"></a>00077
|
||||
<a name="l00078"></a>00078
|
||||
<a name="l00079"></a>00079 <span class="preprocessor">#endif//PIC_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,67 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_pnm.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_pnm.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/25/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_pnm.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads/writes to/from pbm/pgm/ppm formats</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef PPMPGM_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define PPMPGM_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 <span class="preprocessor">#define IL_PBM_ASCII 0x0001</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define IL_PGM_ASCII 0x0002</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define IL_PPM_ASCII 0x0003</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define IL_PBM_BINARY 0x0004</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#define IL_PGM_BINARY 0x0005</span>
|
||||
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define IL_PPM_BINARY 0x0006</span>
|
||||
<a name="l00025"></a>00025 <span class="preprocessor"></span>
|
||||
<a name="l00026"></a>00026 <span class="keyword">typedef</span> <span class="keyword">struct </span>PPMINFO
|
||||
<a name="l00027"></a>00027 {
|
||||
<a name="l00028"></a>00028 ILenum Type;
|
||||
<a name="l00029"></a>00029 ILuint Width;
|
||||
<a name="l00030"></a>00030 ILuint Height;
|
||||
<a name="l00031"></a>00031 ILuint MaxColour;
|
||||
<a name="l00032"></a>00032 ILubyte Bpp;
|
||||
<a name="l00033"></a>00033 } PPMINFO;
|
||||
<a name="l00034"></a>00034
|
||||
<a name="l00035"></a>00035 ILboolean iIsValidPnm(<span class="keywordtype">void</span>);
|
||||
<a name="l00036"></a>00036 ILboolean iCheckPnm(<span class="keywordtype">char</span> Header[2]);
|
||||
<a name="l00037"></a>00037 ILboolean iLoadPnmInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00038"></a>00038 ILboolean iSavePnmInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00039"></a>00039 <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *ilReadAsciiPpm(PPMINFO *Info);
|
||||
<a name="l00040"></a>00040 <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *ilReadBinaryPpm(PPMINFO *Info);
|
||||
<a name="l00041"></a>00041 <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *ilReadBitPbm(PPMINFO *Info);
|
||||
<a name="l00042"></a>00042 ILboolean iGetWord(ILboolean);
|
||||
<a name="l00043"></a>00043 <span class="keywordtype">void</span> PbmMaximize(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image);
|
||||
<a name="l00044"></a>00044
|
||||
<a name="l00045"></a>00045
|
||||
<a name="l00046"></a>00046 <span class="preprocessor">#endif//PPMPGM_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,77 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_psd.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_psd.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2001 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 01/23/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_il_psd.c</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads from a PhotoShop (.psd) file.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef PSD_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define PSD_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 <span class="preprocessor">#ifdef _MSC_VER</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(push, packed_struct, 1)</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>PSDHEAD
|
||||
<a name="l00023"></a>00023 {
|
||||
<a name="l00024"></a>00024 ILubyte Signature[4];
|
||||
<a name="l00025"></a>00025 ILushort Version;
|
||||
<a name="l00026"></a>00026 ILubyte Reserved[6];
|
||||
<a name="l00027"></a>00027 ILushort Channels;
|
||||
<a name="l00028"></a>00028 ILuint Height;
|
||||
<a name="l00029"></a>00029 ILuint Width;
|
||||
<a name="l00030"></a>00030 ILushort Depth;
|
||||
<a name="l00031"></a>00031 ILushort Mode;
|
||||
<a name="l00032"></a>00032 } IL_PACKSTRUCT PSDHEAD;
|
||||
<a name="l00033"></a>00033
|
||||
<a name="l00034"></a>00034 <span class="preprocessor">#ifdef _MSC_VER</span>
|
||||
<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(pop, packed_struct)</span>
|
||||
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00037"></a>00037 <span class="preprocessor"></span>
|
||||
<a name="l00038"></a>00038 ILushort ChannelNum;
|
||||
<a name="l00039"></a>00039
|
||||
<a name="l00040"></a>00040 ILboolean iIsValidPsd(<span class="keywordtype">void</span>);
|
||||
<a name="l00041"></a>00041 ILboolean iCheckPsd(PSDHEAD *Header);
|
||||
<a name="l00042"></a>00042 ILboolean iLoadPsdInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00043"></a>00043 ILboolean ReadPsd(PSDHEAD *Head);
|
||||
<a name="l00044"></a>00044 ILboolean ReadGrey(PSDHEAD *Head);
|
||||
<a name="l00045"></a>00045 ILboolean ReadIndexed(PSDHEAD *Head);
|
||||
<a name="l00046"></a>00046 ILboolean ReadRGB(PSDHEAD *Head);
|
||||
<a name="l00047"></a>00047 ILboolean ReadCMYK(PSDHEAD *Head);
|
||||
<a name="l00048"></a>00048 ILuint *GetCompChanLen(PSDHEAD *Head);
|
||||
<a name="l00049"></a>00049 ILboolean PsdGetData(PSDHEAD *Head, <span class="keywordtype">void</span> *Buffer, ILboolean Compressed);
|
||||
<a name="l00050"></a>00050 ILboolean ParseResources(ILuint ResourceSize, ILubyte *Resources);
|
||||
<a name="l00051"></a>00051 ILboolean GetSingleChannel(PSDHEAD *Head, ILubyte *Buffer, ILboolean Compressed);
|
||||
<a name="l00052"></a>00052 ILboolean iSavePsdInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00053"></a>00053
|
||||
<a name="l00054"></a>00054
|
||||
<a name="l00055"></a>00055
|
||||
<a name="l00056"></a>00056 <span class="preprocessor">#endif//PSD_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,271 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_psp.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_psp.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/02/2002 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_psp.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads a Paint Shop Pro file.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef PSP_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define PSP_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019
|
||||
<a name="l00020"></a>00020 <span class="comment">// Block identifiers</span>
|
||||
<a name="l00021"></a>00021 <span class="keyword">enum</span> PSPBlockID {
|
||||
<a name="l00022"></a>00022 PSP_IMAGE_BLOCK = 0, <span class="comment">// (0) General Image Attributes Block (main)</span>
|
||||
<a name="l00023"></a>00023 PSP_CREATOR_BLOCK, <span class="comment">// (1) Creator Data Block (main)</span>
|
||||
<a name="l00024"></a>00024 PSP_COLOR_BLOCK, <span class="comment">// (2) Color Palette Block (main and sub)</span>
|
||||
<a name="l00025"></a>00025 PSP_LAYER_START_BLOCK, <span class="comment">// (3) Layer Bank Block (main)</span>
|
||||
<a name="l00026"></a>00026 PSP_LAYER_BLOCK, <span class="comment">// (4) Layer Block (sub)</span>
|
||||
<a name="l00027"></a>00027 PSP_CHANNEL_BLOCK, <span class="comment">// (5) Channel Block (sub)</span>
|
||||
<a name="l00028"></a>00028 PSP_SELECTION_BLOCK, <span class="comment">// (6) Selection Block (main)</span>
|
||||
<a name="l00029"></a>00029 PSP_ALPHA_BANK_BLOCK, <span class="comment">// (7) Alpha Bank Block (main)</span>
|
||||
<a name="l00030"></a>00030 PSP_ALPHA_CHANNEL_BLOCK, <span class="comment">// (8) Alpha Channel Block (sub)</span>
|
||||
<a name="l00031"></a>00031 PSP_COMPOSITE_IMAGE_BLOCK, <span class="comment">// (9) Composite Image Block (sub)</span>
|
||||
<a name="l00032"></a>00032 PSP_EXTENDED_DATA_BLOCK, <span class="comment">// (10) Extended Data Block (main)</span>
|
||||
<a name="l00033"></a>00033 PSP_TUBE_BLOCK, <span class="comment">// (11) Picture Tube Data Block (main)</span>
|
||||
<a name="l00034"></a>00034 PSP_ADJUSTMENT_EXTENSION_BLOCK, <span class="comment">// (12) Adjustment Layer Block (sub)</span>
|
||||
<a name="l00035"></a>00035 PSP_VECTOR_EXTENSION_BLOCK, <span class="comment">// (13) Vector Layer Block (sub)</span>
|
||||
<a name="l00036"></a>00036 PSP_SHAPE_BLOCK, <span class="comment">// (14) Vector Shape Block (sub)</span>
|
||||
<a name="l00037"></a>00037 PSP_PAINTSTYLE_BLOCK, <span class="comment">// (15) Paint Style Block (sub)</span>
|
||||
<a name="l00038"></a>00038 PSP_COMPOSITE_IMAGE_BANK_BLOCK, <span class="comment">// (16) Composite Image Bank (main)</span>
|
||||
<a name="l00039"></a>00039 PSP_COMPOSITE_ATTRIBUTES_BLOCK, <span class="comment">// (17) Composite Image Attr. (sub)</span>
|
||||
<a name="l00040"></a>00040 PSP_JPEG_BLOCK, <span class="comment">// (18) JPEG Image Block (sub)</span>
|
||||
<a name="l00041"></a>00041 PSP_LINESTYLE_BLOCK, <span class="comment">// (19) Line Style Block (sub)</span>
|
||||
<a name="l00042"></a>00042 PSP_TABLE_BANK_BLOCK, <span class="comment">// (20) Table Bank Block (main)</span>
|
||||
<a name="l00043"></a>00043 PSP_TABLE_BLOCK, <span class="comment">// (21) Table Block (sub)</span>
|
||||
<a name="l00044"></a>00044 PSP_PAPER_BLOCK, <span class="comment">// (22) Vector Table Paper Block (sub)</span>
|
||||
<a name="l00045"></a>00045 PSP_PATTERN_BLOCK, <span class="comment">// (23) Vector Table Pattern Block (sub)</span>
|
||||
<a name="l00046"></a>00046 };
|
||||
<a name="l00047"></a>00047
|
||||
<a name="l00048"></a>00048
|
||||
<a name="l00049"></a>00049 <span class="comment">// Bitmap type</span>
|
||||
<a name="l00050"></a>00050 <span class="keyword">enum</span> PSPDIBType {
|
||||
<a name="l00051"></a>00051 PSP_DIB_IMAGE = 0, <span class="comment">// Layer color bitmap</span>
|
||||
<a name="l00052"></a>00052 PSP_DIB_TRANS_MASK, <span class="comment">// Layer transparency mask bitmap</span>
|
||||
<a name="l00053"></a>00053 PSP_DIB_USER_MASK, <span class="comment">// Layer user mask bitmap</span>
|
||||
<a name="l00054"></a>00054 PSP_DIB_SELECTION, <span class="comment">// Selection mask bitmap</span>
|
||||
<a name="l00055"></a>00055 PSP_DIB_ALPHA_MASK, <span class="comment">// Alpha channel mask bitmap</span>
|
||||
<a name="l00056"></a>00056 PSP_DIB_THUMBNAIL <span class="comment">// Thumbnail bitmap</span>
|
||||
<a name="l00057"></a>00057 };
|
||||
<a name="l00058"></a>00058
|
||||
<a name="l00059"></a>00059 <span class="comment">// Channel types</span>
|
||||
<a name="l00060"></a>00060 <span class="keyword">enum</span> PSPChannelType {
|
||||
<a name="l00061"></a>00061 PSP_CHANNEL_COMPOSITE = 0, <span class="comment">// Channel of single channel bitmap</span>
|
||||
<a name="l00062"></a>00062 PSP_CHANNEL_RED, <span class="comment">// Red channel of 24 bit bitmap</span>
|
||||
<a name="l00063"></a>00063 PSP_CHANNEL_GREEN, <span class="comment">// Green channel of 24 bit bitmap</span>
|
||||
<a name="l00064"></a>00064 PSP_CHANNEL_BLUE <span class="comment">// Blue channel of 24 bit bitmap</span>
|
||||
<a name="l00065"></a>00065 };
|
||||
<a name="l00066"></a>00066
|
||||
<a name="l00067"></a>00067 <span class="comment">// Possible metrics used to measure resolution</span>
|
||||
<a name="l00068"></a>00068 <span class="keyword">enum</span> PSP_METRIC {
|
||||
<a name="l00069"></a>00069 PSP_METRIC_UNDEFINED = 0, <span class="comment">// Metric unknown</span>
|
||||
<a name="l00070"></a>00070 PSP_METRIC_INCH, <span class="comment">// Resolution is in inches</span>
|
||||
<a name="l00071"></a>00071 PSP_METRIC_CM <span class="comment">// Resolution is in centimeters</span>
|
||||
<a name="l00072"></a>00072 };
|
||||
<a name="l00073"></a>00073
|
||||
<a name="l00074"></a>00074
|
||||
<a name="l00075"></a>00075 <span class="comment">// Possible types of compression.</span>
|
||||
<a name="l00076"></a>00076 <span class="keyword">enum</span> PSPCompression {
|
||||
<a name="l00077"></a>00077 PSP_COMP_NONE = 0, <span class="comment">// No compression</span>
|
||||
<a name="l00078"></a>00078 PSP_COMP_RLE, <span class="comment">// RLE compression</span>
|
||||
<a name="l00079"></a>00079 PSP_COMP_LZ77, <span class="comment">// LZ77 compression</span>
|
||||
<a name="l00080"></a>00080 PSP_COMP_JPEG <span class="comment">// JPEG compression (only used by thumbnail and composite image)</span>
|
||||
<a name="l00081"></a>00081 };
|
||||
<a name="l00082"></a>00082
|
||||
<a name="l00083"></a>00083
|
||||
<a name="l00084"></a>00084 <span class="comment">// Picture tube placement mode.</span>
|
||||
<a name="l00085"></a>00085 <span class="keyword">enum</span> TubePlacementMode {
|
||||
<a name="l00086"></a>00086 tpmRandom, <span class="comment">// Place tube images in random intervals</span>
|
||||
<a name="l00087"></a>00087 tpmConstant <span class="comment">// Place tube images in constant intervals</span>
|
||||
<a name="l00088"></a>00088 };
|
||||
<a name="l00089"></a>00089
|
||||
<a name="l00090"></a>00090 <span class="comment">// Picture tube selection mode.</span>
|
||||
<a name="l00091"></a>00091 <span class="keyword">enum</span> TubeSelectionMode {
|
||||
<a name="l00092"></a>00092 tsmRandom, <span class="comment">// Randomly select the next image in tube to display</span>
|
||||
<a name="l00093"></a>00093 tsmIncremental, <span class="comment">// Select each tube image in turn</span>
|
||||
<a name="l00094"></a>00094 tsmAngular, <span class="comment">// Select image based on cursor direction</span>
|
||||
<a name="l00095"></a>00095 tsmPressure, <span class="comment">// Select image based on pressure (from pressure-sensitive pad)</span>
|
||||
<a name="l00096"></a>00096 tsmVelocity <span class="comment">// Select image based on cursor speed</span>
|
||||
<a name="l00097"></a>00097 };
|
||||
<a name="l00098"></a>00098
|
||||
<a name="l00099"></a>00099 <span class="comment">// Extended data field types.</span>
|
||||
<a name="l00100"></a>00100 <span class="keyword">enum</span> PSPExtendedDataID {
|
||||
<a name="l00101"></a>00101 PSP_XDATA_TRNS_INDEX = 0 <span class="comment">// Transparency index field</span>
|
||||
<a name="l00102"></a>00102 };
|
||||
<a name="l00103"></a>00103
|
||||
<a name="l00104"></a>00104 <span class="comment">// Creator field types.</span>
|
||||
<a name="l00105"></a>00105 <span class="keyword">enum</span> PSPCreatorFieldID {
|
||||
<a name="l00106"></a>00106 PSP_CRTR_FLD_TITLE = 0, <span class="comment">// Image document title field</span>
|
||||
<a name="l00107"></a>00107 PSP_CRTR_FLD_CRT_DATE, <span class="comment">// Creation date field</span>
|
||||
<a name="l00108"></a>00108 PSP_CRTR_FLD_MOD_DATE, <span class="comment">// Modification date field</span>
|
||||
<a name="l00109"></a>00109 PSP_CRTR_FLD_ARTIST, <span class="comment">// Artist name field</span>
|
||||
<a name="l00110"></a>00110 PSP_CRTR_FLD_CPYRGHT, <span class="comment">// Copyright holder name field</span>
|
||||
<a name="l00111"></a>00111 PSP_CRTR_FLD_DESC, <span class="comment">// Image document description field</span>
|
||||
<a name="l00112"></a>00112 PSP_CRTR_FLD_APP_ID, <span class="comment">// Creating app id field</span>
|
||||
<a name="l00113"></a>00113 PSP_CRTR_FLD_APP_VER, <span class="comment">// Creating app version field</span>
|
||||
<a name="l00114"></a>00114 };
|
||||
<a name="l00115"></a>00115
|
||||
<a name="l00116"></a>00116 <span class="comment">// Creator application identifiers.</span>
|
||||
<a name="l00117"></a>00117 <span class="keyword">enum</span> PSPCreatorAppID {
|
||||
<a name="l00118"></a>00118 PSP_CREATOR_APP_UNKNOWN = 0, <span class="comment">// Creator application unknown</span>
|
||||
<a name="l00119"></a>00119 PSP_CREATOR_APP_PAINT_SHOP_PRO <span class="comment">// Creator is Paint Shop Pro</span>
|
||||
<a name="l00120"></a>00120 };
|
||||
<a name="l00121"></a>00121
|
||||
<a name="l00122"></a>00122 <span class="comment">// Layer types.</span>
|
||||
<a name="l00123"></a>00123 <span class="keyword">enum</span> PSPLayerType {
|
||||
<a name="l00124"></a>00124 PSP_LAYER_NORMAL = 0, <span class="comment">// Normal layer</span>
|
||||
<a name="l00125"></a>00125 PSP_LAYER_FLOATING_SELECTION <span class="comment">// Floating selection layer</span>
|
||||
<a name="l00126"></a>00126 };
|
||||
<a name="l00127"></a>00127
|
||||
<a name="l00128"></a>00128 <span class="comment">// Truth values.</span>
|
||||
<a name="l00129"></a>00129 <span class="comment">/*enum PSP_BOOLEAN {</span>
|
||||
<a name="l00130"></a>00130 <span class="comment"> FALSE = 0,</span>
|
||||
<a name="l00131"></a>00131 <span class="comment"> TRUE</span>
|
||||
<a name="l00132"></a>00132 <span class="comment">};*/</span>
|
||||
<a name="l00133"></a>00133
|
||||
<a name="l00134"></a>00134
|
||||
<a name="l00135"></a>00135
|
||||
<a name="l00136"></a>00136 <span class="preprocessor">#ifdef _MSC_VER</span>
|
||||
<a name="l00137"></a>00137 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(push, packed_struct, 1)</span>
|
||||
<a name="l00138"></a>00138 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00139"></a>00139 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>PSPRECT
|
||||
<a name="l00140"></a>00140 {
|
||||
<a name="l00141"></a>00141 ILuint x1,y1,x2,y2;
|
||||
<a name="l00142"></a>00142 } IL_PACKSTRUCT PSPRECT;
|
||||
<a name="l00143"></a>00143
|
||||
<a name="l00144"></a>00144 <span class="keyword">typedef</span> <span class="keyword">struct </span>PSPHEAD
|
||||
<a name="l00145"></a>00145 {
|
||||
<a name="l00146"></a>00146 <span class="keywordtype">char</span> FileSig[32];
|
||||
<a name="l00147"></a>00147 ILushort MajorVersion;
|
||||
<a name="l00148"></a>00148 ILushort MinorVersion;
|
||||
<a name="l00149"></a>00149 } IL_PACKSTRUCT PSPHEAD;
|
||||
<a name="l00150"></a>00150
|
||||
<a name="l00151"></a>00151 <span class="keyword">typedef</span> <span class="keyword">struct </span>BLOCKHEAD
|
||||
<a name="l00152"></a>00152 {
|
||||
<a name="l00153"></a>00153 ILubyte HeadID[4];
|
||||
<a name="l00154"></a>00154 ILushort BlockID;
|
||||
<a name="l00155"></a>00155 ILuint BlockLen;
|
||||
<a name="l00156"></a>00156 } IL_PACKSTRUCT BLOCKHEAD;
|
||||
<a name="l00157"></a>00157
|
||||
<a name="l00158"></a>00158 <span class="keyword">typedef</span> <span class="keyword">struct </span>GENATT_CHUNK
|
||||
<a name="l00159"></a>00159 {
|
||||
<a name="l00160"></a>00160 ILint Width;
|
||||
<a name="l00161"></a>00161 ILint Height;
|
||||
<a name="l00162"></a>00162 ILdouble Resolution;
|
||||
<a name="l00163"></a>00163 ILubyte ResMetric;
|
||||
<a name="l00164"></a>00164 ILushort Compression;
|
||||
<a name="l00165"></a>00165 ILushort BitDepth;
|
||||
<a name="l00166"></a>00166 ILushort PlaneCount;
|
||||
<a name="l00167"></a>00167 ILuint ColourCount;
|
||||
<a name="l00168"></a>00168 ILubyte GreyscaleFlag;
|
||||
<a name="l00169"></a>00169 ILuint SizeOfImage;
|
||||
<a name="l00170"></a>00170 ILint ActiveLayer;
|
||||
<a name="l00171"></a>00171 ILushort LayerCount;
|
||||
<a name="l00172"></a>00172 ILuint GraphicContents;
|
||||
<a name="l00173"></a>00173 } IL_PACKSTRUCT GENATT_CHUNK;
|
||||
<a name="l00174"></a>00174
|
||||
<a name="l00175"></a>00175 <span class="keyword">typedef</span> <span class="keyword">struct </span>LAYERINFO_CHUNK
|
||||
<a name="l00176"></a>00176 {
|
||||
<a name="l00177"></a>00177 ILubyte LayerType;
|
||||
<a name="l00178"></a>00178 PSPRECT ImageRect;
|
||||
<a name="l00179"></a>00179 PSPRECT SavedImageRect;
|
||||
<a name="l00180"></a>00180 ILubyte Opacity;
|
||||
<a name="l00181"></a>00181 ILubyte BlendingMode;
|
||||
<a name="l00182"></a>00182 ILubyte LayerFlags;
|
||||
<a name="l00183"></a>00183 ILubyte TransProtFlag;
|
||||
<a name="l00184"></a>00184 ILubyte LinkID;
|
||||
<a name="l00185"></a>00185 PSPRECT MaskRect;
|
||||
<a name="l00186"></a>00186 PSPRECT SavedMaskRect;
|
||||
<a name="l00187"></a>00187 ILubyte MaskLinked;
|
||||
<a name="l00188"></a>00188 ILubyte MaskDisabled;
|
||||
<a name="l00189"></a>00189 ILubyte InvertMaskBlend;
|
||||
<a name="l00190"></a>00190 ILushort BlendRange;
|
||||
<a name="l00191"></a>00191 ILubyte SourceBlend1[4];
|
||||
<a name="l00192"></a>00192 ILubyte DestBlend1[4];
|
||||
<a name="l00193"></a>00193 ILubyte SourceBlend2[4];
|
||||
<a name="l00194"></a>00194 ILubyte DestBlend2[4];
|
||||
<a name="l00195"></a>00195 ILubyte SourceBlend3[4];
|
||||
<a name="l00196"></a>00196 ILubyte DestBlend3[4];
|
||||
<a name="l00197"></a>00197 ILubyte SourceBlend4[4];
|
||||
<a name="l00198"></a>00198 ILubyte DestBlend4[4];
|
||||
<a name="l00199"></a>00199 ILubyte SourceBlend5[4];
|
||||
<a name="l00200"></a>00200 ILubyte DestBlend5[4];
|
||||
<a name="l00201"></a>00201 } IL_PACKSTRUCT LAYERINFO_CHUNK;
|
||||
<a name="l00202"></a>00202
|
||||
<a name="l00203"></a>00203 <span class="keyword">typedef</span> <span class="keyword">struct </span>LAYERBITMAP_CHUNK
|
||||
<a name="l00204"></a>00204 {
|
||||
<a name="l00205"></a>00205 ILushort NumBitmaps;
|
||||
<a name="l00206"></a>00206 ILushort NumChannels;
|
||||
<a name="l00207"></a>00207 } IL_PACKSTRUCT LAYERBITMAP_CHUNK;
|
||||
<a name="l00208"></a>00208
|
||||
<a name="l00209"></a>00209 <span class="keyword">typedef</span> <span class="keyword">struct </span>CHANNEL_CHUNK
|
||||
<a name="l00210"></a>00210 {
|
||||
<a name="l00211"></a>00211 ILuint CompLen;
|
||||
<a name="l00212"></a>00212 ILuint Length;
|
||||
<a name="l00213"></a>00213 ILushort BitmapType;
|
||||
<a name="l00214"></a>00214 ILushort ChanType;
|
||||
<a name="l00215"></a>00215 } IL_PACKSTRUCT CHANNEL_CHUNK;
|
||||
<a name="l00216"></a>00216
|
||||
<a name="l00217"></a>00217 <span class="keyword">typedef</span> <span class="keyword">struct </span>ALPHAINFO_CHUNK
|
||||
<a name="l00218"></a>00218 {
|
||||
<a name="l00219"></a>00219 PSPRECT AlphaRect;
|
||||
<a name="l00220"></a>00220 PSPRECT AlphaSavedRect;
|
||||
<a name="l00221"></a>00221 } IL_PACKSTRUCT ALPHAINFO_CHUNK;
|
||||
<a name="l00222"></a>00222
|
||||
<a name="l00223"></a>00223 <span class="keyword">typedef</span> <span class="keyword">struct </span>ALPHA_CHUNK
|
||||
<a name="l00224"></a>00224 {
|
||||
<a name="l00225"></a>00225 ILushort BitmapCount;
|
||||
<a name="l00226"></a>00226 ILushort ChannelCount;
|
||||
<a name="l00227"></a>00227 } IL_PACKSTRUCT ALPHA_CHUNK;
|
||||
<a name="l00228"></a>00228
|
||||
<a name="l00229"></a>00229 <span class="preprocessor">#ifdef _MSC_VER</span>
|
||||
<a name="l00230"></a>00230 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(pop, packed_struct)</span>
|
||||
<a name="l00231"></a>00231 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00232"></a>00232 <span class="preprocessor"></span>
|
||||
<a name="l00233"></a>00233
|
||||
<a name="l00234"></a>00234 <span class="comment">// Function definitions</span>
|
||||
<a name="l00235"></a>00235 ILboolean iLoadPspInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00236"></a>00236 ILboolean iCheckPsp(<span class="keywordtype">void</span>);
|
||||
<a name="l00237"></a>00237 ILboolean iIsValidPsp(<span class="keywordtype">void</span>);
|
||||
<a name="l00238"></a>00238 ILboolean ReadGenAttributes(<span class="keywordtype">void</span>);
|
||||
<a name="l00239"></a>00239 ILboolean ParseChunks(<span class="keywordtype">void</span>);
|
||||
<a name="l00240"></a>00240 ILboolean ReadLayerBlock(ILuint BlockLen);
|
||||
<a name="l00241"></a>00241 ILboolean ReadAlphaBlock(ILuint BlockLen);
|
||||
<a name="l00242"></a>00242 ILubyte *GetChannel(<span class="keywordtype">void</span>);
|
||||
<a name="l00243"></a>00243 ILboolean UncompRLE(ILubyte *CompData, ILubyte *Data, ILuint CompLen);
|
||||
<a name="l00244"></a>00244 ILboolean ReadPalette(ILuint BlockLen);
|
||||
<a name="l00245"></a>00245 ILboolean AssembleImage(<span class="keywordtype">void</span>);
|
||||
<a name="l00246"></a>00246 ILboolean Cleanup(<span class="keywordtype">void</span>);
|
||||
<a name="l00247"></a>00247
|
||||
<a name="l00248"></a>00248
|
||||
<a name="l00249"></a>00249
|
||||
<a name="l00250"></a>00250 <span class="preprocessor">#endif//PSP_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,297 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_q2pal.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_q2pal.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/25/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_q2pal.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: The default Quake2 palette</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef Q2PAL_H</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define Q2PAL_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor">#define IL_Q2PAL_SIZE 768</span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor"></span>ILubyte ilDefaultQ2Pal[IL_Q2PAL_SIZE] = {
|
||||
<a name="l00018"></a>00018 0, 0, 0,
|
||||
<a name="l00019"></a>00019 15, 15, 15,
|
||||
<a name="l00020"></a>00020 31, 31, 31,
|
||||
<a name="l00021"></a>00021 47, 47, 47,
|
||||
<a name="l00022"></a>00022 63, 63, 63,
|
||||
<a name="l00023"></a>00023 75, 75, 75,
|
||||
<a name="l00024"></a>00024 91, 91, 91,
|
||||
<a name="l00025"></a>00025 107, 107, 107,
|
||||
<a name="l00026"></a>00026 123, 123, 123,
|
||||
<a name="l00027"></a>00027 139, 139, 139,
|
||||
<a name="l00028"></a>00028 155, 155, 155,
|
||||
<a name="l00029"></a>00029 171, 171, 171,
|
||||
<a name="l00030"></a>00030 187, 187, 187,
|
||||
<a name="l00031"></a>00031 203, 203, 203,
|
||||
<a name="l00032"></a>00032 219, 219, 219,
|
||||
<a name="l00033"></a>00033 235, 235, 235,
|
||||
<a name="l00034"></a>00034 99, 75, 35,
|
||||
<a name="l00035"></a>00035 91, 67, 31,
|
||||
<a name="l00036"></a>00036 83, 63, 31,
|
||||
<a name="l00037"></a>00037 79, 59, 27,
|
||||
<a name="l00038"></a>00038 71, 55, 27,
|
||||
<a name="l00039"></a>00039 63, 47, 23,
|
||||
<a name="l00040"></a>00040 59, 43, 23,
|
||||
<a name="l00041"></a>00041 51, 39, 19,
|
||||
<a name="l00042"></a>00042 47, 35, 19,
|
||||
<a name="l00043"></a>00043 43, 31, 19,
|
||||
<a name="l00044"></a>00044 39, 27, 15,
|
||||
<a name="l00045"></a>00045 35, 23, 15,
|
||||
<a name="l00046"></a>00046 27, 19, 11,
|
||||
<a name="l00047"></a>00047 23, 15, 11,
|
||||
<a name="l00048"></a>00048 19, 15, 7,
|
||||
<a name="l00049"></a>00049 15, 11, 7,
|
||||
<a name="l00050"></a>00050 95, 95, 111,
|
||||
<a name="l00051"></a>00051 91, 91, 103,
|
||||
<a name="l00052"></a>00052 91, 83, 95,
|
||||
<a name="l00053"></a>00053 87, 79, 91,
|
||||
<a name="l00054"></a>00054 83, 75, 83,
|
||||
<a name="l00055"></a>00055 79, 71, 75,
|
||||
<a name="l00056"></a>00056 71, 63, 67,
|
||||
<a name="l00057"></a>00057 63, 59, 59,
|
||||
<a name="l00058"></a>00058 59, 55, 55,
|
||||
<a name="l00059"></a>00059 51, 47, 47,
|
||||
<a name="l00060"></a>00060 47, 43, 43,
|
||||
<a name="l00061"></a>00061 39, 39, 39,
|
||||
<a name="l00062"></a>00062 35, 35, 35,
|
||||
<a name="l00063"></a>00063 27, 27, 27,
|
||||
<a name="l00064"></a>00064 23, 23, 23,
|
||||
<a name="l00065"></a>00065 19, 19, 19,
|
||||
<a name="l00066"></a>00066 143, 119, 83,
|
||||
<a name="l00067"></a>00067 123, 99, 67,
|
||||
<a name="l00068"></a>00068 115, 91, 59,
|
||||
<a name="l00069"></a>00069 103, 79, 47,
|
||||
<a name="l00070"></a>00070 207, 151, 75,
|
||||
<a name="l00071"></a>00071 167, 123, 59,
|
||||
<a name="l00072"></a>00072 139, 103, 47,
|
||||
<a name="l00073"></a>00073 111, 83, 39,
|
||||
<a name="l00074"></a>00074 235, 159, 39,
|
||||
<a name="l00075"></a>00075 203, 139, 35,
|
||||
<a name="l00076"></a>00076 175, 119, 31,
|
||||
<a name="l00077"></a>00077 147, 99, 27,
|
||||
<a name="l00078"></a>00078 119, 79, 23,
|
||||
<a name="l00079"></a>00079 91, 59, 15,
|
||||
<a name="l00080"></a>00080 63, 39, 11,
|
||||
<a name="l00081"></a>00081 35, 23, 7,
|
||||
<a name="l00082"></a>00082 167, 59, 43,
|
||||
<a name="l00083"></a>00083 159, 47, 35,
|
||||
<a name="l00084"></a>00084 151, 43, 27,
|
||||
<a name="l00085"></a>00085 139, 39, 19,
|
||||
<a name="l00086"></a>00086 127, 31, 15,
|
||||
<a name="l00087"></a>00087 115, 23, 11,
|
||||
<a name="l00088"></a>00088 103, 23, 7,
|
||||
<a name="l00089"></a>00089 87, 19, 0,
|
||||
<a name="l00090"></a>00090 75, 15, 0,
|
||||
<a name="l00091"></a>00091 67, 15, 0,
|
||||
<a name="l00092"></a>00092 59, 15, 0,
|
||||
<a name="l00093"></a>00093 51, 11, 0,
|
||||
<a name="l00094"></a>00094 43, 11, 0,
|
||||
<a name="l00095"></a>00095 35, 11, 0,
|
||||
<a name="l00096"></a>00096 27, 7, 0,
|
||||
<a name="l00097"></a>00097 19, 7, 0,
|
||||
<a name="l00098"></a>00098 123, 95, 75,
|
||||
<a name="l00099"></a>00099 115, 87, 67,
|
||||
<a name="l00100"></a>00100 107, 83, 63,
|
||||
<a name="l00101"></a>00101 103, 79, 59,
|
||||
<a name="l00102"></a>00102 95, 71, 55,
|
||||
<a name="l00103"></a>00103 87, 67, 51,
|
||||
<a name="l00104"></a>00104 83, 63, 47,
|
||||
<a name="l00105"></a>00105 75, 55, 43,
|
||||
<a name="l00106"></a>00106 67, 51, 39,
|
||||
<a name="l00107"></a>00107 63, 47, 35,
|
||||
<a name="l00108"></a>00108 55, 39, 27,
|
||||
<a name="l00109"></a>00109 47, 35, 23,
|
||||
<a name="l00110"></a>00110 39, 27, 19,
|
||||
<a name="l00111"></a>00111 31, 23, 15,
|
||||
<a name="l00112"></a>00112 23, 15, 11,
|
||||
<a name="l00113"></a>00113 15, 11, 7,
|
||||
<a name="l00114"></a>00114 111, 59, 23,
|
||||
<a name="l00115"></a>00115 95, 55, 23,
|
||||
<a name="l00116"></a>00116 83, 47, 23,
|
||||
<a name="l00117"></a>00117 67, 43, 23,
|
||||
<a name="l00118"></a>00118 55, 35, 19,
|
||||
<a name="l00119"></a>00119 39, 27, 15,
|
||||
<a name="l00120"></a>00120 27, 19, 11,
|
||||
<a name="l00121"></a>00121 15, 11, 7,
|
||||
<a name="l00122"></a>00122 179, 91, 79,
|
||||
<a name="l00123"></a>00123 191, 123, 111,
|
||||
<a name="l00124"></a>00124 203, 155, 147,
|
||||
<a name="l00125"></a>00125 215, 187, 183,
|
||||
<a name="l00126"></a>00126 203, 215, 223,
|
||||
<a name="l00127"></a>00127 179, 199, 211,
|
||||
<a name="l00128"></a>00128 159, 183, 195,
|
||||
<a name="l00129"></a>00129 135, 167, 183,
|
||||
<a name="l00130"></a>00130 115, 151, 167,
|
||||
<a name="l00131"></a>00131 91, 135, 155,
|
||||
<a name="l00132"></a>00132 71, 119, 139,
|
||||
<a name="l00133"></a>00133 47, 103, 127,
|
||||
<a name="l00134"></a>00134 23, 83, 111,
|
||||
<a name="l00135"></a>00135 19, 75, 103,
|
||||
<a name="l00136"></a>00136 15, 67, 91,
|
||||
<a name="l00137"></a>00137 11, 63, 83,
|
||||
<a name="l00138"></a>00138 7, 55, 75,
|
||||
<a name="l00139"></a>00139 7, 47, 63,
|
||||
<a name="l00140"></a>00140 7, 39, 51,
|
||||
<a name="l00141"></a>00141 0, 31, 43,
|
||||
<a name="l00142"></a>00142 0, 23, 31,
|
||||
<a name="l00143"></a>00143 0, 15, 19,
|
||||
<a name="l00144"></a>00144 0, 7, 11,
|
||||
<a name="l00145"></a>00145 0, 0, 0,
|
||||
<a name="l00146"></a>00146 139, 87, 87,
|
||||
<a name="l00147"></a>00147 131, 79, 79,
|
||||
<a name="l00148"></a>00148 123, 71, 71,
|
||||
<a name="l00149"></a>00149 115, 67, 67,
|
||||
<a name="l00150"></a>00150 107, 59, 59,
|
||||
<a name="l00151"></a>00151 99, 51, 51,
|
||||
<a name="l00152"></a>00152 91, 47, 47,
|
||||
<a name="l00153"></a>00153 87, 43, 43,
|
||||
<a name="l00154"></a>00154 75, 35, 35,
|
||||
<a name="l00155"></a>00155 63, 31, 31,
|
||||
<a name="l00156"></a>00156 51, 27, 27,
|
||||
<a name="l00157"></a>00157 43, 19, 19,
|
||||
<a name="l00158"></a>00158 31, 15, 15,
|
||||
<a name="l00159"></a>00159 19, 11, 11,
|
||||
<a name="l00160"></a>00160 11, 7, 7,
|
||||
<a name="l00161"></a>00161 0, 0, 0,
|
||||
<a name="l00162"></a>00162 151, 159, 123,
|
||||
<a name="l00163"></a>00163 143, 151, 115,
|
||||
<a name="l00164"></a>00164 135, 139, 107,
|
||||
<a name="l00165"></a>00165 127, 131, 99,
|
||||
<a name="l00166"></a>00166 119, 123, 95,
|
||||
<a name="l00167"></a>00167 115, 115, 87,
|
||||
<a name="l00168"></a>00168 107, 107, 79,
|
||||
<a name="l00169"></a>00169 99, 99, 71,
|
||||
<a name="l00170"></a>00170 91, 91, 67,
|
||||
<a name="l00171"></a>00171 79, 79, 59,
|
||||
<a name="l00172"></a>00172 67, 67, 51,
|
||||
<a name="l00173"></a>00173 55, 55, 43,
|
||||
<a name="l00174"></a>00174 47, 47, 35,
|
||||
<a name="l00175"></a>00175 35, 35, 27,
|
||||
<a name="l00176"></a>00176 23, 23, 19,
|
||||
<a name="l00177"></a>00177 15, 15, 11,
|
||||
<a name="l00178"></a>00178 159, 75, 63,
|
||||
<a name="l00179"></a>00179 147, 67, 55,
|
||||
<a name="l00180"></a>00180 139, 59, 47,
|
||||
<a name="l00181"></a>00181 127, 55, 39,
|
||||
<a name="l00182"></a>00182 119, 47, 35,
|
||||
<a name="l00183"></a>00183 107, 43, 27,
|
||||
<a name="l00184"></a>00184 99, 35, 23,
|
||||
<a name="l00185"></a>00185 87, 31, 19,
|
||||
<a name="l00186"></a>00186 79, 27, 15,
|
||||
<a name="l00187"></a>00187 67, 23, 11,
|
||||
<a name="l00188"></a>00188 55, 19, 11,
|
||||
<a name="l00189"></a>00189 43, 15, 7,
|
||||
<a name="l00190"></a>00190 31, 11, 7,
|
||||
<a name="l00191"></a>00191 23, 7, 0,
|
||||
<a name="l00192"></a>00192 11, 0, 0,
|
||||
<a name="l00193"></a>00193 0, 0, 0,
|
||||
<a name="l00194"></a>00194 119, 123, 207,
|
||||
<a name="l00195"></a>00195 111, 115, 195,
|
||||
<a name="l00196"></a>00196 103, 107, 183,
|
||||
<a name="l00197"></a>00197 99, 99, 167,
|
||||
<a name="l00198"></a>00198 91, 91, 155,
|
||||
<a name="l00199"></a>00199 83, 87, 143,
|
||||
<a name="l00200"></a>00200 75, 79, 127,
|
||||
<a name="l00201"></a>00201 71, 71, 115,
|
||||
<a name="l00202"></a>00202 63, 63, 103,
|
||||
<a name="l00203"></a>00203 55, 55, 87,
|
||||
<a name="l00204"></a>00204 47, 47, 75,
|
||||
<a name="l00205"></a>00205 39, 39, 63,
|
||||
<a name="l00206"></a>00206 35, 31, 47,
|
||||
<a name="l00207"></a>00207 27, 23, 35,
|
||||
<a name="l00208"></a>00208 19, 15, 23,
|
||||
<a name="l00209"></a>00209 11, 7, 7,
|
||||
<a name="l00210"></a>00210 155, 171, 123,
|
||||
<a name="l00211"></a>00211 143, 159, 111,
|
||||
<a name="l00212"></a>00212 135, 151, 99,
|
||||
<a name="l00213"></a>00213 123, 139, 87,
|
||||
<a name="l00214"></a>00214 115, 131, 75,
|
||||
<a name="l00215"></a>00215 103, 119, 67,
|
||||
<a name="l00216"></a>00216 95, 111, 59,
|
||||
<a name="l00217"></a>00217 87, 103, 51,
|
||||
<a name="l00218"></a>00218 75, 91, 39,
|
||||
<a name="l00219"></a>00219 63, 79, 27,
|
||||
<a name="l00220"></a>00220 55, 67, 19,
|
||||
<a name="l00221"></a>00221 47, 59, 11,
|
||||
<a name="l00222"></a>00222 35, 47, 7,
|
||||
<a name="l00223"></a>00223 27, 35, 0,
|
||||
<a name="l00224"></a>00224 19, 23, 0,
|
||||
<a name="l00225"></a>00225 11, 15, 0,
|
||||
<a name="l00226"></a>00226 0, 255, 0,
|
||||
<a name="l00227"></a>00227 35, 231, 15,
|
||||
<a name="l00228"></a>00228 63, 211, 27,
|
||||
<a name="l00229"></a>00229 83, 187, 39,
|
||||
<a name="l00230"></a>00230 95, 167, 47,
|
||||
<a name="l00231"></a>00231 95, 143, 51,
|
||||
<a name="l00232"></a>00232 95, 123, 51,
|
||||
<a name="l00233"></a>00233 255, 255, 255,
|
||||
<a name="l00234"></a>00234 255, 255, 211,
|
||||
<a name="l00235"></a>00235 255, 255, 167,
|
||||
<a name="l00236"></a>00236 255, 255, 127,
|
||||
<a name="l00237"></a>00237 255, 255, 83,
|
||||
<a name="l00238"></a>00238 255, 255, 39,
|
||||
<a name="l00239"></a>00239 255, 235, 31,
|
||||
<a name="l00240"></a>00240 255, 215, 23,
|
||||
<a name="l00241"></a>00241 255, 191, 15,
|
||||
<a name="l00242"></a>00242 255, 171, 7,
|
||||
<a name="l00243"></a>00243 255, 147, 0,
|
||||
<a name="l00244"></a>00244 239, 127, 0,
|
||||
<a name="l00245"></a>00245 227, 107, 0,
|
||||
<a name="l00246"></a>00246 211, 87, 0,
|
||||
<a name="l00247"></a>00247 199, 71, 0,
|
||||
<a name="l00248"></a>00248 183, 59, 0,
|
||||
<a name="l00249"></a>00249 171, 43, 0,
|
||||
<a name="l00250"></a>00250 155, 31, 0,
|
||||
<a name="l00251"></a>00251 143, 23, 0,
|
||||
<a name="l00252"></a>00252 127, 15, 0,
|
||||
<a name="l00253"></a>00253 115, 7, 0,
|
||||
<a name="l00254"></a>00254 95, 0, 0,
|
||||
<a name="l00255"></a>00255 71, 0, 0,
|
||||
<a name="l00256"></a>00256 47, 0, 0,
|
||||
<a name="l00257"></a>00257 27, 0, 0,
|
||||
<a name="l00258"></a>00258 239, 0, 0,
|
||||
<a name="l00259"></a>00259 55, 55, 255,
|
||||
<a name="l00260"></a>00260 255, 0, 0,
|
||||
<a name="l00261"></a>00261 0, 0, 255,
|
||||
<a name="l00262"></a>00262 43, 43, 35,
|
||||
<a name="l00263"></a>00263 27, 27, 23,
|
||||
<a name="l00264"></a>00264 19, 19, 15,
|
||||
<a name="l00265"></a>00265 235, 151, 127,
|
||||
<a name="l00266"></a>00266 195, 115, 83,
|
||||
<a name="l00267"></a>00267 159, 87, 51,
|
||||
<a name="l00268"></a>00268 123, 63, 27,
|
||||
<a name="l00269"></a>00269 235, 211, 199,
|
||||
<a name="l00270"></a>00270 199, 171, 155,
|
||||
<a name="l00271"></a>00271 167, 139, 119,
|
||||
<a name="l00272"></a>00272 135, 107, 87,
|
||||
<a name="l00273"></a>00273 159, 91, 83
|
||||
<a name="l00274"></a>00274 };
|
||||
<a name="l00275"></a>00275
|
||||
<a name="l00276"></a>00276 <span class="preprocessor">#endif//Q2PAL_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,62 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_register.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_register.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/25/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_register.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Allows the caller to specify user-defined callback functions</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">// to open files DevIL does not support, to parse files</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">// differently, or anything else a person can think up.</span>
|
||||
<a name="l00012"></a>00012 <span class="comment">//</span>
|
||||
<a name="l00013"></a>00013 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00014"></a>00014
|
||||
<a name="l00015"></a>00015
|
||||
<a name="l00016"></a>00016 <span class="preprocessor">#ifndef REGISTER_H</span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor">#define REGISTER_H</span>
|
||||
<a name="l00018"></a>00018 <span class="preprocessor"></span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00020"></a>00020
|
||||
<a name="l00021"></a>00021 <span class="keyword">typedef</span> <span class="keyword">struct </span>iFormatL
|
||||
<a name="l00022"></a>00022 {
|
||||
<a name="l00023"></a>00023 ILstring Ext;
|
||||
<a name="l00024"></a>00024 IL_LOADPROC Load;
|
||||
<a name="l00025"></a>00025 <span class="keyword">struct </span>iFormatL *Next;
|
||||
<a name="l00026"></a>00026 } iFormatL;
|
||||
<a name="l00027"></a>00027
|
||||
<a name="l00028"></a>00028 <span class="keyword">typedef</span> <span class="keyword">struct </span>iFormatS
|
||||
<a name="l00029"></a>00029 {
|
||||
<a name="l00030"></a>00030 ILstring Ext;
|
||||
<a name="l00031"></a>00031 IL_SAVEPROC Save;
|
||||
<a name="l00032"></a>00032 <span class="keyword">struct </span>iFormatS *Next;
|
||||
<a name="l00033"></a>00033 } iFormatS;
|
||||
<a name="l00034"></a>00034
|
||||
<a name="l00035"></a>00035 <span class="preprocessor">#define I_LOAD_FUNC 0</span>
|
||||
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#define I_SAVE_FUNC 1</span>
|
||||
<a name="l00037"></a>00037 <span class="preprocessor"></span>
|
||||
<a name="l00038"></a>00038 ILboolean iRegisterLoad(ILconst_string FileName);
|
||||
<a name="l00039"></a>00039 ILboolean iRegisterSave(ILconst_string FileName);
|
||||
<a name="l00040"></a>00040
|
||||
<a name="l00041"></a>00041 <span class="preprocessor">#endif//REGISTER_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,113 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_rle.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_rle.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/25/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_rle.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Functions for run-length encoding</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef RLE_H</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define RLE_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00017"></a>00017
|
||||
<a name="l00018"></a>00018 <span class="preprocessor">#define TGA_MAX_RUN 128</span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define SGI_MAX_RUN 127</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define BMP_MAX_RUN 127</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor">#ifdef IL_RLE_C</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#undef NOINLINE</span>
|
||||
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#undef INLINE</span>
|
||||
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#define INLINE</span>
|
||||
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00027"></a>00027 <span class="preprocessor"></span>
|
||||
<a name="l00028"></a>00028 <span class="preprocessor">#ifndef NOINLINE</span>
|
||||
<a name="l00029"></a>00029 <span class="preprocessor"></span>INLINE ILuint GetPix(ILubyte *p, ILuint bpp) {
|
||||
<a name="l00030"></a>00030 ILuint Pixel;
|
||||
<a name="l00031"></a>00031 Pixel = (ILuint)*p++;
|
||||
<a name="l00032"></a>00032
|
||||
<a name="l00033"></a>00033 <span class="keywordflow">while</span>( bpp-- > 1 ) {
|
||||
<a name="l00034"></a>00034 Pixel <<= 8;
|
||||
<a name="l00035"></a>00035 Pixel |= (ILuint)*p++;
|
||||
<a name="l00036"></a>00036 }
|
||||
<a name="l00037"></a>00037 <span class="keywordflow">return</span> Pixel;
|
||||
<a name="l00038"></a>00038 }
|
||||
<a name="l00039"></a>00039
|
||||
<a name="l00040"></a>00040 INLINE ILint CountDiffPixels(ILubyte *p, ILuint bpp, ILuint pixCnt) {
|
||||
<a name="l00041"></a>00041 ILuint pixel;
|
||||
<a name="l00042"></a>00042 ILuint nextPixel = 0;
|
||||
<a name="l00043"></a>00043 ILint n;
|
||||
<a name="l00044"></a>00044
|
||||
<a name="l00045"></a>00045 n = 0;
|
||||
<a name="l00046"></a>00046 <span class="keywordflow">if</span> (pixCnt == 1)
|
||||
<a name="l00047"></a>00047 <span class="keywordflow">return</span> pixCnt;
|
||||
<a name="l00048"></a>00048 pixel = GetPix(p, bpp);
|
||||
<a name="l00049"></a>00049
|
||||
<a name="l00050"></a>00050 <span class="keywordflow">while</span> (pixCnt > 1) {
|
||||
<a name="l00051"></a>00051 p += bpp;
|
||||
<a name="l00052"></a>00052 nextPixel = GetPix(p, bpp);
|
||||
<a name="l00053"></a>00053 <span class="keywordflow">if</span> (nextPixel == pixel)
|
||||
<a name="l00054"></a>00054 <span class="keywordflow">break</span>;
|
||||
<a name="l00055"></a>00055 pixel = nextPixel;
|
||||
<a name="l00056"></a>00056 ++n;
|
||||
<a name="l00057"></a>00057 --pixCnt;
|
||||
<a name="l00058"></a>00058 }
|
||||
<a name="l00059"></a>00059
|
||||
<a name="l00060"></a>00060 <span class="keywordflow">if</span> (nextPixel == pixel)
|
||||
<a name="l00061"></a>00061 <span class="keywordflow">return</span> n;
|
||||
<a name="l00062"></a>00062 <span class="keywordflow">return</span> n + 1;
|
||||
<a name="l00063"></a>00063 }
|
||||
<a name="l00064"></a>00064
|
||||
<a name="l00065"></a>00065
|
||||
<a name="l00066"></a>00066 INLINE ILint CountSamePixels(ILubyte *p, ILuint bpp, ILuint pixCnt) {
|
||||
<a name="l00067"></a>00067 ILuint pixel;
|
||||
<a name="l00068"></a>00068 ILuint nextPixel;
|
||||
<a name="l00069"></a>00069 ILint n;
|
||||
<a name="l00070"></a>00070
|
||||
<a name="l00071"></a>00071 n = 1;
|
||||
<a name="l00072"></a>00072 pixel = GetPix(p, bpp);
|
||||
<a name="l00073"></a>00073 pixCnt--;
|
||||
<a name="l00074"></a>00074
|
||||
<a name="l00075"></a>00075 <span class="keywordflow">while</span> (pixCnt > 0) {
|
||||
<a name="l00076"></a>00076 p += bpp;
|
||||
<a name="l00077"></a>00077 nextPixel = GetPix(p, bpp);
|
||||
<a name="l00078"></a>00078 <span class="keywordflow">if</span> (nextPixel != pixel)
|
||||
<a name="l00079"></a>00079 <span class="keywordflow">break</span>;
|
||||
<a name="l00080"></a>00080 ++n;
|
||||
<a name="l00081"></a>00081 --pixCnt;
|
||||
<a name="l00082"></a>00082 }
|
||||
<a name="l00083"></a>00083
|
||||
<a name="l00084"></a>00084 <span class="keywordflow">return</span> n;
|
||||
<a name="l00085"></a>00085 }
|
||||
<a name="l00086"></a>00086 <span class="preprocessor">#endif</span>
|
||||
<a name="l00087"></a>00087 <span class="preprocessor"></span>
|
||||
<a name="l00088"></a>00088 ILuint GetPix(ILubyte *p, ILuint bpp);
|
||||
<a name="l00089"></a>00089 ILint CountDiffPixels(ILubyte *p, ILuint bpp, ILuint pixCnt);
|
||||
<a name="l00090"></a>00090 ILint CountSamePixels(ILubyte *p, ILuint bpp, ILuint pixCnt);
|
||||
<a name="l00091"></a>00091
|
||||
<a name="l00092"></a>00092 <span class="preprocessor">#endif//RLE_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,87 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_sgi.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_sgi.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/25/2002 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/sgi.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads from and writes to SGI graphics files.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef SGI_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define SGI_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 <span class="keyword">typedef</span> <span class="keyword">struct </span>iSgiHeader
|
||||
<a name="l00020"></a>00020 {
|
||||
<a name="l00021"></a>00021 ILshort MagicNum; <span class="comment">// IRIS image file magic number</span>
|
||||
<a name="l00022"></a>00022 ILbyte Storage; <span class="comment">// Storage format</span>
|
||||
<a name="l00023"></a>00023 ILbyte Bpc; <span class="comment">// Number of bytes per pixel channel</span>
|
||||
<a name="l00024"></a>00024 ILushort Dim; <span class="comment">// Number of dimensions</span>
|
||||
<a name="l00025"></a>00025 <span class="comment">// 1: single channel, 1 row with XSize pixels</span>
|
||||
<a name="l00026"></a>00026 <span class="comment">// 2: single channel, XSize*YSize pixels</span>
|
||||
<a name="l00027"></a>00027 <span class="comment">// 3: ZSize channels, XSize*YSize pixels</span>
|
||||
<a name="l00028"></a>00028
|
||||
<a name="l00029"></a>00029 ILushort XSize; <span class="comment">// X size in pixels</span>
|
||||
<a name="l00030"></a>00030 ILushort YSize; <span class="comment">// Y size in pixels</span>
|
||||
<a name="l00031"></a>00031 ILushort ZSize; <span class="comment">// Number of channels</span>
|
||||
<a name="l00032"></a>00032 ILint PixMin; <span class="comment">// Minimum pixel value</span>
|
||||
<a name="l00033"></a>00033 ILint PixMax; <span class="comment">// Maximum pixel value</span>
|
||||
<a name="l00034"></a>00034 ILint Dummy1; <span class="comment">// Ignored</span>
|
||||
<a name="l00035"></a>00035 ILbyte Name[80]; <span class="comment">// Image name</span>
|
||||
<a name="l00036"></a>00036 ILint ColMap; <span class="comment">// Colormap ID</span>
|
||||
<a name="l00037"></a>00037 ILbyte Dummy[404]; <span class="comment">// Ignored</span>
|
||||
<a name="l00038"></a>00038 } IL_PACKSTRUCT iSgiHeader;
|
||||
<a name="l00039"></a>00039
|
||||
<a name="l00040"></a>00040 <span class="comment">// Sgi format #define's</span>
|
||||
<a name="l00041"></a>00041 <span class="preprocessor">#define SGI_VERBATIM 0</span>
|
||||
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#define SGI_RLE 1</span>
|
||||
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#define SGI_MAGICNUM 474</span>
|
||||
<a name="l00044"></a>00044 <span class="preprocessor"></span>
|
||||
<a name="l00045"></a>00045 <span class="comment">// Sgi colormap types</span>
|
||||
<a name="l00046"></a>00046 <span class="preprocessor">#define SGI_COLMAP_NORMAL 0</span>
|
||||
<a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor">#define SGI_COLMAP_DITHERED 1</span>
|
||||
<a name="l00048"></a>00048 <span class="preprocessor"></span><span class="preprocessor">#define SGI_COLMAP_SCREEN 2</span>
|
||||
<a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor">#define SGI_COLMAP_COLMAP 3</span>
|
||||
<a name="l00050"></a>00050 <span class="preprocessor"></span>
|
||||
<a name="l00051"></a>00051
|
||||
<a name="l00052"></a>00052 <span class="comment">// Internal functions</span>
|
||||
<a name="l00053"></a>00053 ILboolean iIsValidSgi(<span class="keywordtype">void</span>);
|
||||
<a name="l00054"></a>00054 ILboolean iCheckSgi(iSgiHeader *Header);
|
||||
<a name="l00055"></a>00055 ILboolean iLoadSgiInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00056"></a>00056 ILboolean iSaveSgiInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00057"></a>00057 <span class="keywordtype">void</span> iExpandScanLine(ILubyte *Dest, ILubyte *Src, ILuint Bpc);
|
||||
<a name="l00058"></a>00058 ILint iGetScanLine(ILubyte *ScanLine, iSgiHeader *Head, ILuint Length);
|
||||
<a name="l00059"></a>00059 ILint iGetScanLineFast(ILubyte *ScanLine, iSgiHeader *Head, ILuint Length, ILubyte*);
|
||||
<a name="l00060"></a>00060 <span class="keywordtype">void</span> sgiSwitchData(ILubyte *Data, ILuint SizeOfData);
|
||||
<a name="l00061"></a>00061 ILboolean iNewSgi(iSgiHeader *Head);
|
||||
<a name="l00062"></a>00062 ILboolean iReadNonRleSgi(iSgiHeader *Head);
|
||||
<a name="l00063"></a>00063 ILboolean iReadRleSgi(iSgiHeader *Head);
|
||||
<a name="l00064"></a>00064 ILboolean iSaveRleSgi(ILubyte *Data, ILuint w, ILuint h, ILuint numChannels, ILuint bps);
|
||||
<a name="l00065"></a>00065
|
||||
<a name="l00066"></a>00066 <span class="preprocessor">#endif//SGI_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,64 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_stack.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_stack.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/25/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_stack.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: The main image stack</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef IMAGESTACK_H</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define IMAGESTACK_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00017"></a>00017
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 <span class="comment">// Just a guess...seems large enough</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor">#define I_STACK_INCREMENT 1024</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span>
|
||||
<a name="l00022"></a>00022 <span class="keyword">typedef</span> <span class="keyword">struct </span>iFree
|
||||
<a name="l00023"></a>00023 {
|
||||
<a name="l00024"></a>00024 ILuint Name;
|
||||
<a name="l00025"></a>00025 <span class="keywordtype">void</span> *Next;
|
||||
<a name="l00026"></a>00026 } iFree;
|
||||
<a name="l00027"></a>00027
|
||||
<a name="l00028"></a>00028
|
||||
<a name="l00029"></a>00029 <span class="comment">// Internal functions</span>
|
||||
<a name="l00030"></a>00030 ILboolean iEnlargeStack(<span class="keywordtype">void</span>);
|
||||
<a name="l00031"></a>00031 <span class="keywordtype">void</span> iFreeMem(<span class="keywordtype">void</span>);
|
||||
<a name="l00032"></a>00032
|
||||
<a name="l00033"></a>00033 <span class="comment">// Globals for il_stack.c</span>
|
||||
<a name="l00034"></a>00034 ILuint StackSize = 0;
|
||||
<a name="l00035"></a>00035 ILuint LastUsed = 0;
|
||||
<a name="l00036"></a>00036 ILuint CurName = 0;
|
||||
<a name="l00037"></a>00037 <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> **ImageStack = NULL;
|
||||
<a name="l00038"></a>00038 iFree *FreeNames = NULL;
|
||||
<a name="l00039"></a>00039 ILboolean OnExit = IL_FALSE;
|
||||
<a name="l00040"></a>00040 ILboolean ParentImage = IL_TRUE;
|
||||
<a name="l00041"></a>00041
|
||||
<a name="l00042"></a>00042
|
||||
<a name="l00043"></a>00043 <span class="preprocessor">#endif//IMAGESTACK_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,420 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_states.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_states.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2008 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 11/07/2008</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/src/il_states.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: State machine</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef STATES_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define STATES_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019
|
||||
<a name="l00020"></a>00020 ILboolean ilAble(ILenum Mode, ILboolean Flag);
|
||||
<a name="l00021"></a>00021
|
||||
<a name="l00022"></a>00022
|
||||
<a name="l00023"></a>00023 <span class="preprocessor">#define IL_ATTRIB_STACK_MAX 32</span>
|
||||
<a name="l00024"></a>00024 <span class="preprocessor"></span>
|
||||
<a name="l00025"></a>00025 ILuint ilCurrentPos = 0; <span class="comment">// Which position on the stack</span>
|
||||
<a name="l00026"></a>00026
|
||||
<a name="l00027"></a>00027 <span class="comment">//</span>
|
||||
<a name="l00028"></a>00028 <span class="comment">// Various states</span>
|
||||
<a name="l00029"></a>00029 <span class="comment">//</span>
|
||||
<a name="l00030"></a>00030
|
||||
<a name="l00031"></a>00031 <span class="keyword">typedef</span> <span class="keyword">struct </span>IL_STATES
|
||||
<a name="l00032"></a>00032 {
|
||||
<a name="l00033"></a>00033 <span class="comment">// Origin states</span>
|
||||
<a name="l00034"></a>00034 ILboolean ilOriginSet;
|
||||
<a name="l00035"></a>00035 ILenum ilOriginMode;
|
||||
<a name="l00036"></a>00036 <span class="comment">// Format and type states</span>
|
||||
<a name="l00037"></a>00037 ILboolean ilFormatSet;
|
||||
<a name="l00038"></a>00038 ILboolean ilTypeSet;
|
||||
<a name="l00039"></a>00039 ILenum ilFormatMode;
|
||||
<a name="l00040"></a>00040 ILenum ilTypeMode;
|
||||
<a name="l00041"></a>00041 <span class="comment">// File mode states</span>
|
||||
<a name="l00042"></a>00042 ILboolean ilOverWriteFiles;
|
||||
<a name="l00043"></a>00043 <span class="comment">// Palette states</span>
|
||||
<a name="l00044"></a>00044 ILboolean ilAutoConvPal;
|
||||
<a name="l00045"></a>00045 <span class="comment">// Load fail states</span>
|
||||
<a name="l00046"></a>00046 ILboolean ilDefaultOnFail;
|
||||
<a name="l00047"></a>00047 <span class="comment">// Key colour states</span>
|
||||
<a name="l00048"></a>00048 ILboolean ilUseKeyColour;
|
||||
<a name="l00049"></a>00049 <span class="comment">// Alpha blend states</span>
|
||||
<a name="l00050"></a>00050 ILboolean ilBlitBlend;
|
||||
<a name="l00051"></a>00051 <span class="comment">// Compression states</span>
|
||||
<a name="l00052"></a>00052 ILenum ilCompression;
|
||||
<a name="l00053"></a>00053 <span class="comment">// Interlace states</span>
|
||||
<a name="l00054"></a>00054 ILenum ilInterlace;
|
||||
<a name="l00055"></a>00055 <span class="comment">// Quantization states</span>
|
||||
<a name="l00056"></a>00056 ILenum ilQuantMode;
|
||||
<a name="l00057"></a>00057 ILuint ilNeuSample;
|
||||
<a name="l00058"></a>00058 ILuint ilQuantMaxIndexs;
|
||||
<a name="l00059"></a>00059 <span class="comment">// DXTC states</span>
|
||||
<a name="l00060"></a>00060 ILboolean ilKeepDxtcData;
|
||||
<a name="l00061"></a>00061 ILboolean ilUseNVidiaDXT;
|
||||
<a name="l00062"></a>00062 ILboolean ilUseSquishDXT;
|
||||
<a name="l00063"></a>00063
|
||||
<a name="l00064"></a>00064
|
||||
<a name="l00065"></a>00065 <span class="comment">//</span>
|
||||
<a name="l00066"></a>00066 <span class="comment">// Format-specific states</span>
|
||||
<a name="l00067"></a>00067 <span class="comment">//</span>
|
||||
<a name="l00068"></a>00068
|
||||
<a name="l00069"></a>00069 ILboolean ilTgaCreateStamp;
|
||||
<a name="l00070"></a>00070 ILuint ilJpgQuality;
|
||||
<a name="l00071"></a>00071 ILboolean ilPngInterlace;
|
||||
<a name="l00072"></a>00072 ILboolean ilTgaRle;
|
||||
<a name="l00073"></a>00073 ILboolean ilBmpRle;
|
||||
<a name="l00074"></a>00074 ILboolean ilSgiRle;
|
||||
<a name="l00075"></a>00075 ILenum ilJpgFormat;
|
||||
<a name="l00076"></a>00076 ILboolean ilJpgProgressive;
|
||||
<a name="l00077"></a>00077 ILenum ilDxtcFormat;
|
||||
<a name="l00078"></a>00078 ILenum ilPcdPicNum;
|
||||
<a name="l00079"></a>00079
|
||||
<a name="l00080"></a>00080 ILint ilPngAlphaIndex; <span class="comment">// this index should be treated as an alpha key (most formats use this rather than having alpha in the palette), -1 for none</span>
|
||||
<a name="l00081"></a>00081 <span class="comment">// currently only used when writing out .png files and should obviously be set to -1 most of the time</span>
|
||||
<a name="l00082"></a>00082 ILenum ilVtfCompression;
|
||||
<a name="l00083"></a>00083
|
||||
<a name="l00084"></a>00084
|
||||
<a name="l00085"></a>00085 <span class="comment">//</span>
|
||||
<a name="l00086"></a>00086 <span class="comment">// Format-specific strings</span>
|
||||
<a name="l00087"></a>00087 <span class="comment">//</span>
|
||||
<a name="l00088"></a>00088
|
||||
<a name="l00089"></a>00089 <span class="keywordtype">char</span>* ilTgaId;
|
||||
<a name="l00090"></a>00090 <span class="keywordtype">char</span>* ilTgaAuthName;
|
||||
<a name="l00091"></a>00091 <span class="keywordtype">char</span>* ilTgaAuthComment;
|
||||
<a name="l00092"></a>00092 <span class="keywordtype">char</span>* ilPngAuthName;
|
||||
<a name="l00093"></a>00093 <span class="keywordtype">char</span>* ilPngTitle;
|
||||
<a name="l00094"></a>00094 <span class="keywordtype">char</span>* ilPngDescription;
|
||||
<a name="l00095"></a>00095 <span class="keywordtype">char</span>* ilTifDescription;
|
||||
<a name="l00096"></a>00096 <span class="keywordtype">char</span>* ilTifHostComputer;
|
||||
<a name="l00097"></a>00097 <span class="keywordtype">char</span>* ilTifDocumentName;
|
||||
<a name="l00098"></a>00098 <span class="keywordtype">char</span>* ilTifAuthName;
|
||||
<a name="l00099"></a>00099 <span class="keywordtype">char</span>* ilCHeader;
|
||||
<a name="l00100"></a>00100
|
||||
<a name="l00101"></a>00101
|
||||
<a name="l00102"></a>00102
|
||||
<a name="l00103"></a>00103
|
||||
<a name="l00104"></a>00104 } IL_STATES;
|
||||
<a name="l00105"></a>00105
|
||||
<a name="l00106"></a>00106 IL_STATES ilStates[IL_ATTRIB_STACK_MAX];
|
||||
<a name="l00107"></a>00107
|
||||
<a name="l00108"></a>00108
|
||||
<a name="l00109"></a>00109 <span class="keyword">typedef</span> <span class="keyword">struct </span>IL_HINTS
|
||||
<a name="l00110"></a>00110 {
|
||||
<a name="l00111"></a>00111 <span class="comment">// Memory vs. Speed trade-off</span>
|
||||
<a name="l00112"></a>00112 ILenum MemVsSpeedHint;
|
||||
<a name="l00113"></a>00113 <span class="comment">// Compression hints</span>
|
||||
<a name="l00114"></a>00114 ILenum CompressHint;
|
||||
<a name="l00115"></a>00115
|
||||
<a name="l00116"></a>00116 } IL_HINTS;
|
||||
<a name="l00117"></a>00117
|
||||
<a name="l00118"></a>00118 IL_HINTS ilHints;
|
||||
<a name="l00119"></a>00119
|
||||
<a name="l00120"></a>00120
|
||||
<a name="l00121"></a>00121 <span class="preprocessor">#ifndef IL_NO_BLP</span>
|
||||
<a name="l00122"></a>00122 <span class="preprocessor"></span><span class="preprocessor"> #define IL_BLP_EXT "blp "</span>
|
||||
<a name="l00123"></a>00123 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00124"></a>00124 <span class="preprocessor"></span><span class="preprocessor"> #define IL_BLP_EXT ""</span>
|
||||
<a name="l00125"></a>00125 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00126"></a>00126 <span class="preprocessor"></span>
|
||||
<a name="l00127"></a>00127 <span class="preprocessor">#ifndef IL_NO_BMP</span>
|
||||
<a name="l00128"></a>00128 <span class="preprocessor"></span><span class="preprocessor"> #define IL_BMP_EXT "bmp dib "</span>
|
||||
<a name="l00129"></a>00129 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00130"></a>00130 <span class="preprocessor"></span><span class="preprocessor"> #define IL_BMP_EXT ""</span>
|
||||
<a name="l00131"></a>00131 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00132"></a>00132 <span class="preprocessor"></span>
|
||||
<a name="l00133"></a>00133 <span class="preprocessor">#ifndef IL_NO_CHEAD</span>
|
||||
<a name="l00134"></a>00134 <span class="preprocessor"></span><span class="preprocessor"> #define IL_CHEAD_EXT "h "</span>
|
||||
<a name="l00135"></a>00135 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00136"></a>00136 <span class="preprocessor"></span><span class="preprocessor"> #define IL_CHEAD_EXT ""</span>
|
||||
<a name="l00137"></a>00137 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00138"></a>00138 <span class="preprocessor"></span>
|
||||
<a name="l00139"></a>00139 <span class="preprocessor">#ifndef IL_NO_CUT</span>
|
||||
<a name="l00140"></a>00140 <span class="preprocessor"></span><span class="preprocessor"> #define IL_CUT_EXT "cut "</span>
|
||||
<a name="l00141"></a>00141 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00142"></a>00142 <span class="preprocessor"></span><span class="preprocessor"> #define IL_CUT_EXT ""</span>
|
||||
<a name="l00143"></a>00143 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00144"></a>00144 <span class="preprocessor"></span>
|
||||
<a name="l00145"></a>00145 <span class="preprocessor">#ifndef IL_NO_DCX</span>
|
||||
<a name="l00146"></a>00146 <span class="preprocessor"></span><span class="preprocessor"> #define IL_DCX_EXT "dcx "</span>
|
||||
<a name="l00147"></a>00147 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00148"></a>00148 <span class="preprocessor"></span><span class="preprocessor"> #define IL_DCX_EXT ""</span>
|
||||
<a name="l00149"></a>00149 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00150"></a>00150 <span class="preprocessor"></span>
|
||||
<a name="l00151"></a>00151 <span class="preprocessor">#ifndef IL_NO_DCM</span>
|
||||
<a name="l00152"></a>00152 <span class="preprocessor"></span><span class="preprocessor"> #define IL_DCM_EXT "dicom dcm"</span>
|
||||
<a name="l00153"></a>00153 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00154"></a>00154 <span class="preprocessor"></span><span class="preprocessor"> #define IL_DCM_EXT ""</span>
|
||||
<a name="l00155"></a>00155 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00156"></a>00156 <span class="preprocessor"></span>
|
||||
<a name="l00157"></a>00157 <span class="preprocessor">#ifndef IL_NO_DDS</span>
|
||||
<a name="l00158"></a>00158 <span class="preprocessor"></span><span class="preprocessor"> #define IL_DDS_EXT "dds "</span>
|
||||
<a name="l00159"></a>00159 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00160"></a>00160 <span class="preprocessor"></span><span class="preprocessor"> #define IL_DDS_EXT ""</span>
|
||||
<a name="l00161"></a>00161 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00162"></a>00162 <span class="preprocessor"></span>
|
||||
<a name="l00163"></a>00163 <span class="preprocessor">#ifndef IL_NO_DPX</span>
|
||||
<a name="l00164"></a>00164 <span class="preprocessor"></span><span class="preprocessor"> #define IL_DPX_EXT "dds "</span>
|
||||
<a name="l00165"></a>00165 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00166"></a>00166 <span class="preprocessor"></span><span class="preprocessor"> #define IL_DPX_EXT ""</span>
|
||||
<a name="l00167"></a>00167 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00168"></a>00168 <span class="preprocessor"></span>
|
||||
<a name="l00169"></a>00169 <span class="preprocessor">#ifndef IL_NO_EXR</span>
|
||||
<a name="l00170"></a>00170 <span class="preprocessor"></span><span class="preprocessor"> #define IL_EXR_EXT "exr "</span>
|
||||
<a name="l00171"></a>00171 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00172"></a>00172 <span class="preprocessor"></span><span class="preprocessor"> #define IL_EXR_EXT ""</span>
|
||||
<a name="l00173"></a>00173 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00174"></a>00174 <span class="preprocessor"></span>
|
||||
<a name="l00175"></a>00175 <span class="preprocessor">#ifndef IL_NO_FITS</span>
|
||||
<a name="l00176"></a>00176 <span class="preprocessor"></span><span class="preprocessor"> #define IL_FITS_EXT "fit fits "</span>
|
||||
<a name="l00177"></a>00177 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00178"></a>00178 <span class="preprocessor"></span><span class="preprocessor"> #define IL_FITS_EXT ""</span>
|
||||
<a name="l00179"></a>00179 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00180"></a>00180 <span class="preprocessor"></span>
|
||||
<a name="l00181"></a>00181 <span class="preprocessor">#ifndef IL_NO_FTX</span>
|
||||
<a name="l00182"></a>00182 <span class="preprocessor"></span><span class="preprocessor"> #define IL_FTX_EXT "ftx "</span>
|
||||
<a name="l00183"></a>00183 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00184"></a>00184 <span class="preprocessor"></span><span class="preprocessor"> #define IL_FTX_EXT ""</span>
|
||||
<a name="l00185"></a>00185 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00186"></a>00186 <span class="preprocessor"></span>
|
||||
<a name="l00187"></a>00187 <span class="preprocessor">#ifndef IL_NO_GIF</span>
|
||||
<a name="l00188"></a>00188 <span class="preprocessor"></span><span class="preprocessor"> #define IL_GIF_EXT "gif "</span>
|
||||
<a name="l00189"></a>00189 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00190"></a>00190 <span class="preprocessor"></span><span class="preprocessor"> #define IL_GIF_EXT ""</span>
|
||||
<a name="l00191"></a>00191 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00192"></a>00192 <span class="preprocessor"></span>
|
||||
<a name="l00193"></a>00193 <span class="preprocessor">#ifndef IL_NO_HDR</span>
|
||||
<a name="l00194"></a>00194 <span class="preprocessor"></span><span class="preprocessor"> #define IL_HDR_EXT "hdr "</span>
|
||||
<a name="l00195"></a>00195 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00196"></a>00196 <span class="preprocessor"></span><span class="preprocessor"> #define IL_HDR_EXT ""</span>
|
||||
<a name="l00197"></a>00197 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00198"></a>00198 <span class="preprocessor"></span>
|
||||
<a name="l00199"></a>00199 <span class="preprocessor">#ifndef IL_NO_ICNS</span>
|
||||
<a name="l00200"></a>00200 <span class="preprocessor"></span><span class="preprocessor"> #define IL_ICNS_EXT "icns "</span>
|
||||
<a name="l00201"></a>00201 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00202"></a>00202 <span class="preprocessor"></span><span class="preprocessor"> #define IL_ICNS_EXT ""</span>
|
||||
<a name="l00203"></a>00203 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00204"></a>00204 <span class="preprocessor"></span>
|
||||
<a name="l00205"></a>00205 <span class="preprocessor">#ifndef IL_NO_ICO</span>
|
||||
<a name="l00206"></a>00206 <span class="preprocessor"></span><span class="preprocessor"> #define IL_ICO_EXT "ico cur "</span>
|
||||
<a name="l00207"></a>00207 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00208"></a>00208 <span class="preprocessor"></span><span class="preprocessor"> #define IL_ICO_EXT ""</span>
|
||||
<a name="l00209"></a>00209 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00210"></a>00210 <span class="preprocessor"></span>
|
||||
<a name="l00211"></a>00211 <span class="preprocessor">#ifndef IL_NO_IFF</span>
|
||||
<a name="l00212"></a>00212 <span class="preprocessor"></span><span class="preprocessor"> #define IL_IFF_EXT "iff "</span>
|
||||
<a name="l00213"></a>00213 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00214"></a>00214 <span class="preprocessor"></span><span class="preprocessor"> #define IL_IFF_EXT ""</span>
|
||||
<a name="l00215"></a>00215 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00216"></a>00216 <span class="preprocessor"></span>
|
||||
<a name="l00217"></a>00217 <span class="preprocessor">#ifndef IL_NO_IWI</span>
|
||||
<a name="l00218"></a>00218 <span class="preprocessor"></span><span class="preprocessor"> #define IL_IWI_EXT "iwi "</span>
|
||||
<a name="l00219"></a>00219 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00220"></a>00220 <span class="preprocessor"></span><span class="preprocessor"> #define IL_IWI_EXT ""</span>
|
||||
<a name="l00221"></a>00221 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00222"></a>00222 <span class="preprocessor"></span>
|
||||
<a name="l00223"></a>00223 <span class="preprocessor">#ifndef IL_NO_JP2</span>
|
||||
<a name="l00224"></a>00224 <span class="preprocessor"></span><span class="preprocessor"> #define IL_JP2_EXT "jp2 "</span>
|
||||
<a name="l00225"></a>00225 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00226"></a>00226 <span class="preprocessor"></span><span class="preprocessor"> #define IL_JP2_EXT ""</span>
|
||||
<a name="l00227"></a>00227 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00228"></a>00228 <span class="preprocessor"></span>
|
||||
<a name="l00229"></a>00229 <span class="preprocessor">#ifndef IL_NO_JPG</span>
|
||||
<a name="l00230"></a>00230 <span class="preprocessor"></span><span class="preprocessor"> #define IL_JPG_EXT "jpg jpe jpeg "</span>
|
||||
<a name="l00231"></a>00231 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00232"></a>00232 <span class="preprocessor"></span><span class="preprocessor"> #define IL_JPG_EXT ""</span>
|
||||
<a name="l00233"></a>00233 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00234"></a>00234 <span class="preprocessor"></span>
|
||||
<a name="l00235"></a>00235 <span class="preprocessor">#ifndef IL_NO_LIF</span>
|
||||
<a name="l00236"></a>00236 <span class="preprocessor"></span><span class="preprocessor"> #define IL_LIF_EXT "lif "</span>
|
||||
<a name="l00237"></a>00237 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00238"></a>00238 <span class="preprocessor"></span><span class="preprocessor"> #define IL_LIF_EXT ""</span>
|
||||
<a name="l00239"></a>00239 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00240"></a>00240 <span class="preprocessor"></span>
|
||||
<a name="l00241"></a>00241 <span class="preprocessor">#ifndef IL_NO_MDL</span>
|
||||
<a name="l00242"></a>00242 <span class="preprocessor"></span><span class="preprocessor"> #define IL_MDL_EXT "mdl "</span>
|
||||
<a name="l00243"></a>00243 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00244"></a>00244 <span class="preprocessor"></span><span class="preprocessor"> #define IL_MDL_EXT ""</span>
|
||||
<a name="l00245"></a>00245 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00246"></a>00246 <span class="preprocessor"></span>
|
||||
<a name="l00247"></a>00247 <span class="preprocessor">#ifndef IL_NO_MNG</span>
|
||||
<a name="l00248"></a>00248 <span class="preprocessor"></span><span class="preprocessor"> #define IL_MNG_EXT "mng jng "</span>
|
||||
<a name="l00249"></a>00249 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00250"></a>00250 <span class="preprocessor"></span><span class="preprocessor"> #define IL_MNG_EXT ""</span>
|
||||
<a name="l00251"></a>00251 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00252"></a>00252 <span class="preprocessor"></span>
|
||||
<a name="l00253"></a>00253 <span class="preprocessor">#ifndef IL_NO_MP3</span>
|
||||
<a name="l00254"></a>00254 <span class="preprocessor"></span><span class="preprocessor"> #define IL_MP3_EXT "mp3 "</span>
|
||||
<a name="l00255"></a>00255 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00256"></a>00256 <span class="preprocessor"></span><span class="preprocessor"> #define IL_MP3_EXT ""</span>
|
||||
<a name="l00257"></a>00257 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00258"></a>00258 <span class="preprocessor"></span>
|
||||
<a name="l00259"></a>00259 <span class="preprocessor">#ifndef IL_NO_PCD</span>
|
||||
<a name="l00260"></a>00260 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PCD_EXT "pcd "</span>
|
||||
<a name="l00261"></a>00261 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00262"></a>00262 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PCD_EXT ""</span>
|
||||
<a name="l00263"></a>00263 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00264"></a>00264 <span class="preprocessor"></span>
|
||||
<a name="l00265"></a>00265 <span class="preprocessor">#ifndef IL_NO_PCX</span>
|
||||
<a name="l00266"></a>00266 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PCX_EXT "pcx "</span>
|
||||
<a name="l00267"></a>00267 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00268"></a>00268 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PCX_EXT ""</span>
|
||||
<a name="l00269"></a>00269 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00270"></a>00270 <span class="preprocessor"></span>
|
||||
<a name="l00271"></a>00271 <span class="preprocessor">#ifndef IL_NO_PIC</span>
|
||||
<a name="l00272"></a>00272 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PIC_EXT "pic "</span>
|
||||
<a name="l00273"></a>00273 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00274"></a>00274 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PIC_EXT ""</span>
|
||||
<a name="l00275"></a>00275 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00276"></a>00276 <span class="preprocessor"></span>
|
||||
<a name="l00277"></a>00277 <span class="preprocessor">#ifndef IL_NO_PIX</span>
|
||||
<a name="l00278"></a>00278 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PIX_EXT "pix "</span>
|
||||
<a name="l00279"></a>00279 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00280"></a>00280 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PIX_EXT ""</span>
|
||||
<a name="l00281"></a>00281 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00282"></a>00282 <span class="preprocessor"></span>
|
||||
<a name="l00283"></a>00283 <span class="preprocessor">#ifndef IL_NO_PNG</span>
|
||||
<a name="l00284"></a>00284 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PNG_EXT "png "</span>
|
||||
<a name="l00285"></a>00285 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00286"></a>00286 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PNG_EXT ""</span>
|
||||
<a name="l00287"></a>00287 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00288"></a>00288 <span class="preprocessor"></span>
|
||||
<a name="l00289"></a>00289 <span class="preprocessor">#ifndef IL_NO_PNM</span>
|
||||
<a name="l00290"></a>00290 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PNM_EXT "pbm pgm pnm ppm "</span>
|
||||
<a name="l00291"></a>00291 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00292"></a>00292 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PNM_EXT ""</span>
|
||||
<a name="l00293"></a>00293 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00294"></a>00294 <span class="preprocessor"></span>
|
||||
<a name="l00295"></a>00295 <span class="preprocessor">#ifndef IL_NO_PSD</span>
|
||||
<a name="l00296"></a>00296 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PSD_EXT "psd pdd "</span>
|
||||
<a name="l00297"></a>00297 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00298"></a>00298 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PSD_EXT ""</span>
|
||||
<a name="l00299"></a>00299 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00300"></a>00300 <span class="preprocessor"></span>
|
||||
<a name="l00301"></a>00301 <span class="preprocessor">#ifndef IL_NO_PSP</span>
|
||||
<a name="l00302"></a>00302 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PSP_EXT "psp "</span>
|
||||
<a name="l00303"></a>00303 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00304"></a>00304 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PSP_EXT ""</span>
|
||||
<a name="l00305"></a>00305 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00306"></a>00306 <span class="preprocessor"></span>
|
||||
<a name="l00307"></a>00307 <span class="preprocessor">#ifndef IL_NO_PXR</span>
|
||||
<a name="l00308"></a>00308 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PXR_EXT "pxr "</span>
|
||||
<a name="l00309"></a>00309 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00310"></a>00310 <span class="preprocessor"></span><span class="preprocessor"> #define IL_PXR_EXT ""</span>
|
||||
<a name="l00311"></a>00311 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00312"></a>00312 <span class="preprocessor"></span>
|
||||
<a name="l00313"></a>00313 <span class="preprocessor">#ifndef IL_NO_RAW</span>
|
||||
<a name="l00314"></a>00314 <span class="preprocessor"></span><span class="preprocessor"> #define IL_RAW_EXT "raw "</span>
|
||||
<a name="l00315"></a>00315 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00316"></a>00316 <span class="preprocessor"></span><span class="preprocessor"> #define IL_RAW_EXT ""</span>
|
||||
<a name="l00317"></a>00317 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00318"></a>00318 <span class="preprocessor"></span>
|
||||
<a name="l00319"></a>00319 <span class="preprocessor">#ifndef IL_NO_ROT</span>
|
||||
<a name="l00320"></a>00320 <span class="preprocessor"></span><span class="preprocessor"> #define IL_ROT_EXT "rot "</span>
|
||||
<a name="l00321"></a>00321 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00322"></a>00322 <span class="preprocessor"></span><span class="preprocessor"> #define IL_ROT_EXT ""</span>
|
||||
<a name="l00323"></a>00323 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00324"></a>00324 <span class="preprocessor"></span>
|
||||
<a name="l00325"></a>00325 <span class="preprocessor">#ifndef IL_NO_SGI</span>
|
||||
<a name="l00326"></a>00326 <span class="preprocessor"></span><span class="preprocessor"> #define IL_SGI_EXT "sgi bw rgb rgba "</span>
|
||||
<a name="l00327"></a>00327 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00328"></a>00328 <span class="preprocessor"></span><span class="preprocessor"> #define IL_SGI_EXT ""</span>
|
||||
<a name="l00329"></a>00329 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00330"></a>00330 <span class="preprocessor"></span>
|
||||
<a name="l00331"></a>00331 <span class="preprocessor">#ifndef IL_NO_SUN</span>
|
||||
<a name="l00332"></a>00332 <span class="preprocessor"></span><span class="preprocessor"> #define IL_SUN_EXT "sun ras rs im1 im8 im24 im32 "</span>
|
||||
<a name="l00333"></a>00333 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00334"></a>00334 <span class="preprocessor"></span><span class="preprocessor"> #define IL_SUN_EXT ""</span>
|
||||
<a name="l00335"></a>00335 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00336"></a>00336 <span class="preprocessor"></span>
|
||||
<a name="l00337"></a>00337 <span class="preprocessor">#ifndef IL_NO_TEXTURE</span>
|
||||
<a name="l00338"></a>00338 <span class="preprocessor"></span><span class="preprocessor"> #define IL_TEX_EXT "texture "</span>
|
||||
<a name="l00339"></a>00339 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00340"></a>00340 <span class="preprocessor"></span><span class="preprocessor"> #define IL_TEX_EXT ""</span>
|
||||
<a name="l00341"></a>00341 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00342"></a>00342 <span class="preprocessor"></span>
|
||||
<a name="l00343"></a>00343 <span class="preprocessor">#ifndef IL_NO_TGA</span>
|
||||
<a name="l00344"></a>00344 <span class="preprocessor"></span><span class="preprocessor"> #define IL_TGA_EXT "tga vda icb vst "</span>
|
||||
<a name="l00345"></a>00345 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00346"></a>00346 <span class="preprocessor"></span><span class="preprocessor"> #define IL_TGA_EXT ""</span>
|
||||
<a name="l00347"></a>00347 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00348"></a>00348 <span class="preprocessor"></span>
|
||||
<a name="l00349"></a>00349 <span class="preprocessor">#ifndef IL_NO_TIF</span>
|
||||
<a name="l00350"></a>00350 <span class="preprocessor"></span><span class="preprocessor"> #define IL_TIF_EXT "tif tiff "</span>
|
||||
<a name="l00351"></a>00351 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00352"></a>00352 <span class="preprocessor"></span><span class="preprocessor"> #define IL_TIF_EXT ""</span>
|
||||
<a name="l00353"></a>00353 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00354"></a>00354 <span class="preprocessor"></span>
|
||||
<a name="l00355"></a>00355 <span class="preprocessor">#ifndef IL_NO_TPL</span>
|
||||
<a name="l00356"></a>00356 <span class="preprocessor"></span><span class="preprocessor"> #define IL_TPL_EXT "tpl "</span>
|
||||
<a name="l00357"></a>00357 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00358"></a>00358 <span class="preprocessor"></span><span class="preprocessor"> #define IL_TPL_EXT ""</span>
|
||||
<a name="l00359"></a>00359 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00360"></a>00360 <span class="preprocessor"></span>
|
||||
<a name="l00361"></a>00361 <span class="preprocessor">#ifndef IL_NO_UTX</span>
|
||||
<a name="l00362"></a>00362 <span class="preprocessor"></span><span class="preprocessor"> #define IL_UTX_EXT "utx "</span>
|
||||
<a name="l00363"></a>00363 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00364"></a>00364 <span class="preprocessor"></span><span class="preprocessor"> #define IL_UTX_EXT ""</span>
|
||||
<a name="l00365"></a>00365 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00366"></a>00366 <span class="preprocessor"></span>
|
||||
<a name="l00367"></a>00367 <span class="preprocessor">#ifndef IL_NO_VTF</span>
|
||||
<a name="l00368"></a>00368 <span class="preprocessor"></span><span class="preprocessor"> #define IL_VTF_EXT "vtf "</span>
|
||||
<a name="l00369"></a>00369 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00370"></a>00370 <span class="preprocessor"></span><span class="preprocessor"> #define IL_VTF_EXT ""</span>
|
||||
<a name="l00371"></a>00371 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00372"></a>00372 <span class="preprocessor"></span>
|
||||
<a name="l00373"></a>00373 <span class="preprocessor">#ifndef IL_NO_WAL</span>
|
||||
<a name="l00374"></a>00374 <span class="preprocessor"></span><span class="preprocessor"> #define IL_WAL_EXT "wal "</span>
|
||||
<a name="l00375"></a>00375 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00376"></a>00376 <span class="preprocessor"></span><span class="preprocessor"> #define IL_WAL_EXT ""</span>
|
||||
<a name="l00377"></a>00377 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00378"></a>00378 <span class="preprocessor"></span>
|
||||
<a name="l00379"></a>00379 <span class="preprocessor">#ifndef IL_NO_WBMP</span>
|
||||
<a name="l00380"></a>00380 <span class="preprocessor"></span><span class="preprocessor"> #define IL_WBMP_EXT "wbmp "</span>
|
||||
<a name="l00381"></a>00381 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00382"></a>00382 <span class="preprocessor"></span><span class="preprocessor"> #define IL_WBMP_EXT ""</span>
|
||||
<a name="l00383"></a>00383 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00384"></a>00384 <span class="preprocessor"></span>
|
||||
<a name="l00385"></a>00385 <span class="preprocessor">#ifndef IL_NO_WDP</span>
|
||||
<a name="l00386"></a>00386 <span class="preprocessor"></span><span class="preprocessor"> #define IL_WDP_EXT "wdp "</span>
|
||||
<a name="l00387"></a>00387 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00388"></a>00388 <span class="preprocessor"></span><span class="preprocessor"> #define IL_WDP_EXT ""</span>
|
||||
<a name="l00389"></a>00389 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00390"></a>00390 <span class="preprocessor"></span>
|
||||
<a name="l00391"></a>00391 <span class="preprocessor">#ifndef IL_NO_XPM</span>
|
||||
<a name="l00392"></a>00392 <span class="preprocessor"></span><span class="preprocessor"> #define IL_XPM_EXT "xpm "</span>
|
||||
<a name="l00393"></a>00393 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00394"></a>00394 <span class="preprocessor"></span><span class="preprocessor"> #define IL_XPM_EXT ""</span>
|
||||
<a name="l00395"></a>00395 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00396"></a>00396 <span class="preprocessor"></span>
|
||||
<a name="l00397"></a>00397
|
||||
<a name="l00398"></a>00398
|
||||
<a name="l00399"></a>00399 <span class="preprocessor">#endif//STATES_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,130 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_targa.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_targa.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/25/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_targa.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Targa (.tga) functions</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef TARGA_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define TARGA_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 <span class="preprocessor">#ifdef _MSC_VER</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(push, tga_struct, 1)</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#elif defined(MACOSX) || defined(__GNUC__)</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(1)</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00024"></a>00024 <span class="preprocessor"></span>
|
||||
<a name="l00025"></a>00025 <span class="keyword">typedef</span> <span class="keyword">struct </span>TARGAHEAD
|
||||
<a name="l00026"></a>00026 {
|
||||
<a name="l00027"></a>00027 ILubyte IDLen;
|
||||
<a name="l00028"></a>00028 ILubyte ColMapPresent;
|
||||
<a name="l00029"></a>00029 ILubyte ImageType;
|
||||
<a name="l00030"></a>00030 ILshort FirstEntry;
|
||||
<a name="l00031"></a>00031 ILshort ColMapLen;
|
||||
<a name="l00032"></a>00032 ILubyte ColMapEntSize;
|
||||
<a name="l00033"></a>00033
|
||||
<a name="l00034"></a>00034 ILshort OriginX;
|
||||
<a name="l00035"></a>00035 ILshort OriginY;
|
||||
<a name="l00036"></a>00036 ILushort Width;
|
||||
<a name="l00037"></a>00037 ILushort Height;
|
||||
<a name="l00038"></a>00038 ILubyte Bpp;
|
||||
<a name="l00039"></a>00039 ILubyte ImageDesc;
|
||||
<a name="l00040"></a>00040 } IL_PACKSTRUCT TARGAHEAD;
|
||||
<a name="l00041"></a>00041
|
||||
<a name="l00042"></a>00042 <span class="keyword">typedef</span> <span class="keyword">struct </span>TARGAFOOTER
|
||||
<a name="l00043"></a>00043 {
|
||||
<a name="l00044"></a>00044 ILuint ExtOff; <span class="comment">// Extension Area Offset</span>
|
||||
<a name="l00045"></a>00045 ILuint DevDirOff; <span class="comment">// Developer Directory Offset</span>
|
||||
<a name="l00046"></a>00046 ILbyte Signature[16]; <span class="comment">// TRUEVISION-XFILE</span>
|
||||
<a name="l00047"></a>00047 ILbyte Reserved; <span class="comment">// ASCII period '.'</span>
|
||||
<a name="l00048"></a>00048 ILbyte NullChar; <span class="comment">// NULL</span>
|
||||
<a name="l00049"></a>00049 } IL_PACKSTRUCT TARGAFOOTER;
|
||||
<a name="l00050"></a>00050 <span class="preprocessor">#if defined(MACOSX) || defined(__GNUC__)</span>
|
||||
<a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor">#pragma pack()</span>
|
||||
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#elif _MSC_VER</span>
|
||||
<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(pop, tga_struct)</span>
|
||||
<a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00055"></a>00055 <span class="preprocessor"></span>
|
||||
<a name="l00056"></a>00056 <span class="preprocessor">#define TGA_EXT_LEN 495</span>
|
||||
<a name="l00057"></a>00057 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>TARGAEXT
|
||||
<a name="l00058"></a>00058 {
|
||||
<a name="l00059"></a>00059 <span class="comment">// Dev Directory</span>
|
||||
<a name="l00060"></a>00060 <span class="comment">// We don't mess with this</span>
|
||||
<a name="l00061"></a>00061
|
||||
<a name="l00062"></a>00062 <span class="comment">// Extension Area</span>
|
||||
<a name="l00063"></a>00063 ILshort Size; <span class="comment">// should be TGA_EXT_LEN</span>
|
||||
<a name="l00064"></a>00064 ILbyte AuthName[41]; <span class="comment">// the image author's name</span>
|
||||
<a name="l00065"></a>00065 ILbyte AuthComments[324]; <span class="comment">// author's comments</span>
|
||||
<a name="l00066"></a>00066 ILshort Month, Day, Year, Hour, Minute, Second; <span class="comment">// internal date of file</span>
|
||||
<a name="l00067"></a>00067 ILbyte JobID[41]; <span class="comment">// the job description (if any)</span>
|
||||
<a name="l00068"></a>00068 ILshort JobHour, JobMin, JobSecs; <span class="comment">// the job's time</span>
|
||||
<a name="l00069"></a>00069 ILbyte SoftwareID[41]; <span class="comment">// the software that created this</span>
|
||||
<a name="l00070"></a>00070 ILshort SoftwareVer; <span class="comment">// the software version number * 100</span>
|
||||
<a name="l00071"></a>00071 ILbyte SoftwareVerByte; <span class="comment">// the software version letter</span>
|
||||
<a name="l00072"></a>00072 ILint KeyColor; <span class="comment">// the transparent colour</span>
|
||||
<a name="l00073"></a>00073 } TARGAEXT;
|
||||
<a name="l00074"></a>00074
|
||||
<a name="l00075"></a>00075
|
||||
<a name="l00076"></a>00076 <span class="comment">// Different Targa formats</span>
|
||||
<a name="l00077"></a>00077 <span class="preprocessor">#define TGA_NO_DATA 0</span>
|
||||
<a name="l00078"></a>00078 <span class="preprocessor"></span><span class="preprocessor">#define TGA_COLMAP_UNCOMP 1</span>
|
||||
<a name="l00079"></a>00079 <span class="preprocessor"></span><span class="preprocessor">#define TGA_UNMAP_UNCOMP 2</span>
|
||||
<a name="l00080"></a>00080 <span class="preprocessor"></span><span class="preprocessor">#define TGA_BW_UNCOMP 3</span>
|
||||
<a name="l00081"></a>00081 <span class="preprocessor"></span><span class="preprocessor">#define TGA_COLMAP_COMP 9</span>
|
||||
<a name="l00082"></a>00082 <span class="preprocessor"></span><span class="preprocessor">#define TGA_UNMAP_COMP 10</span>
|
||||
<a name="l00083"></a>00083 <span class="preprocessor"></span><span class="preprocessor">#define TGA_BW_COMP 11</span>
|
||||
<a name="l00084"></a>00084 <span class="preprocessor"></span>
|
||||
<a name="l00085"></a>00085
|
||||
<a name="l00086"></a>00086 <span class="comment">// Targa origins</span>
|
||||
<a name="l00087"></a>00087 <span class="preprocessor">#define IMAGEDESC_ORIGIN_MASK 0x30</span>
|
||||
<a name="l00088"></a>00088 <span class="preprocessor"></span><span class="preprocessor">#define IMAGEDESC_TOPLEFT 0x20</span>
|
||||
<a name="l00089"></a>00089 <span class="preprocessor"></span><span class="preprocessor">#define IMAGEDESC_BOTLEFT 0x00</span>
|
||||
<a name="l00090"></a>00090 <span class="preprocessor"></span><span class="preprocessor">#define IMAGEDESC_BOTRIGHT 0x10</span>
|
||||
<a name="l00091"></a>00091 <span class="preprocessor"></span><span class="preprocessor">#define IMAGEDESC_TOPRIGHT 0x30</span>
|
||||
<a name="l00092"></a>00092 <span class="preprocessor"></span>
|
||||
<a name="l00093"></a>00093
|
||||
<a name="l00094"></a>00094 <span class="comment">// Internal functions</span>
|
||||
<a name="l00095"></a>00095 ILboolean iIsValidTarga();
|
||||
<a name="l00096"></a>00096 ILboolean iGetTgaHead(TARGAHEAD *Header);
|
||||
<a name="l00097"></a>00097 ILboolean iCheckTarga(TARGAHEAD *Header);
|
||||
<a name="l00098"></a>00098 ILboolean iLoadTargaInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00099"></a>00099 ILboolean iSaveTargaInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00100"></a>00100 <span class="comment">//ILvoid iMakeString(char *Str);</span>
|
||||
<a name="l00101"></a>00101 ILboolean iReadBwTga(TARGAHEAD *Header);
|
||||
<a name="l00102"></a>00102 ILboolean iReadColMapTga(TARGAHEAD *Header);
|
||||
<a name="l00103"></a>00103 ILboolean iReadUnmapTga(TARGAHEAD *Header);
|
||||
<a name="l00104"></a>00104 ILboolean iUncompressTgaData(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image);
|
||||
<a name="l00105"></a>00105 ILboolean i16BitTarga(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image);
|
||||
<a name="l00106"></a>00106 <span class="keywordtype">void</span> iGetDateTime(ILuint *Month, ILuint *Day, ILuint *Yr, ILuint *Hr, ILuint *Min, ILuint *Sec);
|
||||
<a name="l00107"></a>00107
|
||||
<a name="l00108"></a>00108
|
||||
<a name="l00109"></a>00109 <span class="preprocessor">#endif//TARGA_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,121 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_utx.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_utx.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2009 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 03/02/2009</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_utx.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads from an Unreal and Unreal Tournament Texture (.utx) file.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">// Specifications can be found at</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">// http://wiki.beyondunreal.com/Legacy:Package_File_Format.</span>
|
||||
<a name="l00012"></a>00012 <span class="comment">//</span>
|
||||
<a name="l00013"></a>00013 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00014"></a>00014
|
||||
<a name="l00015"></a>00015
|
||||
<a name="l00016"></a>00016 <span class="preprocessor">#ifndef UTX_H</span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor">#define UTX_H</span>
|
||||
<a name="l00018"></a>00018 <span class="preprocessor"></span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor">#ifdef __cplusplus</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
|
||||
<a name="l00021"></a>00021 <span class="preprocessor">#endif</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00024"></a>00024 <span class="preprocessor">#include "il_dds.h"</span>
|
||||
<a name="l00025"></a>00025
|
||||
<a name="l00026"></a>00026 <span class="preprocessor">#ifdef __cplusplus</span>
|
||||
<a name="l00027"></a>00027 <span class="preprocessor"></span>}
|
||||
<a name="l00028"></a>00028 <span class="preprocessor">#endif</span>
|
||||
<a name="l00029"></a>00029 <span class="preprocessor"></span>
|
||||
<a name="l00030"></a>00030
|
||||
<a name="l00031"></a>00031 <span class="preprocessor">#include <memory></span>
|
||||
<a name="l00032"></a>00032 <span class="preprocessor">#include <vector></span>
|
||||
<a name="l00033"></a>00033 <span class="preprocessor">#include <string></span>
|
||||
<a name="l00034"></a>00034 <span class="keyword">using namespace </span>std;
|
||||
<a name="l00035"></a>00035
|
||||
<a name="l00036"></a>00036
|
||||
<a name="l00037"></a>00037 <span class="keyword">typedef</span> <span class="keyword">struct </span>UTXHEADER
|
||||
<a name="l00038"></a>00038 {
|
||||
<a name="l00039"></a>00039 ILuint Signature;
|
||||
<a name="l00040"></a>00040 ILushort Version;
|
||||
<a name="l00041"></a>00041 ILushort LicenseMode;
|
||||
<a name="l00042"></a>00042 ILuint Flags;
|
||||
<a name="l00043"></a>00043 ILuint NameCount;
|
||||
<a name="l00044"></a>00044 ILuint NameOffset;
|
||||
<a name="l00045"></a>00045 ILuint ExportCount;
|
||||
<a name="l00046"></a>00046 ILuint ExportOffset;
|
||||
<a name="l00047"></a>00047 ILuint ImportCount;
|
||||
<a name="l00048"></a>00048 ILuint ImportOffset;
|
||||
<a name="l00049"></a>00049 } UTXHEADER;
|
||||
<a name="l00050"></a>00050
|
||||
<a name="l00051"></a>00051 <span class="keyword">typedef</span> <span class="keyword">struct </span>UTXENTRYNAME
|
||||
<a name="l00052"></a>00052 {
|
||||
<a name="l00053"></a>00053 <span class="comment">//char *Name;</span>
|
||||
<a name="l00054"></a>00054 <span class="keywordtype">string</span> Name;
|
||||
<a name="l00055"></a>00055 ILuint Flags;
|
||||
<a name="l00056"></a>00056 } UTXENTRYNAME;
|
||||
<a name="l00057"></a>00057
|
||||
<a name="l00058"></a>00058 <span class="keyword">typedef</span> <span class="keyword">struct </span>UTXEXPORTTABLE
|
||||
<a name="l00059"></a>00059 {
|
||||
<a name="l00060"></a>00060 ILint Class;
|
||||
<a name="l00061"></a>00061 ILint Super;
|
||||
<a name="l00062"></a>00062 ILint Group;
|
||||
<a name="l00063"></a>00063 ILint ObjectName;
|
||||
<a name="l00064"></a>00064 ILuint ObjectFlags;
|
||||
<a name="l00065"></a>00065 ILint SerialSize;
|
||||
<a name="l00066"></a>00066 ILint SerialOffset;
|
||||
<a name="l00067"></a>00067
|
||||
<a name="l00068"></a>00068 ILboolean ClassImported;
|
||||
<a name="l00069"></a>00069 ILboolean SuperImported;
|
||||
<a name="l00070"></a>00070 ILboolean GroupImported;
|
||||
<a name="l00071"></a>00071 } UTXEXPORTTABLE;
|
||||
<a name="l00072"></a>00072
|
||||
<a name="l00073"></a>00073 <span class="keyword">typedef</span> <span class="keyword">struct </span>UTXIMPORTTABLE
|
||||
<a name="l00074"></a>00074 {
|
||||
<a name="l00075"></a>00075 ILint ClassPackage;
|
||||
<a name="l00076"></a>00076 ILint ClassName;
|
||||
<a name="l00077"></a>00077 ILint Package;
|
||||
<a name="l00078"></a>00078 ILint ObjectName;
|
||||
<a name="l00079"></a>00079
|
||||
<a name="l00080"></a>00080 ILboolean PackageImported;
|
||||
<a name="l00081"></a>00081 } UTXIMPORTTABLE;
|
||||
<a name="l00082"></a>00082
|
||||
<a name="l00083"></a>00083 <span class="keyword">class </span>UTXPALETTE
|
||||
<a name="l00084"></a>00084 {
|
||||
<a name="l00085"></a>00085 <span class="keyword">public</span>:
|
||||
<a name="l00086"></a>00086 UTXPALETTE() { Pal = NULL; }
|
||||
<a name="l00087"></a>00087 ~UTXPALETTE() { <span class="keyword">delete</span> [] Pal; }
|
||||
<a name="l00088"></a>00088
|
||||
<a name="l00089"></a>00089 ILubyte *Pal;
|
||||
<a name="l00090"></a>00090 ILuint Count;
|
||||
<a name="l00091"></a>00091 ILuint Name;
|
||||
<a name="l00092"></a>00092 };
|
||||
<a name="l00093"></a>00093
|
||||
<a name="l00094"></a>00094 <span class="comment">// Data formats</span>
|
||||
<a name="l00095"></a>00095 <span class="preprocessor">#define UTX_P8 0x00</span>
|
||||
<a name="l00096"></a>00096 <span class="preprocessor"></span><span class="preprocessor">#define UTX_DXT1 0x03</span>
|
||||
<a name="l00097"></a>00097 <span class="preprocessor"></span>
|
||||
<a name="l00098"></a>00098 ILboolean iLoadUtxInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00099"></a>00099
|
||||
<a name="l00100"></a>00100 <span class="preprocessor">#endif//UTX_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,153 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_vtf.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_vtf.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2009 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 02/28/2009</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_vtf.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads from and writes to a Valve Texture Format (.vtf) file.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">// These are used in Valve's Source games. VTF specs available</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">// from http://developer.valvesoftware.com/wiki/VTF.</span>
|
||||
<a name="l00012"></a>00012 <span class="comment">//</span>
|
||||
<a name="l00013"></a>00013 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00014"></a>00014
|
||||
<a name="l00015"></a>00015
|
||||
<a name="l00016"></a>00016 <span class="preprocessor">#ifndef VTF_H</span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor">#define VTF_H</span>
|
||||
<a name="l00018"></a>00018 <span class="preprocessor"></span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00020"></a>00020
|
||||
<a name="l00021"></a>00021 <span class="preprocessor">#ifdef _MSC_VER</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(push, vtf_struct, 1)</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#elif defined(MACOSX) || defined(__GNUC__)</span>
|
||||
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(1)</span>
|
||||
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00026"></a>00026 <span class="preprocessor"></span>
|
||||
<a name="l00027"></a>00027 <span class="keyword">typedef</span> <span class="keyword">struct </span>VTFHEAD
|
||||
<a name="l00028"></a>00028 {
|
||||
<a name="l00029"></a>00029 ILubyte Signature[4]; <span class="comment">// File signature ("VTF\0").</span>
|
||||
<a name="l00030"></a>00030 ILuint Version[2]; <span class="comment">// version[0].version[1] (currently 7.2).</span>
|
||||
<a name="l00031"></a>00031 ILuint HeaderSize; <span class="comment">// Size of the header struct (16 byte aligned; currently 80 bytes).</span>
|
||||
<a name="l00032"></a>00032 ILushort Width; <span class="comment">// Width of the largest mipmap in pixels. Must be a power of 2.</span>
|
||||
<a name="l00033"></a>00033 ILushort Height; <span class="comment">// Height of the largest mipmap in pixels. Must be a power of 2.</span>
|
||||
<a name="l00034"></a>00034 ILuint Flags; <span class="comment">// VTF flags.</span>
|
||||
<a name="l00035"></a>00035 ILushort Frames; <span class="comment">// Number of frames, if animated (1 for no animation).</span>
|
||||
<a name="l00036"></a>00036 ILushort FirstFrame; <span class="comment">// First frame in animation (0 based).</span>
|
||||
<a name="l00037"></a>00037 ILubyte Padding0[4]; <span class="comment">// reflectivity padding (16 byte alignment).</span>
|
||||
<a name="l00038"></a>00038 ILfloat Reflectivity[3]; <span class="comment">// reflectivity vector.</span>
|
||||
<a name="l00039"></a>00039 ILubyte Padding1[4]; <span class="comment">// reflectivity padding (8 byte packing).</span>
|
||||
<a name="l00040"></a>00040 ILfloat BumpmapScale; <span class="comment">// Bumpmap scale.</span>
|
||||
<a name="l00041"></a>00041 ILuint HighResImageFormat; <span class="comment">// High resolution image format.</span>
|
||||
<a name="l00042"></a>00042 ILubyte MipmapCount; <span class="comment">// Number of mipmaps.</span>
|
||||
<a name="l00043"></a>00043 ILuint LowResImageFormat; <span class="comment">// Low resolution image format (always DXT1).</span>
|
||||
<a name="l00044"></a>00044 ILubyte LowResImageWidth; <span class="comment">// Low resolution image width.</span>
|
||||
<a name="l00045"></a>00045 ILubyte LowResImageHeight; <span class="comment">// Low resolution image height.</span>
|
||||
<a name="l00046"></a>00046 ILushort Depth; <span class="comment">// Depth of the largest mipmap in pixels.</span>
|
||||
<a name="l00047"></a>00047 <span class="comment">// Must be a power of 2. Can be 0 or 1 for a 2D texture (v7.2 only).</span>
|
||||
<a name="l00048"></a>00048 } IL_PACKSTRUCT VTFHEAD;
|
||||
<a name="l00049"></a>00049
|
||||
<a name="l00050"></a>00050 <span class="preprocessor">#if defined(MACOSX) || defined(__GNUC__)</span>
|
||||
<a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor">#pragma pack()</span>
|
||||
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#elif _MSC_VER</span>
|
||||
<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor">#pragma pack(pop, vtf_struct)</span>
|
||||
<a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00055"></a>00055 <span class="preprocessor"></span>
|
||||
<a name="l00056"></a>00056 <span class="keyword">enum</span>
|
||||
<a name="l00057"></a>00057 {
|
||||
<a name="l00058"></a>00058 IMAGE_FORMAT_NONE = -1,
|
||||
<a name="l00059"></a>00059 IMAGE_FORMAT_RGBA8888 = 0,
|
||||
<a name="l00060"></a>00060 IMAGE_FORMAT_ABGR8888,
|
||||
<a name="l00061"></a>00061 IMAGE_FORMAT_RGB888,
|
||||
<a name="l00062"></a>00062 IMAGE_FORMAT_BGR888,
|
||||
<a name="l00063"></a>00063 IMAGE_FORMAT_RGB565,
|
||||
<a name="l00064"></a>00064 IMAGE_FORMAT_I8,
|
||||
<a name="l00065"></a>00065 IMAGE_FORMAT_IA88,
|
||||
<a name="l00066"></a>00066 IMAGE_FORMAT_P8,
|
||||
<a name="l00067"></a>00067 IMAGE_FORMAT_A8,
|
||||
<a name="l00068"></a>00068 IMAGE_FORMAT_RGB888_BLUESCREEN,
|
||||
<a name="l00069"></a>00069 IMAGE_FORMAT_BGR888_BLUESCREEN,
|
||||
<a name="l00070"></a>00070 IMAGE_FORMAT_ARGB8888,
|
||||
<a name="l00071"></a>00071 IMAGE_FORMAT_BGRA8888,
|
||||
<a name="l00072"></a>00072 IMAGE_FORMAT_DXT1,
|
||||
<a name="l00073"></a>00073 IMAGE_FORMAT_DXT3,
|
||||
<a name="l00074"></a>00074 IMAGE_FORMAT_DXT5,
|
||||
<a name="l00075"></a>00075 IMAGE_FORMAT_BGRX8888,
|
||||
<a name="l00076"></a>00076 IMAGE_FORMAT_BGR565,
|
||||
<a name="l00077"></a>00077 IMAGE_FORMAT_BGRX5551,
|
||||
<a name="l00078"></a>00078 IMAGE_FORMAT_BGRA4444,
|
||||
<a name="l00079"></a>00079 IMAGE_FORMAT_DXT1_ONEBITALPHA,
|
||||
<a name="l00080"></a>00080 IMAGE_FORMAT_BGRA5551,
|
||||
<a name="l00081"></a>00081 IMAGE_FORMAT_UV88,
|
||||
<a name="l00082"></a>00082 IMAGE_FORMAT_UVWQ8888,
|
||||
<a name="l00083"></a>00083 IMAGE_FORMAT_RGBA16161616F,
|
||||
<a name="l00084"></a>00084 IMAGE_FORMAT_RGBA16161616,
|
||||
<a name="l00085"></a>00085 IMAGE_FORMAT_UVLX8888
|
||||
<a name="l00086"></a>00086 };
|
||||
<a name="l00087"></a>00087
|
||||
<a name="l00088"></a>00088 <span class="keyword">enum</span>
|
||||
<a name="l00089"></a>00089 {
|
||||
<a name="l00090"></a>00090 TEXTUREFLAGS_POINTSAMPLE = 0x00000001,
|
||||
<a name="l00091"></a>00091 TEXTUREFLAGS_TRILINEAR = 0x00000002,
|
||||
<a name="l00092"></a>00092 TEXTUREFLAGS_CLAMPS = 0x00000004,
|
||||
<a name="l00093"></a>00093 TEXTUREFLAGS_CLAMPT = 0x00000008,
|
||||
<a name="l00094"></a>00094 TEXTUREFLAGS_ANISOTROPIC = 0x00000010,
|
||||
<a name="l00095"></a>00095 TEXTUREFLAGS_HINT_DXT5 = 0x00000020,
|
||||
<a name="l00096"></a>00096 TEXTUREFLAGS_NOCOMPRESS = 0x00000040,
|
||||
<a name="l00097"></a>00097 TEXTUREFLAGS_NORMAL = 0x00000080,
|
||||
<a name="l00098"></a>00098 TEXTUREFLAGS_NOMIP = 0x00000100,
|
||||
<a name="l00099"></a>00099 TEXTUREFLAGS_NOLOD = 0x00000200,
|
||||
<a name="l00100"></a>00100 TEXTUREFLAGS_MINMIP = 0x00000400,
|
||||
<a name="l00101"></a>00101 TEXTUREFLAGS_PROCEDURAL = 0x00000800,
|
||||
<a name="l00102"></a>00102 TEXTUREFLAGS_ONEBITALPHA = 0x00001000,
|
||||
<a name="l00103"></a>00103 TEXTUREFLAGS_EIGHTBITALPHA = 0x00002000,
|
||||
<a name="l00104"></a>00104 TEXTUREFLAGS_ENVMAP = 0x00004000,
|
||||
<a name="l00105"></a>00105 TEXTUREFLAGS_RENDERTARGET = 0x00008000,
|
||||
<a name="l00106"></a>00106 TEXTUREFLAGS_DEPTHRENDERTARGET = 0x00010000,
|
||||
<a name="l00107"></a>00107 TEXTUREFLAGS_NODEBUGOVERRIDE = 0x00020000,
|
||||
<a name="l00108"></a>00108 TEXTUREFLAGS_SINGLECOPY = 0x00040000,
|
||||
<a name="l00109"></a>00109 TEXTUREFLAGS_ONEOVERMIPLEVELINALPHA = 0x00080000,
|
||||
<a name="l00110"></a>00110 TEXTUREFLAGS_PREMULTCOLORBYONEOVERMIPLEVEL = 0x00100000,
|
||||
<a name="l00111"></a>00111 TEXTUREFLAGS_NORMALTODUDV = 0x00200000,
|
||||
<a name="l00112"></a>00112 TEXTUREFLAGS_ALPHATESTMIPGENERATION = 0x00400000,
|
||||
<a name="l00113"></a>00113 TEXTUREFLAGS_NODEPTHBUFFER = 0x00800000,
|
||||
<a name="l00114"></a>00114 TEXTUREFLAGS_NICEFILTERED = 0x01000000,
|
||||
<a name="l00115"></a>00115 TEXTUREFLAGS_CLAMPU = 0x02000000
|
||||
<a name="l00116"></a>00116 };
|
||||
<a name="l00117"></a>00117
|
||||
<a name="l00118"></a>00118
|
||||
<a name="l00119"></a>00119
|
||||
<a name="l00120"></a>00120 <span class="comment">// Internal functions</span>
|
||||
<a name="l00121"></a>00121 ILboolean iIsValidVtf(<span class="keywordtype">void</span>);
|
||||
<a name="l00122"></a>00122 ILboolean iGetVtfHead(VTFHEAD *Header);
|
||||
<a name="l00123"></a>00123 ILboolean iCheckVtf(VTFHEAD *Header);
|
||||
<a name="l00124"></a>00124 ILboolean iLoadVtfInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00125"></a>00125 ILboolean VtfInitFacesMipmaps(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *BaseImage, ILuint NumFaces, VTFHEAD *Header);
|
||||
<a name="l00126"></a>00126 ILboolean VtfInitMipmaps(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *BaseImage, VTFHEAD *Header);
|
||||
<a name="l00127"></a>00127 ILboolean VtfReadData(<span class="keywordtype">void</span>);
|
||||
<a name="l00128"></a>00128 ILboolean VtfDecompressDXT1(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image);
|
||||
<a name="l00129"></a>00129 ILboolean VtfDecompressDXT5(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Image);
|
||||
<a name="l00130"></a>00130 ILboolean iSaveVtfInternal(<span class="keywordtype">void</span>);
|
||||
<a name="l00131"></a>00131
|
||||
<a name="l00132"></a>00132 <span class="preprocessor">#endif//VTF_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,209 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-IL/include/il_wdp.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-IL/include/il_wdp.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2008 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 09/26/2008</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-IL/include/il_hdr.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Reads a Microsoft HD Photo (.wdp)</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef WDP_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define WDP_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "il_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019
|
||||
<a name="l00020"></a>00020 <span class="comment">//</span>
|
||||
<a name="l00021"></a>00021 <span class="comment">// Structures</span>
|
||||
<a name="l00022"></a>00022 <span class="comment">//</span>
|
||||
<a name="l00023"></a>00023 <span class="keyword">typedef</span> <span class="keyword">struct </span>WDPHEAD
|
||||
<a name="l00024"></a>00024 {
|
||||
<a name="l00025"></a>00025 ILubyte Encoding[2];
|
||||
<a name="l00026"></a>00026 ILubyte UniqueID;
|
||||
<a name="l00027"></a>00027 ILubyte Version;
|
||||
<a name="l00028"></a>00028 ILuint Offset;
|
||||
<a name="l00029"></a>00029 } WDPHEAD;
|
||||
<a name="l00030"></a>00030
|
||||
<a name="l00031"></a>00031 <span class="keyword">typedef</span> <span class="keyword">struct </span>WDPIFD
|
||||
<a name="l00032"></a>00032 {
|
||||
<a name="l00033"></a>00033 ILushort Tag;
|
||||
<a name="l00034"></a>00034 ILushort Type;
|
||||
<a name="l00035"></a>00035 ILuint Count;
|
||||
<a name="l00036"></a>00036 ILuint ValOff;
|
||||
<a name="l00037"></a>00037 ILuint NextOff;
|
||||
<a name="l00038"></a>00038 } WDPIFD;
|
||||
<a name="l00039"></a>00039
|
||||
<a name="l00040"></a>00040 <span class="keyword">typedef</span> <span class="keyword">struct </span>WDPGUID
|
||||
<a name="l00041"></a>00041 {
|
||||
<a name="l00042"></a>00042 ILuint First;
|
||||
<a name="l00043"></a>00043 ILushort Second;
|
||||
<a name="l00044"></a>00044 ILushort Third;
|
||||
<a name="l00045"></a>00045 ILuint Fourth;
|
||||
<a name="l00046"></a>00046 ILuint Fifth;
|
||||
<a name="l00047"></a>00047 } WDPGUID;
|
||||
<a name="l00048"></a>00048
|
||||
<a name="l00049"></a>00049 <span class="keyword">typedef</span> <span class="keyword">struct </span>WDPIMGHEAD
|
||||
<a name="l00050"></a>00050 {
|
||||
<a name="l00051"></a>00051 ILuint GDISignature[2];
|
||||
<a name="l00052"></a>00052 ILuint Codec;
|
||||
<a name="l00053"></a>00053 ILubyte Flags[2];
|
||||
<a name="l00054"></a>00054 ILubyte Format;
|
||||
<a name="l00055"></a>00055 ILuint Width, Height; <span class="comment">// Can either be short or 32-bit int</span>
|
||||
<a name="l00056"></a>00056 ILuint VertTiles, HorzTiles; <span class="comment">// 12-bits each</span>
|
||||
<a name="l00057"></a>00057 ILushort *TileWidth, *TileHeight; <span class="comment">// 8 or 16-bits each</span>
|
||||
<a name="l00058"></a>00058 ILubyte *TileStretch; <span class="comment">// 8-bits each</span>
|
||||
<a name="l00059"></a>00059 ILubyte ExtraPixels[3];
|
||||
<a name="l00060"></a>00060 } WDPIMGHEAD;
|
||||
<a name="l00061"></a>00061
|
||||
<a name="l00062"></a>00062 <span class="keyword">typedef</span> <span class="keyword">struct </span>WDPIMGPLANE
|
||||
<a name="l00063"></a>00063 {
|
||||
<a name="l00064"></a>00064 ILubyte Flags1;
|
||||
<a name="l00065"></a>00065 ILubyte Color;
|
||||
<a name="l00066"></a>00066 ILubyte Bayer;
|
||||
<a name="l00067"></a>00067 ILubyte ShiftBits;
|
||||
<a name="l00068"></a>00068 ILubyte Mantissa;
|
||||
<a name="l00069"></a>00069 ILubyte Expbias;
|
||||
<a name="l00070"></a>00070 ILubyte Flags2;
|
||||
<a name="l00071"></a>00071
|
||||
<a name="l00072"></a>00072 ILubyte NumChannels;
|
||||
<a name="l00073"></a>00073 } WDPIMGPLANE;
|
||||
<a name="l00074"></a>00074
|
||||
<a name="l00075"></a>00075 <span class="keyword">typedef</span> <span class="keyword">struct </span>WDPDCQUANT
|
||||
<a name="l00076"></a>00076 {
|
||||
<a name="l00077"></a>00077 ILubyte ChMode;
|
||||
<a name="l00078"></a>00078 ILubyte DcQuant;
|
||||
<a name="l00079"></a>00079 ILubyte DcQuantY;
|
||||
<a name="l00080"></a>00080 ILubyte DcQuantUV;
|
||||
<a name="l00081"></a>00081 ILubyte DcQuantChan;
|
||||
<a name="l00082"></a>00082 } WDPDCQUANT;
|
||||
<a name="l00083"></a>00083
|
||||
<a name="l00084"></a>00084 <span class="keyword">typedef</span> <span class="keyword">struct </span>WDPTILE
|
||||
<a name="l00085"></a>00085 {
|
||||
<a name="l00086"></a>00086 ILuint StartCode;
|
||||
<a name="l00087"></a>00087 ILubyte HashAndType;
|
||||
<a name="l00088"></a>00088 } WDPTILE;
|
||||
<a name="l00089"></a>00089
|
||||
<a name="l00090"></a>00090 <span class="comment">//</span>
|
||||
<a name="l00091"></a>00091 <span class="comment">// Image header defines</span>
|
||||
<a name="l00092"></a>00092 <span class="comment">//</span>
|
||||
<a name="l00093"></a>00093
|
||||
<a name="l00094"></a>00094 <span class="comment">// Codec and sub-codec</span>
|
||||
<a name="l00095"></a>00095 <span class="preprocessor">#define WDP_CODEC 0xF0</span>
|
||||
<a name="l00096"></a>00096 <span class="preprocessor"></span><span class="preprocessor">#define WDP_SUBCODEC 0x0F</span>
|
||||
<a name="l00097"></a>00097 <span class="preprocessor"></span>
|
||||
<a name="l00098"></a>00098 <span class="comment">// First set of flags</span>
|
||||
<a name="l00099"></a>00099 <span class="preprocessor">#define WDP_TILING_FLAG 0x80</span>
|
||||
<a name="l00100"></a>00100 <span class="preprocessor"></span><span class="preprocessor">#define WDP_BITSTREAM_FMT 0x40</span>
|
||||
<a name="l00101"></a>00101 <span class="preprocessor"></span><span class="preprocessor">#define WDP_ORIENTATION 0x38</span>
|
||||
<a name="l00102"></a>00102 <span class="preprocessor"></span><span class="preprocessor">#define WDP_INDEXTABLE 0x04</span>
|
||||
<a name="l00103"></a>00103 <span class="preprocessor"></span><span class="preprocessor">#define WDP_OVERLAP 0x03</span>
|
||||
<a name="l00104"></a>00104 <span class="preprocessor"></span>
|
||||
<a name="l00105"></a>00105 <span class="comment">// Second set of flags</span>
|
||||
<a name="l00106"></a>00106 <span class="preprocessor">#define WDP_SHORT_HEADER 0x80</span>
|
||||
<a name="l00107"></a>00107 <span class="preprocessor"></span><span class="preprocessor">#define WDP_LONG_WORD 0x40</span>
|
||||
<a name="l00108"></a>00108 <span class="preprocessor"></span><span class="preprocessor">#define WDP_WINDOWING 0x20</span>
|
||||
<a name="l00109"></a>00109 <span class="preprocessor"></span><span class="preprocessor">#define WDP_TRIM_FLEXBITS 0x10</span>
|
||||
<a name="l00110"></a>00110 <span class="preprocessor"></span><span class="preprocessor">#define WDP_TILE_STRETCH 0x08</span>
|
||||
<a name="l00111"></a>00111 <span class="preprocessor"></span><span class="preprocessor">#define WDP_ALPHACHANNEL 0x01</span>
|
||||
<a name="l00112"></a>00112 <span class="preprocessor"></span>
|
||||
<a name="l00113"></a>00113 <span class="comment">// Format and bit-depth</span>
|
||||
<a name="l00114"></a>00114 <span class="preprocessor">#define WDP_FORMAT 0xF0</span>
|
||||
<a name="l00115"></a>00115 <span class="preprocessor"></span><span class="preprocessor">#define WDP_BITDEPTH 0x0F</span>
|
||||
<a name="l00116"></a>00116 <span class="preprocessor"></span><span class="preprocessor">#define WDP_Y_ONLY 0x00</span>
|
||||
<a name="l00117"></a>00117 <span class="preprocessor"></span><span class="preprocessor">#define WDP_YUV_420 0x01</span>
|
||||
<a name="l00118"></a>00118 <span class="preprocessor"></span><span class="preprocessor">#define WDP_YUV_422 0x02</span>
|
||||
<a name="l00119"></a>00119 <span class="preprocessor"></span><span class="preprocessor">#define WDP_YUV_444 0x03</span>
|
||||
<a name="l00120"></a>00120 <span class="preprocessor"></span><span class="preprocessor">#define WDP_CMYK 0x04</span>
|
||||
<a name="l00121"></a>00121 <span class="preprocessor"></span><span class="preprocessor">#define WDP_BAYER 0x05</span>
|
||||
<a name="l00122"></a>00122 <span class="preprocessor"></span><span class="preprocessor">#define WDP_N_CHANNEL 0x06</span>
|
||||
<a name="l00123"></a>00123 <span class="preprocessor"></span><span class="preprocessor">#define WDP_RGB 0x07</span>
|
||||
<a name="l00124"></a>00124 <span class="preprocessor"></span><span class="preprocessor">#define WDP_RGBE 0x08</span>
|
||||
<a name="l00125"></a>00125 <span class="preprocessor"></span>
|
||||
<a name="l00126"></a>00126 <span class="comment">// Bitdepth</span>
|
||||
<a name="l00127"></a>00127 <span class="preprocessor">#define WDP_BD_1_WHITE 0x00</span>
|
||||
<a name="l00128"></a>00128 <span class="preprocessor"></span><span class="preprocessor">#define WDP_BD_8 0x01</span>
|
||||
<a name="l00129"></a>00129 <span class="preprocessor"></span><span class="preprocessor">#define WDP_BD_16 0x02</span>
|
||||
<a name="l00130"></a>00130 <span class="preprocessor"></span><span class="preprocessor">#define WDP_BD_16S 0x03</span>
|
||||
<a name="l00131"></a>00131 <span class="preprocessor"></span><span class="preprocessor">#define WDP_BD_16F 0x04</span>
|
||||
<a name="l00132"></a>00132 <span class="preprocessor"></span><span class="preprocessor">#define WDP_BD_32 0x05</span>
|
||||
<a name="l00133"></a>00133 <span class="preprocessor"></span><span class="preprocessor">#define WDP_BD_32S 0x06</span>
|
||||
<a name="l00134"></a>00134 <span class="preprocessor"></span><span class="preprocessor">#define WDP_BD_32F 0x07</span>
|
||||
<a name="l00135"></a>00135 <span class="preprocessor"></span><span class="preprocessor">#define WDP_BD_5 0x08</span>
|
||||
<a name="l00136"></a>00136 <span class="preprocessor"></span><span class="preprocessor">#define WDP_BD_10 0x09</span>
|
||||
<a name="l00137"></a>00137 <span class="preprocessor"></span><span class="preprocessor">#define WDP_BD_565 0x0A</span>
|
||||
<a name="l00138"></a>00138 <span class="preprocessor"></span><span class="preprocessor">#define WDP_BD_1_BLACK 0x0F</span>
|
||||
<a name="l00139"></a>00139 <span class="preprocessor"></span>
|
||||
<a name="l00140"></a>00140
|
||||
<a name="l00141"></a>00141 <span class="comment">//</span>
|
||||
<a name="l00142"></a>00142 <span class="comment">// Image plane header defines</span>
|
||||
<a name="l00143"></a>00143 <span class="comment">//</span>
|
||||
<a name="l00144"></a>00144
|
||||
<a name="l00145"></a>00145 <span class="comment">// First set of flags</span>
|
||||
<a name="l00146"></a>00146 <span class="preprocessor">#define WDP_CLR_FMT 0xE0</span>
|
||||
<a name="l00147"></a>00147 <span class="preprocessor"></span><span class="preprocessor">#define WDP_NO_SCALED 0x10</span>
|
||||
<a name="l00148"></a>00148 <span class="preprocessor"></span><span class="preprocessor">#define WDP_BANDS_PRESENT 0x0F</span>
|
||||
<a name="l00149"></a>00149 <span class="preprocessor"></span>
|
||||
<a name="l00150"></a>00150 <span class="comment">// Defines for n-channels</span>
|
||||
<a name="l00151"></a>00151 <span class="preprocessor">#define WDP_NUM_CHANS 0xF0</span>
|
||||
<a name="l00152"></a>00152 <span class="preprocessor"></span><span class="preprocessor">#define WDP_COLOR_INTERP 0x0F</span>
|
||||
<a name="l00153"></a>00153 <span class="preprocessor"></span>
|
||||
<a name="l00154"></a>00154 <span class="comment">// Second set of flags</span>
|
||||
<a name="l00155"></a>00155 <span class="preprocessor">#define WDP_DC_FRAME 0x80</span>
|
||||
<a name="l00156"></a>00156 <span class="preprocessor"></span>
|
||||
<a name="l00157"></a>00157 <span class="comment">// Channel modes</span>
|
||||
<a name="l00158"></a>00158 <span class="preprocessor">#define WDP_CH_UNIFORM 0x00</span>
|
||||
<a name="l00159"></a>00159 <span class="preprocessor"></span><span class="preprocessor">#define WDP_CH_SEPARATE 0x01</span>
|
||||
<a name="l00160"></a>00160 <span class="preprocessor"></span><span class="preprocessor">#define WDP_CH_INDEPENDENT 0x02</span>
|
||||
<a name="l00161"></a>00161 <span class="preprocessor"></span>
|
||||
<a name="l00162"></a>00162 <span class="comment">// Tile types</span>
|
||||
<a name="l00163"></a>00163 <span class="preprocessor">#define WDP_TILE_HASH 0xF8</span>
|
||||
<a name="l00164"></a>00164 <span class="preprocessor"></span><span class="preprocessor">#define WDP_TILE_TYPE 0x03</span>
|
||||
<a name="l00165"></a>00165 <span class="preprocessor"></span><span class="preprocessor">#define WDP_SPATIAL_TILE 0x00</span>
|
||||
<a name="l00166"></a>00166 <span class="preprocessor"></span><span class="preprocessor">#define WDP_DC_TILE 0x01</span>
|
||||
<a name="l00167"></a>00167 <span class="preprocessor"></span><span class="preprocessor">#define WDP_LOWPASS_TILE 0x02</span>
|
||||
<a name="l00168"></a>00168 <span class="preprocessor"></span><span class="preprocessor">#define WDP_HIGHPASS_TILE 0x03</span>
|
||||
<a name="l00169"></a>00169 <span class="preprocessor"></span><span class="preprocessor">#define WDP_FLEXBITS_TILE 0x04</span>
|
||||
<a name="l00170"></a>00170 <span class="preprocessor"></span>
|
||||
<a name="l00171"></a>00171 <span class="comment">// Bands present</span>
|
||||
<a name="l00172"></a>00172 <span class="preprocessor">#define WDP_SB_ALL 0x00</span>
|
||||
<a name="l00173"></a>00173 <span class="preprocessor"></span><span class="preprocessor">#define WDP_SB_NO_FLEXBITS 0x01</span>
|
||||
<a name="l00174"></a>00174 <span class="preprocessor"></span><span class="preprocessor">#define WDP_SB_NO_HIGHPASS 0x02</span>
|
||||
<a name="l00175"></a>00175 <span class="preprocessor"></span><span class="preprocessor">#define WDP_SB_DC_ONLY 0x03</span>
|
||||
<a name="l00176"></a>00176 <span class="preprocessor"></span><span class="preprocessor">#define WDP_SB_ISOLATED 0x04</span>
|
||||
<a name="l00177"></a>00177 <span class="preprocessor"></span>
|
||||
<a name="l00178"></a>00178
|
||||
<a name="l00179"></a>00179 <span class="comment">//</span>
|
||||
<a name="l00180"></a>00180 <span class="comment">// Internal functions</span>
|
||||
<a name="l00181"></a>00181 <span class="comment">//</span>
|
||||
<a name="l00182"></a>00182 ILboolean iIsValidWdp();
|
||||
<a name="l00183"></a>00183 ILboolean iCheckWdp(WDPHEAD *Header);
|
||||
<a name="l00184"></a>00184 ILboolean iLoadWdpInternal();
|
||||
<a name="l00185"></a>00185 ILuint VLWESC();
|
||||
<a name="l00186"></a>00186
|
||||
<a name="l00187"></a>00187
|
||||
<a name="l00188"></a>00188 <span class="preprocessor">#endif//WDP_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,226 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/include/IL/il_wrap.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/include/IL/il_wrap.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef WRAPPER_H</span>
|
||||
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define WRAPPER_H</span>
|
||||
<a name="l00003"></a>00003 <span class="preprocessor"></span>
|
||||
<a name="l00004"></a>00004 <span class="comment">/*#include <il/il.h></span>
|
||||
<a name="l00005"></a>00005 <span class="comment">#include <il/ilu.h>*/</span>
|
||||
<a name="l00006"></a>00006 <span class="preprocessor">#include <<a class="code" href="ilut_8h.html">IL/ilut.h</a>></span> <span class="comment">// Probably only have to #include this one</span>
|
||||
<a name="l00007"></a>00007
|
||||
<a name="l00008"></a>00008 <span class="preprocessor">#ifdef _MSC_VER</span>
|
||||
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor"> #ifndef _IL_WRAP_BUILD_LIB</span>
|
||||
<a name="l00010"></a>00010 <span class="preprocessor"></span><span class="preprocessor"> #pragma comment(lib, "il_wrap.lib")</span>
|
||||
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00013"></a>00013 <span class="preprocessor"></span>
|
||||
<a name="l00014"></a>00014 <span class="keyword">class </span>ilImage
|
||||
<a name="l00015"></a>00015 {
|
||||
<a name="l00016"></a>00016 <span class="keyword">public</span>:
|
||||
<a name="l00017"></a>00017 ilImage();
|
||||
<a name="l00018"></a>00018 ilImage(<span class="keywordtype">char</span> *);
|
||||
<a name="l00019"></a>00019 ilImage(<span class="keyword">const</span> ilImage &);
|
||||
<a name="l00020"></a>00020 <span class="keyword">virtual</span> ~ilImage();
|
||||
<a name="l00021"></a>00021
|
||||
<a name="l00022"></a>00022 ILboolean Load(<span class="keywordtype">char</span> *);
|
||||
<a name="l00023"></a>00023 ILboolean Load(<span class="keywordtype">char</span> *, ILenum);
|
||||
<a name="l00024"></a>00024 ILboolean Save(<span class="keywordtype">char</span> *);
|
||||
<a name="l00025"></a>00025 ILboolean Save(<span class="keywordtype">char</span> *, ILenum);
|
||||
<a name="l00026"></a>00026
|
||||
<a name="l00027"></a>00027
|
||||
<a name="l00028"></a>00028 <span class="comment">// ImageLib functions</span>
|
||||
<a name="l00029"></a>00029 ILboolean ActiveImage(ILuint);
|
||||
<a name="l00030"></a>00030 ILboolean ActiveLayer(ILuint);
|
||||
<a name="l00031"></a>00031 ILboolean ActiveMipmap(ILuint);
|
||||
<a name="l00032"></a>00032 ILboolean Clear(<span class="keywordtype">void</span>);
|
||||
<a name="l00033"></a>00033 ILvoid ClearColour(ILclampf, ILclampf, ILclampf, ILclampf);
|
||||
<a name="l00034"></a>00034 ILboolean Convert(ILenum);
|
||||
<a name="l00035"></a>00035 ILboolean Copy(ILuint);
|
||||
<a name="l00036"></a>00036 ILboolean Default(<span class="keywordtype">void</span>);
|
||||
<a name="l00037"></a>00037 ILboolean Flip(<span class="keywordtype">void</span>);
|
||||
<a name="l00038"></a>00038 ILboolean SwapColours(<span class="keywordtype">void</span>);
|
||||
<a name="l00039"></a>00039 ILboolean Resize(ILuint, ILuint, ILuint);
|
||||
<a name="l00040"></a>00040 ILboolean TexImage(ILuint, ILuint, ILuint, ILubyte, ILenum, ILenum, ILvoid*);
|
||||
<a name="l00041"></a>00041
|
||||
<a name="l00042"></a>00042
|
||||
<a name="l00043"></a>00043 <span class="comment">// Image handling</span>
|
||||
<a name="l00044"></a>00044 ILvoid Bind(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
|
||||
<a name="l00045"></a>00045 ILvoid Bind(ILuint);
|
||||
<a name="l00046"></a>00046 ILvoid Close(<span class="keywordtype">void</span>) { this->Delete(); }
|
||||
<a name="l00047"></a>00047 ILvoid Delete(<span class="keywordtype">void</span>);
|
||||
<a name="l00048"></a>00048 ILvoid iGenBind();
|
||||
<a name="l00049"></a>00049 ILenum PaletteAlphaIndex();
|
||||
<a name="l00050"></a>00050
|
||||
<a name="l00051"></a>00051 <span class="comment">// Image characteristics</span>
|
||||
<a name="l00052"></a>00052 ILuint Width(<span class="keywordtype">void</span>);
|
||||
<a name="l00053"></a>00053 ILuint Height(<span class="keywordtype">void</span>);
|
||||
<a name="l00054"></a>00054 ILuint Depth(<span class="keywordtype">void</span>);
|
||||
<a name="l00055"></a>00055 ILubyte Bpp(<span class="keywordtype">void</span>);
|
||||
<a name="l00056"></a>00056 ILubyte Bitpp(<span class="keywordtype">void</span>);
|
||||
<a name="l00057"></a>00057 ILenum PaletteType(<span class="keywordtype">void</span>);
|
||||
<a name="l00058"></a>00058 ILenum Format(<span class="keywordtype">void</span>);
|
||||
<a name="l00059"></a>00059 ILenum Type(<span class="keywordtype">void</span>);
|
||||
<a name="l00060"></a>00060 ILuint NumImages(<span class="keywordtype">void</span>);
|
||||
<a name="l00061"></a>00061 ILuint NumMipmaps(<span class="keywordtype">void</span>);
|
||||
<a name="l00062"></a>00062 ILuint GetId(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
|
||||
<a name="l00063"></a>00063 ILenum GetOrigin(<span class="keywordtype">void</span>);
|
||||
<a name="l00064"></a>00064 ILubyte *GetData(<span class="keywordtype">void</span>);
|
||||
<a name="l00065"></a>00065 ILubyte *GetPalette(<span class="keywordtype">void</span>);
|
||||
<a name="l00066"></a>00066
|
||||
<a name="l00067"></a>00067
|
||||
<a name="l00068"></a>00068 <span class="comment">// Rendering</span>
|
||||
<a name="l00069"></a>00069 ILuint BindImage(<span class="keywordtype">void</span>);
|
||||
<a name="l00070"></a>00070 ILuint BindImage(ILenum);
|
||||
<a name="l00071"></a>00071
|
||||
<a name="l00072"></a>00072
|
||||
<a name="l00073"></a>00073 <span class="comment">// Operators</span>
|
||||
<a name="l00074"></a>00074 ilImage& operator = (ILuint);
|
||||
<a name="l00075"></a>00075 ilImage& operator = (<span class="keyword">const</span> ilImage &);
|
||||
<a name="l00076"></a>00076
|
||||
<a name="l00077"></a>00077
|
||||
<a name="l00078"></a>00078 <span class="keyword">protected</span>:
|
||||
<a name="l00079"></a>00079 ILuint Id;
|
||||
<a name="l00080"></a>00080
|
||||
<a name="l00081"></a>00081 <span class="keyword">private</span>:
|
||||
<a name="l00082"></a>00082 ILvoid iStartUp();
|
||||
<a name="l00083"></a>00083
|
||||
<a name="l00084"></a>00084
|
||||
<a name="l00085"></a>00085 };
|
||||
<a name="l00086"></a>00086
|
||||
<a name="l00087"></a>00087
|
||||
<a name="l00088"></a>00088 <span class="keyword">class </span>ilFilters
|
||||
<a name="l00089"></a>00089 {
|
||||
<a name="l00090"></a>00090 <span class="keyword">public</span>:
|
||||
<a name="l00091"></a>00091 <span class="keyword">static</span> ILboolean Alienify(ilImage &);
|
||||
<a name="l00092"></a>00092 <span class="keyword">static</span> ILboolean BlurAvg(ilImage &, ILuint Iter);
|
||||
<a name="l00093"></a>00093 <span class="keyword">static</span> ILboolean BlurGaussian(ilImage &, ILuint Iter);
|
||||
<a name="l00094"></a>00094 <span class="keyword">static</span> ILboolean Contrast(ilImage &, ILfloat Contrast);
|
||||
<a name="l00095"></a>00095 <span class="keyword">static</span> ILboolean EdgeDetectE(ilImage &);
|
||||
<a name="l00096"></a>00096 <span class="keyword">static</span> ILboolean EdgeDetectP(ilImage &);
|
||||
<a name="l00097"></a>00097 <span class="keyword">static</span> ILboolean EdgeDetectS(ilImage &);
|
||||
<a name="l00098"></a>00098 <span class="keyword">static</span> ILboolean Emboss(ilImage &);
|
||||
<a name="l00099"></a>00099 <span class="keyword">static</span> ILboolean Gamma(ilImage &, ILfloat Gamma);
|
||||
<a name="l00100"></a>00100 <span class="keyword">static</span> ILboolean Negative(ilImage &);
|
||||
<a name="l00101"></a>00101 <span class="keyword">static</span> ILboolean Noisify(ilImage &, ILubyte Factor);
|
||||
<a name="l00102"></a>00102 <span class="keyword">static</span> ILboolean Pixelize(ilImage &, ILuint PixSize);
|
||||
<a name="l00103"></a>00103 <span class="keyword">static</span> ILboolean Saturate(ilImage &, ILfloat Saturation);
|
||||
<a name="l00104"></a>00104 <span class="keyword">static</span> ILboolean Saturate(ilImage &, ILfloat r, ILfloat g, ILfloat b, ILfloat Saturation);
|
||||
<a name="l00105"></a>00105 <span class="keyword">static</span> ILboolean ScaleColours(ilImage &, ILfloat r, ILfloat g, ILfloat b);
|
||||
<a name="l00106"></a>00106 <span class="keyword">static</span> ILboolean Sharpen(ilImage &, ILfloat Factor, ILuint Iter);
|
||||
<a name="l00107"></a>00107 };
|
||||
<a name="l00108"></a>00108
|
||||
<a name="l00109"></a>00109
|
||||
<a name="l00110"></a>00110 <span class="preprocessor">#ifdef ILUT_USE_OPENGL</span>
|
||||
<a name="l00111"></a>00111 <span class="preprocessor"></span><span class="keyword">class </span>ilOgl
|
||||
<a name="l00112"></a>00112 {
|
||||
<a name="l00113"></a>00113 <span class="keyword">public</span>:
|
||||
<a name="l00114"></a>00114 <span class="keyword">static</span> ILvoid Init(<span class="keywordtype">void</span>);
|
||||
<a name="l00115"></a>00115 <span class="keyword">static</span> GLuint BindTex(ilImage &);
|
||||
<a name="l00116"></a>00116 <span class="keyword">static</span> ILboolean Upload(ilImage &, ILuint);
|
||||
<a name="l00117"></a>00117 <span class="keyword">static</span> GLuint Mipmap(ilImage &);
|
||||
<a name="l00118"></a>00118 <span class="keyword">static</span> ILboolean Screen(<span class="keywordtype">void</span>);
|
||||
<a name="l00119"></a>00119 <span class="keyword">static</span> ILboolean Screenie(<span class="keywordtype">void</span>);
|
||||
<a name="l00120"></a>00120 };
|
||||
<a name="l00121"></a>00121 <span class="preprocessor">#endif//ILUT_USE_OPENGL</span>
|
||||
<a name="l00122"></a>00122 <span class="preprocessor"></span>
|
||||
<a name="l00123"></a>00123
|
||||
<a name="l00124"></a>00124 <span class="preprocessor">#ifdef ILUT_USE_ALLEGRO</span>
|
||||
<a name="l00125"></a>00125 <span class="preprocessor"></span><span class="keyword">class </span>ilAlleg
|
||||
<a name="l00126"></a>00126 {
|
||||
<a name="l00127"></a>00127 <span class="keyword">public</span>:
|
||||
<a name="l00128"></a>00128 <span class="keyword">static</span> ILvoid Init(<span class="keywordtype">void</span>);
|
||||
<a name="l00129"></a>00129 <span class="keyword">static</span> BITMAP *Convert(ilImage &);
|
||||
<a name="l00130"></a>00130 };
|
||||
<a name="l00131"></a>00131 <span class="preprocessor">#endif//ILUT_USE_ALLEGRO</span>
|
||||
<a name="l00132"></a>00132 <span class="preprocessor"></span>
|
||||
<a name="l00133"></a>00133
|
||||
<a name="l00134"></a>00134 <span class="preprocessor">#ifdef ILUT_USE_WIN32</span>
|
||||
<a name="l00135"></a>00135 <span class="preprocessor"></span><span class="keyword">class </span>ilWin32
|
||||
<a name="l00136"></a>00136 {
|
||||
<a name="l00137"></a>00137 <span class="keyword">public</span>:
|
||||
<a name="l00138"></a>00138 <span class="keyword">static</span> ILvoid Init(<span class="keywordtype">void</span>);
|
||||
<a name="l00139"></a>00139 <span class="keyword">static</span> HBITMAP Convert(ilImage &);
|
||||
<a name="l00140"></a>00140 <span class="keyword">static</span> ILboolean GetClipboard(ilImage &);
|
||||
<a name="l00141"></a>00141 <span class="keyword">static</span> ILvoid GetInfo(ilImage &, BITMAPINFO *Info);
|
||||
<a name="l00142"></a>00142 <span class="keyword">static</span> ILubyte *GetPadData(ilImage &);
|
||||
<a name="l00143"></a>00143 <span class="keyword">static</span> HPALETTE GetPal(ilImage &);
|
||||
<a name="l00144"></a>00144 <span class="keyword">static</span> ILboolean GetResource(ilImage &, HINSTANCE hInst, ILint ID, <span class="keywordtype">char</span> *ResourceType);
|
||||
<a name="l00145"></a>00145 <span class="keyword">static</span> ILboolean GetResource(ilImage &, HINSTANCE hInst, ILint ID, <span class="keywordtype">char</span> *ResourceType, ILenum Type);
|
||||
<a name="l00146"></a>00146 <span class="keyword">static</span> ILboolean SetClipboard(ilImage &);
|
||||
<a name="l00147"></a>00147 };
|
||||
<a name="l00148"></a>00148 <span class="preprocessor">#endif//ILUT_USE_WIN32</span>
|
||||
<a name="l00149"></a>00149 <span class="preprocessor"></span>
|
||||
<a name="l00150"></a>00150
|
||||
<a name="l00151"></a>00151 <span class="keyword">class </span>ilValidate
|
||||
<a name="l00152"></a>00152 {
|
||||
<a name="l00153"></a>00153 <span class="keyword">public</span>:
|
||||
<a name="l00154"></a>00154 <span class="keyword">static</span> ILboolean Valid(ILenum, <span class="keywordtype">char</span> *);
|
||||
<a name="l00155"></a>00155 <span class="keyword">static</span> ILboolean Valid(ILenum, FILE *);
|
||||
<a name="l00156"></a>00156 <span class="keyword">static</span> ILboolean Valid(ILenum, ILvoid *, ILuint);
|
||||
<a name="l00157"></a>00157
|
||||
<a name="l00158"></a>00158 <span class="keyword">protected</span>:
|
||||
<a name="l00159"></a>00159
|
||||
<a name="l00160"></a>00160 <span class="keyword">private</span>:
|
||||
<a name="l00161"></a>00161
|
||||
<a name="l00162"></a>00162 };
|
||||
<a name="l00163"></a>00163
|
||||
<a name="l00164"></a>00164
|
||||
<a name="l00165"></a>00165 <span class="keyword">class </span>ilState
|
||||
<a name="l00166"></a>00166 {
|
||||
<a name="l00167"></a>00167 <span class="keyword">public</span>:
|
||||
<a name="l00168"></a>00168 <span class="keyword">static</span> ILboolean Disable(ILenum);
|
||||
<a name="l00169"></a>00169 <span class="keyword">static</span> ILboolean Enable(ILenum);
|
||||
<a name="l00170"></a>00170 <span class="keyword">static</span> ILvoid Get(ILenum, ILboolean &);
|
||||
<a name="l00171"></a>00171 <span class="keyword">static</span> ILvoid Get(ILenum, ILint &);
|
||||
<a name="l00172"></a>00172 <span class="keyword">static</span> ILboolean GetBool(ILenum);
|
||||
<a name="l00173"></a>00173 <span class="keyword">static</span> ILint GetInt(ILenum);
|
||||
<a name="l00174"></a>00174 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *GetString(ILenum);
|
||||
<a name="l00175"></a>00175 <span class="keyword">static</span> ILboolean IsDisabled(ILenum);
|
||||
<a name="l00176"></a>00176 <span class="keyword">static</span> ILboolean IsEnabled(ILenum);
|
||||
<a name="l00177"></a>00177 <span class="keyword">static</span> ILboolean Origin(ILenum);
|
||||
<a name="l00178"></a>00178 <span class="keyword">static</span> ILvoid Pop(<span class="keywordtype">void</span>);
|
||||
<a name="l00179"></a>00179 <span class="keyword">static</span> ILvoid Push(ILuint);
|
||||
<a name="l00180"></a>00180
|
||||
<a name="l00181"></a>00181
|
||||
<a name="l00182"></a>00182 <span class="keyword">protected</span>:
|
||||
<a name="l00183"></a>00183
|
||||
<a name="l00184"></a>00184 <span class="keyword">private</span>:
|
||||
<a name="l00185"></a>00185
|
||||
<a name="l00186"></a>00186 };
|
||||
<a name="l00187"></a>00187
|
||||
<a name="l00188"></a>00188
|
||||
<a name="l00189"></a>00189 <span class="keyword">class </span>ilError
|
||||
<a name="l00190"></a>00190 {
|
||||
<a name="l00191"></a>00191 <span class="keyword">public</span>:
|
||||
<a name="l00192"></a>00192 <span class="keyword">static</span> ILvoid Check(ILvoid (*Callback)(<span class="keyword">const</span> <span class="keywordtype">char</span>*));
|
||||
<a name="l00193"></a>00193 <span class="keyword">static</span> ILvoid Check(ILvoid (*Callback)(ILenum));
|
||||
<a name="l00194"></a>00194 <span class="keyword">static</span> ILenum Get(<span class="keywordtype">void</span>);
|
||||
<a name="l00195"></a>00195 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *String(<span class="keywordtype">void</span>);
|
||||
<a name="l00196"></a>00196 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *String(ILenum);
|
||||
<a name="l00197"></a>00197
|
||||
<a name="l00198"></a>00198 <span class="keyword">protected</span>:
|
||||
<a name="l00199"></a>00199
|
||||
<a name="l00200"></a>00200 <span class="keyword">private</span>:
|
||||
<a name="l00201"></a>00201
|
||||
<a name="l00202"></a>00202 };
|
||||
<a name="l00203"></a>00203
|
||||
<a name="l00204"></a>00204
|
||||
<a name="l00205"></a>00205 <span class="preprocessor">#endif//WRAPPER_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,212 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/include/IL/ilu.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/include/IL/ilu.h</h1><a href="ilu_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Utility Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2009 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 03/07/2009</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: IL/ilu.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: The main include file for ILU</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="comment">// Doxygen comment</span>
|
||||
<a name="l00018"></a>00018 <span class="comment"></span><span class="preprocessor">#ifndef __ilu_h_</span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#ifndef __ILU_H__</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor">#define __ilu_h_</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define __ILU_H__</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span>
|
||||
<a name="l00024"></a>00024 <span class="preprocessor">#include <<a class="code" href="il_8h.html">IL/il.h</a>></span>
|
||||
<a name="l00025"></a>00025
|
||||
<a name="l00026"></a>00026 <span class="preprocessor">#ifdef __cplusplus</span>
|
||||
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
|
||||
<a name="l00028"></a>00028 <span class="preprocessor">#endif</span>
|
||||
<a name="l00029"></a>00029 <span class="preprocessor"></span>
|
||||
<a name="l00030"></a>00030
|
||||
<a name="l00031"></a>00031 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor"> #if (defined(IL_USE_PRAGMA_LIBS)) && (!defined(_IL_BUILD_LIBRARY))</span>
|
||||
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor"> #if defined(_MSC_VER) || defined(__BORLANDC__)</span>
|
||||
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor"> #pragma comment(lib, "ILU.lib")</span>
|
||||
<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00038"></a>00038 <span class="preprocessor"></span>
|
||||
<a name="l00039"></a>00039
|
||||
<a name="l00040"></a>00040 <span class="preprocessor">#define ILU_VERSION_1_7_8 1</span>
|
||||
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#define ILU_VERSION 178</span>
|
||||
<a name="l00042"></a>00042 <span class="preprocessor"></span>
|
||||
<a name="l00043"></a>00043
|
||||
<a name="l00044"></a>00044 <span class="preprocessor">#define ILU_FILTER 0x2600</span>
|
||||
<a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor">#define ILU_NEAREST 0x2601</span>
|
||||
<a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor">#define ILU_LINEAR 0x2602</span>
|
||||
<a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor">#define ILU_BILINEAR 0x2603</span>
|
||||
<a name="l00048"></a>00048 <span class="preprocessor"></span><span class="preprocessor">#define ILU_SCALE_BOX 0x2604</span>
|
||||
<a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor">#define ILU_SCALE_TRIANGLE 0x2605</span>
|
||||
<a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor">#define ILU_SCALE_BELL 0x2606</span>
|
||||
<a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor">#define ILU_SCALE_BSPLINE 0x2607</span>
|
||||
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#define ILU_SCALE_LANCZOS3 0x2608</span>
|
||||
<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor">#define ILU_SCALE_MITCHELL 0x2609</span>
|
||||
<a name="l00054"></a>00054 <span class="preprocessor"></span>
|
||||
<a name="l00055"></a>00055
|
||||
<a name="l00056"></a>00056 <span class="comment">// Error types</span>
|
||||
<a name="l00057"></a>00057 <span class="preprocessor">#define ILU_INVALID_ENUM 0x0501</span>
|
||||
<a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor">#define ILU_OUT_OF_MEMORY 0x0502</span>
|
||||
<a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor">#define ILU_INTERNAL_ERROR 0x0504</span>
|
||||
<a name="l00060"></a>00060 <span class="preprocessor"></span><span class="preprocessor">#define ILU_INVALID_VALUE 0x0505</span>
|
||||
<a name="l00061"></a>00061 <span class="preprocessor"></span><span class="preprocessor">#define ILU_ILLEGAL_OPERATION 0x0506</span>
|
||||
<a name="l00062"></a>00062 <span class="preprocessor"></span><span class="preprocessor">#define ILU_INVALID_PARAM 0x0509</span>
|
||||
<a name="l00063"></a>00063 <span class="preprocessor"></span>
|
||||
<a name="l00064"></a>00064
|
||||
<a name="l00065"></a>00065 <span class="comment">// Values</span>
|
||||
<a name="l00066"></a>00066 <span class="preprocessor">#define ILU_PLACEMENT 0x0700</span>
|
||||
<a name="l00067"></a>00067 <span class="preprocessor"></span><span class="preprocessor">#define ILU_LOWER_LEFT 0x0701</span>
|
||||
<a name="l00068"></a>00068 <span class="preprocessor"></span><span class="preprocessor">#define ILU_LOWER_RIGHT 0x0702</span>
|
||||
<a name="l00069"></a>00069 <span class="preprocessor"></span><span class="preprocessor">#define ILU_UPPER_LEFT 0x0703</span>
|
||||
<a name="l00070"></a>00070 <span class="preprocessor"></span><span class="preprocessor">#define ILU_UPPER_RIGHT 0x0704</span>
|
||||
<a name="l00071"></a>00071 <span class="preprocessor"></span><span class="preprocessor">#define ILU_CENTER 0x0705</span>
|
||||
<a name="l00072"></a>00072 <span class="preprocessor"></span><span class="preprocessor">#define ILU_CONVOLUTION_MATRIX 0x0710</span>
|
||||
<a name="l00073"></a>00073 <span class="preprocessor"></span>
|
||||
<a name="l00074"></a>00074 <span class="preprocessor">#define ILU_VERSION_NUM IL_VERSION_NUM</span>
|
||||
<a name="l00075"></a>00075 <span class="preprocessor"></span><span class="preprocessor">#define ILU_VENDOR IL_VENDOR</span>
|
||||
<a name="l00076"></a>00076 <span class="preprocessor"></span>
|
||||
<a name="l00077"></a>00077
|
||||
<a name="l00078"></a>00078 <span class="comment">// Languages</span>
|
||||
<a name="l00079"></a>00079 <span class="preprocessor">#define ILU_ENGLISH 0x0800</span>
|
||||
<a name="l00080"></a>00080 <span class="preprocessor"></span><span class="preprocessor">#define ILU_ARABIC 0x0801</span>
|
||||
<a name="l00081"></a>00081 <span class="preprocessor"></span><span class="preprocessor">#define ILU_DUTCH 0x0802</span>
|
||||
<a name="l00082"></a>00082 <span class="preprocessor"></span><span class="preprocessor">#define ILU_JAPANESE 0x0803</span>
|
||||
<a name="l00083"></a>00083 <span class="preprocessor"></span><span class="preprocessor">#define ILU_SPANISH 0x0804</span>
|
||||
<a name="l00084"></a>00084 <span class="preprocessor"></span><span class="preprocessor">#define ILU_GERMAN 0x0805</span>
|
||||
<a name="l00085"></a>00085 <span class="preprocessor"></span><span class="preprocessor">#define ILU_FRENCH 0x0806</span>
|
||||
<a name="l00086"></a>00086 <span class="preprocessor"></span>
|
||||
<a name="l00087"></a>00087
|
||||
<a name="l00088"></a>00088 <span class="comment">// Filters</span>
|
||||
<a name="l00089"></a>00089 <span class="comment">/*</span>
|
||||
<a name="l00090"></a>00090 <span class="comment">#define ILU_FILTER_BLUR 0x0803</span>
|
||||
<a name="l00091"></a>00091 <span class="comment">#define ILU_FILTER_GAUSSIAN_3x3 0x0804</span>
|
||||
<a name="l00092"></a>00092 <span class="comment">#define ILU_FILTER_GAUSSIAN_5X5 0x0805</span>
|
||||
<a name="l00093"></a>00093 <span class="comment">#define ILU_FILTER_EMBOSS1 0x0807</span>
|
||||
<a name="l00094"></a>00094 <span class="comment">#define ILU_FILTER_EMBOSS2 0x0808</span>
|
||||
<a name="l00095"></a>00095 <span class="comment">#define ILU_FILTER_LAPLACIAN1 0x080A</span>
|
||||
<a name="l00096"></a>00096 <span class="comment">#define ILU_FILTER_LAPLACIAN2 0x080B</span>
|
||||
<a name="l00097"></a>00097 <span class="comment">#define ILU_FILTER_LAPLACIAN3 0x080C</span>
|
||||
<a name="l00098"></a>00098 <span class="comment">#define ILU_FILTER_LAPLACIAN4 0x080D</span>
|
||||
<a name="l00099"></a>00099 <span class="comment">#define ILU_FILTER_SHARPEN1 0x080E</span>
|
||||
<a name="l00100"></a>00100 <span class="comment">#define ILU_FILTER_SHARPEN2 0x080F</span>
|
||||
<a name="l00101"></a>00101 <span class="comment">#define ILU_FILTER_SHARPEN3 0x0810</span>
|
||||
<a name="l00102"></a>00102 <span class="comment">*/</span>
|
||||
<a name="l00103"></a>00103
|
||||
<a name="l00104"></a>00104
|
||||
<a name="l00105"></a>00105 <span class="keyword">typedef</span> <span class="keyword">struct </span>ILinfo
|
||||
<a name="l00106"></a>00106 {
|
||||
<a name="l00107"></a>00107 ILuint Id; <span class="comment">// the image's id</span>
|
||||
<a name="l00108"></a>00108 ILubyte *Data; <span class="comment">// the image's data</span>
|
||||
<a name="l00109"></a>00109 ILuint Width; <span class="comment">// the image's width</span>
|
||||
<a name="l00110"></a>00110 ILuint Height; <span class="comment">// the image's height</span>
|
||||
<a name="l00111"></a>00111 ILuint Depth; <span class="comment">// the image's depth</span>
|
||||
<a name="l00112"></a>00112 ILubyte Bpp; <span class="comment">// bytes per pixel (not bits) of the image</span>
|
||||
<a name="l00113"></a>00113 ILuint SizeOfData; <span class="comment">// the total size of the data (in bytes)</span>
|
||||
<a name="l00114"></a>00114 ILenum Format; <span class="comment">// image format (in IL enum style)</span>
|
||||
<a name="l00115"></a>00115 ILenum Type; <span class="comment">// image type (in IL enum style)</span>
|
||||
<a name="l00116"></a>00116 ILenum Origin; <span class="comment">// origin of the image</span>
|
||||
<a name="l00117"></a>00117 ILubyte *Palette; <span class="comment">// the image's palette</span>
|
||||
<a name="l00118"></a>00118 ILenum PalType; <span class="comment">// palette type</span>
|
||||
<a name="l00119"></a>00119 ILuint PalSize; <span class="comment">// palette size</span>
|
||||
<a name="l00120"></a>00120 ILenum CubeFlags; <span class="comment">// flags for what cube map sides are present</span>
|
||||
<a name="l00121"></a>00121 ILuint NumNext; <span class="comment">// number of images following</span>
|
||||
<a name="l00122"></a>00122 ILuint NumMips; <span class="comment">// number of mipmaps</span>
|
||||
<a name="l00123"></a>00123 ILuint NumLayers; <span class="comment">// number of layers</span>
|
||||
<a name="l00124"></a>00124 } ILinfo;
|
||||
<a name="l00125"></a>00125
|
||||
<a name="l00126"></a>00126
|
||||
<a name="l00127"></a>00127 <span class="keyword">typedef</span> <span class="keyword">struct </span>ILpointf {
|
||||
<a name="l00128"></a>00128 ILfloat x;
|
||||
<a name="l00129"></a>00129 ILfloat y;
|
||||
<a name="l00130"></a>00130 } ILpointf;
|
||||
<a name="l00131"></a>00131
|
||||
<a name="l00132"></a>00132 <span class="keyword">typedef</span> <span class="keyword">struct </span>ILpointi {
|
||||
<a name="l00133"></a>00133 ILint x;
|
||||
<a name="l00134"></a>00134 ILint y;
|
||||
<a name="l00135"></a>00135 } ILpointi;
|
||||
<a name="l00136"></a>00136
|
||||
<a name="l00137"></a>00137 ILAPI ILboolean ILAPIENTRY iluAlienify(<span class="keywordtype">void</span>);
|
||||
<a name="l00138"></a>00138 ILAPI ILboolean ILAPIENTRY iluBlurAvg(ILuint Iter);
|
||||
<a name="l00139"></a>00139 ILAPI ILboolean ILAPIENTRY iluBlurGaussian(ILuint Iter);
|
||||
<a name="l00140"></a>00140 ILAPI ILboolean ILAPIENTRY iluBuildMipmaps(<span class="keywordtype">void</span>);
|
||||
<a name="l00141"></a>00141 ILAPI ILuint ILAPIENTRY iluColoursUsed(<span class="keywordtype">void</span>);
|
||||
<a name="l00142"></a>00142 ILAPI ILboolean ILAPIENTRY iluCompareImage(ILuint Comp);
|
||||
<a name="l00143"></a>00143 ILAPI ILboolean ILAPIENTRY iluContrast(ILfloat Contrast);
|
||||
<a name="l00144"></a>00144 ILAPI ILboolean ILAPIENTRY iluCrop(ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth);
|
||||
<a name="l00145"></a>00145 ILAPI <span class="keywordtype">void</span> ILAPIENTRY iluDeleteImage(ILuint Id); <span class="comment">// Deprecated</span>
|
||||
<a name="l00146"></a>00146 ILAPI ILboolean ILAPIENTRY iluEdgeDetectE(<span class="keywordtype">void</span>);
|
||||
<a name="l00147"></a>00147 ILAPI ILboolean ILAPIENTRY iluEdgeDetectP(<span class="keywordtype">void</span>);
|
||||
<a name="l00148"></a>00148 ILAPI ILboolean ILAPIENTRY iluEdgeDetectS(<span class="keywordtype">void</span>);
|
||||
<a name="l00149"></a>00149 ILAPI ILboolean ILAPIENTRY iluEmboss(<span class="keywordtype">void</span>);
|
||||
<a name="l00150"></a>00150 ILAPI ILboolean ILAPIENTRY iluEnlargeCanvas(ILuint Width, ILuint Height, ILuint Depth);
|
||||
<a name="l00151"></a>00151 ILAPI ILboolean ILAPIENTRY iluEnlargeImage(ILfloat XDim, ILfloat YDim, ILfloat ZDim);
|
||||
<a name="l00152"></a>00152 ILAPI ILboolean ILAPIENTRY iluEqualize(<span class="keywordtype">void</span>);
|
||||
<a name="l00153"></a>00153 ILAPI ILconst_string ILAPIENTRY iluErrorString(ILenum Error);
|
||||
<a name="l00154"></a>00154 ILAPI ILboolean ILAPIENTRY iluConvolution(ILint *matrix, ILint scale, ILint bias);
|
||||
<a name="l00155"></a>00155 ILAPI ILboolean ILAPIENTRY iluFlipImage(<span class="keywordtype">void</span>);
|
||||
<a name="l00156"></a>00156 ILAPI ILboolean ILAPIENTRY iluGammaCorrect(ILfloat Gamma);
|
||||
<a name="l00157"></a>00157 ILAPI ILuint ILAPIENTRY iluGenImage(<span class="keywordtype">void</span>); <span class="comment">// Deprecated</span>
|
||||
<a name="l00158"></a>00158 ILAPI <span class="keywordtype">void</span> ILAPIENTRY iluGetImageInfo(ILinfo *Info);
|
||||
<a name="l00159"></a>00159 ILAPI ILint ILAPIENTRY iluGetInteger(ILenum Mode);
|
||||
<a name="l00160"></a>00160 ILAPI <span class="keywordtype">void</span> ILAPIENTRY iluGetIntegerv(ILenum Mode, ILint *Param);
|
||||
<a name="l00161"></a>00161 ILAPI ILstring ILAPIENTRY iluGetString(ILenum StringName);
|
||||
<a name="l00162"></a>00162 ILAPI <span class="keywordtype">void</span> ILAPIENTRY iluImageParameter(ILenum PName, ILenum Param);
|
||||
<a name="l00163"></a>00163 ILAPI <span class="keywordtype">void</span> ILAPIENTRY iluInit(<span class="keywordtype">void</span>);
|
||||
<a name="l00164"></a>00164 ILAPI ILboolean ILAPIENTRY iluInvertAlpha(<span class="keywordtype">void</span>);
|
||||
<a name="l00165"></a>00165 ILAPI ILuint ILAPIENTRY iluLoadImage(ILconst_string FileName);
|
||||
<a name="l00166"></a>00166 ILAPI ILboolean ILAPIENTRY iluMirror(<span class="keywordtype">void</span>);
|
||||
<a name="l00167"></a>00167 ILAPI ILboolean ILAPIENTRY iluNegative(<span class="keywordtype">void</span>);
|
||||
<a name="l00168"></a>00168 ILAPI ILboolean ILAPIENTRY iluNoisify(ILclampf Tolerance);
|
||||
<a name="l00169"></a>00169 ILAPI ILboolean ILAPIENTRY iluPixelize(ILuint PixSize);
|
||||
<a name="l00170"></a>00170 ILAPI <span class="keywordtype">void</span> ILAPIENTRY iluRegionfv(ILpointf *Points, ILuint n);
|
||||
<a name="l00171"></a>00171 ILAPI <span class="keywordtype">void</span> ILAPIENTRY iluRegioniv(ILpointi *Points, ILuint n);
|
||||
<a name="l00172"></a>00172 ILAPI ILboolean ILAPIENTRY iluReplaceColour(ILubyte Red, ILubyte Green, ILubyte Blue, ILfloat Tolerance);
|
||||
<a name="l00173"></a>00173 ILAPI ILboolean ILAPIENTRY iluRotate(ILfloat Angle);
|
||||
<a name="l00174"></a>00174 ILAPI ILboolean ILAPIENTRY iluRotate3D(ILfloat x, ILfloat y, ILfloat z, ILfloat Angle);
|
||||
<a name="l00175"></a>00175 ILAPI ILboolean ILAPIENTRY iluSaturate1f(ILfloat Saturation);
|
||||
<a name="l00176"></a>00176 ILAPI ILboolean ILAPIENTRY iluSaturate4f(ILfloat r, ILfloat g, ILfloat b, ILfloat Saturation);
|
||||
<a name="l00177"></a>00177 ILAPI ILboolean ILAPIENTRY iluScale(ILuint Width, ILuint Height, ILuint Depth);
|
||||
<a name="l00178"></a>00178 ILAPI ILboolean ILAPIENTRY iluScaleAlpha(ILfloat scale);
|
||||
<a name="l00179"></a>00179 ILAPI ILboolean ILAPIENTRY iluScaleColours(ILfloat r, ILfloat g, ILfloat b);
|
||||
<a name="l00180"></a>00180 ILAPI ILboolean ILAPIENTRY iluSetLanguage(ILenum Language);
|
||||
<a name="l00181"></a>00181 ILAPI ILboolean ILAPIENTRY iluSharpen(ILfloat Factor, ILuint Iter);
|
||||
<a name="l00182"></a>00182 ILAPI ILboolean ILAPIENTRY iluSwapColours(<span class="keywordtype">void</span>);
|
||||
<a name="l00183"></a>00183 ILAPI ILboolean ILAPIENTRY iluWave(ILfloat Angle);
|
||||
<a name="l00184"></a>00184
|
||||
<a name="l00185"></a>00185 <span class="preprocessor">#define iluColorsUsed iluColoursUsed</span>
|
||||
<a name="l00186"></a>00186 <span class="preprocessor"></span><span class="preprocessor">#define iluSwapColors iluSwapColours</span>
|
||||
<a name="l00187"></a>00187 <span class="preprocessor"></span><span class="preprocessor">#define iluReplaceColor iluReplaceColour</span>
|
||||
<a name="l00188"></a>00188 <span class="preprocessor"></span><span class="preprocessor">#define iluScaleColor iluScaleColour</span>
|
||||
<a name="l00189"></a>00189 <span class="preprocessor"></span>
|
||||
<a name="l00190"></a>00190 <span class="preprocessor">#ifdef __cplusplus</span>
|
||||
<a name="l00191"></a>00191 <span class="preprocessor"></span>}
|
||||
<a name="l00192"></a>00192 <span class="preprocessor">#endif</span>
|
||||
<a name="l00193"></a>00193 <span class="preprocessor"></span>
|
||||
<a name="l00194"></a>00194 <span class="preprocessor">#endif // __ILU_H__</span>
|
||||
<a name="l00195"></a>00195 <span class="preprocessor"></span><span class="preprocessor">#endif // __ilu_h_</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,309 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/include/IL/ilu.h File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents">
|
||||
<h1>/home/dwoods/DevIL/include/IL/ilu.h File Reference</h1><code>#include <<a class="el" href="il_8h-source.html">IL/il.h</a>></code><br>
|
||||
|
||||
<p>
|
||||
<a href="ilu_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr><td></td></tr>
|
||||
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><b>ILinfo</b></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><b>ILpointf</b></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><b>ILpointi</b></td></tr>
|
||||
|
||||
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9eee89dba09c314cf6d1fa83d085bdde"></a><!-- doxytag: member="ilu.h::__ilu_h_" ref="9eee89dba09c314cf6d1fa83d085bdde" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>__ilu_h_</b></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="790fbdc22bba85aa28365922b6db19af"></a><!-- doxytag: member="ilu.h::__ILU_H__" ref="790fbdc22bba85aa28365922b6db19af" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>__ILU_H__</b></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5b43a16414aa78d20a72cecb71ec4141"></a><!-- doxytag: member="ilu.h::ILU_VERSION_1_7_8" ref="5b43a16414aa78d20a72cecb71ec4141" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_VERSION_1_7_8</b> 1</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="95c2fd7d019b7ee54feea4823a259b77"></a><!-- doxytag: member="ilu.h::ILU_VERSION" ref="95c2fd7d019b7ee54feea4823a259b77" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_VERSION</b> 178</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="20f386c85e644f98dd7adcce069daf85"></a><!-- doxytag: member="ilu.h::ILU_FILTER" ref="20f386c85e644f98dd7adcce069daf85" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_FILTER</b> 0x2600</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cda1839073fc34b53756d186618d0e86"></a><!-- doxytag: member="ilu.h::ILU_NEAREST" ref="cda1839073fc34b53756d186618d0e86" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_NEAREST</b> 0x2601</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e35d372df13b18bad3e50362e1d9ee8b"></a><!-- doxytag: member="ilu.h::ILU_LINEAR" ref="e35d372df13b18bad3e50362e1d9ee8b" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_LINEAR</b> 0x2602</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6b10d4679c5f1861af624ede4151019b"></a><!-- doxytag: member="ilu.h::ILU_BILINEAR" ref="6b10d4679c5f1861af624ede4151019b" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_BILINEAR</b> 0x2603</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="035adbc49df2e444e26362c2aab83e89"></a><!-- doxytag: member="ilu.h::ILU_SCALE_BOX" ref="035adbc49df2e444e26362c2aab83e89" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_SCALE_BOX</b> 0x2604</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4b1d7667102f9321a8efbdcc01fc4512"></a><!-- doxytag: member="ilu.h::ILU_SCALE_TRIANGLE" ref="4b1d7667102f9321a8efbdcc01fc4512" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_SCALE_TRIANGLE</b> 0x2605</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c8046224aa296fbcaa02bd4b3d2b61d7"></a><!-- doxytag: member="ilu.h::ILU_SCALE_BELL" ref="c8046224aa296fbcaa02bd4b3d2b61d7" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_SCALE_BELL</b> 0x2606</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d5960c87c75291c674fb123b7d5bd0b1"></a><!-- doxytag: member="ilu.h::ILU_SCALE_BSPLINE" ref="d5960c87c75291c674fb123b7d5bd0b1" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_SCALE_BSPLINE</b> 0x2607</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="78f38617f75fa3988523fd6d3b20de55"></a><!-- doxytag: member="ilu.h::ILU_SCALE_LANCZOS3" ref="78f38617f75fa3988523fd6d3b20de55" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_SCALE_LANCZOS3</b> 0x2608</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="51d6a13b4be1be3f29925a118f48b06c"></a><!-- doxytag: member="ilu.h::ILU_SCALE_MITCHELL" ref="51d6a13b4be1be3f29925a118f48b06c" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_SCALE_MITCHELL</b> 0x2609</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0f39c0540a3e196b8fe0977b58e2b140"></a><!-- doxytag: member="ilu.h::ILU_INVALID_ENUM" ref="0f39c0540a3e196b8fe0977b58e2b140" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_INVALID_ENUM</b> 0x0501</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f48796c72dfeff8abaa713a951e2fd1f"></a><!-- doxytag: member="ilu.h::ILU_OUT_OF_MEMORY" ref="f48796c72dfeff8abaa713a951e2fd1f" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_OUT_OF_MEMORY</b> 0x0502</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2b63cd619c052be7cf171fff0c4b80d6"></a><!-- doxytag: member="ilu.h::ILU_INTERNAL_ERROR" ref="2b63cd619c052be7cf171fff0c4b80d6" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_INTERNAL_ERROR</b> 0x0504</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aade57b09263a8ed88823bb06b8881f8"></a><!-- doxytag: member="ilu.h::ILU_INVALID_VALUE" ref="aade57b09263a8ed88823bb06b8881f8" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_INVALID_VALUE</b> 0x0505</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9754924778f8fa991df2e9671e77188e"></a><!-- doxytag: member="ilu.h::ILU_ILLEGAL_OPERATION" ref="9754924778f8fa991df2e9671e77188e" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_ILLEGAL_OPERATION</b> 0x0506</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4bad46dfd8598912bb2c28a4bd6e73ec"></a><!-- doxytag: member="ilu.h::ILU_INVALID_PARAM" ref="4bad46dfd8598912bb2c28a4bd6e73ec" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_INVALID_PARAM</b> 0x0509</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="31f8e3e1ac5e937360249843a3ff213d"></a><!-- doxytag: member="ilu.h::ILU_PLACEMENT" ref="31f8e3e1ac5e937360249843a3ff213d" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_PLACEMENT</b> 0x0700</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="10464c56f3a11e323d77731575b734c9"></a><!-- doxytag: member="ilu.h::ILU_LOWER_LEFT" ref="10464c56f3a11e323d77731575b734c9" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_LOWER_LEFT</b> 0x0701</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6d8c6f4f1c13b3e97c91b8812d7fc8e7"></a><!-- doxytag: member="ilu.h::ILU_LOWER_RIGHT" ref="6d8c6f4f1c13b3e97c91b8812d7fc8e7" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_LOWER_RIGHT</b> 0x0702</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7be3bbc8cad9c3686ebc87855d54ff3b"></a><!-- doxytag: member="ilu.h::ILU_UPPER_LEFT" ref="7be3bbc8cad9c3686ebc87855d54ff3b" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_UPPER_LEFT</b> 0x0703</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="451961767b83e0794cb4d9a2bfa81b46"></a><!-- doxytag: member="ilu.h::ILU_UPPER_RIGHT" ref="451961767b83e0794cb4d9a2bfa81b46" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_UPPER_RIGHT</b> 0x0704</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aac17201b942f22e53b902ccd3fa9552"></a><!-- doxytag: member="ilu.h::ILU_CENTER" ref="aac17201b942f22e53b902ccd3fa9552" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_CENTER</b> 0x0705</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f88398e1553de0f46570e37bbebd3562"></a><!-- doxytag: member="ilu.h::ILU_CONVOLUTION_MATRIX" ref="f88398e1553de0f46570e37bbebd3562" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_CONVOLUTION_MATRIX</b> 0x0710</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b051012a164e23e09375bbd66e3995a6"></a><!-- doxytag: member="ilu.h::ILU_VERSION_NUM" ref="b051012a164e23e09375bbd66e3995a6" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_VERSION_NUM</b> IL_VERSION_NUM</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b9462c3f76a72f7878d741e604a3820a"></a><!-- doxytag: member="ilu.h::ILU_VENDOR" ref="b9462c3f76a72f7878d741e604a3820a" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_VENDOR</b> IL_VENDOR</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1377827295eb7d59b8963bd4d82f72d"></a><!-- doxytag: member="ilu.h::ILU_ENGLISH" ref="a1377827295eb7d59b8963bd4d82f72d" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_ENGLISH</b> 0x0800</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9b7bf06469b39d7a4365cb405891ed98"></a><!-- doxytag: member="ilu.h::ILU_ARABIC" ref="9b7bf06469b39d7a4365cb405891ed98" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_ARABIC</b> 0x0801</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7eca83548bcddf19792ae5653684b775"></a><!-- doxytag: member="ilu.h::ILU_DUTCH" ref="7eca83548bcddf19792ae5653684b775" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_DUTCH</b> 0x0802</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="659f8ec6d0e155e01e1294397bfd078e"></a><!-- doxytag: member="ilu.h::ILU_JAPANESE" ref="659f8ec6d0e155e01e1294397bfd078e" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_JAPANESE</b> 0x0803</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ecaaa06cc4b5476262ef3c676d445acc"></a><!-- doxytag: member="ilu.h::ILU_SPANISH" ref="ecaaa06cc4b5476262ef3c676d445acc" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_SPANISH</b> 0x0804</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6ad94ba34d67aa1df0ad265e39684a15"></a><!-- doxytag: member="ilu.h::ILU_GERMAN" ref="6ad94ba34d67aa1df0ad265e39684a15" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_GERMAN</b> 0x0805</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bb43b2a3a6a9bc21c62816dfddc99712"></a><!-- doxytag: member="ilu.h::ILU_FRENCH" ref="bb43b2a3a6a9bc21c62816dfddc99712" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILU_FRENCH</b> 0x0806</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a389076d0ee26e202a2936f24bf3064"></a><!-- doxytag: member="ilu.h::iluColorsUsed" ref="0a389076d0ee26e202a2936f24bf3064" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>iluColorsUsed</b> iluColoursUsed</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9cb7945597df7ba0805b636098d9c99a"></a><!-- doxytag: member="ilu.h::iluSwapColors" ref="9cb7945597df7ba0805b636098d9c99a" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>iluSwapColors</b> iluSwapColours</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c6dc544853bc3901b963db66916bd989"></a><!-- doxytag: member="ilu.h::iluReplaceColor" ref="c6dc544853bc3901b963db66916bd989" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>iluReplaceColor</b> iluReplaceColour</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5feef179c31b31a1f931a4e9af64a4b7"></a><!-- doxytag: member="ilu.h::iluScaleColor" ref="5feef179c31b31a1f931a4e9af64a4b7" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>iluScaleColor</b> iluScaleColour</td></tr>
|
||||
|
||||
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="70fe0b8a1bae5e21961e05a53be20cd1"></a><!-- doxytag: member="ilu.h::iluAlienify" ref="70fe0b8a1bae5e21961e05a53be20cd1" args="(void)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><a class="el" href="ilu_8h.html#70fe0b8a1bae5e21961e05a53be20cd1">iluAlienify</a> (void)</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Funny as hell filter that I stumbled upon accidentally. <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4166edba620d5cb667e0a496e301eb45"></a><!-- doxytag: member="ilu.h::iluBlurAvg" ref="4166edba620d5cb667e0a496e301eb45" args="(ILuint Iter)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluBlurAvg</b> (ILuint Iter)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0b3b3e619e8107081c9398c2f6849b30"></a><!-- doxytag: member="ilu.h::iluBlurGaussian" ref="0b3b3e619e8107081c9398c2f6849b30" args="(ILuint Iter)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluBlurGaussian</b> (ILuint Iter)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0f39f28b597e5365a4dfea8474e111d6"></a><!-- doxytag: member="ilu.h::iluBuildMipmaps" ref="0f39f28b597e5365a4dfea8474e111d6" args="(void)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluBuildMipmaps</b> (void)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4206af44a14302abcd5948d8f1db7dc0"></a><!-- doxytag: member="ilu.h::iluColoursUsed" ref="4206af44a14302abcd5948d8f1db7dc0" args="(void)" -->
|
||||
ILAPI ILuint ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluColoursUsed</b> (void)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c42b46801e4c9832ccfd8ae6bf8f601e"></a><!-- doxytag: member="ilu.h::iluCompareImage" ref="c42b46801e4c9832ccfd8ae6bf8f601e" args="(ILuint Comp)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluCompareImage</b> (ILuint Comp)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="31c10a6fc7ef7cb771af9e5366541f9d"></a><!-- doxytag: member="ilu.h::iluContrast" ref="31c10a6fc7ef7cb771af9e5366541f9d" args="(ILfloat Contrast)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluContrast</b> (ILfloat Contrast)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="59adee04d96fcf96e3c917da2d96cd02"></a><!-- doxytag: member="ilu.h::iluCrop" ref="59adee04d96fcf96e3c917da2d96cd02" args="(ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluCrop</b> (ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c24e0e349c627117823b5601d0bce7b4"></a><!-- doxytag: member="ilu.h::iluDeleteImage" ref="c24e0e349c627117823b5601d0bce7b4" args="(ILuint Id)" -->
|
||||
ILAPI void ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluDeleteImage</b> (ILuint Id)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2ee4769fcc898598231491fda870dab6"></a><!-- doxytag: member="ilu.h::iluEdgeDetectE" ref="2ee4769fcc898598231491fda870dab6" args="(void)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluEdgeDetectE</b> (void)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8548aa01f2c98e65647dd25e2d3b0417"></a><!-- doxytag: member="ilu.h::iluEdgeDetectP" ref="8548aa01f2c98e65647dd25e2d3b0417" args="(void)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluEdgeDetectP</b> (void)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb32181d77e579e67aef048073c2bafc"></a><!-- doxytag: member="ilu.h::iluEdgeDetectS" ref="eb32181d77e579e67aef048073c2bafc" args="(void)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluEdgeDetectS</b> (void)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="01618e1b0796f5754c974ec222250206"></a><!-- doxytag: member="ilu.h::iluEmboss" ref="01618e1b0796f5754c974ec222250206" args="(void)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluEmboss</b> (void)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="df96f90370765335874084eee3ff370e"></a><!-- doxytag: member="ilu.h::iluEnlargeCanvas" ref="df96f90370765335874084eee3ff370e" args="(ILuint Width, ILuint Height, ILuint Depth)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><a class="el" href="ilu_8h.html#df96f90370765335874084eee3ff370e">iluEnlargeCanvas</a> (ILuint Width, ILuint Height, ILuint Depth)</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Enlarges the canvas. <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="beaca518394c4ed5cf45f92655a9cf90"></a><!-- doxytag: member="ilu.h::iluEnlargeImage" ref="beaca518394c4ed5cf45f92655a9cf90" args="(ILfloat XDim, ILfloat YDim, ILfloat ZDim)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluEnlargeImage</b> (ILfloat XDim, ILfloat YDim, ILfloat ZDim)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f642c3b70bf03cf71878240bdcd5302c"></a><!-- doxytag: member="ilu.h::iluEqualize" ref="f642c3b70bf03cf71878240bdcd5302c" args="(void)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluEqualize</b> (void)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af36a1230a91987d0a3b2e9220d61468"></a><!-- doxytag: member="ilu.h::iluErrorString" ref="af36a1230a91987d0a3b2e9220d61468" args="(ILenum Error)" -->
|
||||
ILAPI ILconst_string ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluErrorString</b> (ILenum Error)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb5bb85ceb172bd9742f7f0730a1d440"></a><!-- doxytag: member="ilu.h::iluConvolution" ref="eb5bb85ceb172bd9742f7f0730a1d440" args="(ILint *matrix, ILint scale, ILint bias)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluConvolution</b> (ILint *matrix, ILint scale, ILint bias)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bddcc5fa1efd75444164d0d55ceee3ee"></a><!-- doxytag: member="ilu.h::iluFlipImage" ref="bddcc5fa1efd75444164d0d55ceee3ee" args="(void)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><a class="el" href="ilu_8h.html#bddcc5fa1efd75444164d0d55ceee3ee">iluFlipImage</a> (void)</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Flips an image over its x axis. <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="db86757410111086d217078506c018d5"></a><!-- doxytag: member="ilu.h::iluGammaCorrect" ref="db86757410111086d217078506c018d5" args="(ILfloat Gamma)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluGammaCorrect</b> (ILfloat Gamma)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="055322db876d6f9679ee7f7314cbcfe4"></a><!-- doxytag: member="ilu.h::iluGenImage" ref="055322db876d6f9679ee7f7314cbcfe4" args="(void)" -->
|
||||
ILAPI ILuint ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluGenImage</b> (void)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="efb71b5edf7e9c0ecb23252678fa83da"></a><!-- doxytag: member="ilu.h::iluGetImageInfo" ref="efb71b5edf7e9c0ecb23252678fa83da" args="(ILinfo *Info)" -->
|
||||
ILAPI void ILAPIENTRY </td><td class="memItemRight" valign="bottom"><a class="el" href="ilu_8h.html#efb71b5edf7e9c0ecb23252678fa83da">iluGetImageInfo</a> (ILinfo *Info)</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves information about the current bound image. <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="712ccc206c2c816945f47ac90e7e7bbf"></a><!-- doxytag: member="ilu.h::iluGetInteger" ref="712ccc206c2c816945f47ac90e7e7bbf" args="(ILenum Mode)" -->
|
||||
ILAPI ILint ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluGetInteger</b> (ILenum Mode)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="14461fead59674eeff0a28864683d162"></a><!-- doxytag: member="ilu.h::iluGetIntegerv" ref="14461fead59674eeff0a28864683d162" args="(ILenum Mode, ILint *Param)" -->
|
||||
ILAPI void ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluGetIntegerv</b> (ILenum Mode, ILint *Param)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="de49384bacffd41f0dbe21f7c5494ea6"></a><!-- doxytag: member="ilu.h::iluGetString" ref="de49384bacffd41f0dbe21f7c5494ea6" args="(ILenum StringName)" -->
|
||||
ILAPI ILstring ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluGetString</b> (ILenum StringName)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f1a46cf2e1d812d51be18c3ef351ecd4"></a><!-- doxytag: member="ilu.h::iluImageParameter" ref="f1a46cf2e1d812d51be18c3ef351ecd4" args="(ILenum PName, ILenum Param)" -->
|
||||
ILAPI void ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluImageParameter</b> (ILenum PName, ILenum Param)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="16e7499605f4c0d48e6689cc58144e5b"></a><!-- doxytag: member="ilu.h::iluInit" ref="16e7499605f4c0d48e6689cc58144e5b" args="(void)" -->
|
||||
ILAPI void ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluInit</b> (void)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ffd9d3ec68b9e7db3dd1297b31b327da"></a><!-- doxytag: member="ilu.h::iluInvertAlpha" ref="ffd9d3ec68b9e7db3dd1297b31b327da" args="(void)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><a class="el" href="ilu_8h.html#ffd9d3ec68b9e7db3dd1297b31b327da">iluInvertAlpha</a> (void)</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Inverts the alpha in the image. <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b843841a789db947061245d4d35ee6dc"></a><!-- doxytag: member="ilu.h::iluLoadImage" ref="b843841a789db947061245d4d35ee6dc" args="(ILconst_string FileName)" -->
|
||||
ILAPI ILuint ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluLoadImage</b> (ILconst_string FileName)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="03db91501944c334d48e897e9e3b15d8"></a><!-- doxytag: member="ilu.h::iluMirror" ref="03db91501944c334d48e897e9e3b15d8" args="(void)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><a class="el" href="ilu_8h.html#03db91501944c334d48e897e9e3b15d8">iluMirror</a> (void)</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Mirrors an image over its y axis. <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="15c05e56498b20189ab580dd120dccb3"></a><!-- doxytag: member="ilu.h::iluNegative" ref="15c05e56498b20189ab580dd120dccb3" args="(void)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><a class="el" href="ilu_8h.html#15c05e56498b20189ab580dd120dccb3">iluNegative</a> (void)</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Inverts the colours in the image. <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f9359237eb029939b115444bce738aff"></a><!-- doxytag: member="ilu.h::iluNoisify" ref="f9359237eb029939b115444bce738aff" args="(ILclampf Tolerance)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluNoisify</b> (ILclampf Tolerance)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="69f567249abb33071da9b93abd6de427"></a><!-- doxytag: member="ilu.h::iluPixelize" ref="69f567249abb33071da9b93abd6de427" args="(ILuint PixSize)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><a class="el" href="ilu_8h.html#69f567249abb33071da9b93abd6de427">iluPixelize</a> (ILuint PixSize)</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Pixelizes an image. <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="73668bc59f11c4821393d3a44df1be68"></a><!-- doxytag: member="ilu.h::iluRegionfv" ref="73668bc59f11c4821393d3a44df1be68" args="(ILpointf *Points, ILuint n)" -->
|
||||
ILAPI void ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluRegionfv</b> (ILpointf *Points, ILuint n)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6ea69978cded983cc21490a60a12f77f"></a><!-- doxytag: member="ilu.h::iluRegioniv" ref="6ea69978cded983cc21490a60a12f77f" args="(ILpointi *Points, ILuint n)" -->
|
||||
ILAPI void ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluRegioniv</b> (ILpointi *Points, ILuint n)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f7ce7633f540b3ed89730200b9d24cb5"></a><!-- doxytag: member="ilu.h::iluReplaceColour" ref="f7ce7633f540b3ed89730200b9d24cb5" args="(ILubyte Red, ILubyte Green, ILubyte Blue, ILfloat Tolerance)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluReplaceColour</b> (ILubyte Red, ILubyte Green, ILubyte Blue, ILfloat Tolerance)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="69af227797290ccd7bb34927855a5fe5"></a><!-- doxytag: member="ilu.h::iluRotate" ref="69af227797290ccd7bb34927855a5fe5" args="(ILfloat Angle)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluRotate</b> (ILfloat Angle)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0e502eabdd7109d9c281c5b05279bf9c"></a><!-- doxytag: member="ilu.h::iluRotate3D" ref="0e502eabdd7109d9c281c5b05279bf9c" args="(ILfloat x, ILfloat y, ILfloat z, ILfloat Angle)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluRotate3D</b> (ILfloat x, ILfloat y, ILfloat z, ILfloat Angle)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8698a68186b3d313bb0fc74319683bd0"></a><!-- doxytag: member="ilu.h::iluSaturate1f" ref="8698a68186b3d313bb0fc74319683bd0" args="(ILfloat Saturation)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluSaturate1f</b> (ILfloat Saturation)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dde31e43e1460359cd2b51e8510888c5"></a><!-- doxytag: member="ilu.h::iluSaturate4f" ref="dde31e43e1460359cd2b51e8510888c5" args="(ILfloat r, ILfloat g, ILfloat b, ILfloat Saturation)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluSaturate4f</b> (ILfloat r, ILfloat g, ILfloat b, ILfloat Saturation)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="47880e7f7b7de06fc49fc91137df93f8"></a><!-- doxytag: member="ilu.h::iluScale" ref="47880e7f7b7de06fc49fc91137df93f8" args="(ILuint Width, ILuint Height, ILuint Depth)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluScale</b> (ILuint Width, ILuint Height, ILuint Depth)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c2452b04f15fc457f7f75b016f3ca77b"></a><!-- doxytag: member="ilu.h::iluScaleAlpha" ref="c2452b04f15fc457f7f75b016f3ca77b" args="(ILfloat scale)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluScaleAlpha</b> (ILfloat scale)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="68e80cd1f8141a8687510b48fbe935fa"></a><!-- doxytag: member="ilu.h::iluScaleColours" ref="68e80cd1f8141a8687510b48fbe935fa" args="(ILfloat r, ILfloat g, ILfloat b)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><a class="el" href="ilu_8h.html#68e80cd1f8141a8687510b48fbe935fa">iluScaleColours</a> (ILfloat r, ILfloat g, ILfloat b)</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Scales image colours. <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5bc56b65c2262df5748a2848e34f90d2"></a><!-- doxytag: member="ilu.h::iluSetLanguage" ref="5bc56b65c2262df5748a2848e34f90d2" args="(ILenum Language)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluSetLanguage</b> (ILenum Language)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fdac2b81a42fec7eb7197c2b54a20a9d"></a><!-- doxytag: member="ilu.h::iluSharpen" ref="fdac2b81a42fec7eb7197c2b54a20a9d" args="(ILfloat Factor, ILuint Iter)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluSharpen</b> (ILfloat Factor, ILuint Iter)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1ad019048c0196813927f77c7f5079da"></a><!-- doxytag: member="ilu.h::iluSwapColours" ref="1ad019048c0196813927f77c7f5079da" args="(void)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluSwapColours</b> (void)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b7503da5525d5f10edcb0f2caed5c51d"></a><!-- doxytag: member="ilu.h::iluWave" ref="b7503da5525d5f10edcb0f2caed5c51d" args="(ILfloat Angle)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>iluWave</b> (ILfloat Angle)</td></tr>
|
||||
|
||||
</table>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
The main include file for ILU </div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,48 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-ILU/include/ilu_alloc.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-ILU/include/ilu_alloc.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef ALLOC_H</span>
|
||||
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define ALLOC_H</span>
|
||||
<a name="l00003"></a>00003 <span class="preprocessor"></span>
|
||||
<a name="l00004"></a>00004 <span class="preprocessor">#if defined(_WIN32) && defined(_MEM_DEBUG)</span>
|
||||
<a name="l00005"></a>00005 <span class="preprocessor"></span> <span class="keywordtype">void</span> *c_alloc(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> size, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> num, <span class="keyword">const</span> <span class="keywordtype">char</span> *file, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> line);
|
||||
<a name="l00006"></a>00006 <span class="keywordtype">void</span> *m_alloc(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> size, <span class="keyword">const</span> <span class="keywordtype">char</span> *file, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> line);
|
||||
<a name="l00007"></a>00007 <span class="keywordtype">void</span> f_ree(<span class="keywordtype">void</span> *ptr);
|
||||
<a name="l00008"></a>00008
|
||||
<a name="l00009"></a>00009 <span class="preprocessor"> #ifdef malloc</span>
|
||||
<a name="l00010"></a>00010 <span class="preprocessor"></span><span class="preprocessor"> #undef malloc</span>
|
||||
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00012"></a>00012 <span class="preprocessor"></span>
|
||||
<a name="l00013"></a>00013 <span class="preprocessor"> #ifdef calloc</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor"> #undef calloc</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor"> #ifdef free</span>
|
||||
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor"> #undef free</span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span>
|
||||
<a name="l00021"></a>00021
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"> #define malloc(size) m_alloc(size, __FILE__, __LINE__)</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor"> #define calloc(size, num) c_alloc(size, num, __FILE__, __LINE__)</span>
|
||||
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor"> #define free(addr) f_ree(addr)</span>
|
||||
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#endif//defined(_WIN32) && defined(_MEM_DEBUG)</span>
|
||||
<a name="l00026"></a>00026 <span class="preprocessor"></span>
|
||||
<a name="l00027"></a>00027 <span class="preprocessor">#endif//ALLOC_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,102 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-ILU/include/ilu_filter.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-ILU/include/ilu_filter.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Utility Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/28/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-ILU/include/ilu_filter.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Applies filters to an image.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef FILTER_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define FILTER_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#include "ilu_internal.h"</span>
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019
|
||||
<a name="l00020"></a>00020 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_average_scale = 9;
|
||||
<a name="l00021"></a>00021 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_average_bias = 1;
|
||||
<a name="l00022"></a>00022 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_average[] =
|
||||
<a name="l00023"></a>00023 { 1, 1, 1,
|
||||
<a name="l00024"></a>00024 1, 1, 1,
|
||||
<a name="l00025"></a>00025 1, 1, 1 };
|
||||
<a name="l00026"></a>00026
|
||||
<a name="l00027"></a>00027
|
||||
<a name="l00028"></a>00028 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_gaussian_scale = 16;
|
||||
<a name="l00029"></a>00029 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_gaussian_bias = 1;
|
||||
<a name="l00030"></a>00030 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_gaussian[] =
|
||||
<a name="l00031"></a>00031 { 1, 2, 1,
|
||||
<a name="l00032"></a>00032 2, 4, 2,
|
||||
<a name="l00033"></a>00033 1, 2, 1 };
|
||||
<a name="l00034"></a>00034
|
||||
<a name="l00035"></a>00035
|
||||
<a name="l00036"></a>00036 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_h_sobel_scale = 1;
|
||||
<a name="l00037"></a>00037 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_h_sobel_bias = 0;
|
||||
<a name="l00038"></a>00038 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_h_sobel[] =
|
||||
<a name="l00039"></a>00039 { 1, 2, 1,
|
||||
<a name="l00040"></a>00040 0, 0, 0,
|
||||
<a name="l00041"></a>00041 -1, -2, -1 };
|
||||
<a name="l00042"></a>00042
|
||||
<a name="l00043"></a>00043
|
||||
<a name="l00044"></a>00044 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_v_sobel_scale = 1;
|
||||
<a name="l00045"></a>00045 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_v_sobel_bias = 0;
|
||||
<a name="l00046"></a>00046 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_v_sobel[] =
|
||||
<a name="l00047"></a>00047 { 1, 0, -1,
|
||||
<a name="l00048"></a>00048 2, 0, -2,
|
||||
<a name="l00049"></a>00049 1, 0, -1 };
|
||||
<a name="l00050"></a>00050
|
||||
<a name="l00051"></a>00051
|
||||
<a name="l00052"></a>00052 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_h_prewitt_scale = 1;
|
||||
<a name="l00053"></a>00053 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_h_prewitt_bias = 0;
|
||||
<a name="l00054"></a>00054 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_h_prewitt[] =
|
||||
<a name="l00055"></a>00055 { 1, 1, 1,
|
||||
<a name="l00056"></a>00056 0, 0, 0,
|
||||
<a name="l00057"></a>00057 -1, -1, -1 };
|
||||
<a name="l00058"></a>00058
|
||||
<a name="l00059"></a>00059
|
||||
<a name="l00060"></a>00060 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_v_prewitt_scale = 1;
|
||||
<a name="l00061"></a>00061 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_v_prewitt_bias = 0;
|
||||
<a name="l00062"></a>00062 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_v_prewitt[] =
|
||||
<a name="l00063"></a>00063 { 1, 0, -1,
|
||||
<a name="l00064"></a>00064 1, 0, -1,
|
||||
<a name="l00065"></a>00065 1, 0, -1 };
|
||||
<a name="l00066"></a>00066
|
||||
<a name="l00067"></a>00067 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_emboss_scale = 1;
|
||||
<a name="l00068"></a>00068 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_emboss_bias = 128;
|
||||
<a name="l00069"></a>00069 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_emboss[] =
|
||||
<a name="l00070"></a>00070 { -1, 0, 1,
|
||||
<a name="l00071"></a>00071 -1, 0, 1,
|
||||
<a name="l00072"></a>00072 -1, 0, 1 };
|
||||
<a name="l00073"></a>00073
|
||||
<a name="l00074"></a>00074 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_embossedge_scale = 1;
|
||||
<a name="l00075"></a>00075 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_embossedge_bias = 0;
|
||||
<a name="l00076"></a>00076 <span class="keyword">static</span> <span class="keyword">const</span> ILint filter_embossedge[] =
|
||||
<a name="l00077"></a>00077 { -1, 0, 1,
|
||||
<a name="l00078"></a>00078 -1, 0, 1,
|
||||
<a name="l00079"></a>00079 -1, 0, 1 };
|
||||
<a name="l00080"></a>00080
|
||||
<a name="l00081"></a>00081 <span class="preprocessor">#endif//FILTER_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,121 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-ILU/include/ilu_internal.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-ILU/include/ilu_internal.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
|
||||
<a name="l00002"></a>00002 <span class="preprocessor">#ifndef INTERNAL_H</span>
|
||||
<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#define INTERNAL_H</span>
|
||||
<a name="l00004"></a>00004 <span class="preprocessor"></span>
|
||||
<a name="l00005"></a>00005 <span class="preprocessor">#include <string.h></span>
|
||||
<a name="l00006"></a>00006
|
||||
<a name="l00007"></a>00007 <span class="preprocessor">#ifdef _MSC_VER</span>
|
||||
<a name="l00008"></a>00008 <span class="preprocessor"></span><span class="preprocessor"> #if _MSC_VER > 1000</span>
|
||||
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor"> #pragma once</span>
|
||||
<a name="l00010"></a>00010 <span class="preprocessor"></span><span class="preprocessor"> #pragma intrinsic(memcpy)</span>
|
||||
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor"> #pragma intrinsic(memset)</span>
|
||||
<a name="l00012"></a>00012 <span class="preprocessor"></span> <span class="comment">//pragma comment(linker, "/NODEFAULTLIB:libc")</span>
|
||||
<a name="l00013"></a>00013 <span class="preprocessor"> #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"> #ifdef _DEBUG </span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span><span class="preprocessor"> #define _CRTDBG_MAP_ALLOC</span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor"> #include <stdlib.h></span>
|
||||
<a name="l00018"></a>00018 <span class="preprocessor"> #ifndef _WIN32_WCE</span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor"> #include <crtdbg.h></span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"> #endif</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor"> #endif // _MSC_VER > 1000</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00024"></a>00024 <span class="preprocessor"></span>
|
||||
<a name="l00025"></a>00025 <span class="preprocessor">#define _IL_BUILD_LIBRARY</span>
|
||||
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#define _ILU_BUILD_LIBRARY</span>
|
||||
<a name="l00027"></a>00027 <span class="preprocessor"></span>
|
||||
<a name="l00028"></a>00028 <span class="comment">// Standard headers</span>
|
||||
<a name="l00029"></a>00029 <span class="preprocessor">#include <stdlib.h></span>
|
||||
<a name="l00030"></a>00030 <span class="preprocessor">#include <stdio.h></span>
|
||||
<a name="l00031"></a>00031 <span class="preprocessor">#include <math.h></span>
|
||||
<a name="l00032"></a>00032 <span class="preprocessor">#include <string.h></span>
|
||||
<a name="l00033"></a>00033
|
||||
<a name="l00034"></a>00034 <span class="comment">// Local headers</span>
|
||||
<a name="l00035"></a>00035 <span class="preprocessor">#define _IL_BUILD_LIBRARY</span>
|
||||
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#define _ILU_BUILD_LIBRARY</span>
|
||||
<a name="l00037"></a>00037 <span class="preprocessor"></span>
|
||||
<a name="l00038"></a>00038 <span class="preprocessor">#ifdef HAVE_CONFIG_H //if we use autotools, we have HAVE_CONFIG_H defined and we have to look for it like that</span>
|
||||
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor">#include <config.h></span>
|
||||
<a name="l00040"></a>00040 <span class="preprocessor">#else // if we don't use autotools, we have to point to (possibly different) config.h than in the opposite case</span>
|
||||
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#include <IL/config.h></span>
|
||||
<a name="l00042"></a>00042 <span class="preprocessor">#endif</span>
|
||||
<a name="l00043"></a>00043 <span class="preprocessor"></span>
|
||||
<a name="l00044"></a>00044 <span class="preprocessor">#include <<a class="code" href="ilu_8h.html">IL/ilu.h</a>></span>
|
||||
<a name="l00045"></a>00045 <span class="preprocessor">#include <IL/devil_internal_exports.h></span>
|
||||
<a name="l00046"></a>00046
|
||||
<a name="l00047"></a>00047
|
||||
<a name="l00048"></a>00048 <span class="comment">// From DevIL's internal.h:</span>
|
||||
<a name="l00049"></a>00049 <span class="preprocessor">#ifdef _WIN32_WCE</span>
|
||||
<a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor"> #include <windows.h></span>
|
||||
<a name="l00051"></a>00051 <span class="preprocessor"> #define IL_TEXT(s) ((char*)TEXT(s))</span>
|
||||
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#elif _WIN32</span>
|
||||
<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor"> #include <windows.h></span>
|
||||
<a name="l00054"></a>00054 <span class="preprocessor"> #define IL_TEXT(s) TEXT(s)</span>
|
||||
<a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor"> #define IL_TEXT(s) s</span>
|
||||
<a name="l00057"></a>00057 <span class="preprocessor"></span><span class="preprocessor"> #define TEXT(s) s</span>
|
||||
<a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00059"></a>00059 <span class="preprocessor"></span>
|
||||
<a name="l00060"></a>00060 <span class="keyword">extern</span> <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *iluCurImage;
|
||||
<a name="l00061"></a>00061
|
||||
<a name="l00062"></a>00062
|
||||
<a name="l00063"></a>00063 <span class="comment">// Useful global variables</span>
|
||||
<a name="l00064"></a>00064 <span class="keyword">extern</span> <span class="keyword">const</span> ILdouble IL_PI;
|
||||
<a name="l00065"></a>00065 <span class="keyword">extern</span> <span class="keyword">const</span> ILdouble IL_DEGCONV;
|
||||
<a name="l00066"></a>00066
|
||||
<a name="l00067"></a>00067
|
||||
<a name="l00068"></a>00068 <span class="preprocessor">#ifdef ILU_INTERNAL_C</span>
|
||||
<a name="l00069"></a>00069 <span class="preprocessor"></span><span class="preprocessor">#undef NOINLINE</span>
|
||||
<a name="l00070"></a>00070 <span class="preprocessor"></span><span class="preprocessor">#undef INLINE</span>
|
||||
<a name="l00071"></a>00071 <span class="preprocessor"></span><span class="preprocessor">#define INLINE</span>
|
||||
<a name="l00072"></a>00072 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00073"></a>00073 <span class="preprocessor"></span>
|
||||
<a name="l00074"></a>00074 <span class="comment">// Internal functions</span>
|
||||
<a name="l00075"></a>00075 ILfloat ilCos(ILfloat Angle);
|
||||
<a name="l00076"></a>00076 ILfloat ilSin(ILfloat Angle);
|
||||
<a name="l00077"></a>00077 ILint ilRound(ILfloat Num);
|
||||
<a name="l00078"></a>00078
|
||||
<a name="l00079"></a>00079 <span class="preprocessor">#ifndef NOINLINE</span>
|
||||
<a name="l00080"></a>00080 <span class="preprocessor"></span>INLINE ILfloat ilCos(ILfloat Angle) {
|
||||
<a name="l00081"></a>00081 <span class="keywordflow">return</span> (ILfloat)(cos(Angle * IL_DEGCONV));
|
||||
<a name="l00082"></a>00082 }
|
||||
<a name="l00083"></a>00083
|
||||
<a name="l00084"></a>00084 INLINE ILfloat ilSin(ILfloat Angle) {
|
||||
<a name="l00085"></a>00085 <span class="keywordflow">return</span> (ILfloat)(sin(Angle * IL_DEGCONV));
|
||||
<a name="l00086"></a>00086 }
|
||||
<a name="l00087"></a>00087
|
||||
<a name="l00088"></a>00088
|
||||
<a name="l00089"></a>00089 INLINE ILint ilRound(ILfloat Num) {
|
||||
<a name="l00090"></a>00090 <span class="keywordflow">return</span> (ILint)(Num + 0.5); <span class="comment">// this is truncating in away-from-0, not rounding</span>
|
||||
<a name="l00091"></a>00091 }
|
||||
<a name="l00092"></a>00092 <span class="preprocessor">#endif</span>
|
||||
<a name="l00093"></a>00093 <span class="preprocessor"></span>
|
||||
<a name="l00094"></a>00094
|
||||
<a name="l00095"></a>00095
|
||||
<a name="l00096"></a>00096 ILuint iluScaleAdvanced(ILuint Width, ILuint Height, ILenum Filter);
|
||||
<a name="l00097"></a>00097 ILubyte *iScanFill(<span class="keywordtype">void</span>);
|
||||
<a name="l00098"></a>00098
|
||||
<a name="l00099"></a>00099
|
||||
<a name="l00100"></a>00100 <span class="preprocessor">#endif//INTERNAL_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-ILU/include/ilu_states.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-ILU/include/ilu_states.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Utility Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/28/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-ILU/include/ilu_states.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: The state machine</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef STATES_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define STATES_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="keyword">extern</span> ILenum iluFilter;
|
||||
<a name="l00018"></a>00018 <span class="keyword">extern</span> ILenum iluPlacement;
|
||||
<a name="l00019"></a>00019
|
||||
<a name="l00020"></a>00020 <span class="preprocessor">#endif//STATES_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,405 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/include/IL/ilut.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/include/IL/ilut.h</h1><a href="ilut_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Utility Toolkit Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2009 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 03/07/2009</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: IL/ilut.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: The main include file for ILUT</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="comment">// Doxygen comment</span>
|
||||
<a name="l00018"></a>00018 <span class="comment"></span><span class="preprocessor">#ifndef __ilut_h_</span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#ifndef __ILUT_H__</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor">#define __ilut_h_</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define __ILUT_H__</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span>
|
||||
<a name="l00024"></a>00024 <span class="preprocessor">#include <<a class="code" href="il_8h.html">IL/il.h</a>></span>
|
||||
<a name="l00025"></a>00025 <span class="preprocessor">#include <<a class="code" href="ilu_8h.html">IL/ilu.h</a>></span>
|
||||
<a name="l00026"></a>00026
|
||||
<a name="l00027"></a>00027
|
||||
<a name="l00028"></a>00028 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00029"></a>00029 <span class="comment">// Defines</span>
|
||||
<a name="l00030"></a>00030 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00031"></a>00031
|
||||
<a name="l00032"></a>00032 <span class="preprocessor">#define ILUT_VERSION_1_7_8 1</span>
|
||||
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_VERSION 178</span>
|
||||
<a name="l00034"></a>00034 <span class="preprocessor"></span>
|
||||
<a name="l00035"></a>00035
|
||||
<a name="l00036"></a>00036 <span class="comment">// Attribute Bits</span>
|
||||
<a name="l00037"></a>00037 <span class="preprocessor">#define ILUT_OPENGL_BIT 0x00000001</span>
|
||||
<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_D3D_BIT 0x00000002</span>
|
||||
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_ALL_ATTRIB_BITS 0x000FFFFF</span>
|
||||
<a name="l00040"></a>00040 <span class="preprocessor"></span>
|
||||
<a name="l00041"></a>00041
|
||||
<a name="l00042"></a>00042 <span class="comment">// Error Types</span>
|
||||
<a name="l00043"></a>00043 <span class="preprocessor">#define ILUT_INVALID_ENUM 0x0501</span>
|
||||
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_OUT_OF_MEMORY 0x0502</span>
|
||||
<a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_INVALID_VALUE 0x0505</span>
|
||||
<a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_ILLEGAL_OPERATION 0x0506</span>
|
||||
<a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_INVALID_PARAM 0x0509</span>
|
||||
<a name="l00048"></a>00048 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_COULD_NOT_OPEN_FILE 0x050A</span>
|
||||
<a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_STACK_OVERFLOW 0x050E</span>
|
||||
<a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_STACK_UNDERFLOW 0x050F</span>
|
||||
<a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_BAD_DIMENSIONS 0x0511</span>
|
||||
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_NOT_SUPPORTED 0x0550</span>
|
||||
<a name="l00053"></a>00053 <span class="preprocessor"></span>
|
||||
<a name="l00054"></a>00054
|
||||
<a name="l00055"></a>00055 <span class="comment">// State Definitions</span>
|
||||
<a name="l00056"></a>00056 <span class="preprocessor">#define ILUT_PALETTE_MODE 0x0600</span>
|
||||
<a name="l00057"></a>00057 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_OPENGL_CONV 0x0610</span>
|
||||
<a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_D3D_MIPLEVELS 0x0620</span>
|
||||
<a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_MAXTEX_WIDTH 0x0630</span>
|
||||
<a name="l00060"></a>00060 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_MAXTEX_HEIGHT 0x0631</span>
|
||||
<a name="l00061"></a>00061 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_MAXTEX_DEPTH 0x0632</span>
|
||||
<a name="l00062"></a>00062 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_GL_USE_S3TC 0x0634</span>
|
||||
<a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_D3D_USE_DXTC 0x0634</span>
|
||||
<a name="l00064"></a>00064 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_GL_GEN_S3TC 0x0635</span>
|
||||
<a name="l00065"></a>00065 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_D3D_GEN_DXTC 0x0635</span>
|
||||
<a name="l00066"></a>00066 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_S3TC_FORMAT 0x0705</span>
|
||||
<a name="l00067"></a>00067 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_DXTC_FORMAT 0x0705</span>
|
||||
<a name="l00068"></a>00068 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_D3D_POOL 0x0706</span>
|
||||
<a name="l00069"></a>00069 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_D3D_ALPHA_KEY_COLOR 0x0707</span>
|
||||
<a name="l00070"></a>00070 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_D3D_ALPHA_KEY_COLOUR 0x0707</span>
|
||||
<a name="l00071"></a>00071 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_FORCE_INTEGER_FORMAT 0x0636</span>
|
||||
<a name="l00072"></a>00072 <span class="preprocessor"></span>
|
||||
<a name="l00073"></a>00073 <span class="comment">//This new state does automatic texture target detection</span>
|
||||
<a name="l00074"></a>00074 <span class="comment">//if enabled. Currently, only cubemap detection is supported.</span>
|
||||
<a name="l00075"></a>00075 <span class="comment">//if the current image is no cubemap, the 2d texture is chosen.</span>
|
||||
<a name="l00076"></a>00076 <span class="preprocessor">#define ILUT_GL_AUTODETECT_TEXTURE_TARGET 0x0807</span>
|
||||
<a name="l00077"></a>00077 <span class="preprocessor"></span>
|
||||
<a name="l00078"></a>00078
|
||||
<a name="l00079"></a>00079 <span class="comment">// Values</span>
|
||||
<a name="l00080"></a>00080 <span class="preprocessor">#define ILUT_VERSION_NUM IL_VERSION_NUM</span>
|
||||
<a name="l00081"></a>00081 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_VENDOR IL_VENDOR</span>
|
||||
<a name="l00082"></a>00082 <span class="preprocessor"></span>
|
||||
<a name="l00083"></a>00083 <span class="comment">// The different rendering api's...more to be added later?</span>
|
||||
<a name="l00084"></a>00084 <span class="preprocessor">#define ILUT_OPENGL 0</span>
|
||||
<a name="l00085"></a>00085 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_ALLEGRO 1</span>
|
||||
<a name="l00086"></a>00086 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_WIN32 2</span>
|
||||
<a name="l00087"></a>00087 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_DIRECT3D8 3</span>
|
||||
<a name="l00088"></a>00088 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_DIRECT3D9 4</span>
|
||||
<a name="l00089"></a>00089 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_X11 5</span>
|
||||
<a name="l00090"></a>00090 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_DIRECT3D10 6</span>
|
||||
<a name="l00091"></a>00091 <span class="preprocessor"></span>
|
||||
<a name="l00092"></a>00092 <span class="comment">/*</span>
|
||||
<a name="l00093"></a>00093 <span class="comment">// Includes specific config</span>
|
||||
<a name="l00094"></a>00094 <span class="comment">#ifdef DJGPP</span>
|
||||
<a name="l00095"></a>00095 <span class="comment"> #define ILUT_USE_ALLEGRO</span>
|
||||
<a name="l00096"></a>00096 <span class="comment">#elif _WIN32_WCE</span>
|
||||
<a name="l00097"></a>00097 <span class="comment"> #define ILUT_USE_WIN32</span>
|
||||
<a name="l00098"></a>00098 <span class="comment">#elif _WIN32</span>
|
||||
<a name="l00099"></a>00099 <span class="comment"> //#ifdef __GNUC__ //__CYGWIN32__ (Cygwin seems to not define this with DevIL builds)</span>
|
||||
<a name="l00100"></a>00100 <span class="comment"> #define ILUT_USE_WIN32</span>
|
||||
<a name="l00101"></a>00101 <span class="comment"> #include "IL/config.h"</span>
|
||||
<a name="l00102"></a>00102 <span class="comment"></span>
|
||||
<a name="l00103"></a>00103 <span class="comment"> // Temporary fix for the SDL main() linker bug.</span>
|
||||
<a name="l00104"></a>00104 <span class="comment"> //#ifdef ILUT_USE_SDL</span>
|
||||
<a name="l00105"></a>00105 <span class="comment"> //#undef ILUT_USE_SDL</span>
|
||||
<a name="l00106"></a>00106 <span class="comment"> //#endif//ILUT_USE_SDL</span>
|
||||
<a name="l00107"></a>00107 <span class="comment"></span>
|
||||
<a name="l00108"></a>00108 <span class="comment"> //#else</span>
|
||||
<a name="l00109"></a>00109 <span class="comment"> // #define ILUT_USE_WIN32</span>
|
||||
<a name="l00110"></a>00110 <span class="comment"> // #define ILUT_USE_OPENGL</span>
|
||||
<a name="l00111"></a>00111 <span class="comment"> // #define ILUT_USE_SDL</span>
|
||||
<a name="l00112"></a>00112 <span class="comment"> // #define ILUT_USE_DIRECTX8</span>
|
||||
<a name="l00113"></a>00113 <span class="comment"> //#endif</span>
|
||||
<a name="l00114"></a>00114 <span class="comment">#elif BEOS // Don't know the #define</span>
|
||||
<a name="l00115"></a>00115 <span class="comment"> #define ILUT_USE_BEOS</span>
|
||||
<a name="l00116"></a>00116 <span class="comment"> #define ILUT_USE_OPENGL</span>
|
||||
<a name="l00117"></a>00117 <span class="comment">#elif MACOSX</span>
|
||||
<a name="l00118"></a>00118 <span class="comment"> #define ILUT_USE_OPENGL</span>
|
||||
<a name="l00119"></a>00119 <span class="comment">#else</span>
|
||||
<a name="l00120"></a>00120 <span class="comment"></span>
|
||||
<a name="l00121"></a>00121 <span class="comment"> // We are surely using a *nix so the configure script</span>
|
||||
<a name="l00122"></a>00122 <span class="comment"> // may have written the configured config.h header</span>
|
||||
<a name="l00123"></a>00123 <span class="comment"> #include "IL/config.h"</span>
|
||||
<a name="l00124"></a>00124 <span class="comment">#endif</span>
|
||||
<a name="l00125"></a>00125 <span class="comment">*/</span>
|
||||
<a name="l00126"></a>00126
|
||||
<a name="l00127"></a>00127 <span class="preprocessor">#if (defined(_WIN32) || defined(_WIN64))</span>
|
||||
<a name="l00128"></a>00128 <span class="preprocessor"></span><span class="preprocessor"> #if (defined(IL_USE_PRAGMA_LIBS)) && (!defined(_IL_BUILD_LIBRARY))</span>
|
||||
<a name="l00129"></a>00129 <span class="preprocessor"></span><span class="preprocessor"> #if defined(_MSC_VER) || defined(__BORLANDC__)</span>
|
||||
<a name="l00130"></a>00130 <span class="preprocessor"></span><span class="preprocessor"> #pragma comment(lib, "ILUT.lib")</span>
|
||||
<a name="l00131"></a>00131 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00132"></a>00132 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00133"></a>00133 <span class="preprocessor"></span>
|
||||
<a name="l00134"></a>00134 <span class="preprocessor"> #include <IL/ilut_config.h></span>
|
||||
<a name="l00135"></a>00135 <span class="preprocessor">#endif</span>
|
||||
<a name="l00136"></a>00136 <span class="preprocessor"></span>
|
||||
<a name="l00137"></a>00137
|
||||
<a name="l00138"></a>00138
|
||||
<a name="l00139"></a>00139 <span class="comment">//this should remain private and hidden</span>
|
||||
<a name="l00140"></a>00140 <span class="comment">//#include "IL/config.h" </span>
|
||||
<a name="l00141"></a>00141
|
||||
<a name="l00143"></a>00143 <span class="comment">// OpenGL</span>
|
||||
<a name="l00145"></a>00145 <span class="comment"></span>
|
||||
<a name="l00146"></a>00146 <span class="preprocessor">#ifdef ILUT_USE_OPENGL</span>
|
||||
<a name="l00147"></a>00147 <span class="preprocessor"></span><span class="preprocessor"> #if defined(_MSC_VER) || defined(_WIN32)</span>
|
||||
<a name="l00148"></a>00148 <span class="preprocessor"></span> <span class="comment">//#define WIN32_LEAN_AND_MEAN</span>
|
||||
<a name="l00149"></a>00149 <span class="preprocessor"> #include <windows.h></span>
|
||||
<a name="l00150"></a>00150 <span class="preprocessor"> #endif//_MSC_VER</span>
|
||||
<a name="l00151"></a>00151 <span class="preprocessor"></span>
|
||||
<a name="l00152"></a>00152 <span class="preprocessor"> #ifdef __APPLE__</span>
|
||||
<a name="l00153"></a>00153 <span class="preprocessor"></span><span class="preprocessor"> #include <OpenGL/gl.h></span>
|
||||
<a name="l00154"></a>00154 <span class="preprocessor"> #include <OpenGL/glu.h></span>
|
||||
<a name="l00155"></a>00155 <span class="preprocessor"> #else</span>
|
||||
<a name="l00156"></a>00156 <span class="preprocessor"></span><span class="preprocessor"> #include <GL/gl.h></span>
|
||||
<a name="l00157"></a>00157 <span class="preprocessor"> #include <GL/glu.h></span>
|
||||
<a name="l00158"></a>00158 <span class="preprocessor"> #endif//__APPLE__</span>
|
||||
<a name="l00159"></a>00159 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00160"></a>00160 <span class="preprocessor"></span>
|
||||
<a name="l00161"></a>00161
|
||||
<a name="l00162"></a>00162 <span class="preprocessor">#ifdef ILUT_USE_WIN32</span>
|
||||
<a name="l00163"></a>00163 <span class="preprocessor"></span> <span class="comment">//#define WIN32_LEAN_AND_MEAN</span>
|
||||
<a name="l00164"></a>00164 <span class="preprocessor"> #ifdef _DEBUG </span>
|
||||
<a name="l00165"></a>00165 <span class="preprocessor"></span><span class="preprocessor"> #define _CRTDBG_MAP_ALLOC</span>
|
||||
<a name="l00166"></a>00166 <span class="preprocessor"></span><span class="preprocessor"> #include <stdlib.h></span>
|
||||
<a name="l00167"></a>00167 <span class="preprocessor"> #ifndef _WIN32_WCE</span>
|
||||
<a name="l00168"></a>00168 <span class="preprocessor"></span><span class="preprocessor"> #include <crtdbg.h></span>
|
||||
<a name="l00169"></a>00169 <span class="preprocessor"> #endif</span>
|
||||
<a name="l00170"></a>00170 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00171"></a>00171 <span class="preprocessor"></span><span class="preprocessor"> #include <windows.h></span>
|
||||
<a name="l00172"></a>00172 <span class="preprocessor">#endif</span>
|
||||
<a name="l00173"></a>00173 <span class="preprocessor"></span>
|
||||
<a name="l00174"></a>00174
|
||||
<a name="l00175"></a>00175 <span class="comment">//</span>
|
||||
<a name="l00176"></a>00176 <span class="comment">// If we can avoid including these in all cases thing tend to break less</span>
|
||||
<a name="l00177"></a>00177 <span class="comment">// and we can keep all of them defined as available</span>
|
||||
<a name="l00178"></a>00178 <span class="comment">//</span>
|
||||
<a name="l00179"></a>00179 <span class="comment">// Kriss</span>
|
||||
<a name="l00180"></a>00180 <span class="comment">//</span>
|
||||
<a name="l00181"></a>00181
|
||||
<a name="l00182"></a>00182 <span class="comment">// ImageLib Utility Toolkit's Allegro Functions</span>
|
||||
<a name="l00183"></a>00183 <span class="preprocessor">#ifdef ILUT_USE_ALLEGRO</span>
|
||||
<a name="l00184"></a>00184 <span class="preprocessor"></span><span class="comment">// #include <allegro.h></span>
|
||||
<a name="l00185"></a>00185 <span class="preprocessor">#endif//ILUT_USE_ALLEGRO</span>
|
||||
<a name="l00186"></a>00186 <span class="preprocessor"></span>
|
||||
<a name="l00187"></a>00187 <span class="preprocessor">#ifdef ILUT_USE_SDL</span>
|
||||
<a name="l00188"></a>00188 <span class="preprocessor"></span><span class="comment">// #include <SDL.h></span>
|
||||
<a name="l00189"></a>00189 <span class="preprocessor">#endif</span>
|
||||
<a name="l00190"></a>00190 <span class="preprocessor"></span>
|
||||
<a name="l00191"></a>00191 <span class="preprocessor">#ifdef ILUT_USE_DIRECTX8</span>
|
||||
<a name="l00192"></a>00192 <span class="preprocessor"></span><span class="preprocessor"> #include <d3d8.h></span>
|
||||
<a name="l00193"></a>00193 <span class="preprocessor">#endif//ILUT_USE_DIRECTX9</span>
|
||||
<a name="l00194"></a>00194 <span class="preprocessor"></span>
|
||||
<a name="l00195"></a>00195 <span class="preprocessor">#ifdef ILUT_USE_DIRECTX9</span>
|
||||
<a name="l00196"></a>00196 <span class="preprocessor"></span><span class="preprocessor"> #include <d3d9.h></span>
|
||||
<a name="l00197"></a>00197 <span class="preprocessor">#endif//ILUT_USE_DIRECTX9</span>
|
||||
<a name="l00198"></a>00198 <span class="preprocessor"></span>
|
||||
<a name="l00199"></a>00199 <span class="preprocessor">#ifdef ILUT_USE_DIRECTX10</span>
|
||||
<a name="l00200"></a>00200 <span class="preprocessor"></span><span class="preprocessor"> #pragma warning(push)</span>
|
||||
<a name="l00201"></a>00201 <span class="preprocessor"></span><span class="preprocessor"> #pragma warning(disable : 4201) // Disables 'nonstandard extension used : nameless struct/union' warning</span>
|
||||
<a name="l00202"></a>00202 <span class="preprocessor"></span><span class="preprocessor"> #include <rpcsal.h></span>
|
||||
<a name="l00203"></a>00203 <span class="preprocessor"> #include <sal.h></span>
|
||||
<a name="l00204"></a>00204 <span class="preprocessor"> #include <d3d10.h></span>
|
||||
<a name="l00205"></a>00205 <span class="preprocessor"> #pragma warning(pop)</span>
|
||||
<a name="l00206"></a>00206 <span class="preprocessor"></span><span class="preprocessor">#endif//ILUT_USE_DIRECTX10</span>
|
||||
<a name="l00207"></a>00207 <span class="preprocessor"></span>
|
||||
<a name="l00208"></a>00208 <span class="preprocessor">#ifdef ILUT_USE_X11</span>
|
||||
<a name="l00209"></a>00209 <span class="preprocessor"></span><span class="preprocessor"> #include <X11/Xlib.h></span>
|
||||
<a name="l00210"></a>00210 <span class="preprocessor"> #include <X11/Xutil.h></span>
|
||||
<a name="l00211"></a>00211 <span class="preprocessor">#ifdef ILUT_USE_XSHM</span>
|
||||
<a name="l00212"></a>00212 <span class="preprocessor"></span><span class="preprocessor"> #include <sys/ipc.h></span>
|
||||
<a name="l00213"></a>00213 <span class="preprocessor"> #include <sys/shm.h></span>
|
||||
<a name="l00214"></a>00214 <span class="preprocessor"> #include <X11/extensions/XShm.h></span>
|
||||
<a name="l00215"></a>00215 <span class="preprocessor">#endif//ILUT_USE_XSHM</span>
|
||||
<a name="l00216"></a>00216 <span class="preprocessor"></span><span class="preprocessor">#endif//ILUT_USE_X11</span>
|
||||
<a name="l00217"></a>00217 <span class="preprocessor"></span>
|
||||
<a name="l00218"></a>00218
|
||||
<a name="l00219"></a>00219
|
||||
<a name="l00220"></a>00220 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00221"></a>00221 <span class="comment">// Functions</span>
|
||||
<a name="l00222"></a>00222 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00223"></a>00223
|
||||
<a name="l00224"></a>00224 <span class="preprocessor">#ifdef __cplusplus</span>
|
||||
<a name="l00225"></a>00225 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
|
||||
<a name="l00226"></a>00226 <span class="preprocessor">#endif</span>
|
||||
<a name="l00227"></a>00227 <span class="preprocessor"></span>
|
||||
<a name="l00228"></a>00228 <span class="comment">// ImageLib Utility Toolkit Functions</span>
|
||||
<a name="l00229"></a>00229 ILAPI ILboolean ILAPIENTRY ilutDisable(ILenum Mode);
|
||||
<a name="l00230"></a>00230 ILAPI ILboolean ILAPIENTRY ilutEnable(ILenum Mode);
|
||||
<a name="l00231"></a>00231 ILAPI ILboolean ILAPIENTRY ilutGetBoolean(ILenum Mode);
|
||||
<a name="l00232"></a>00232 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilutGetBooleanv(ILenum Mode, ILboolean *Param);
|
||||
<a name="l00233"></a>00233 ILAPI ILint ILAPIENTRY ilutGetInteger(ILenum Mode);
|
||||
<a name="l00234"></a>00234 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilutGetIntegerv(ILenum Mode, ILint *Param);
|
||||
<a name="l00235"></a>00235 ILAPI ILstring ILAPIENTRY ilutGetString(ILenum StringName);
|
||||
<a name="l00236"></a>00236 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilutInit(<span class="keywordtype">void</span>);
|
||||
<a name="l00237"></a>00237 ILAPI ILboolean ILAPIENTRY ilutIsDisabled(ILenum Mode);
|
||||
<a name="l00238"></a>00238 ILAPI ILboolean ILAPIENTRY ilutIsEnabled(ILenum Mode);
|
||||
<a name="l00239"></a>00239 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilutPopAttrib(<span class="keywordtype">void</span>);
|
||||
<a name="l00240"></a>00240 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilutPushAttrib(ILuint Bits);
|
||||
<a name="l00241"></a>00241 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilutSetInteger(ILenum Mode, ILint Param);
|
||||
<a name="l00242"></a>00242
|
||||
<a name="l00243"></a>00243 ILAPI ILboolean ILAPIENTRY ilutRenderer(ILenum Renderer);
|
||||
<a name="l00244"></a>00244
|
||||
<a name="l00245"></a>00245
|
||||
<a name="l00246"></a>00246 <span class="comment">// ImageLib Utility Toolkit's OpenGL Functions</span>
|
||||
<a name="l00247"></a>00247 <span class="preprocessor">#ifdef ILUT_USE_OPENGL</span>
|
||||
<a name="l00248"></a>00248 <span class="preprocessor"></span> ILAPI GLuint ILAPIENTRY ilutGLBindTexImage();
|
||||
<a name="l00249"></a>00249 ILAPI GLuint ILAPIENTRY ilutGLBindMipmaps(<span class="keywordtype">void</span>);
|
||||
<a name="l00250"></a>00250 ILAPI ILboolean ILAPIENTRY ilutGLBuildMipmaps(<span class="keywordtype">void</span>);
|
||||
<a name="l00251"></a>00251 ILAPI GLuint ILAPIENTRY ilutGLLoadImage(ILstring FileName);
|
||||
<a name="l00252"></a>00252 ILAPI ILboolean ILAPIENTRY ilutGLScreen(<span class="keywordtype">void</span>);
|
||||
<a name="l00253"></a>00253 ILAPI ILboolean ILAPIENTRY ilutGLScreenie(<span class="keywordtype">void</span>);
|
||||
<a name="l00254"></a>00254 ILAPI ILboolean ILAPIENTRY ilutGLSaveImage(ILstring FileName, GLuint TexID);
|
||||
<a name="l00255"></a>00255 ILAPI ILboolean ILAPIENTRY ilutGLSubTex2D(GLuint TexID, ILuint XOff, ILuint YOff);
|
||||
<a name="l00256"></a>00256 ILAPI ILboolean ILAPIENTRY ilutGLSubTex3D(GLuint TexID, ILuint XOff, ILuint YOff, ILuint ZOff);
|
||||
<a name="l00257"></a>00257 ILAPI ILboolean ILAPIENTRY ilutGLSetTex2D(GLuint TexID);
|
||||
<a name="l00258"></a>00258 ILAPI ILboolean ILAPIENTRY ilutGLSetTex3D(GLuint TexID);
|
||||
<a name="l00259"></a>00259 ILAPI ILboolean ILAPIENTRY ilutGLTexImage(GLuint Level);
|
||||
<a name="l00260"></a>00260 ILAPI ILboolean ILAPIENTRY ilutGLSubTex(GLuint TexID, ILuint XOff, ILuint YOff);
|
||||
<a name="l00261"></a>00261
|
||||
<a name="l00262"></a>00262 ILAPI ILboolean ILAPIENTRY ilutGLSetTex(GLuint TexID); <span class="comment">// Deprecated - use ilutGLSetTex2D.</span>
|
||||
<a name="l00263"></a>00263 ILAPI ILboolean ILAPIENTRY ilutGLSubTex(GLuint TexID, ILuint XOff, ILuint YOff); <span class="comment">// Use ilutGLSubTex2D.</span>
|
||||
<a name="l00264"></a>00264 <span class="preprocessor">#endif//ILUT_USE_OPENGL</span>
|
||||
<a name="l00265"></a>00265 <span class="preprocessor"></span>
|
||||
<a name="l00266"></a>00266
|
||||
<a name="l00267"></a>00267 <span class="comment">// ImageLib Utility Toolkit's Allegro Functions</span>
|
||||
<a name="l00268"></a>00268 <span class="preprocessor">#ifdef ILUT_USE_ALLEGRO</span>
|
||||
<a name="l00269"></a>00269 <span class="preprocessor"></span><span class="preprocessor"> #ifdef __cplusplus</span>
|
||||
<a name="l00270"></a>00270 <span class="preprocessor"></span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
|
||||
<a name="l00271"></a>00271 <span class="preprocessor"> #endif</span>
|
||||
<a name="l00272"></a>00272 <span class="preprocessor"></span><span class="preprocessor"> #include <allegro.h></span>
|
||||
<a name="l00273"></a>00273 <span class="preprocessor"> #ifdef __cplusplus</span>
|
||||
<a name="l00274"></a>00274 <span class="preprocessor"></span> }
|
||||
<a name="l00275"></a>00275 <span class="preprocessor"> #endif</span>
|
||||
<a name="l00276"></a>00276 <span class="preprocessor"></span>
|
||||
<a name="l00277"></a>00277 ILAPI BITMAP* ILAPIENTRY ilutAllegLoadImage(ILstring FileName);
|
||||
<a name="l00278"></a>00278 ILAPI BITMAP* ILAPIENTRY ilutConvertToAlleg(PALETTE Pal);
|
||||
<a name="l00279"></a>00279 <span class="preprocessor">#endif//ILUT_USE_ALLEGRO</span>
|
||||
<a name="l00280"></a>00280 <span class="preprocessor"></span>
|
||||
<a name="l00281"></a>00281
|
||||
<a name="l00282"></a>00282 <span class="comment">// ImageLib Utility Toolkit's SDL Functions</span>
|
||||
<a name="l00283"></a>00283 <span class="preprocessor">#ifdef ILUT_USE_SDL</span>
|
||||
<a name="l00284"></a>00284 <span class="preprocessor"></span> ILAPI <span class="keyword">struct </span>SDL_Surface* ILAPIENTRY ilutConvertToSDLSurface(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags);
|
||||
<a name="l00285"></a>00285 ILAPI <span class="keyword">struct </span>SDL_Surface* ILAPIENTRY ilutSDLSurfaceLoadImage(ILstring FileName);
|
||||
<a name="l00286"></a>00286 ILAPI ILboolean ILAPIENTRY ilutSDLSurfaceFromBitmap(<span class="keyword">struct</span> SDL_Surface *Bitmap);
|
||||
<a name="l00287"></a>00287 <span class="preprocessor">#endif//ILUT_USE_SDL</span>
|
||||
<a name="l00288"></a>00288 <span class="preprocessor"></span>
|
||||
<a name="l00289"></a>00289
|
||||
<a name="l00290"></a>00290 <span class="comment">// ImageLib Utility Toolkit's BeOS Functions</span>
|
||||
<a name="l00291"></a>00291 <span class="preprocessor">#ifdef ILUT_USE_BEOS</span>
|
||||
<a name="l00292"></a>00292 <span class="preprocessor"></span> ILAPI BBitmap ILAPIENTRY ilutConvertToBBitmap(<span class="keywordtype">void</span>);
|
||||
<a name="l00293"></a>00293 <span class="preprocessor">#endif//ILUT_USE_BEOS</span>
|
||||
<a name="l00294"></a>00294 <span class="preprocessor"></span>
|
||||
<a name="l00295"></a>00295
|
||||
<a name="l00296"></a>00296 <span class="comment">// ImageLib Utility Toolkit's Win32 GDI Functions</span>
|
||||
<a name="l00297"></a>00297 <span class="preprocessor">#ifdef ILUT_USE_WIN32</span>
|
||||
<a name="l00298"></a>00298 <span class="preprocessor"></span> ILAPI HBITMAP ILAPIENTRY ilutConvertToHBitmap(HDC hDC);
|
||||
<a name="l00299"></a>00299 ILAPI HBITMAP ILAPIENTRY ilutConvertSliceToHBitmap(HDC hDC, ILuint slice);
|
||||
<a name="l00300"></a>00300 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilutFreePaddedData(ILubyte *Data);
|
||||
<a name="l00301"></a>00301 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilutGetBmpInfo(BITMAPINFO *Info);
|
||||
<a name="l00302"></a>00302 ILAPI HPALETTE ILAPIENTRY ilutGetHPal(<span class="keywordtype">void</span>);
|
||||
<a name="l00303"></a>00303 ILAPI ILubyte* ILAPIENTRY ilutGetPaddedData(<span class="keywordtype">void</span>);
|
||||
<a name="l00304"></a>00304 ILAPI ILboolean ILAPIENTRY ilutGetWinClipboard(<span class="keywordtype">void</span>);
|
||||
<a name="l00305"></a>00305 ILAPI ILboolean ILAPIENTRY ilutLoadResource(HINSTANCE hInst, ILint ID, ILstring ResourceType, ILenum Type);
|
||||
<a name="l00306"></a>00306 ILAPI ILboolean ILAPIENTRY ilutSetHBitmap(HBITMAP Bitmap);
|
||||
<a name="l00307"></a>00307 ILAPI ILboolean ILAPIENTRY ilutSetHPal(HPALETTE Pal);
|
||||
<a name="l00308"></a>00308 ILAPI ILboolean ILAPIENTRY ilutSetWinClipboard(<span class="keywordtype">void</span>);
|
||||
<a name="l00309"></a>00309 ILAPI HBITMAP ILAPIENTRY ilutWinLoadImage(ILstring FileName, HDC hDC);
|
||||
<a name="l00310"></a>00310 ILAPI ILboolean ILAPIENTRY ilutWinLoadUrl(ILstring Url);
|
||||
<a name="l00311"></a>00311 ILAPI ILboolean ILAPIENTRY ilutWinPrint(ILuint XPos, ILuint YPos, ILuint Width, ILuint Height, HDC hDC);
|
||||
<a name="l00312"></a>00312 ILAPI ILboolean ILAPIENTRY ilutWinSaveImage(ILstring FileName, HBITMAP Bitmap);
|
||||
<a name="l00313"></a>00313 <span class="preprocessor">#endif//ILUT_USE_WIN32</span>
|
||||
<a name="l00314"></a>00314 <span class="preprocessor"></span>
|
||||
<a name="l00315"></a>00315 <span class="comment">// ImageLib Utility Toolkit's DirectX 8 Functions</span>
|
||||
<a name="l00316"></a>00316 <span class="preprocessor">#ifdef ILUT_USE_DIRECTX8</span>
|
||||
<a name="l00317"></a>00317 <span class="preprocessor"></span><span class="comment">// ILAPI void ILAPIENTRY ilutD3D8MipFunc(ILuint NumLevels);</span>
|
||||
<a name="l00318"></a>00318 ILAPI <span class="keyword">struct </span>IDirect3DTexture8* ILAPIENTRY ilutD3D8Texture(<span class="keyword">struct</span> IDirect3DDevice8 *Device);
|
||||
<a name="l00319"></a>00319 ILAPI <span class="keyword">struct </span>IDirect3DVolumeTexture8* ILAPIENTRY ilutD3D8VolumeTexture(<span class="keyword">struct</span> IDirect3DDevice8 *Device);
|
||||
<a name="l00320"></a>00320 ILAPI ILboolean ILAPIENTRY ilutD3D8TexFromFile(<span class="keyword">struct</span> IDirect3DDevice8 *Device, <span class="keywordtype">char</span> *FileName, <span class="keyword">struct</span> IDirect3DTexture8 **Texture);
|
||||
<a name="l00321"></a>00321 ILAPI ILboolean ILAPIENTRY ilutD3D8VolTexFromFile(<span class="keyword">struct</span> IDirect3DDevice8 *Device, <span class="keywordtype">char</span> *FileName, <span class="keyword">struct</span> IDirect3DVolumeTexture8 **Texture);
|
||||
<a name="l00322"></a>00322 ILAPI ILboolean ILAPIENTRY ilutD3D8TexFromFileInMemory(<span class="keyword">struct</span> IDirect3DDevice8 *Device, <span class="keywordtype">void</span> *Lump, ILuint Size, <span class="keyword">struct</span> IDirect3DTexture8 **Texture);
|
||||
<a name="l00323"></a>00323 ILAPI ILboolean ILAPIENTRY ilutD3D8VolTexFromFileInMemory(<span class="keyword">struct</span> IDirect3DDevice8 *Device, <span class="keywordtype">void</span> *Lump, ILuint Size, <span class="keyword">struct</span> IDirect3DVolumeTexture8 **Texture);
|
||||
<a name="l00324"></a>00324 ILAPI ILboolean ILAPIENTRY ilutD3D8TexFromFileHandle(<span class="keyword">struct</span> IDirect3DDevice8 *Device, ILHANDLE File, <span class="keyword">struct</span> IDirect3DTexture8 **Texture);
|
||||
<a name="l00325"></a>00325 ILAPI ILboolean ILAPIENTRY ilutD3D8VolTexFromFileHandle(<span class="keyword">struct</span> IDirect3DDevice8 *Device, ILHANDLE File, <span class="keyword">struct</span> IDirect3DVolumeTexture8 **Texture);
|
||||
<a name="l00326"></a>00326 <span class="comment">// These two are not tested yet.</span>
|
||||
<a name="l00327"></a>00327 ILAPI ILboolean ILAPIENTRY ilutD3D8TexFromResource(<span class="keyword">struct</span> IDirect3DDevice8 *Device, HMODULE SrcModule, <span class="keywordtype">char</span> *SrcResource, <span class="keyword">struct</span> IDirect3DTexture8 **Texture);
|
||||
<a name="l00328"></a>00328 ILAPI ILboolean ILAPIENTRY ilutD3D8VolTexFromResource(<span class="keyword">struct</span> IDirect3DDevice8 *Device, HMODULE SrcModule, <span class="keywordtype">char</span> *SrcResource, <span class="keyword">struct</span> IDirect3DVolumeTexture8 **Texture);
|
||||
<a name="l00329"></a>00329 ILAPI ILboolean ILAPIENTRY ilutD3D8LoadSurface(<span class="keyword">struct</span> IDirect3DDevice8 *Device, <span class="keyword">struct</span> IDirect3DSurface8 *Surface);
|
||||
<a name="l00330"></a>00330 <span class="preprocessor">#endif//ILUT_USE_DIRECTX8</span>
|
||||
<a name="l00331"></a>00331 <span class="preprocessor"></span>
|
||||
<a name="l00332"></a>00332 <span class="preprocessor">#ifdef ILUT_USE_DIRECTX9</span>
|
||||
<a name="l00333"></a>00333 <span class="preprocessor"></span><span class="preprocessor"> #pragma warning(push)</span>
|
||||
<a name="l00334"></a>00334 <span class="preprocessor"></span><span class="preprocessor"> #pragma warning(disable : 4115) // Disables 'named type definition in parentheses' warning</span>
|
||||
<a name="l00335"></a>00335 <span class="preprocessor"></span><span class="comment">// ILAPI void ILAPIENTRY ilutD3D9MipFunc(ILuint NumLevels);</span>
|
||||
<a name="l00336"></a>00336 ILAPI <span class="keyword">struct </span>IDirect3DTexture9* ILAPIENTRY ilutD3D9Texture (<span class="keyword">struct</span> IDirect3DDevice9* Device);
|
||||
<a name="l00337"></a>00337 ILAPI <span class="keyword">struct </span>IDirect3DVolumeTexture9* ILAPIENTRY ilutD3D9VolumeTexture (<span class="keyword">struct</span> IDirect3DDevice9* Device);
|
||||
<a name="l00338"></a>00338 ILAPI <span class="keyword">struct </span>IDirect3DCubeTexture9* ILAPIENTRY ilutD3D9CubeTexture (<span class="keyword">struct</span> IDirect3DDevice9* Device);
|
||||
<a name="l00339"></a>00339
|
||||
<a name="l00340"></a>00340 ILAPI ILboolean ILAPIENTRY ilutD3D9CubeTexFromFile(<span class="keyword">struct</span> IDirect3DDevice9 *Device, ILconst_string FileName, <span class="keyword">struct</span> IDirect3DCubeTexture9 **Texture);
|
||||
<a name="l00341"></a>00341 ILAPI ILboolean ILAPIENTRY ilutD3D9CubeTexFromFileInMemory(<span class="keyword">struct</span> IDirect3DDevice9 *Device, <span class="keywordtype">void</span> *Lump, ILuint Size, <span class="keyword">struct</span> IDirect3DCubeTexture9 **Texture);
|
||||
<a name="l00342"></a>00342 ILAPI ILboolean ILAPIENTRY ilutD3D9CubeTexFromFileHandle(<span class="keyword">struct</span> IDirect3DDevice9 *Device, ILHANDLE File, <span class="keyword">struct</span> IDirect3DCubeTexture9 **Texture);
|
||||
<a name="l00343"></a>00343 ILAPI ILboolean ILAPIENTRY ilutD3D9CubeTexFromResource(<span class="keyword">struct</span> IDirect3DDevice9 *Device, HMODULE SrcModule, ILconst_string SrcResource, <span class="keyword">struct</span> IDirect3DCubeTexture9 **Texture);
|
||||
<a name="l00344"></a>00344
|
||||
<a name="l00345"></a>00345 ILAPI ILboolean ILAPIENTRY ilutD3D9TexFromFile(<span class="keyword">struct</span> IDirect3DDevice9 *Device, ILconst_string FileName, <span class="keyword">struct</span> IDirect3DTexture9 **Texture);
|
||||
<a name="l00346"></a>00346 ILAPI ILboolean ILAPIENTRY ilutD3D9VolTexFromFile(<span class="keyword">struct</span> IDirect3DDevice9 *Device, ILconst_string FileName, <span class="keyword">struct</span> IDirect3DVolumeTexture9 **Texture);
|
||||
<a name="l00347"></a>00347 ILAPI ILboolean ILAPIENTRY ilutD3D9TexFromFileInMemory(<span class="keyword">struct</span> IDirect3DDevice9 *Device, <span class="keywordtype">void</span> *Lump, ILuint Size, <span class="keyword">struct</span> IDirect3DTexture9 **Texture);
|
||||
<a name="l00348"></a>00348 ILAPI ILboolean ILAPIENTRY ilutD3D9VolTexFromFileInMemory(<span class="keyword">struct</span> IDirect3DDevice9 *Device, <span class="keywordtype">void</span> *Lump, ILuint Size, <span class="keyword">struct</span> IDirect3DVolumeTexture9 **Texture);
|
||||
<a name="l00349"></a>00349 ILAPI ILboolean ILAPIENTRY ilutD3D9TexFromFileHandle(<span class="keyword">struct</span> IDirect3DDevice9 *Device, ILHANDLE File, <span class="keyword">struct</span> IDirect3DTexture9 **Texture);
|
||||
<a name="l00350"></a>00350 ILAPI ILboolean ILAPIENTRY ilutD3D9VolTexFromFileHandle(<span class="keyword">struct</span> IDirect3DDevice9 *Device, ILHANDLE File, <span class="keyword">struct</span> IDirect3DVolumeTexture9 **Texture);
|
||||
<a name="l00351"></a>00351
|
||||
<a name="l00352"></a>00352 <span class="comment">// These three are not tested yet.</span>
|
||||
<a name="l00353"></a>00353 ILAPI ILboolean ILAPIENTRY ilutD3D9TexFromResource(<span class="keyword">struct</span> IDirect3DDevice9 *Device, HMODULE SrcModule, ILconst_string SrcResource, <span class="keyword">struct</span> IDirect3DTexture9 **Texture);
|
||||
<a name="l00354"></a>00354 ILAPI ILboolean ILAPIENTRY ilutD3D9VolTexFromResource(<span class="keyword">struct</span> IDirect3DDevice9 *Device, HMODULE SrcModule, ILconst_string SrcResource, <span class="keyword">struct</span> IDirect3DVolumeTexture9 **Texture);
|
||||
<a name="l00355"></a>00355 ILAPI ILboolean ILAPIENTRY ilutD3D9LoadSurface(<span class="keyword">struct</span> IDirect3DDevice9 *Device, <span class="keyword">struct</span> IDirect3DSurface9 *Surface);
|
||||
<a name="l00356"></a>00356 <span class="preprocessor"> #pragma warning(pop)</span>
|
||||
<a name="l00357"></a>00357 <span class="preprocessor"></span><span class="preprocessor">#endif//ILUT_USE_DIRECTX9</span>
|
||||
<a name="l00358"></a>00358 <span class="preprocessor"></span>
|
||||
<a name="l00359"></a>00359 <span class="preprocessor">#ifdef ILUT_USE_DIRECTX10</span>
|
||||
<a name="l00360"></a>00360 <span class="preprocessor"></span> ILAPI ID3D10Texture2D* ILAPIENTRY ilutD3D10Texture(ID3D10Device *Device);
|
||||
<a name="l00361"></a>00361 ILAPI ILboolean ILAPIENTRY ilutD3D10TexFromFile(ID3D10Device *Device, ILconst_string FileName, ID3D10Texture2D **Texture);
|
||||
<a name="l00362"></a>00362 ILAPI ILboolean ILAPIENTRY ilutD3D10TexFromFileInMemory(ID3D10Device *Device, <span class="keywordtype">void</span> *Lump, ILuint Size, ID3D10Texture2D **Texture);
|
||||
<a name="l00363"></a>00363 ILAPI ILboolean ILAPIENTRY ilutD3D10TexFromResource(ID3D10Device *Device, HMODULE SrcModule, ILconst_string SrcResource, ID3D10Texture2D **Texture);
|
||||
<a name="l00364"></a>00364 ILAPI ILboolean ILAPIENTRY ilutD3D10TexFromFileHandle(ID3D10Device *Device, ILHANDLE File, ID3D10Texture2D **Texture);
|
||||
<a name="l00365"></a>00365 <span class="preprocessor">#endif//ILUT_USE_DIRECTX10</span>
|
||||
<a name="l00366"></a>00366 <span class="preprocessor"></span>
|
||||
<a name="l00367"></a>00367
|
||||
<a name="l00368"></a>00368
|
||||
<a name="l00369"></a>00369 <span class="preprocessor">#ifdef ILUT_USE_X11</span>
|
||||
<a name="l00370"></a>00370 <span class="preprocessor"></span> ILAPI XImage * ILAPIENTRY ilutXCreateImage( Display* );
|
||||
<a name="l00371"></a>00371 ILAPI Pixmap ILAPIENTRY ilutXCreatePixmap( Display*,Drawable );
|
||||
<a name="l00372"></a>00372 ILAPI XImage * ILAPIENTRY ilutXLoadImage( Display*,<span class="keywordtype">char</span>* );
|
||||
<a name="l00373"></a>00373 ILAPI Pixmap ILAPIENTRY ilutXLoadPixmap( Display*,Drawable,<span class="keywordtype">char</span>* );
|
||||
<a name="l00374"></a>00374 <span class="preprocessor">#ifdef ILUT_USE_XSHM</span>
|
||||
<a name="l00375"></a>00375 <span class="preprocessor"></span> ILAPI XImage * ILAPIENTRY ilutXShmCreateImage( Display*,XShmSegmentInfo* );
|
||||
<a name="l00376"></a>00376 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilutXShmDestroyImage( Display*,XImage*,XShmSegmentInfo* );
|
||||
<a name="l00377"></a>00377 ILAPI Pixmap ILAPIENTRY ilutXShmCreatePixmap( Display*,Drawable,XShmSegmentInfo* );
|
||||
<a name="l00378"></a>00378 ILAPI <span class="keywordtype">void</span> ILAPIENTRY ilutXShmFreePixmap( Display*,Pixmap,XShmSegmentInfo* );
|
||||
<a name="l00379"></a>00379 ILAPI XImage * ILAPIENTRY ilutXShmLoadImage( Display*,<span class="keywordtype">char</span>*,XShmSegmentInfo* );
|
||||
<a name="l00380"></a>00380 ILAPI Pixmap ILAPIENTRY ilutXShmLoadPixmap( Display*,Drawable,<span class="keywordtype">char</span>*,XShmSegmentInfo* );
|
||||
<a name="l00381"></a>00381 <span class="preprocessor">#endif//ILUT_USE_XSHM</span>
|
||||
<a name="l00382"></a>00382 <span class="preprocessor"></span><span class="preprocessor">#endif//ILUT_USE_X11</span>
|
||||
<a name="l00383"></a>00383 <span class="preprocessor"></span>
|
||||
<a name="l00384"></a>00384
|
||||
<a name="l00385"></a>00385 <span class="preprocessor">#ifdef __cplusplus</span>
|
||||
<a name="l00386"></a>00386 <span class="preprocessor"></span>}
|
||||
<a name="l00387"></a>00387 <span class="preprocessor">#endif</span>
|
||||
<a name="l00388"></a>00388 <span class="preprocessor"></span>
|
||||
<a name="l00389"></a>00389 <span class="preprocessor">#endif // __ILUT_H__</span>
|
||||
<a name="l00390"></a>00390 <span class="preprocessor"></span><span class="preprocessor">#endif // __ilut_h_</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,204 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/include/IL/ilut.h File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents">
|
||||
<h1>/home/dwoods/DevIL/include/IL/ilut.h File Reference</h1><code>#include <<a class="el" href="il_8h-source.html">IL/il.h</a>></code><br>
|
||||
<code>#include <<a class="el" href="ilu_8h-source.html">IL/ilu.h</a>></code><br>
|
||||
|
||||
<p>
|
||||
<a href="ilut_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr><td></td></tr>
|
||||
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a50f7ed90e0ca0c3de103e4b26f4285d"></a><!-- doxytag: member="ilut.h::__ilut_h_" ref="a50f7ed90e0ca0c3de103e4b26f4285d" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>__ilut_h_</b></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e6c4b8cb0f120575a7a7099b6eed005c"></a><!-- doxytag: member="ilut.h::__ILUT_H__" ref="e6c4b8cb0f120575a7a7099b6eed005c" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>__ILUT_H__</b></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="013e07948bfb4b7a24ad1f54042715e7"></a><!-- doxytag: member="ilut.h::ILUT_VERSION_1_7_8" ref="013e07948bfb4b7a24ad1f54042715e7" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_VERSION_1_7_8</b> 1</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="defbf1d1dcdbb3d0558442931c86566b"></a><!-- doxytag: member="ilut.h::ILUT_VERSION" ref="defbf1d1dcdbb3d0558442931c86566b" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_VERSION</b> 178</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="27b31187401461f239b307152cd72377"></a><!-- doxytag: member="ilut.h::ILUT_OPENGL_BIT" ref="27b31187401461f239b307152cd72377" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_OPENGL_BIT</b> 0x00000001</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1bb4ec9cb19e64e89cdf1f5209afb82b"></a><!-- doxytag: member="ilut.h::ILUT_D3D_BIT" ref="1bb4ec9cb19e64e89cdf1f5209afb82b" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_D3D_BIT</b> 0x00000002</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9a3bd6d521e7a9aa51085a0d4741e144"></a><!-- doxytag: member="ilut.h::ILUT_ALL_ATTRIB_BITS" ref="9a3bd6d521e7a9aa51085a0d4741e144" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_ALL_ATTRIB_BITS</b> 0x000FFFFF</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6d836dd2ac39a5292d30de5843e50d77"></a><!-- doxytag: member="ilut.h::ILUT_INVALID_ENUM" ref="6d836dd2ac39a5292d30de5843e50d77" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_INVALID_ENUM</b> 0x0501</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e43d77fa0553fe8c253f5e8806cb362d"></a><!-- doxytag: member="ilut.h::ILUT_OUT_OF_MEMORY" ref="e43d77fa0553fe8c253f5e8806cb362d" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_OUT_OF_MEMORY</b> 0x0502</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="691100a6f70adb6022a8e0fe6f475fc7"></a><!-- doxytag: member="ilut.h::ILUT_INVALID_VALUE" ref="691100a6f70adb6022a8e0fe6f475fc7" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_INVALID_VALUE</b> 0x0505</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba16e56f7f4217bfd5debecc009107fc"></a><!-- doxytag: member="ilut.h::ILUT_ILLEGAL_OPERATION" ref="ba16e56f7f4217bfd5debecc009107fc" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_ILLEGAL_OPERATION</b> 0x0506</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c1208c92048493042002ee04ffae5ff2"></a><!-- doxytag: member="ilut.h::ILUT_INVALID_PARAM" ref="c1208c92048493042002ee04ffae5ff2" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_INVALID_PARAM</b> 0x0509</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="10dd52f148da530cf3f60c6f235faeee"></a><!-- doxytag: member="ilut.h::ILUT_COULD_NOT_OPEN_FILE" ref="10dd52f148da530cf3f60c6f235faeee" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_COULD_NOT_OPEN_FILE</b> 0x050A</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="866096178f88b2e209a6dca0dba7965e"></a><!-- doxytag: member="ilut.h::ILUT_STACK_OVERFLOW" ref="866096178f88b2e209a6dca0dba7965e" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_STACK_OVERFLOW</b> 0x050E</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6a0a8e8184b438c79fb800cbb1d9c48"></a><!-- doxytag: member="ilut.h::ILUT_STACK_UNDERFLOW" ref="a6a0a8e8184b438c79fb800cbb1d9c48" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_STACK_UNDERFLOW</b> 0x050F</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2d9364be93a64ac91977f8d6dd55581d"></a><!-- doxytag: member="ilut.h::ILUT_BAD_DIMENSIONS" ref="2d9364be93a64ac91977f8d6dd55581d" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_BAD_DIMENSIONS</b> 0x0511</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ef3313552e255156136779607f5bf22b"></a><!-- doxytag: member="ilut.h::ILUT_NOT_SUPPORTED" ref="ef3313552e255156136779607f5bf22b" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_NOT_SUPPORTED</b> 0x0550</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="89665182786af6586a822905c7ee384a"></a><!-- doxytag: member="ilut.h::ILUT_PALETTE_MODE" ref="89665182786af6586a822905c7ee384a" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_PALETTE_MODE</b> 0x0600</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6087c73c7fbd0368859eb1f30e17de58"></a><!-- doxytag: member="ilut.h::ILUT_OPENGL_CONV" ref="6087c73c7fbd0368859eb1f30e17de58" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_OPENGL_CONV</b> 0x0610</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a81b313dfc2c8ebb8aa7581414b6b474"></a><!-- doxytag: member="ilut.h::ILUT_D3D_MIPLEVELS" ref="a81b313dfc2c8ebb8aa7581414b6b474" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_D3D_MIPLEVELS</b> 0x0620</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a47500f27d99f49ae8fb80e925ac0b92"></a><!-- doxytag: member="ilut.h::ILUT_MAXTEX_WIDTH" ref="a47500f27d99f49ae8fb80e925ac0b92" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_MAXTEX_WIDTH</b> 0x0630</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="290a6ea2fac90cade560dbc85416cd6b"></a><!-- doxytag: member="ilut.h::ILUT_MAXTEX_HEIGHT" ref="290a6ea2fac90cade560dbc85416cd6b" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_MAXTEX_HEIGHT</b> 0x0631</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9db224559a9d5167f9b1fb29feb54274"></a><!-- doxytag: member="ilut.h::ILUT_MAXTEX_DEPTH" ref="9db224559a9d5167f9b1fb29feb54274" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_MAXTEX_DEPTH</b> 0x0632</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2071104f65c6113d098304faec09b63b"></a><!-- doxytag: member="ilut.h::ILUT_GL_USE_S3TC" ref="2071104f65c6113d098304faec09b63b" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_GL_USE_S3TC</b> 0x0634</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e419578aa1b4ab77f72a35b8ed038204"></a><!-- doxytag: member="ilut.h::ILUT_D3D_USE_DXTC" ref="e419578aa1b4ab77f72a35b8ed038204" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_D3D_USE_DXTC</b> 0x0634</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="24e1aa3435171d8417d266a173e9063f"></a><!-- doxytag: member="ilut.h::ILUT_GL_GEN_S3TC" ref="24e1aa3435171d8417d266a173e9063f" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_GL_GEN_S3TC</b> 0x0635</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4aa67bbeb0fc132cf8290231ff49cde3"></a><!-- doxytag: member="ilut.h::ILUT_D3D_GEN_DXTC" ref="4aa67bbeb0fc132cf8290231ff49cde3" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_D3D_GEN_DXTC</b> 0x0635</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7941ec36e77e6a323e5b1f8a34ff4cb2"></a><!-- doxytag: member="ilut.h::ILUT_S3TC_FORMAT" ref="7941ec36e77e6a323e5b1f8a34ff4cb2" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_S3TC_FORMAT</b> 0x0705</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ae894202a7be6c0aad0ba50b62ae7cfc"></a><!-- doxytag: member="ilut.h::ILUT_DXTC_FORMAT" ref="ae894202a7be6c0aad0ba50b62ae7cfc" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_DXTC_FORMAT</b> 0x0705</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="597b7736e42948fd209b3b5e033358ba"></a><!-- doxytag: member="ilut.h::ILUT_D3D_POOL" ref="597b7736e42948fd209b3b5e033358ba" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_D3D_POOL</b> 0x0706</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="319e43a85c195b2225961e73ee8fc67d"></a><!-- doxytag: member="ilut.h::ILUT_D3D_ALPHA_KEY_COLOR" ref="319e43a85c195b2225961e73ee8fc67d" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_D3D_ALPHA_KEY_COLOR</b> 0x0707</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6977a0c4c5e50e408cf28e7888fd8ee"></a><!-- doxytag: member="ilut.h::ILUT_D3D_ALPHA_KEY_COLOUR" ref="f6977a0c4c5e50e408cf28e7888fd8ee" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_D3D_ALPHA_KEY_COLOUR</b> 0x0707</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0bcf044610bfb5abb3f8e9d6bf913e07"></a><!-- doxytag: member="ilut.h::ILUT_FORCE_INTEGER_FORMAT" ref="0bcf044610bfb5abb3f8e9d6bf913e07" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_FORCE_INTEGER_FORMAT</b> 0x0636</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f2a7e8ccb021e37348396ee984b4177d"></a><!-- doxytag: member="ilut.h::ILUT_GL_AUTODETECT_TEXTURE_TARGET" ref="f2a7e8ccb021e37348396ee984b4177d" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_GL_AUTODETECT_TEXTURE_TARGET</b> 0x0807</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2bc3f6b7c2108ad3fa3c3cb7b2dce0be"></a><!-- doxytag: member="ilut.h::ILUT_VERSION_NUM" ref="2bc3f6b7c2108ad3fa3c3cb7b2dce0be" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_VERSION_NUM</b> IL_VERSION_NUM</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b10b8fa5832baae5d23404b92e2a2916"></a><!-- doxytag: member="ilut.h::ILUT_VENDOR" ref="b10b8fa5832baae5d23404b92e2a2916" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_VENDOR</b> IL_VENDOR</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ad6a913feff5687db284d2684a9cf13d"></a><!-- doxytag: member="ilut.h::ILUT_OPENGL" ref="ad6a913feff5687db284d2684a9cf13d" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_OPENGL</b> 0</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6164215c08a581a76faf8e233b53bffa"></a><!-- doxytag: member="ilut.h::ILUT_ALLEGRO" ref="6164215c08a581a76faf8e233b53bffa" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_ALLEGRO</b> 1</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="486bd768e754191fa871e7f078aca2e9"></a><!-- doxytag: member="ilut.h::ILUT_WIN32" ref="486bd768e754191fa871e7f078aca2e9" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_WIN32</b> 2</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="956a3f2ece569f364ca2c0f8776fa482"></a><!-- doxytag: member="ilut.h::ILUT_DIRECT3D8" ref="956a3f2ece569f364ca2c0f8776fa482" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_DIRECT3D8</b> 3</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8380f9636e6244571f51dd3c68d61d90"></a><!-- doxytag: member="ilut.h::ILUT_DIRECT3D9" ref="8380f9636e6244571f51dd3c68d61d90" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_DIRECT3D9</b> 4</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cff983bbfed7310c36c1e34473c17ca6"></a><!-- doxytag: member="ilut.h::ILUT_X11" ref="cff983bbfed7310c36c1e34473c17ca6" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_X11</b> 5</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="57565cba3dc5081961b73a02d05f1fb3"></a><!-- doxytag: member="ilut.h::ILUT_DIRECT3D10" ref="57565cba3dc5081961b73a02d05f1fb3" args="" -->
|
||||
#define </td><td class="memItemRight" valign="bottom"><b>ILUT_DIRECT3D10</b> 6</td></tr>
|
||||
|
||||
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e5e935608cc26231c1b8675511aace55"></a><!-- doxytag: member="ilut.h::ilutDisable" ref="e5e935608cc26231c1b8675511aace55" args="(ILenum Mode)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>ilutDisable</b> (ILenum Mode)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bf91b13adaaefc118f3bb55448b3cfd7"></a><!-- doxytag: member="ilut.h::ilutEnable" ref="bf91b13adaaefc118f3bb55448b3cfd7" args="(ILenum Mode)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>ilutEnable</b> (ILenum Mode)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="39ebcf7f52d58ef19a183f8a6e2f8774"></a><!-- doxytag: member="ilut.h::ilutGetBoolean" ref="39ebcf7f52d58ef19a183f8a6e2f8774" args="(ILenum Mode)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>ilutGetBoolean</b> (ILenum Mode)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4707eeef11b351d99e2d9f8b9b296591"></a><!-- doxytag: member="ilut.h::ilutGetBooleanv" ref="4707eeef11b351d99e2d9f8b9b296591" args="(ILenum Mode, ILboolean *Param)" -->
|
||||
ILAPI void ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>ilutGetBooleanv</b> (ILenum Mode, ILboolean *Param)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff0384cb3a2109766ae0b6713abf569b"></a><!-- doxytag: member="ilut.h::ilutGetInteger" ref="ff0384cb3a2109766ae0b6713abf569b" args="(ILenum Mode)" -->
|
||||
ILAPI ILint ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>ilutGetInteger</b> (ILenum Mode)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8631c4d4645a6c944d4e6915fa93acf9"></a><!-- doxytag: member="ilut.h::ilutGetIntegerv" ref="8631c4d4645a6c944d4e6915fa93acf9" args="(ILenum Mode, ILint *Param)" -->
|
||||
ILAPI void ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>ilutGetIntegerv</b> (ILenum Mode, ILint *Param)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="36f2a9862e6847d2d4e0124053679079"></a><!-- doxytag: member="ilut.h::ilutGetString" ref="36f2a9862e6847d2d4e0124053679079" args="(ILenum StringName)" -->
|
||||
ILAPI ILstring ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>ilutGetString</b> (ILenum StringName)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0ff2d8eaf788cfbeca6a3b01c05b463a"></a><!-- doxytag: member="ilut.h::ilutInit" ref="0ff2d8eaf788cfbeca6a3b01c05b463a" args="(void)" -->
|
||||
ILAPI void ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>ilutInit</b> (void)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="380cabb84a566fdf4093f7ccb7bad927"></a><!-- doxytag: member="ilut.h::ilutIsDisabled" ref="380cabb84a566fdf4093f7ccb7bad927" args="(ILenum Mode)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>ilutIsDisabled</b> (ILenum Mode)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="220e694d487875fadc4a4b9ad84f17f6"></a><!-- doxytag: member="ilut.h::ilutIsEnabled" ref="220e694d487875fadc4a4b9ad84f17f6" args="(ILenum Mode)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>ilutIsEnabled</b> (ILenum Mode)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="151c9d072cecf5b5877002740af68567"></a><!-- doxytag: member="ilut.h::ilutPopAttrib" ref="151c9d072cecf5b5877002740af68567" args="(void)" -->
|
||||
ILAPI void ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>ilutPopAttrib</b> (void)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7776c2ac7a0a59650f31d8db15f9ad96"></a><!-- doxytag: member="ilut.h::ilutPushAttrib" ref="7776c2ac7a0a59650f31d8db15f9ad96" args="(ILuint Bits)" -->
|
||||
ILAPI void ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>ilutPushAttrib</b> (ILuint Bits)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dbbb8e588c8623c63bb2f676a5e17aec"></a><!-- doxytag: member="ilut.h::ilutSetInteger" ref="dbbb8e588c8623c63bb2f676a5e17aec" args="(ILenum Mode, ILint Param)" -->
|
||||
ILAPI void ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>ilutSetInteger</b> (ILenum Mode, ILint Param)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="83b18a24f809aa2238fdb9c7c23aaa37"></a><!-- doxytag: member="ilut.h::ilutRenderer" ref="83b18a24f809aa2238fdb9c7c23aaa37" args="(ILenum Renderer)" -->
|
||||
ILAPI ILboolean ILAPIENTRY </td><td class="memItemRight" valign="bottom"><b>ilutRenderer</b> (ILenum Renderer)</td></tr>
|
||||
|
||||
</table>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
The main include file for ILUT </div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,48 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-ILUT/include/ilut_allegro.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-ILUT/include/ilut_allegro.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Utility Toolkit Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 04/20/2002 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-ILUT/include/ilut_alleg.h (Don't want to conflict with allegro.h)</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description:</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="comment">// xxxxAllegro.h has to be included before il/il.h!xxx</span>
|
||||
<a name="l00014"></a>00014 <span class="comment">//#ifdef ALLEGRO_VERSION // Check to make sure Allegro is present</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor">#ifdef ILUT_USE_ALLEGRO</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#ifndef ILUT_ALLEG_H</span>
|
||||
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_ALLEG_H</span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor"></span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor">#include <allegro.h></span>
|
||||
<a name="l00021"></a>00021
|
||||
<a name="l00022"></a>00022
|
||||
<a name="l00023"></a>00023
|
||||
<a name="l00024"></a>00024 <span class="preprocessor">#endif//ILUT_ALLEG_H</span>
|
||||
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#endif//ILUT_USE_ALLEGRO</span>
|
||||
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="comment">//#endif//ALLEGRO_VERSION</span>
|
||||
<a name="l00027"></a>00027
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,47 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/include/IL/ilut_config.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/include/IL/ilut_config.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef __ILUT_CONFIG_H__</span>
|
||||
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __ILUT_CONFIG_H__</span>
|
||||
<a name="l00003"></a>00003 <span class="preprocessor"></span>
|
||||
<a name="l00004"></a>00004 <span class="preprocessor">#define IL_USE_PRAGMA_LIBS</span>
|
||||
<a name="l00005"></a>00005 <span class="preprocessor"></span>
|
||||
<a name="l00006"></a>00006 <span class="comment">// Supported APIs (ILUT)</span>
|
||||
<a name="l00007"></a>00007
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// sorry just</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">// cant get this one to work under windows</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">// have disabled for the now</span>
|
||||
<a name="l00012"></a>00012 <span class="comment">//</span>
|
||||
<a name="l00013"></a>00013 <span class="comment">// will look at it some more later</span>
|
||||
<a name="l00014"></a>00014 <span class="comment">//</span>
|
||||
<a name="l00015"></a>00015 <span class="comment">// Kriss</span>
|
||||
<a name="l00016"></a>00016 <span class="comment">//</span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#undef ILUT_USE_ALLEGRO</span>
|
||||
<a name="l00018"></a>00018 <span class="preprocessor"></span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor">#undef ILUT_USE_DIRECTX8</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="comment">//#define ILUT_USE_DIRECTX9</span>
|
||||
<a name="l00021"></a>00021 <span class="comment">//#define ILUT_USE_DIRECTX10</span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor">#define ILUT_USE_OPENGL</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="comment">//#define ILUT_USE_SDL</span>
|
||||
<a name="l00024"></a>00024 <span class="preprocessor">#define ILUT_USE_WIN32</span>
|
||||
<a name="l00025"></a>00025 <span class="preprocessor"></span>
|
||||
<a name="l00026"></a>00026 <span class="preprocessor">#endif//__ILUT_CONFIG_H__</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,120 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-ILUT/include/ilut_internal.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-ILUT/include/ilut_internal.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Utility Toolkit Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 02/07/2002 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-ILUT/include/ilut_internal.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Internal stuff for ILUT</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013
|
||||
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef INTERNAL_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define INTERNAL_H</span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
||||
<a name="l00017"></a>00017 <span class="preprocessor">#define _IL_BUILD_LIBRARY</span>
|
||||
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define _ILU_BUILD_LIBRARY</span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define _ILUT_BUILD_LIBRARY</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span>
|
||||
<a name="l00021"></a>00021 <span class="comment">//#define WIN32_LEAN_AND_MEAN</span>
|
||||
<a name="l00022"></a>00022
|
||||
<a name="l00023"></a>00023 <span class="comment">/*#if defined(_WIN32) && !defined(HAVE_CONFIG_H)</span>
|
||||
<a name="l00024"></a>00024 <span class="comment">#define HAVE_CONFIG_H</span>
|
||||
<a name="l00025"></a>00025 <span class="comment">#endif*/</span>
|
||||
<a name="l00026"></a>00026
|
||||
<a name="l00027"></a>00027 <span class="preprocessor">#ifdef HAVE_CONFIG_H //if we use autotools, we have HAVE_CONFIG_H defined and we have to look for it like that</span>
|
||||
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#include <config.h></span>
|
||||
<a name="l00029"></a>00029 <span class="preprocessor">#else // if we don't use autotools, we have to point to (possibly different) config.h than in the opposite case</span>
|
||||
<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#include <IL/config.h></span>
|
||||
<a name="l00031"></a>00031 <span class="preprocessor">#endif</span>
|
||||
<a name="l00032"></a>00032 <span class="preprocessor"></span>
|
||||
<a name="l00033"></a>00033 <span class="preprocessor">#include <string.h></span>
|
||||
<a name="l00034"></a>00034
|
||||
<a name="l00035"></a>00035 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#ifdef _MSC_VER</span>
|
||||
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor"> #if _MSC_VER > 1000</span>
|
||||
<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor"> #pragma warning(disable: 4996) // "The POSIX name for this item is deprecated." AND "This function or variable may be unsafe."</span>
|
||||
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor"> #endif // _MSC_VER > 1000</span>
|
||||
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
|
||||
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00042"></a>00042 <span class="preprocessor"></span>
|
||||
<a name="l00043"></a>00043 <span class="comment">/*</span>
|
||||
<a name="l00044"></a>00044 <span class="comment">#ifdef _MSC_VER</span>
|
||||
<a name="l00045"></a>00045 <span class="comment"> #if _MSC_VER > 1000</span>
|
||||
<a name="l00046"></a>00046 <span class="comment"> pragma once</span>
|
||||
<a name="l00047"></a>00047 <span class="comment"> pragma intrinsic(memcpy)</span>
|
||||
<a name="l00048"></a>00048 <span class="comment"> pragma intrinsic(memset)</span>
|
||||
<a name="l00049"></a>00049 <span class="comment"> #endif // _MSC_VER > 1000</span>
|
||||
<a name="l00050"></a>00050 <span class="comment">#endif</span>
|
||||
<a name="l00051"></a>00051 <span class="comment">*/</span>
|
||||
<a name="l00052"></a>00052
|
||||
<a name="l00053"></a>00053 <span class="preprocessor">#include <<a class="code" href="ilut_8h.html">IL/ilut.h</a>></span>
|
||||
<a name="l00054"></a>00054 <span class="preprocessor">#include <IL/devil_internal_exports.h></span>
|
||||
<a name="l00055"></a>00055
|
||||
<a name="l00056"></a>00056 <span class="preprocessor">#include <stdlib.h></span>
|
||||
<a name="l00057"></a>00057
|
||||
<a name="l00058"></a>00058 <span class="keyword">extern</span> <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *ilutCurImage;
|
||||
<a name="l00059"></a>00059
|
||||
<a name="l00060"></a>00060 <span class="keywordtype">void</span> ilutDefaultStates(<span class="keywordtype">void</span>);
|
||||
<a name="l00061"></a>00061
|
||||
<a name="l00062"></a>00062
|
||||
<a name="l00063"></a>00063 <span class="preprocessor">#ifdef _UNICODE</span>
|
||||
<a name="l00064"></a>00064 <span class="preprocessor"></span><span class="preprocessor"> #define IL_TEXT(s) L##s</span>
|
||||
<a name="l00065"></a>00065 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
<a name="l00066"></a>00066 <span class="preprocessor"></span><span class="preprocessor"> #define IL_TEXT(s) (s)</span>
|
||||
<a name="l00067"></a>00067 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00068"></a>00068 <span class="preprocessor"></span>
|
||||
<a name="l00069"></a>00069
|
||||
<a name="l00070"></a>00070 <span class="comment">// ImageLib Utility Toolkit's OpenGL Functions</span>
|
||||
<a name="l00071"></a>00071 <span class="preprocessor">#ifdef ILUT_USE_OPENGL</span>
|
||||
<a name="l00072"></a>00072 <span class="preprocessor"></span> ILboolean ilutGLInit();
|
||||
<a name="l00073"></a>00073 <span class="preprocessor">#endif</span>
|
||||
<a name="l00074"></a>00074 <span class="preprocessor"></span>
|
||||
<a name="l00075"></a>00075 <span class="comment">// ImageLib Utility Toolkit's Win32 Functions</span>
|
||||
<a name="l00076"></a>00076 <span class="preprocessor">#ifdef ILUT_USE_WIN32</span>
|
||||
<a name="l00077"></a>00077 <span class="preprocessor"></span> ILboolean ilutWin32Init();
|
||||
<a name="l00078"></a>00078 <span class="preprocessor">#endif</span>
|
||||
<a name="l00079"></a>00079 <span class="preprocessor"></span>
|
||||
<a name="l00080"></a>00080 <span class="comment">// ImageLib Utility Toolkit's Win32 Functions</span>
|
||||
<a name="l00081"></a>00081 <span class="preprocessor">#ifdef ILUT_USE_DIRECTX8</span>
|
||||
<a name="l00082"></a>00082 <span class="preprocessor"></span> ILboolean ilutD3D8Init();
|
||||
<a name="l00083"></a>00083 <span class="preprocessor">#endif</span>
|
||||
<a name="l00084"></a>00084 <span class="preprocessor"></span>
|
||||
<a name="l00085"></a>00085 <span class="preprocessor">#ifdef ILUT_USE_DIRECTX9</span>
|
||||
<a name="l00086"></a>00086 <span class="preprocessor"></span> ILboolean ilutD3D9Init();
|
||||
<a name="l00087"></a>00087 <span class="preprocessor">#endif</span>
|
||||
<a name="l00088"></a>00088 <span class="preprocessor"></span>
|
||||
<a name="l00089"></a>00089 <span class="preprocessor">#ifdef ILUT_USE_DIRECTX10</span>
|
||||
<a name="l00090"></a>00090 <span class="preprocessor"></span> ILboolean ilutD3D10Init();
|
||||
<a name="l00091"></a>00091 <span class="preprocessor">#endif</span>
|
||||
<a name="l00092"></a>00092 <span class="preprocessor"></span>
|
||||
<a name="l00093"></a>00093 <span class="preprocessor">#define CUBEMAP_SIDES 6</span>
|
||||
<a name="l00094"></a>00094 <span class="preprocessor"></span><span class="preprocessor">#ifndef SAFE_RELEASE</span>
|
||||
<a name="l00095"></a>00095 <span class="preprocessor"></span><span class="preprocessor">#define SAFE_RELEASE(p) {if((p)!=NULL){(p)->lpVtbl->Release(p);(p)=NULL;}}</span>
|
||||
<a name="l00096"></a>00096 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00097"></a>00097 <span class="preprocessor"></span>
|
||||
<a name="l00098"></a>00098
|
||||
<a name="l00099"></a>00099 <span class="preprocessor">#endif//INTERNAL_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,68 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-ILUT/include/ilut_opengl.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-ILUT/include/ilut_opengl.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Utility Toolkit Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2009 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 01/09/2009</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-ILUT/include/ilut_opengl.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: OpenGL functions for images</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef ILUT_OPENGL_H</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define ILUT_OPENGL_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor">#include "ilut_internal.h"</span>
|
||||
<a name="l00017"></a>00017
|
||||
<a name="l00018"></a>00018 <span class="preprocessor">#ifndef min</span>
|
||||
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define min(a, b) (((a) < (b)) ? (a) : (b))</span>
|
||||
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00021"></a>00021 <span class="preprocessor"></span>
|
||||
<a name="l00022"></a>00022 <span class="preprocessor">#ifdef ILUT_USE_OPENGL</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span>ILenum ilutGLFormat(ILenum, ILubyte);
|
||||
<a name="l00024"></a>00024 <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* MakeGLCompliant2D(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Src);
|
||||
<a name="l00025"></a>00025 <a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a>* MakeGLCompliant3D(<a class="code" href="structILimage.html" title="The Fundamental Image structure.">ILimage</a> *Src);
|
||||
<a name="l00026"></a>00026 ILboolean IsExtensionSupported(<span class="keyword">const</span> <span class="keywordtype">char</span> *extension);
|
||||
<a name="l00027"></a>00027
|
||||
<a name="l00028"></a>00028
|
||||
<a name="l00029"></a>00029 <span class="preprocessor">#ifdef _WIN32</span>
|
||||
<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor"> #include <windows.h></span>
|
||||
<a name="l00031"></a>00031 <span class="preprocessor"> #include <GL/gl.h></span>
|
||||
<a name="l00032"></a>00032 <span class="preprocessor">#elif linux</span>
|
||||
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor"> #include <GL/gl.h></span>
|
||||
<a name="l00034"></a>00034 <span class="preprocessor"> #include <GL/glx.h></span> <span class="comment">// patch #1504388. X86_64 Problems by Hans de Goede</span>
|
||||
<a name="l00035"></a>00035 <span class="preprocessor">#elif defined __APPLE__</span>
|
||||
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor"> #include <mach-o/dyld.h></span>
|
||||
<a name="l00037"></a>00037 <span class="keywordtype">void</span>* aglGetProcAddress (<span class="keyword">const</span> GLubyte *name);
|
||||
<a name="l00038"></a>00038 <span class="preprocessor">#endif</span>
|
||||
<a name="l00039"></a>00039 <span class="preprocessor"></span>
|
||||
<a name="l00040"></a>00040 <span class="keyword">typedef</span> void (ILAPIENTRY * ILGLTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, <span class="keyword">const</span> GLvoid *data);
|
||||
<a name="l00041"></a>00041 <span class="keyword">typedef</span> void (ILAPIENTRY * ILGLTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, <span class="keyword">const</span> GLvoid *data);
|
||||
<a name="l00042"></a>00042 <span class="keyword">typedef</span> void (ILAPIENTRY * ILGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, <span class="keyword">const</span> GLvoid *data);
|
||||
<a name="l00043"></a>00043 <span class="keyword">typedef</span> void (ILAPIENTRY * ILGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, <span class="keyword">const</span> GLvoid *data);
|
||||
<a name="l00044"></a>00044
|
||||
<a name="l00045"></a>00045
|
||||
<a name="l00046"></a>00046 <span class="preprocessor">#endif //ILUT_USE_OPENGL</span>
|
||||
<a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor">#endif //ILUT_OPENGL_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,78 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-ILUT/include/ilut_states.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-ILUT/include/ilut_states.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Utility Toolkit Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 05/28/2001 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-ILUT/include/ilut_states.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: State machine</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef STATES_H</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define STATES_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor">#include "ilut_internal.h"</span>
|
||||
<a name="l00017"></a>00017
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 ILboolean ilutAble(ILenum Mode, ILboolean Flag);
|
||||
<a name="l00020"></a>00020
|
||||
<a name="l00021"></a>00021
|
||||
<a name="l00022"></a>00022 <span class="preprocessor">#define ILUT_ATTRIB_STACK_MAX 32</span>
|
||||
<a name="l00023"></a>00023 <span class="preprocessor"></span>
|
||||
<a name="l00024"></a>00024 ILuint ilutCurrentPos = 0; <span class="comment">// Which position on the stack</span>
|
||||
<a name="l00025"></a>00025
|
||||
<a name="l00026"></a>00026 <span class="comment">//</span>
|
||||
<a name="l00027"></a>00027 <span class="comment">// Various states</span>
|
||||
<a name="l00028"></a>00028 <span class="comment">//</span>
|
||||
<a name="l00029"></a>00029
|
||||
<a name="l00030"></a>00030 <span class="keyword">typedef</span> <span class="keyword">struct </span>ILUT_STATES
|
||||
<a name="l00031"></a>00031 {
|
||||
<a name="l00032"></a>00032
|
||||
<a name="l00033"></a>00033 <span class="comment">// ILUT states</span>
|
||||
<a name="l00034"></a>00034 ILboolean ilutUsePalettes;
|
||||
<a name="l00035"></a>00035 ILboolean ilutOglConv;
|
||||
<a name="l00036"></a>00036 ILboolean ilutForceIntegerFormat;
|
||||
<a name="l00037"></a>00037 ILenum ilutDXTCFormat;
|
||||
<a name="l00038"></a>00038
|
||||
<a name="l00039"></a>00039 <span class="comment">// GL states</span>
|
||||
<a name="l00040"></a>00040 ILboolean ilutUseS3TC;
|
||||
<a name="l00041"></a>00041 ILboolean ilutGenS3TC;
|
||||
<a name="l00042"></a>00042 ILboolean ilutAutodetectTextureTarget;
|
||||
<a name="l00043"></a>00043 ILint MaxTexW;
|
||||
<a name="l00044"></a>00044 ILint MaxTexH;
|
||||
<a name="l00045"></a>00045 ILint MaxTexD;
|
||||
<a name="l00046"></a>00046
|
||||
<a name="l00047"></a>00047 <span class="comment">// D3D states</span>
|
||||
<a name="l00048"></a>00048 ILuint D3DMipLevels;
|
||||
<a name="l00049"></a>00049 ILenum D3DPool;
|
||||
<a name="l00050"></a>00050 ILint D3DAlphaKeyColor; <span class="comment">// 0x00rrggbb format , -1 for none</span>
|
||||
<a name="l00051"></a>00051
|
||||
<a name="l00052"></a>00052 } ILUT_STATES;
|
||||
<a name="l00053"></a>00053
|
||||
<a name="l00054"></a>00054 ILUT_STATES ilutStates[ILUT_ATTRIB_STACK_MAX];
|
||||
<a name="l00055"></a>00055
|
||||
<a name="l00056"></a>00056
|
||||
<a name="l00057"></a>00057 <span class="preprocessor">#endif//STATES_H</span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/include/IL/ilu_region.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/include/IL/ilu_region.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Utility Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 07/09/2002 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-ILU/src/ilu_region.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Creates an image region.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef ILU_REGION_H</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define ILU_REGION_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span>
|
||||
<a name="l00016"></a>00016 <span class="keyword">typedef</span> <span class="keyword">struct </span>Edge
|
||||
<a name="l00017"></a>00017 {
|
||||
<a name="l00018"></a>00018 ILint yUpper;
|
||||
<a name="l00019"></a>00019 ILfloat xIntersect, dxPerScan;
|
||||
<a name="l00020"></a>00020 <span class="keyword">struct </span>Edge *next;
|
||||
<a name="l00021"></a>00021 } Edge;
|
||||
<a name="l00022"></a>00022
|
||||
<a name="l00023"></a>00023
|
||||
<a name="l00024"></a>00024 <span class="preprocessor">#endif//ILU_REGION_H</span>
|
||||
<a name="l00025"></a>00025 <span class="preprocessor"></span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: Main Page</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li class="current"><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents">
|
||||
<h1>DevIL Documentation</h1>
|
||||
<p>
|
||||
</div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:41 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,49 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: /home/dwoods/DevIL/src-ILU/include/ilu_region.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>/home/dwoods/DevIL/src-ILU/include/ilu_region.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00002"></a>00002 <span class="comment">//</span>
|
||||
<a name="l00003"></a>00003 <span class="comment">// ImageLib Utility Sources</span>
|
||||
<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2000-2002 by Denton Woods</span>
|
||||
<a name="l00005"></a>00005 <span class="comment">// Last modified: 07/09/2002 <--Y2K Compliant! =]</span>
|
||||
<a name="l00006"></a>00006 <span class="comment">//</span>
|
||||
<a name="l00007"></a>00007 <span class="comment">// Filename: src-ILU/src/ilu_region.h</span>
|
||||
<a name="l00008"></a>00008 <span class="comment">//</span>
|
||||
<a name="l00009"></a>00009 <span class="comment">// Description: Creates an image region.</span>
|
||||
<a name="l00010"></a>00010 <span class="comment">//</span>
|
||||
<a name="l00011"></a>00011 <span class="comment">//-----------------------------------------------------------------------------</span>
|
||||
<a name="l00012"></a>00012
|
||||
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef ILU_REGION_H</span>
|
||||
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define ILU_REGION_H</span>
|
||||
<a name="l00015"></a>00015 <span class="preprocessor"></span>
|
||||
<a name="l00016"></a>00016 <span class="preprocessor">#include "ilu_internal.h"</span>
|
||||
<a name="l00017"></a>00017
|
||||
<a name="l00018"></a>00018
|
||||
<a name="l00019"></a>00019 <span class="keyword">typedef</span> <span class="keyword">struct </span>Edge
|
||||
<a name="l00020"></a>00020 {
|
||||
<a name="l00021"></a>00021 ILint yUpper;
|
||||
<a name="l00022"></a>00022 ILfloat xIntersect, dxPerScan;
|
||||
<a name="l00023"></a>00023 <span class="keyword">struct </span>Edge *next;
|
||||
<a name="l00024"></a>00024 } Edge;
|
||||
<a name="l00025"></a>00025
|
||||
<a name="l00026"></a>00026
|
||||
<a name="l00027"></a>00027 <span class="preprocessor">#endif//ILU_REGION_H</span>
|
||||
<a name="l00028"></a>00028 <span class="preprocessor"></span>
|
||||
</pre></div></div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,155 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: ILimage Struct Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents">
|
||||
<h1>ILimage Struct Reference</h1><!-- doxytag: class="ILimage" -->The Fundamental Image structure.
|
||||
<a href="#_details">More...</a>
|
||||
<p>
|
||||
<code>#include <<a class="el" href="devil__internal__exports_8h-source.html">devil_internal_exports.h</a>></code>
|
||||
<p>
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr><td></td></tr>
|
||||
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cdaccde79cda12c44c7a076ef9978cf1"></a><!-- doxytag: member="ILimage::Width" ref="cdaccde79cda12c44c7a076ef9978cf1" args="" -->
|
||||
ILuint </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#cdaccde79cda12c44c7a076ef9978cf1">Width</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">the image's width <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f0fe112b929d774c723ba5d8b6c2c5da"></a><!-- doxytag: member="ILimage::Height" ref="f0fe112b929d774c723ba5d8b6c2c5da" args="" -->
|
||||
ILuint </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#f0fe112b929d774c723ba5d8b6c2c5da">Height</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">the image's height <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="00e19fb6f1e50731d114c302129112d9"></a><!-- doxytag: member="ILimage::Depth" ref="00e19fb6f1e50731d114c302129112d9" args="" -->
|
||||
ILuint </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#00e19fb6f1e50731d114c302129112d9">Depth</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">the image's depth <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1b3ec86e5bf7087b7d46f0ed61d86eb9"></a><!-- doxytag: member="ILimage::Bpp" ref="1b3ec86e5bf7087b7d46f0ed61d86eb9" args="" -->
|
||||
ILubyte </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#1b3ec86e5bf7087b7d46f0ed61d86eb9">Bpp</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">bytes per pixel (now number of channels) <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="20c53053c80d504de93c3ee17290a9ba"></a><!-- doxytag: member="ILimage::Bpc" ref="20c53053c80d504de93c3ee17290a9ba" args="" -->
|
||||
ILubyte </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#20c53053c80d504de93c3ee17290a9ba">Bpc</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">bytes per channel <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="09ee9478fab289cf2622f06db9171894"></a><!-- doxytag: member="ILimage::Bps" ref="09ee9478fab289cf2622f06db9171894" args="" -->
|
||||
ILuint </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#09ee9478fab289cf2622f06db9171894">Bps</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">bytes per scanline (components for IL) <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b7a9627719d89abb3cb48087452acbc8"></a><!-- doxytag: member="ILimage::Data" ref="b7a9627719d89abb3cb48087452acbc8" args="" -->
|
||||
ILubyte * </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#b7a9627719d89abb3cb48087452acbc8">Data</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">the image data <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9e84436c94d9cd5afad59be12dff753b"></a><!-- doxytag: member="ILimage::SizeOfData" ref="9e84436c94d9cd5afad59be12dff753b" args="" -->
|
||||
ILuint </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#9e84436c94d9cd5afad59be12dff753b">SizeOfData</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">the total size of the data (in bytes) <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5ce85bc0b983ddf0ed91b1ed98d9132a"></a><!-- doxytag: member="ILimage::SizeOfPlane" ref="5ce85bc0b983ddf0ed91b1ed98d9132a" args="" -->
|
||||
ILuint </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#5ce85bc0b983ddf0ed91b1ed98d9132a">SizeOfPlane</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">SizeOfData in a 2d image, size of each plane slice in a 3d image (in bytes). <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f36941d08ffdd7ed7c42cdb11d2a5513"></a><!-- doxytag: member="ILimage::Format" ref="f36941d08ffdd7ed7c42cdb11d2a5513" args="" -->
|
||||
ILenum </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#f36941d08ffdd7ed7c42cdb11d2a5513">Format</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">image format (in IL enum style) <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f84630dff97fdc18dcf1c8187f5e1918"></a><!-- doxytag: member="ILimage::Type" ref="f84630dff97fdc18dcf1c8187f5e1918" args="" -->
|
||||
ILenum </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#f84630dff97fdc18dcf1c8187f5e1918">Type</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">image type (in IL enum style) <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c2bc011c3f8a65eea30a8d4495c96a2e"></a><!-- doxytag: member="ILimage::Origin" ref="c2bc011c3f8a65eea30a8d4495c96a2e" args="" -->
|
||||
ILenum </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#c2bc011c3f8a65eea30a8d4495c96a2e">Origin</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">origin of the image <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1e17c6b3c912a9bcddb50dd7a61011a7"></a><!-- doxytag: member="ILimage::Pal" ref="1e17c6b3c912a9bcddb50dd7a61011a7" args="" -->
|
||||
<a class="el" href="structILpal.html">ILpal</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#1e17c6b3c912a9bcddb50dd7a61011a7">Pal</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">palette details <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fde5827e053680ff1e81a9a9c0832042"></a><!-- doxytag: member="ILimage::Duration" ref="fde5827e053680ff1e81a9a9c0832042" args="" -->
|
||||
ILuint </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#fde5827e053680ff1e81a9a9c0832042">Duration</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">length of the time to display this "frame" <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="20bd452e1573aa08c7d9687190cbfa89"></a><!-- doxytag: member="ILimage::CubeFlags" ref="20bd452e1573aa08c7d9687190cbfa89" args="" -->
|
||||
ILenum </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#20bd452e1573aa08c7d9687190cbfa89">CubeFlags</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">cube map flags for sides present in chain <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fa2c8bedcd1178760327302911969035"></a><!-- doxytag: member="ILimage::Mipmaps" ref="fa2c8bedcd1178760327302911969035" args="" -->
|
||||
struct <a class="el" href="structILimage.html">ILimage</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#fa2c8bedcd1178760327302911969035">Mipmaps</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">mipmapped versions of this image terminated by a NULL - usu. NULL <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dbd033e6e25af697caa549be3deeb5ff"></a><!-- doxytag: member="ILimage::Next" ref="dbd033e6e25af697caa549be3deeb5ff" args="" -->
|
||||
struct <a class="el" href="structILimage.html">ILimage</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#dbd033e6e25af697caa549be3deeb5ff">Next</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">next image in the chain - usu. NULL <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="42b8f93f02ab5e6c9623967a08e2d013"></a><!-- doxytag: member="ILimage::Faces" ref="42b8f93f02ab5e6c9623967a08e2d013" args="" -->
|
||||
struct <a class="el" href="structILimage.html">ILimage</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#42b8f93f02ab5e6c9623967a08e2d013">Faces</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">next cubemap face in the chain - usu. NULL <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="504d31f6b9c9d6da656f5eecb57bdd46"></a><!-- doxytag: member="ILimage::Layers" ref="504d31f6b9c9d6da656f5eecb57bdd46" args="" -->
|
||||
struct <a class="el" href="structILimage.html">ILimage</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#504d31f6b9c9d6da656f5eecb57bdd46">Layers</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">subsequent layers in the chain - usu. NULL <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b128f3c35d0617202e3ec8252af5fa03"></a><!-- doxytag: member="ILimage::AnimList" ref="b128f3c35d0617202e3ec8252af5fa03" args="" -->
|
||||
ILuint * </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#b128f3c35d0617202e3ec8252af5fa03">AnimList</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">animation list <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="70e6057f47ac13562d06c43e17f9be56"></a><!-- doxytag: member="ILimage::AnimSize" ref="70e6057f47ac13562d06c43e17f9be56" args="" -->
|
||||
ILuint </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#70e6057f47ac13562d06c43e17f9be56">AnimSize</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">animation list size <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="78a95799c50680f0301e83b3f09c010f"></a><!-- doxytag: member="ILimage::Profile" ref="78a95799c50680f0301e83b3f09c010f" args="" -->
|
||||
void * </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#78a95799c50680f0301e83b3f09c010f">Profile</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">colour profile <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="03dcb37bc626f621f4c638fde928bf64"></a><!-- doxytag: member="ILimage::ProfileSize" ref="03dcb37bc626f621f4c638fde928bf64" args="" -->
|
||||
ILuint </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#03dcb37bc626f621f4c638fde928bf64">ProfileSize</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">colour profile size <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e0438126967c9e3fcdbf916776c7430c"></a><!-- doxytag: member="ILimage::OffX" ref="e0438126967c9e3fcdbf916776c7430c" args="" -->
|
||||
ILuint </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#e0438126967c9e3fcdbf916776c7430c">OffX</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">x-offset of the image <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d0db9b9c3aa7399ff8fe82327e1cc42"></a><!-- doxytag: member="ILimage::OffY" ref="3d0db9b9c3aa7399ff8fe82327e1cc42" args="" -->
|
||||
ILuint </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#3d0db9b9c3aa7399ff8fe82327e1cc42">OffY</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">y-offset of the image <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="65df57fee0fb33328ef00fecb7709638"></a><!-- doxytag: member="ILimage::DxtcData" ref="65df57fee0fb33328ef00fecb7709638" args="" -->
|
||||
ILubyte * </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#65df57fee0fb33328ef00fecb7709638">DxtcData</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">compressed data <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="41c04c16ff79d67c0c20d726ea411805"></a><!-- doxytag: member="ILimage::DxtcFormat" ref="41c04c16ff79d67c0c20d726ea411805" args="" -->
|
||||
ILenum </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#41c04c16ff79d67c0c20d726ea411805">DxtcFormat</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">compressed data format <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5d423e11ee4e5076d92f6a7e863b2070"></a><!-- doxytag: member="ILimage::DxtcSize" ref="5d423e11ee4e5076d92f6a7e863b2070" args="" -->
|
||||
ILuint </td><td class="memItemRight" valign="bottom"><a class="el" href="structILimage.html#5d423e11ee4e5076d92f6a7e863b2070">DxtcSize</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">compressed data size <br></td></tr>
|
||||
</table>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
The Fundamental Image structure.
|
||||
<p>
|
||||
Every bit of information about an image is stored in this internal structure. <hr>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>/home/dwoods/DevIL/include/IL/<a class="el" href="devil__internal__exports_8h-source.html">devil_internal_exports.h</a></ul>
|
||||
</div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,53 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>DevIL: ILpal Struct Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.5.6 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||||
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents">
|
||||
<h1>ILpal Struct Reference</h1><!-- doxytag: class="ILpal" -->Basic Palette struct.
|
||||
<a href="#_details">More...</a>
|
||||
<p>
|
||||
<code>#include <<a class="el" href="devil__internal__exports_8h-source.html">devil_internal_exports.h</a>></code>
|
||||
<p>
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr><td></td></tr>
|
||||
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bc8ce06b53b2ca4de6bf2ebda303d746"></a><!-- doxytag: member="ILpal::Palette" ref="bc8ce06b53b2ca4de6bf2ebda303d746" args="" -->
|
||||
ILubyte * </td><td class="memItemRight" valign="bottom"><a class="el" href="structILpal.html#bc8ce06b53b2ca4de6bf2ebda303d746">Palette</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">the image palette (if any) <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0e64a8c7d3cdd2e63b60c947f118db9b"></a><!-- doxytag: member="ILpal::PalSize" ref="0e64a8c7d3cdd2e63b60c947f118db9b" args="" -->
|
||||
ILuint </td><td class="memItemRight" valign="bottom"><a class="el" href="structILpal.html#0e64a8c7d3cdd2e63b60c947f118db9b">PalSize</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">size of the palette (in bytes) <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="586f4c7d59e6f202e1d63c67f7679c23"></a><!-- doxytag: member="ILpal::PalType" ref="586f4c7d59e6f202e1d63c67f7679c23" args="" -->
|
||||
ILenum </td><td class="memItemRight" valign="bottom"><a class="el" href="structILpal.html#586f4c7d59e6f202e1d63c67f7679c23">PalType</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">the palette types in <a class="el" href="il_8h.html">il.h</a> (0x0500 range) <br></td></tr>
|
||||
</table>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
Basic Palette struct. <hr>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>/home/dwoods/DevIL/include/IL/<a class="el" href="devil__internal__exports_8h-source.html">devil_internal_exports.h</a></ul>
|
||||
</div>
|
||||
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 8 20:01:42 2009 for DevIL by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 35 B |
|
After Width: | Height: | Size: 706 B |
|
After Width: | Height: | Size: 2.5 KiB |
@@ -0,0 +1,102 @@
|
||||
/* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */
|
||||
|
||||
DIV.tabs
|
||||
{
|
||||
float : left;
|
||||
width : 100%;
|
||||
background : url("tab_b.gif") repeat-x bottom;
|
||||
margin-bottom : 4px;
|
||||
}
|
||||
|
||||
DIV.tabs UL
|
||||
{
|
||||
margin : 0px;
|
||||
padding-left : 10px;
|
||||
list-style : none;
|
||||
}
|
||||
|
||||
DIV.tabs LI, DIV.tabs FORM
|
||||
{
|
||||
display : inline;
|
||||
margin : 0px;
|
||||
padding : 0px;
|
||||
}
|
||||
|
||||
DIV.tabs FORM
|
||||
{
|
||||
float : right;
|
||||
}
|
||||
|
||||
DIV.tabs A
|
||||
{
|
||||
float : left;
|
||||
background : url("tab_r.gif") no-repeat right top;
|
||||
border-bottom : 1px solid #84B0C7;
|
||||
font-size : x-small;
|
||||
font-weight : bold;
|
||||
text-decoration : none;
|
||||
}
|
||||
|
||||
DIV.tabs A:hover
|
||||
{
|
||||
background-position: 100% -150px;
|
||||
}
|
||||
|
||||
DIV.tabs A:link, DIV.tabs A:visited,
|
||||
DIV.tabs A:active, DIV.tabs A:hover
|
||||
{
|
||||
color: #1A419D;
|
||||
}
|
||||
|
||||
DIV.tabs SPAN
|
||||
{
|
||||
float : left;
|
||||
display : block;
|
||||
background : url("tab_l.gif") no-repeat left top;
|
||||
padding : 5px 9px;
|
||||
white-space : nowrap;
|
||||
}
|
||||
|
||||
DIV.tabs INPUT
|
||||
{
|
||||
float : right;
|
||||
display : inline;
|
||||
font-size : 1em;
|
||||
}
|
||||
|
||||
DIV.tabs TD
|
||||
{
|
||||
font-size : x-small;
|
||||
font-weight : bold;
|
||||
text-decoration : none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Commented Backslash Hack hides rule from IE5-Mac \*/
|
||||
DIV.tabs SPAN {float : none;}
|
||||
/* End IE5-Mac hack */
|
||||
|
||||
DIV.tabs A:hover SPAN
|
||||
{
|
||||
background-position: 0% -150px;
|
||||
}
|
||||
|
||||
DIV.tabs LI.current A
|
||||
{
|
||||
background-position: 100% -150px;
|
||||
border-width : 0px;
|
||||
}
|
||||
|
||||
DIV.tabs LI.current SPAN
|
||||
{
|
||||
background-position: 0% -150px;
|
||||
padding-bottom : 6px;
|
||||
}
|
||||
|
||||
DIV.navpath
|
||||
{
|
||||
background : none;
|
||||
border : none;
|
||||
border-bottom : 1px solid #84B0C7;
|
||||
}
|
||||
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 37 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 36 KiB |