mirror of
https://github.com/love2d/megasource.git
synced 2026-08-12 08:30:59 +02:00
Removed DevIL and its dependencies.
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
The main programmer is Denton Woods, but this could not have been possible
|
||||
without contributions and some pieces of code from other projects.
|
||||
|
||||
For contributors and credits, read the CREDITS file.
|
||||
@@ -1,116 +0,0 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(DevIL)
|
||||
|
||||
option(DEVIL_BUILD_SHARED "Build shared library" ON)
|
||||
option(DEVIL_BUILD_STATIC "Build static library" OFF)
|
||||
|
||||
set(DEVIL_SRC
|
||||
src-IL/src/altivec_common.c
|
||||
src-IL/src/altivec_typeconversion.c
|
||||
src-IL/src/il_alloc.c
|
||||
src-IL/src/il_bits.c
|
||||
src-IL/src/il_blp.c
|
||||
src-IL/src/il_bmp.c
|
||||
src-IL/src/il_convbuff.c
|
||||
src-IL/src/il_convert.c
|
||||
src-IL/src/il_cut.c
|
||||
src-IL/src/il_dcx.c
|
||||
src-IL/src/il_dds-save.c
|
||||
src-IL/src/il_dds.c
|
||||
src-IL/src/il_devil.c
|
||||
src-IL/src/il_dicom.c
|
||||
src-IL/src/il_doom.c
|
||||
src-IL/src/il_dpx.c
|
||||
src-IL/src/il_endian.c
|
||||
src-IL/src/il_error.c
|
||||
src-IL/src/il_exr.cpp
|
||||
src-IL/src/il_fastconv.c
|
||||
src-IL/src/il_files.c
|
||||
src-IL/src/il_fits.c
|
||||
src-IL/src/il_ftx.c
|
||||
src-IL/src/il_gif.c
|
||||
src-IL/src/il_hdr.c
|
||||
src-IL/src/il_header.c
|
||||
src-IL/src/il_icns.c
|
||||
src-IL/src/il_icon.c
|
||||
src-IL/src/il_iff.c
|
||||
src-IL/src/il_ilbm.c
|
||||
src-IL/src/il_internal.c
|
||||
src-IL/src/il_io.c
|
||||
src-IL/src/il_iwi.c
|
||||
src-IL/src/il_jp2.c
|
||||
src-IL/src/il_jpeg.c
|
||||
src-IL/src/il_lif.c
|
||||
src-IL/src/il_main.c
|
||||
src-IL/src/il_manip.c
|
||||
src-IL/src/il_mdl.c
|
||||
src-IL/src/il_mng.c
|
||||
src-IL/src/il_mp3.c
|
||||
src-IL/src/il_neuquant.c
|
||||
src-IL/src/il_nvidia.cpp
|
||||
src-IL/src/il_pal.c
|
||||
src-IL/src/il_pcd.c
|
||||
src-IL/src/il_pcx.c
|
||||
src-IL/src/il_pic.c
|
||||
src-IL/src/il_pix.c
|
||||
src-IL/src/il_png.c
|
||||
src-IL/src/il_pnm.c
|
||||
src-IL/src/il_profiles.c
|
||||
src-IL/src/il_psd.c
|
||||
src-IL/src/il_psp.c
|
||||
src-IL/src/il_pxr.c
|
||||
src-IL/src/il_quantizer.c
|
||||
src-IL/src/il_raw.c
|
||||
src-IL/src/il_rawdata.c
|
||||
src-IL/src/il_register.c
|
||||
src-IL/src/il_rle.c
|
||||
src-IL/src/il_rot.c
|
||||
src-IL/src/il_sgi.c
|
||||
src-IL/src/il_size.c
|
||||
src-IL/src/il_squish.cpp
|
||||
src-IL/src/il_stack.c
|
||||
src-IL/src/il_states.c
|
||||
src-IL/src/il_sun.c
|
||||
src-IL/src/il_targa.c
|
||||
src-IL/src/il_texture.c
|
||||
src-IL/src/il_tiff.c
|
||||
src-IL/src/il_tpl.c
|
||||
src-IL/src/il_utility.c
|
||||
src-IL/src/il_utx.cpp
|
||||
src-IL/src/il_vtf.c
|
||||
src-IL/src/il_wal.c
|
||||
src-IL/src/il_wbmp.c
|
||||
src-IL/src/il_wdp.c
|
||||
src-IL/src/il_xpm.c
|
||||
src-IL/msvc9/il.def
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/IL/config.h "// Placeholder")
|
||||
endif()
|
||||
|
||||
add_definitions(
|
||||
-DIL_EXPORTS
|
||||
-DIL_NO_WDP
|
||||
-DIL_NO_MNG
|
||||
-DIL_NO_LCMS
|
||||
-DIL_NO_EXR
|
||||
# Bug in DevIL 1.7.8:
|
||||
-Dpng_set_gray_1_2_4_to_8=png_set_expand_gray_1_2_4_to_8
|
||||
)
|
||||
|
||||
if (DEVIL_BUILD_STATIC)
|
||||
add_library(DevIL-static STATIC ${DEVIL_SRC})
|
||||
target_include_directories(DevIL-static PUBLIC include ${CMAKE_CURRENT_BINARY_DIR})
|
||||
target_include_directories(DevIL-static PRIVATE src-IL/include)
|
||||
target_link_libraries(DevIL-static ${PNG_LIB_NAME_STATIC} jpeg-static jasper-static tiff-static winmm.lib)
|
||||
endif()
|
||||
|
||||
if (DEVIL_BUILD_SHARED)
|
||||
add_library(DevIL SHARED ${DEVIL_SRC})
|
||||
target_include_directories(DevIL PUBLIC include ${CMAKE_CURRENT_BINARY_DIR})
|
||||
target_include_directories(DevIL PRIVATE src-IL/include)
|
||||
target_link_libraries(DevIL ${PNG_LIB_NAME_STATIC} jpeg-static jasper-static tiff-static winmm.lib)
|
||||
install(TARGETS DevIL RUNTIME DESTINATION . LIBRARY DESTINATION .)
|
||||
endif()
|
||||
@@ -1,506 +0,0 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
not price. Our General Public Licenses are designed to make sure that
|
||||
you have the freedom to distribute copies of free software (and charge
|
||||
for this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that
|
||||
there is no warranty for the free library. Also, if the library is
|
||||
modified by someone else and passed on, the recipients should know
|
||||
that what they have is not the original version, so that the original
|
||||
author's reputation will not be affected by problems that might be
|
||||
introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using
|
||||
a shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it becomes
|
||||
a de-facto standard. To achieve this, non-free programs must be
|
||||
allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License").
|
||||
Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (1) uses at run time a
|
||||
copy of the library already present on the user's computer system,
|
||||
rather than copying library functions into the executable, and (2)
|
||||
will operate properly with a modified version of the library, if
|
||||
the user installs one, as long as the modified version is
|
||||
interface-compatible with the version that the work was made with.
|
||||
|
||||
c) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
d) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
e) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Libraries
|
||||
|
||||
If you develop a new library, and you want it to be of the greatest
|
||||
possible use to the public, we recommend making it free software that
|
||||
everyone can redistribute and change. You can do so by permitting
|
||||
redistribution under these terms (or, alternatively, under the terms of the
|
||||
ordinary General Public License).
|
||||
|
||||
To apply these terms, attach the following notices to the library. It is
|
||||
safest to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the library's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1990
|
||||
Ty Coon, President of Vice
|
||||
|
||||
That's all there is to it!
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,264 +0,0 @@
|
||||
Credits as of 02/06/2009
|
||||
------------------------
|
||||
|
||||
If I inadvertently omitted anyone's name from this list, please e-mail me at
|
||||
doomwiz@users.sourceforge.net to remedy the problem.
|
||||
|
||||
|
||||
James Joplin, alias jayjay (rjoplin@webzone.net)
|
||||
for all his invaluable help and encouragement with DevIL.
|
||||
|
||||
Edouard Gomez for his invaluable help.
|
||||
|
||||
All the #flipCode gang for their support.
|
||||
|
||||
All my friends at uni for their support.
|
||||
|
||||
SoftImage .pic support based off of code obtained from
|
||||
http://www.swin.edu.au/astronomy/pbourke/dataformats/
|
||||
|
||||
TestPic, used in TestIL
|
||||
http://www.paintlib.de/paintlib/testpic.zip
|
||||
|
||||
Png Test Images
|
||||
http://www.schaik.com/pngsuite/pngsuite.html
|
||||
|
||||
John Villar (john.villar@eliaschev.com) for making the suggestion of not
|
||||
letting the user use ILimage structs but instead binding images like OpenGL.
|
||||
He also made a suggestion on how to load luminance .jpg images, along with
|
||||
other suggestions.
|
||||
|
||||
http://www.opengl.org/Coding/KilgardTechniques/oglpitfall/oglpitfall.html
|
||||
section 6 for the values the NTSC uses, so I could convert from coloured
|
||||
images to luminance values.
|
||||
|
||||
Kodak Photo CD code from the .pcd link on http://www.wotsit.org.
|
||||
|
||||
Foper (foper@hotmail.com) from #flipCode for supplying the excellent
|
||||
flipcode.jpg in testil\in. The original can be found at
|
||||
http://webpatterns.com/flip/flipshow.htm
|
||||
|
||||
Lightman (cdthompson@home.net) from #flipCode for restructuring the project
|
||||
into /bin, /obj, etc.
|
||||
|
||||
Alexander Blach (alexander@abee.de) from #flipCode for creating the Delphi
|
||||
headers and test app. He figured out that we needed to use .def files to
|
||||
prevent name decoration of the dlls. He has contributed multiple ideas and
|
||||
found flaws. Alexander also created a lovely documentation database to help
|
||||
with documenting DevIL.
|
||||
|
||||
Randy Heit for finding problems in my Doom texture code.
|
||||
|
||||
Oliver Kurowski (oliver.kurowski@gmx.de) for locating a bug in ilut's
|
||||
DllMain() and another very harmful bug with ilDeleteImages().
|
||||
|
||||
Ender Wiggin's article on "Elementary Digital Filtering",
|
||||
found at http://www.gamedev.net/reference/programming/features/edf/
|
||||
for many filters in DevIL.
|
||||
|
||||
SGI's "Graphica Obscura" site at http://www.sgi.com/grafica/matrix/index.html
|
||||
for several filters in DevIL.
|
||||
|
||||
The http://bae.fse.missouri.edu/luw/course/image/project1/project1.html
|
||||
page for help in determining filter code for Graphica Obscura's interpolation
|
||||
article at http://www.sgi.com/grafica/interp/index.html.
|
||||
|
||||
Matt Denham for suggesting optimizations in ilNegativeImage(),
|
||||
iluEdgeDetectS() and iluEdgeDetectP().
|
||||
|
||||
Timo Heister (Timo-Heister@gmx.de) from #flipCode for creating the original
|
||||
Visual Basic headers and test apps for VB.
|
||||
|
||||
The OpenGL SuperBible for code for ilutGetHPal().
|
||||
|
||||
DJ Luminescent (luminescent@uswest.net) for finding a couple of bugs in the
|
||||
.bmp-loading code and diligently beta testing.
|
||||
|
||||
Lionel Brits, alias Zaewo from #flipCode for slapping me around and telling
|
||||
me how Microsoft does their .bmp padding. He then wrote most of the
|
||||
iluEqualize() code from the base code on
|
||||
http://www.manning.com/Kabir/Files.html .
|
||||
|
||||
Joel Wilsson, alias Siigron (siigron@hotmail.com) for pointing-out several
|
||||
design flaws that I (Denton) had introduced and posing very useful
|
||||
suggestions.
|
||||
|
||||
Sean Montgomery, alias Vapor (sean@astralfx.com) for patiently listening to
|
||||
my endless drivel about DevIL.
|
||||
|
||||
Perlin Noise site http://freespace.virgin.net/hugo.elias/models/m_perlin.htm
|
||||
for information on interpolation used in iluScale().
|
||||
|
||||
Shimon Shvartsbroit, alias MasterBoy (cobra11@netvision.net.il) from #flipCode
|
||||
for explaining bilinear interpolation to me.
|
||||
|
||||
Lbm source from http://www.wotsit.org
|
||||
|
||||
Eran Kampf, alias ttentacle (ekampf@internet-zahav.net) for giving me
|
||||
resource-loading code for ilutLoadResource and helping with the Windows
|
||||
clipboard functions.
|
||||
|
||||
Strumpf from #flipCode for writing a really good DirectDraw class for me to
|
||||
use in the DDraw test, which is based off of his test, too.
|
||||
|
||||
NullSoft (http://www.nullsoft.com), for their SuperPiMP installer. It is
|
||||
extremely easy to learn to use and very powerful.
|
||||
|
||||
Serun from #flipCode for noticing that Quake2 .pcx files sometimes don't have
|
||||
the checksum byte for palette'd .pcx files.
|
||||
|
||||
Conor Stokes, aka DirtyPunk from #flipCode for helping explain several things
|
||||
to me.
|
||||
|
||||
Half-Life model viewer sources (at http://www.swissquake.ch/chumbalum-soft/)
|
||||
for specs for the Half-Life model format.
|
||||
|
||||
Rich Schwab, alias endura (endura29@hotmail.com) for contributing
|
||||
girlfriend.cpp.
|
||||
|
||||
The Djgpp libc sources (http://www.delorie.com/djgpp), from where I copied
|
||||
several functions.
|
||||
|
||||
Roman Podobedov (romka@ut.ee) of Romka Graphics (http://romka.demonews.com)
|
||||
for his colour quantization sources, which he was kind enough to let me use.
|
||||
|
||||
Pcx document on http://www.wotsit.org for .pcx saving code.
|
||||
|
||||
http://www-classic.be.com/aboutbe/benewsletter/volume_III/Issue2.html#Insight
|
||||
for iluWave().
|
||||
|
||||
.lif specs from http://www.infinite-mass.com/bob/files/lifed.zip and
|
||||
http://www.infinite-mass.com/bob/files/lif.zip
|
||||
|
||||
Rune Kock (rune@vupti.com) for writing the new Visual Basic headers and for
|
||||
finding a return bug in iluScaleAdvanced.
|
||||
|
||||
Julien Verchere and Xavier Decoret for suggesting that I use const char*'s
|
||||
instead of char*'s as function parameters.
|
||||
|
||||
Jason Reeve (jason@retribution-entertainment.com) for finding a bug in iluCrop,
|
||||
several origin-related problems, and helping me bring my targa-loading code up
|
||||
to spec.
|
||||
|
||||
Darren Adams for telling me the #pragmas to use in MSVC++ to disable the
|
||||
console window in a "console app".
|
||||
|
||||
David Gould for getting onto me about my crappy Linux support.
|
||||
|
||||
David Galeano for his DX8 Surface to TGA code, modified to save to any texture.
|
||||
The original can be found at http://rt000s2p.eresmas.net/downloads.htm
|
||||
|
||||
RLE code from TrueVision's TGA sample code available as Tgautils.zip at
|
||||
ftp://ftp.truevision.com/pub/TGA.File.Format.Spec/PC.Version/
|
||||
|
||||
Jeroen Janssen for creating a Mandrake RPM patch for DevIL.
|
||||
|
||||
Greg Priem for his help with supporting libungif and some various other things.
|
||||
|
||||
Nelson Rush for SDL surface support and finding several bugs with DevIL.
|
||||
|
||||
George McBay for his wonderful help finding bugs in my mipmapping code.
|
||||
|
||||
Marco Kögler for finding bugs in my .jpg and .png code.
|
||||
|
||||
Falco Kleinschmidt for fixing problems with the Linux makefiles.
|
||||
|
||||
Olivier Bucher for finding a bug in saving 8-bit .bmp files.
|
||||
|
||||
Derek Wills for noticing a problem with ilutGLScreenie when the screen width is
|
||||
not a multiple of 4.
|
||||
|
||||
Dale Schumacher's "Filtered Image Rescaling" code in Graphic Gems III for some
|
||||
scaling algorithms in ILU.
|
||||
|
||||
Kevin Park for making some suggestions on the ilImage C++ wrapper.
|
||||
|
||||
Alessandro Pedretti for finding a bug in my TIFF code and making suggestions
|
||||
about portability issues.
|
||||
|
||||
boostrlns from #flipCode for finding the ilutGLLoadImage bug in the 1.1.5
|
||||
release.
|
||||
|
||||
Ismo Kärkkäinen (iak@cs.joensuu.fi) for making some really nice new makefiles
|
||||
for Linux.
|
||||
|
||||
Kishan (http://www.hackorama.com) for the nice directions on how to compile
|
||||
the external libraries under Linux.
|
||||
|
||||
Wojciech Sobczuk for creating FreeBSD versions of the makefiles.
|
||||
|
||||
nVidia for code to load .DDS files available at
|
||||
http://www.nvidia.com/view.asp?IO=dxtc_decompression_code
|
||||
|
||||
PixiGreg for noticing that many viewers don't like .bmp files with negative
|
||||
heights (flipped), even though the specs say that it is valid.
|
||||
|
||||
Matthias Stiller and Andre Normann for their invaluable help with getting
|
||||
DevIL to work on Big Endian machines.
|
||||
|
||||
Jean-Francois Richard for the Python bindings of DevIL.
|
||||
|
||||
Nick Marley for post-build information in MSVC++.
|
||||
|
||||
Kenneth Hurley for his help in expanding and fixing my DDS code.
|
||||
|
||||
Mark Callow for EXIF-loading and saving code, along with il[Load/Save]FromJpegStruct
|
||||
|
||||
Sam for several fixes to my .bmp and .jpg loaders.
|
||||
|
||||
chris79 for his help debugging my .psp and .gif code in several versions.
|
||||
|
||||
Nick Marley for his MSVC++ post-build fixes.
|
||||
|
||||
Marc Gregoire for sending images that DevIL would not load.
|
||||
|
||||
Alberto Barbati for noticing that the IL_NEU_QUANT_SAMPLE mode wasn't being used properly.
|
||||
|
||||
Ryan Butterfoss for his contributions to the DDS saving code.
|
||||
|
||||
Computer Graphics (C Version) book by Hearn and Baker for the arbitrary polygon filling code.
|
||||
|
||||
Nicolas Weber
|
||||
|
||||
Meloni Dario
|
||||
|
||||
Erick Tryzelaar
|
||||
|
||||
Matej Tyc for completely redoing the Linux makefile system and rewriting the documentation.
|
||||
|
||||
Matevz Tadel for fixing makefile for Scientific Linux.
|
||||
|
||||
Richard Sim for contributing several fixes, especially for .psd loading
|
||||
|
||||
robin_charlton for contributing a patch for Windows BMP support in ILUT.
|
||||
|
||||
Vincent Richomme for DirectX Mobile support
|
||||
|
||||
Antibyte for DDS save bugfix
|
||||
|
||||
Stefan Cornelius, Secunia Research, for finding some buffer overflow vulnerabilities.
|
||||
|
||||
Nico Golde for finding that my fix for the above vulnerability was not totally complete.
|
||||
|
||||
GAIA (Group for Artificial Intelligence Applications) for contributions including .iff-loading
|
||||
and redoing the ilutConvertToHBitmap code. Their changes are at
|
||||
http://gaia.fdi.ucm.es/grupo/projects/javy/devzone.html#DevILNotes.
|
||||
|
||||
Jesse Maurais for support of X11 component
|
||||
|
||||
|
||||
Translations:
|
||||
-------------
|
||||
|
||||
Carlos Aragonés, for Spanish translation
|
||||
|
||||
Bart De Lathouwer, for Danish translation
|
||||
|
||||
Osamu Ohara, for English translation
|
||||
|
||||
Abdullah Alshammari, for Arabic translation
|
||||
|
||||
Osamu Ohara, for Japanese translation
|
||||
|
||||
Andreas Stöckel, for German translation
|
||||
|
||||
@@ -1,604 +0,0 @@
|
||||
2009-03-08 Matěj Týč <bubla@users.sf.net>
|
||||
* docs/Makefile.am: Fixed distcheck by overriding dvi target.
|
||||
* lib/Makefile.am: Renoved ilu_mipmap.h file
|
||||
* configure.ac: Added option to disable checks for 'nvidia texture tools' and
|
||||
'libsquish'
|
||||
|
||||
2009-03-08 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_ilbm.c:410: Changed to IL_BGR from IL_RGB.
|
||||
* il_iff.c (ilLoadIffF/ilLoadIffL): Changed to call Lbm loading functions
|
||||
if Iff loading fails, since they both can have the .iff extension.
|
||||
* il_ilbm.c:416: Added origin reference.
|
||||
* configure.ac: Added more file formats to the format checks.
|
||||
* Makefile.am: Removed ilu_mipmap.h. Added ilu_error-french.h.
|
||||
|
||||
2009-03-07 Denton Woods <doomwiz@users.sf.net>
|
||||
* Updated version numbers to 1.7.8 project-wide.
|
||||
* DevIL_manual.texi: Added several file formats to the appendix.
|
||||
* il_io.c: Updated Doxygen comments for loading/saving functions.
|
||||
* libraries.txt: Updated with new libraries.
|
||||
* il_io.c (ilTypeFromExt): Changed return value of FITS files to IL_FITS.
|
||||
Added DICOM, FTX, Rot and Texture checks.
|
||||
* il_states.c/.h: Updated with newer file formats.
|
||||
* il_blp.c:649: Fixed ilNewImageFull call to use color index.
|
||||
659: Fixed memcpy from base image to new mipmap.
|
||||
* il_dcx.c, il_exr.cpp and many more: Checks return value of ilFixImage now.
|
||||
* il_iff.c:271: Got rid of ilConvertImage call.
|
||||
|
||||
2009-03-06 Denton Woods <doomwiz@users.sf.net>
|
||||
* Updated VC8 projects to use il_mp3.c.
|
||||
* il.h: Added description to IL_WDP.
|
||||
|
||||
2009-03-05 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_mp3.c: Added this file.
|
||||
* il_io.c: Added loading calls for .mp3 files.
|
||||
* il_internal.h: Added .mp3 loading declarations.
|
||||
* Makefile.am: Added il_mp3.c to source line.
|
||||
* il.h: Added IL_MP3 define.
|
||||
|
||||
2009-03-04 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_utx.cpp: Started cleanup of file using C++ constructs.
|
||||
* Updated VC8 projects to use il_utx.cpp.
|
||||
|
||||
2009-03-03 Denton Woods <doomwiz@users.sf.net>
|
||||
* ilu_error-french.h: Added French translation of errors.
|
||||
* ilu.h: Added ILU_FRENCH define.
|
||||
* Changed il_utx.c to il_utx.cpp.
|
||||
|
||||
2009-03-02 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_utx.c: Added DXT1 loading in UTX files.
|
||||
* il_utx.h: Added this file.
|
||||
* lib/Makefile.am: Added il_utx.h to include line.
|
||||
* il_utx.c: Fixed loading of larger images.
|
||||
* windows_example.rc: Fixed accelerator for menu.
|
||||
|
||||
2009-03-01 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_utx.c: Added this file.
|
||||
* lib/Makefile.am: Added il_utx.c to source line.
|
||||
* il_internal.h: Added .utx loading declarations.
|
||||
* il_io.c: Added loading calls for .utx files.
|
||||
|
||||
2009-02-28 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_states.c / il_states.h: Added ilVtfCompression to IL_STATES.
|
||||
* il_vtf.c: Added more formats to saving.
|
||||
* il.h: Added IL_VTF_COMP define.
|
||||
* il_io.c: Added saving calls for .vtf files.
|
||||
* il_dds.c: Added DecompressARGB16 to load a2r10g10b10 and a2b10g10r10 formats.
|
||||
* il_convbuff (iSwitchTypes): Added several missing break statements.
|
||||
* il_convbuff:1988: Changed to check types instead of bpc.
|
||||
|
||||
2009-02-27 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_dpx.c / il_dpx.h: Got basic dpx loading working.
|
||||
* WindowsTest.cpp: Fixed memory leak when loading files.
|
||||
* il_vtf.c (iGetVtfHead): Added support for headers of 64 bytes.
|
||||
* il_iwi.c (iLoadIwiInternal): Added IL_INVALID_FILE_HEADER error.
|
||||
* il_vtf.c: Added VTF writing functions.
|
||||
|
||||
2009-02-26 Denton Woods <doomwiz@users.sf.net>
|
||||
* configure.ac, lib/Makefile.am, il.h, il_internal.h, il_ilbm.c, il_io.c: Added
|
||||
patch from Ben Campbell for ILBM files at
|
||||
https://sourceforge.net/tracker2/index.php?func=detail&aid=2635333&group_id=4470&atid=304470.
|
||||
* il_dpx.c / il_dpx.h: Added these files.
|
||||
* lib/Makefile.am: Added il_dpx.c and il_dpx.h to source/include lines.
|
||||
* il_internal.h: Added .dpx loading declarations.
|
||||
* il_io.c: Added loading calls for .dpx files.
|
||||
|
||||
2009-02-25 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_iwi.c:329: Changed IL_MAX parameter from 16 to 8 (copy+paste error).
|
||||
* WindowsTest.cpp: Added mipmap functionality to 0-9 keys (0 goes to main image).
|
||||
|
||||
2009-02-24 Denton Woods <doomwiz@users.sf.net>
|
||||
* vc9 Unicode projects: Changed settings to use x64 and x86 directories for .obj files.
|
||||
* test/in: Removed this directory.
|
||||
* Added "Test Images" to SVN.
|
||||
* il_dds.c (DecompressFloat): Added proper support for G16B16, G32B32, R16 and R32 images.
|
||||
|
||||
2009-02-23 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_pnm.c: Fixed bug at https://sourceforge.net/forum/message.php?msg_id=6491617 -
|
||||
Changed order of lines 448 and 450.
|
||||
|
||||
2009-02-22 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_internal.h: Added IL_NO_EXTLIBS define.
|
||||
* il_dds-save.c: Removed unused variables.
|
||||
* ilu_mipmap.c: Finished redoing all mipmap functions.
|
||||
* ilu_mipmap.h: Removed this file.
|
||||
|
||||
2009-02-21 Denton Woods <doomwiz@users.sf.net>
|
||||
* ilu_mipmap.c: Redid mipmap functions to use iluScale functions instead of nearest.
|
||||
|
||||
2009-02-20 Matěj Týč <bubla@users.sf.net>
|
||||
* docs/Makefile.am,docs/Devil_manual.texi: Added new ILU images to the
|
||||
manual, set the manual license to GFDL.
|
||||
* testil, ilur: Licensed under GPL v3
|
||||
|
||||
2009-02-19 Denton Woods <doomwiz@users.sf.net>
|
||||
* windows_example\resources: Added DevIL Logo.ico, removed OpenIL Logo.ico.
|
||||
* windows_example\resource.h: Changed to use DevIL Logo.ico.
|
||||
* il_io.c (ilSaveL): Fixed bug where return type was cast to 1 byte.
|
||||
|
||||
2009-02-18 Denton Woods <doomwiz@users.sf.net>
|
||||
* configure.ac: Added descriptions of more image formats.
|
||||
* il_ftx.c (iLoadFtxInternal): Changed to load all FTX images as RGBA.
|
||||
|
||||
2009-02-17 Denton Woods <doomwiz@users.sf.net>
|
||||
* ilu_mipmap.c: Changed all references of Next to Mipmaps to fix bug noticed at
|
||||
https://sourceforge.net/forum/message.php?msg_id=6443698.
|
||||
* Added support for IL_NO_GAMES in il_internal.h.
|
||||
|
||||
2009-02-17 Matěj Týč <bubla@users.sf.net>
|
||||
* configure.ac, m4/devil-definitions.m4 (TEST_FORMAT): Added an option
|
||||
to describe image formats.
|
||||
|
||||
2009-02-16 Matěj Týč <bubla@users.sf.net>
|
||||
* src-ILU/ilur: Made ilur independent on regex.h
|
||||
* autogen.sh: Simplified autotools invocation to autoreconf only
|
||||
* configure.ac: Added support for IL_NO_GAMES if users don't want
|
||||
support for game formats
|
||||
* docs/DevIL_manual.texi: Fixed errors causing trouble when making
|
||||
info files + some minor syntax enhancements.
|
||||
|
||||
2009-02-16 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_manip.c (ilGetAlpha): Added IL_ALPHA case.
|
||||
* il_manip.c (ilSetAlpha): Cleaned up formatting. Added IL_ALPHA case.
|
||||
Fixed casting issue in integer case.
|
||||
* il_texture.c: Added this file and the simple .texture loading.
|
||||
* lib/Makefile.am and src-IL/src/Makefile.am: Added il_texture.c to source line.
|
||||
* il.h: Added IL_TEXTURE define.
|
||||
* il_internal.h: Added .texture loading declarations.
|
||||
* DevIL.nb: Removed the test image from the notebook to drop it from over 9MB to 4.5KB.
|
||||
|
||||
2009-02-15 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_blp.c (iLoadBlpInternal): Finished testing and fixed BLP2 RAW with 1-bit alpha.
|
||||
* il_dicom.c: Added this file.
|
||||
* config.h.win: Added defines for new image formats.
|
||||
* il_io.c / il_jp2.c: Added .jpx, .j2k and .j2c extensions for JPEG 2000.
|
||||
* il_io.c / il_jpeg.c: Added .jif and .jfif extensions for JPEG.
|
||||
* il_dicom.c: Added DICOM loading for uncompressed formats and little endian data.
|
||||
* lib/Makefile.am and src-IL/src/Makefile.am: Added il_dicom.c to source line.
|
||||
* il_dicom.c: Added DICOM support for big endian data.
|
||||
* test/in/tiff: Removed this directory.
|
||||
* il_rot.c: Added this file. Added .rot loading.
|
||||
* lib/Makefile.am and src-IL/src/Makefile.am: Added il_rot.c to source line.
|
||||
* il.h: Added IL_ROT define.
|
||||
* il_internal.h: Added Rot loading declarations.
|
||||
|
||||
2009-02-15 Matěj Týč <bubla@users.sf.net>
|
||||
* src-ILU/ilur: Added the ilur - commandline ILU frontend
|
||||
* bin, examples/Makefile.am: Moved examples's Makefile.am to bin
|
||||
directory. Added ilur to it.
|
||||
* docs/DevIL_manual.texi: Made slight syntax corrections, fixed the
|
||||
sample program and added functions index
|
||||
|
||||
2009-02-14 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_blp.c (iLoadBlp1): Support for mipmaps added.
|
||||
* il_gif.h: Moved iCopyPalette declaration out of here into il_internal.h.
|
||||
* il_gif.c: Moved iCopyPalette definition out of here into il_pal.c.
|
||||
* projects/Mathematica: Added this folder.
|
||||
* il_fits.c (iCheckFits): Implemented this.
|
||||
* il_fits.c (iLoadFitsInternal): Renormalized float and double data.
|
||||
* il_blp.c (iLoadBlp1): Added seeks to image data (not necessarily following palette).
|
||||
* il_blp.c (iLoadBlpInternal): Added loading for BLP2 RAW with 1-bit alpha.
|
||||
|
||||
2009-02-13 Denton Woods <doomwiz@users.sf.net>
|
||||
* WindowsTest.cpp: Added slideshow capabilities with Page Up and Page Down.
|
||||
* il_jpeg.c:357: Added ilFixImage call.
|
||||
* il_jpeg.c (ilLoadFromJpegStruct): Changed return value to the return of ilFixImage.
|
||||
* il_blp.c:466-467: Fixed to read these images properly.
|
||||
* WindowsTest Project: Changed x64 debug to use runtime library debug DLLs.
|
||||
|
||||
2009-02-12 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_ftx.c: Added this file.
|
||||
* lib/Makefile.am and src-IL/src/Makefile.am: Added il_ftx.c to source line.
|
||||
* il_io.c: Added Ftx loading function calls.
|
||||
* il_blp.c: Added BLP1-loading functions.
|
||||
|
||||
2009-02-11 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_jpeg.c (ilSaveJpegL): Changed the itellw call to after iSetOutputLump
|
||||
(was returning bad values, since the lump was not set yet).
|
||||
* il_io.c (ilSaveL): Changed return value to Ret and got rid of IL_FALSE check.
|
||||
* il_bmp.c, il_dds-save.c, il_hdr.c, il_jp2.c, il_pcx.c, il_png.c, il_pnm.c, il_psd.c, il_raw.c,
|
||||
il_sgi.c, il_wbmp.c: Fixed same problem that il_jpeg.c had with saving lumps.
|
||||
* il_sgi.c: Put header on file.
|
||||
* il_iwi.c:337: Removed this line, which called iread a second time for CompData.
|
||||
|
||||
2009-02-10 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_io.c: Added ilLoadBlp calls in il_io.c.
|
||||
* VC9 projects: Turned off x64 incremental linking to prevent debugging problems described here:
|
||||
http://stackoverflow.com/questions/218747/msvcr90ddll-not-found-in-debug-mode-with-visual-c-2008
|
||||
* il_blp.c: Added code to read BLP2 files.
|
||||
|
||||
2009-02-09 Denton Woods <doomwiz@users.sf.net>
|
||||
* ilu_scale2d.c (iluScale2DBilinear_): Started rewrite, since results were really ugly.
|
||||
* il_iwi.c / il_vtf.c: Changed max references to IL_MAX.
|
||||
* il_wdp.c: Redid all of the code so that it actually works now.
|
||||
* il_internal.h:42-46: Added lines to define IL_NO_WDP if not in Windows.
|
||||
* il_io.c: Added Iwi and Fits loading calls.
|
||||
* il.h: Added IL_BLP and IL_DICOM. Switched IL_DICOM and IL_IWI defines.
|
||||
* il_internal.h: Added Blp and Dicom function defines.
|
||||
* il_blp.c: Added this file and started code.
|
||||
* lib/Makefile.am and src-IL/src/Makefile.am: Added il_blp.c to source line.
|
||||
|
||||
2009-02-09 Matěj Týč <bubla@users.sf.net>
|
||||
* tests/testil.c: Added checks what IL loading/saving routines ended
|
||||
* build system: Removed --enable-monolithic option.
|
||||
|
||||
2009-02-07/08 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_iwi.c: Added this file and code to load .iwi files.
|
||||
* il_vtf.c (iLoadVtfInternal): Added checks for CompData == NULL.
|
||||
* il_dds.c/il_dds.h: Changed CompFormat to a local variable. Renamed Decompress to DdsDecompress.
|
||||
* ChangeLog (this file): Changed order to newest at the top.
|
||||
* il.h: Added IL_FITS and IL_IWI defines.
|
||||
* config.h.win: Added IL_FITS, IL_IWI, IL_SUN and IL_TPL.
|
||||
* lib/Makefile.am and src-IL/src/Makefile.am: Added il_fits.c and il_iwi.c to source line.
|
||||
|
||||
|
||||
--- 1.7.7 release ---
|
||||
|
||||
2009-02-06 Matěj Týč <bubla@users.sf.net>
|
||||
* configure.ac, lib/Makefile.am: Added explicit linking with libm
|
||||
library + fixed the ilut_x11.c file conditions of compilation
|
||||
* examples/Makefile.am + IL examples, test/Makefile.am + testil: Added
|
||||
conditional compilation option when compiling only with IL (without
|
||||
ILU, iluErrorString() absence workaround)
|
||||
|
||||
2009-02-06 Denton Woods <doomwiz@users.sf.net>
|
||||
* README.win and README.unix: Updated with Cygwin/MinGW instructions.
|
||||
|
||||
2009-02-05 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_tga.c: Fixed bug loading malformed RLE Targa images.
|
||||
* il_rle.c:20: Changed size_t cast to ILint to resolve compiler warning.
|
||||
* il.def: Added definitions.
|
||||
* Updated version numbers to 1.7.7 everywhere.
|
||||
|
||||
2009-02-04 Denton Woods <doomwiz@users.sf.net>
|
||||
* ilut_opengl.c:160: Changed checks to see if less than 0.
|
||||
* il_fits.c: Got this reading FITS files properly.
|
||||
|
||||
2009-02-04 Matěj Týč <bubla@users.sf.net>
|
||||
* configure.ac: Corrected handling of --enable-debug options, added
|
||||
working install support for pkg-config
|
||||
* data/Makefile.am, *.pc.in: Corrected pkg-config files
|
||||
|
||||
2009-02-03 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_io.c: Updated Doxygen comments.
|
||||
* il_fits.c: Added this file (not in any projects yet).
|
||||
* il_fits.c: Wrote beginning of FITS loading code.
|
||||
|
||||
2009-02-02 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_manip.c (ilCopyPixels):311: Added check for destination format of color index.
|
||||
* il_convbuff.c (ilConvertBuffer): Changed to accept the source image palette. Added code to
|
||||
convert from buffers that are related to a palette before the large switch.
|
||||
* il_alloc.c (ifree): Changed so that if Ptr == NULL, it does not try to free the pointer.
|
||||
* il_nvidia.cpp/il_squish.cpp: Added empty functions if nVidia or libsquish support is not
|
||||
compiled in.
|
||||
* test/format_test/testil.c:5: Added _USE_MATH_DEFINES.
|
||||
|
||||
2009-02-01 Matěj Týč <bubla@users.sf.net>
|
||||
* test/format_test: Tweaked the script to use wine if cross-compiling
|
||||
to run the tests, extended testil capabilities
|
||||
* m4/devil-definitions.m4: Fixed bugs that caused that you couldn't
|
||||
disable support for some formats no matter what :-)
|
||||
* m4/devil-api-checks.m4: Added Xrender build support (by Jesse Maurais)
|
||||
|
||||
2009-02-01 Denton Woods <doomwiz@users.sf.net>
|
||||
* devil_internal_exports.h: Commented members of ILimage struct using Doxygen-style comments.
|
||||
Removed deprecated, commented-out members (NumNext, NumLayers, NumMips).
|
||||
* Updated several functions with appropriate Doxygen comments.
|
||||
* il.h: Updated IL_XXX file format defines with Doxygen comments.
|
||||
* ilu_rotate.c: Changed min/max calls to IL_MIN/IL_MAX.
|
||||
* ilut_states.c (ilutSetInteger): Fixed ILUT_MAXTEX_DEPTH call and added checks around first
|
||||
three calls for Param >= 1.
|
||||
|
||||
2009-01-31 Denton Woods <doomwiz@users.sf.net>
|
||||
* Added newlines to the end of several files to keep gcc quiet.
|
||||
* Added new MSVC++ projects for examples.
|
||||
* il_bmp.c:556: Changed to Header->biWidth from iCurImage->Width. iCurImage->Width was not
|
||||
updated to the new width at this point.
|
||||
* il_rotate.c (iluRotate_): Rewrote to fix 1 pixel shifting issue.
|
||||
* Updated DevIL Manual with new ilSaveL information.
|
||||
* il_stack.c (ilCloseImage): Added missing delete of Faces member.
|
||||
* il_dds-save.c (ilCompressDXT): Added this function.
|
||||
* il.h: Removed ilNVidiaCompressDXT and ilSquishCompressDXT - moved to il_internal.h.
|
||||
* il_dds-save.c:151: Changed to Faces from Images.
|
||||
* il_dds-save.c (CompressTo565): Added IL_ALPHA case.
|
||||
* Updated DevIL Manual with new DXTC information.
|
||||
|
||||
2009-01-30 Denton Woods <doomwiz@users.sf.net>
|
||||
* Added DevIL.NET to projects folder.
|
||||
* il_dds.c: Changed Image->Next code for cubemaps to read Image->Faces. Also changed Image->Next
|
||||
code for mipmaps to read Image->Mipmaps, even further down the chain.
|
||||
* il_dds.c (ilTexImageDxtc): Added call to ilCloseImage for Image->Faces.
|
||||
* il_endian.h:113: Fixed bug #2545848 - inline GCC ASM changed.
|
||||
* ilut_directx9.c (ilutD3D9CubeTexture): Changed ->Next to ->Faces.
|
||||
* ilut_directx9.c (iD3D9CreateMipmaps): Changed ->Next to ->Mipmaps.
|
||||
* il_states.c:605: Changed from ->Next to ->Mipmaps.
|
||||
* il_states.c (iGetActiveNum): Rewrote to not use ->Next pointer for everything.
|
||||
* il_vtf.c (VtfInitMipmaps): Changed to reflect the new mipmap arrangement as well.
|
||||
* il_wal.c:141,142: Changed ->Next to ->Mipmaps.
|
||||
* il_wal.c: Cleaned up the formatting a bit.
|
||||
* il_stack.c (ilActiveMipmap): Changed ->Next to ->Mipmaps.
|
||||
* il_stack.c (ilActiveImage/Mipmap/Face/Layer): Added another check for NULL, changed error.
|
||||
Changed order of statements in for loop. This leads to much much less in the way of
|
||||
ilSetError calls, since we do not have iCurImage == NULL.
|
||||
* il_vtf.h:43: Changed to ILuint from ILint.
|
||||
* il_vtf.c: Changed VtfInitMipmaps calls to VtfInitFacesMipmaps calls and changed iLoadVtfInternal
|
||||
to support environment maps.
|
||||
* il.h:384: Added IL_SPHEREMAP.
|
||||
* il_hdr.c:467: Changed to char* to get OS X to stop issuing a warning.
|
||||
* il_size.c:53: Changed return value to ILuint.
|
||||
* devil_cpp_wrapper.hpp: Removed MSVC++ #pragma at the top for deprecated lib.
|
||||
|
||||
2009-01-28 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_tpl.c: Added line 219.
|
||||
|
||||
2009-01-27 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_bits.c (bseek): Changed check for return values of iseek.
|
||||
* il_tpl.c: Added support for many more TPL data formats.
|
||||
* il_tpl.c: Added support for color indexed data formats.
|
||||
* il_tpl.c: Added support for multiple images in a file.
|
||||
* il_sdl.c (ilutConvertToSDLSurface): Overhauled this code.
|
||||
* ilut_opengl.c: Removed iGLSetMaxW/H/D and MaxTexW/H/D.
|
||||
* ilut_states.h/ilut_states.c: Added MaxTexW/H/D to ILUT_STATES.
|
||||
* ilut_states.c (ilutGetIntegerv): Added ILUT_MAXTEX_WIDTH/HEIGHT/DEPTH.
|
||||
|
||||
2009-01-26 Denton Woods <doomwiz@users.sf.net>
|
||||
* projects/win mobile: Added Windows Mobile projects.
|
||||
* Removed .cvsignore files from SVN.
|
||||
* il_bits.c:65: Commented out icloser call.
|
||||
* include/IL/DevIL.i: Removed IL/ prefix on header filenames.
|
||||
* include/IL/build-python and build-lua: Updated paths.
|
||||
* projects folder: Renamed msvc to msvc9.
|
||||
* il_tpl.c: Added for TPL support.
|
||||
* il_io.c: Added function calls for TPL support.
|
||||
* il_internal.h: Added declarations for TPL support.
|
||||
|
||||
2009-01-25 Denton Woods <doomwiz@users.sf.net>
|
||||
* ilut_internal.h:63-67: Redid definitions of IL_TEXT to coincide with il_internal.h.
|
||||
* il_states.c: Updated _ilLoadExt/_ilSaveExt with all extensions.
|
||||
* il_states.h: Updated with all extensions.
|
||||
* All image formats with saving: Changed return values of ilSaveXxxF and ilSaveXxxL to be
|
||||
an integer stating the number of bytes written. This is what ilSaveF/L have been
|
||||
trying to return all along.
|
||||
* il_pal.c:1075: Added error condition.
|
||||
* lib/Makefile.am: Added il_size.c.
|
||||
* simple.c: Added iluInit call.
|
||||
* il_dds-save.c (GetAlphaBlock): Applied code from GetBlock, since it was still reading out of bounds.
|
||||
* il_psd.c (ParseResources):808: Added check for ResourceSize being too small.
|
||||
834-837: Added check to insure that we are not copying from past the end of Resource.
|
||||
* il_hdr.c:527-528: Changed order so that beg_run+run_count is tested first.
|
||||
* il_psd.c:829: Subtracted an additional 4 for the Size obtained in the lines before.
|
||||
* il_jp2.c:792-792: Added cleanup code if failure. 676-680: Added call to jas_init.
|
||||
Added code throughout to prevent from having to initialize Jasper more than once.
|
||||
* il_internal.h/il_internal.c: Added strdup for Windows CE.
|
||||
* il_internal.h:105-107: Added so that we do not try to compile inline ASM with Windows Mobile.
|
||||
|
||||
2009-01-24 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_internal.h,il_tiff.c: Changed ilSaveTiffL to void* instead of const void*.
|
||||
* il_tiff.c: Added _tiffFileReadProcW. Changed _tiffFileSeekProc(W) to return the
|
||||
result of itellw instead of tOff. This allows us to finally overload the TIFF
|
||||
writing code.
|
||||
* il_internal.h: Removed #pragma comments, which were commented out anyway.
|
||||
* il_io.c (ilSaveL): Added call to ilDetermineSize.
|
||||
* il_size.c: Added this file.
|
||||
* il_manip.c:14: Removed #include <IL/il.h>.
|
||||
* il_jpeg.c:53: Added check for IL_USE_IJL.
|
||||
* il_exr.cpp:319,329: Changed to write functions instead of read.
|
||||
* il_files.c: Added iSetOutputFake.
|
||||
* il_files.c (iSetOutputLump): Added check for NULL to accomodate ilDetermineSize function.
|
||||
* il_hdr.c:457: Changed from char* to ILbyte*.
|
||||
* il_icns.h:24,30: Changed from ILbyte to char.
|
||||
* il_size.c: Added #ifdefs for when user has declared IL_NO_XXX. Changed error to ENUM instead of PARAM.
|
||||
* Updated MSVC8 projects with il_size.c.
|
||||
* src-IL/src/Makefile.am: Added il_size.c.
|
||||
* il_jp2.c: Added ilIsValidJp2* functions.
|
||||
* il.h: Added ilDetermineType and ilDetermineTypeL to declarations.
|
||||
* il_io.c: Changed ilDetermineTypeL to be exported.
|
||||
* il_pcx.c: Formatting issues fixed.
|
||||
* il_mdl.c: Added ilIsValidJp2* functions.
|
||||
* il_io.c: Added JP2, MDL and XPM support to ilDetermineType and ilIsValid functions.
|
||||
* il_icon.c/il_png.c: Renamed color_type to ico_color_type and png_color_type to avoid name conflicts.
|
||||
* il_iff.c: Changed all malloc->ialloc and free->ifree. Added checks for ialloc failure.
|
||||
* il_io.c (ilDetermineTypeL): Changed VTF check to return IL_VTF instead of the miscopied IL_SUN.
|
||||
* il_size.c (ilDetermineSize): Now calls iTargaSize for Targa files.
|
||||
* il_tga.c: Added iTargaSize.
|
||||
|
||||
2009-01-22 Denton Woods <doomwiz@users.sf.net>
|
||||
* ilut_internal.h:66: Changed to compile under Cygwin.
|
||||
* ilut_opengl.c:108: Replaced _MSC_VER with _WIN32 and _WIN64.
|
||||
* il_dds-save.c:343: Fixed bug #1067590 - Removed this line, which caused crashes.
|
||||
* il_pic.c (iLoadPicInternal): Fixed ilTexImage call, moved it after channel information read.
|
||||
* il_pic.c (readScanline):294-295: Added check for alpha channel.
|
||||
* il_pic.c: Added ilSetError calls throughout.
|
||||
* il_sgi.c (iLoadSgiInternal): Fixed bug #1060946 - Removed IL_LUMINANCE_ALPHA filetype.
|
||||
* WindowsTest.cpp:52,53: Changed border size to accomodate Windows Vista/7.
|
||||
* il_endian.h:20: Changed to give __BIG_ENDIAN__ a value of 1. The Google cached page of
|
||||
http://74.125.47.132/search?q=cache:YfSl36C2pAQJ:patch-tracking.debian.net/patch/series/view/devil/1.7.2-1/00_endian_and_ILvoid_fixes.diff+devil+big+endian&hl=en&ct=clnk&cd=11&gl=us&lr=lang_en
|
||||
has this patch (Nov. 24, 2008 cache).
|
||||
* devil_internal_exports.h:34: Uncommented and commented line 30.
|
||||
|
||||
2009-01-20 Matěj Týč <bubla@users.sf.net>
|
||||
* test/format_test: Added a program and script as 'make check' target.
|
||||
Those will test whether IL is capable of saving and loading images and whether the saved and
|
||||
loaded image is similar to the original.
|
||||
* configure.ac, lib/Makefile.am: Added support to IFF compilation.
|
||||
* docs/DevIL_manual.texi: Added missing documentation about getting
|
||||
image data + fixed some typos.
|
||||
* include/IL/devil_cpp_wrapper.hpp: Fixed a typo that caused
|
||||
compilation error
|
||||
|
||||
2009-01-20 Denton Woods <doomwiz@users.sf.net>
|
||||
* ilut_opengl.c (ilutGLScreen): Added glPixelStorei call.
|
||||
* Added il_iff.c from GAIA.
|
||||
* Added "x64 DLL Install.exe" to SVN.
|
||||
* il_internal.h: Renamed ilIsValidJpg* functions to ilIsValidJpeg*. Added Iff functions.
|
||||
* il_io.c: Added checks for Iff-loading.
|
||||
* ilut_win32.c (ilutConvertSliceToHBitmap): Added better error handling.
|
||||
* src-IL/src/Makefile.am: Added il_iff.c.
|
||||
* ilu_rotate.c (iluRotate_): Changed ilResizeImage call.
|
||||
* Added ilut_config.h.
|
||||
* ilut.h: Added reference to ilut_config.h for Windows.
|
||||
* il_files.c/il_icon.c/il_png.c/il_mng.c: Fixed typecasting warnings.
|
||||
* il_jp2.c/il_wbmp.c (ilSaveJp2L/ilSaveWbmpL): Removed const qualifier.
|
||||
|
||||
2009-01-19 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_hdr.c: Changed line 73 to have space for terminating NULL.
|
||||
* src-IL/src/Makefile.am: Added il_vtf.c and *.cpp files.
|
||||
* Fixed the MSVC++ 9 solutions pointing to the MSVC++ 8 project files.
|
||||
* devil_cpp_wrapper.hpp: Updated to use ILconst_string instead of char*.
|
||||
* il.h: Changed definition of IL_ALPHA to match OpenGL's GL_ALPHA.
|
||||
* src-IL/include/Makefile.am: Added il_exr.h.
|
||||
* il_dds.c/il.h: Readded DXT extension code.
|
||||
* il_internal.h: Added declaration of ilFixCur.
|
||||
|
||||
2009-01-16 Denton Woods <doomwiz@users.sf.net>
|
||||
* Updated x64 projects
|
||||
|
||||
2009-01-15 Matěj Týč <bubla@users.sf.net>
|
||||
* il_io.h, include/IL/il.h, il_states.h: Changed some normal strings to constant
|
||||
strings (in ilSave, ilIsValid and ilGetString)
|
||||
* configure.ac, lib/Makefile.am: Added wbmp compilation support
|
||||
* il_jp2.c, il_wbmp.c: Fixed a typo that prevented compilation
|
||||
* include/IL/devil_cpp_wrapper.hpp: Added a hopefully harmless solution for
|
||||
the initialization of DevIL.
|
||||
|
||||
2009-01-15 Denton Woods <doomwiz@users.sf.net>
|
||||
* il_manip.c / il.h: Added ilClampNTSC function.
|
||||
* il_squish.cpp: Added file.
|
||||
* il_dds-save.c: Added line 688.
|
||||
* il_states.c: Added lines for libsquish support.
|
||||
* il_dds-save.c (Compress): Added libsquish compression.
|
||||
* il_io.c (ilDetermineTypeF/L and ilIsValid/F/L): Added VTF, SUN and EXR.
|
||||
* il_io.c (ilIsValidF/L): Added TIF
|
||||
* il_jp2.c:131-137: Added these lines to take care of erroneous error generated by JasPer's buffering.
|
||||
* il_jp2.c: Added functions to save JPEG 2000 images.
|
||||
* il_utility.c (ilGetBppFormat): Added IL_ALPHA.
|
||||
* il_jp2.c (iLoadJp2Internal): Added 1 and 2 channel format loading.
|
||||
* il_dds-save.c:700-701: Changed to IL_RGBA.
|
||||
* il_dds-save.c (ChooseEndpoints): Changed to use norm squared instead of a sum of the components.
|
||||
* il_dds-save.c (GetBlock): Changed to copy adjacent data if it goes beyond the bounds of the image.
|
||||
* il_icon.c: Removed extra whitespace.
|
||||
* il_icns.c / il_internal.h: Added ilIsValidIcns*.
|
||||
* il_icns.h: Changed comments on ICNSDATA.
|
||||
* il_exr.c: Added ilIsValidExr*.
|
||||
* il_io.c (ilLoadF): Uncommented ilLoadJp2F.
|
||||
* il_dds-save.c (CompressTo565): Changed 24-bit to 16-bit code based on Charles Bloom's rant.
|
||||
* il_dds.c (DxtcReadColor/DxtcReadColors): Changed conversion to copy high bits to lowest bits as well.
|
||||
* il_io.c: Reenabled PhotoCD support.
|
||||
* il_pcd.c (iLoadPcdInternal): Added check for end-of-file.
|
||||
* il_exr.c: Added EXR saving functions.
|
||||
|
||||
2009-01-13 Denton Woods <doomwiz@users.sf.net>
|
||||
* Converted source repository to SVN from CVS.
|
||||
|
||||
2009-01-12 Denton Woods <doomwiz@users.sf.net>
|
||||
* ilut_directx9.c: Cleared up formatting some.
|
||||
|
||||
2009-01-11 Denton Woods <doomwiz@users.sf.net>
|
||||
* MSVC9 Unicode projects: Updated to work better in 64-bit Windows.
|
||||
* il_vtf.c: Removed commented lines 238-242.
|
||||
* Created application to copy DLL files to the System32 directory.
|
||||
|
||||
2009-01-10 Matěj Týč <bubla@users.sf.net>
|
||||
* m4/devil-definitions.m4, m4/devil-reports.m4: Added a report saying
|
||||
what libraries were linked with DevIL (should be helpful to packagers
|
||||
who need to know DevIL dependencies)
|
||||
* il_endian.h (iGwapUShort/iSwapUInt): Finished fixing bug #2023453
|
||||
(inline GCC asm, there was a typo left)
|
||||
* src_IL/src/il_tiff.c (ilSaveTiff): Fixed a typo that was causing
|
||||
conflicting declarations error
|
||||
* configure.ac:264: Added IL_NO_WBMP since the Wbmp loading functions
|
||||
that are referenced, but not implemented, caused linking errors
|
||||
|
||||
2009-01-09 Denton Woods <doomwiz@users.sf.net>
|
||||
* ilut_opengl.h: Moved ILGLCOMPRESSEDTEXIMAGE2DARBPROC typedef out of #ifdefs.
|
||||
* ilut_opengl.c: Added ilutGLSetTex2D and ilutGLSetTex3D. Changed ilutGLSetTex to
|
||||
just call ilutGLSetTex2D. Did the same thing for ilutGLSubTex. Added checks for
|
||||
volume image extensions. Renamed MakeGLCompliant to MakeGLCompliant2D. Added
|
||||
MakeGLCompliant3D.
|
||||
* ilut_opengl.c (ilutGLScreen): Added check for ilTexImage failing.
|
||||
* il_vtf.c (iLoadVtfInternal): Added BGRA4444 support.
|
||||
* il_alloc.c / ilu_scale.c: Cleaned up formatting some.
|
||||
* devil_internal_exports.h: Added Faces member to ILimage.
|
||||
* il_devil.c (iCopySubImages): Added support for faces.
|
||||
* il_register.c: Added ilRegisterNumFaces.
|
||||
* il_convert.c (ilFixImage): Added support for faces.
|
||||
* il_stack.c: Added ilActiveFace.
|
||||
* ilut_directx9:63,779: Added ILboolean typecast.
|
||||
* ilut_win32:102: Added ILboolean typecast.
|
||||
* il_jpeg.c:987: Commented out pragma warning at the end.
|
||||
* il_mng.c: Added #pragma warning at the top to get rid of redefinition warning when compiling.
|
||||
* il_nvidia.cpp (ilNVidiaCompressDXT): Added check for Data being NULL.
|
||||
* ilut_win32.c (ilutConvertSliceToHBitmap): Fixed bug #2496509 - added line 117 and
|
||||
added DataSize member.
|
||||
* il_hdr.c (iGetHdrHead): Fixed bug #2496518 - Added check for count. Changed
|
||||
sscanf to use %2s format specifier to prevent buffer overruns in x and y.
|
||||
* il_pnm.c (iGetWord): Fixed bug mentioned in #2496518 - igetc was moved back
|
||||
into the while loop. Added a check for WordPos to prevent buffer overflow.
|
||||
Restructured the while loop to work properly.
|
||||
* il_convert.c (iConvertPalette): Changed references of iCurImage to Image.
|
||||
* il_gif.c (GifGetData): Added DataPtr and changed line 636 to use Data instead of Image->Data.
|
||||
* il_gif.c (iGetPalette / GetImages): Changed to better deal with local palettes.
|
||||
|
||||
2009-01-08 Matěj Týč <bubla@users.sf.net>
|
||||
* TODO: Added some tasks that I would like to undertake
|
||||
* ChangeLog, NEWS: Copied old ChangeLog entries to NEWS file
|
||||
* lib/Makefile.am: Added two new files to the list of IL sources
|
||||
(il_sun.c, il_nvidia.cpp)
|
||||
* examples/iller: Made empty files where the ILU frontend will be in
|
||||
the future.
|
||||
* configure.ac, m4/devil-reports.m4: Put the report stage of the
|
||||
configure script to a separate m4 file.
|
||||
|
||||
2009-01-08 Denton Woods <doomwiz@users.sf.net>
|
||||
* opengl_example/gltest.c (main): Added iluInit/ilutInit calls.
|
||||
* ilut_opengl.c (ilutGLFormat): Added IL_ALPHA support.
|
||||
* il_bmp.c: Minor formatting issues fixed.
|
||||
* il.h: Added IL_NVIDIA_COMPRESS #define.
|
||||
* il_states.h: Added ilUseNVidiaDXT to IL_STATES.
|
||||
* il_state.c: Added IL_NVIDIA_COMPRESS support.
|
||||
* il_dds-save.c (Compress): Changed to use NVTT if needed.
|
||||
* il_nvidia.cpp: Added ilNVidiaCompressDXTFile and Depth parameter to ilNVidiaCompressDXT.
|
||||
|
||||
2009-01-06/07 Denton Woods <doomwiz@users.sf.net>
|
||||
* Added il_sun.c (Sun Raster file support)
|
||||
* ilut_opengl.c (ilutGLInit): Changed Linux ilGLCompressed2D pointer casting
|
||||
to coincide with the old SVN version.
|
||||
* il_tiff.c / il_alloc.c: Fixed a few pointer casts that were fixed in SVN.
|
||||
* test/DDrawTest: Fixed extra whitespace in all files in this project.
|
||||
* il_endian.h (iGwapUShort/iSwapUInt): Fixed bug #2023453 (inline GCC asm).
|
||||
* ilut_win32.c (ilutConvertSliceToBitmap): Fixed bug #1775036 (definition of buff).
|
||||
* il_psd.c (PsdGetData): Fixed bug #2219350 (16-bit luminance images not loading properly).
|
||||
* il_manip.c: Cleared up some minor formatting issues.
|
||||
* il_png.c (iSavePngInternal): Fixed bug #1680577 (some metadata not written correctly).
|
||||
* il_nvidia.cpp (ilnVidiaCompressDXT1): Disabled mipmap generation and added code to
|
||||
ilOutputHandler constructor to determine the proper size of the buffer.
|
||||
* il.h: Added IL_DXT1A define for nVidia Texture Tools.
|
||||
* il_nvidia.cpp: Added DXT1a, DXT3 and DXT5 support. Renamed ilnVidiaCompressDXT to
|
||||
ilnVidiaCompressDXT and added the DxtType parameter.
|
||||
* il_internal.c: Cleaned up extra whitespace toward end.
|
||||
|
||||
2009-01-02 Matěj Týč <bubla@users.sf.net>
|
||||
* src-{IL,ILU,ILUT}/src/*_internal.c: Hopefully resolved the
|
||||
HAVE_CONFIG_H thing once for all :-)
|
||||
* src-IL/src/il_exr.cpp: Undefined OPENEXR_DLL if we are not on
|
||||
Windows (=> when HAVE_CONFIG_H is not defined)
|
||||
* src-IL/src/il_io.c:765: Fixed a typo
|
||||
* src-IL/src/il_vtf.c: Added min and max macros to the beginning
|
||||
* docs/Devil_manual.texi: Corrected typos and missing @code and other
|
||||
formatting stuff, corrected image names and incorrect usage of @xref
|
||||
etc. that prevented compilation
|
||||
* build setup (Makefile.am and configure.ac): Added support for
|
||||
compilation of EXR and WDP formats + various other tweaks.
|
||||
|
||||
Up to 2009-01-02 (since 1.7.5 release) Denton Woods <doomwiz@users.sf.net>
|
||||
* Readded EXR code.
|
||||
* Redefined clamping values in il.h.
|
||||
* Added 64-bit integer types.
|
||||
* Fixed bug in iRegisterLoad (https://sourceforge.net/forum/message.php?msg_id=5973761).
|
||||
* Changed seek functions in il_files.c to return ILint.
|
||||
* Added rpcsal.h and sal.h #includes to ilut.h for DX10.
|
||||
* Added IL_MAX_QUANT_INDICES to use instead of IL_MAX_QUANT_INDEXS (mispelled).
|
||||
* Added WBMP support (loading and saving).
|
||||
* EXR files can now be loaded as file streams and lumps.
|
||||
* Changed iNeuQuant to take number of colors in palette.
|
||||
* Compiled MNG support back in.
|
||||
@@ -1,237 +0,0 @@
|
||||
Installation Instructions
|
||||
*************************
|
||||
|
||||
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
|
||||
2006, 2007 Free Software Foundation, Inc.
|
||||
|
||||
This file is free documentation; the Free Software Foundation gives
|
||||
unlimited permission to copy, distribute and modify it.
|
||||
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
Briefly, the shell commands `./configure; make; make install' should
|
||||
configure, build, and install this package. The following
|
||||
more-detailed instructions are generic; see the `README' file for
|
||||
instructions specific to this package.
|
||||
|
||||
The `configure' shell script attempts to guess correct values for
|
||||
various system-dependent variables used during compilation. It uses
|
||||
those values to create a `Makefile' in each directory of the package.
|
||||
It may also create one or more `.h' files containing system-dependent
|
||||
definitions. Finally, it creates a shell script `config.status' that
|
||||
you can run in the future to recreate the current configuration, and a
|
||||
file `config.log' containing compiler output (useful mainly for
|
||||
debugging `configure').
|
||||
|
||||
It can also use an optional file (typically called `config.cache'
|
||||
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
||||
the results of its tests to speed up reconfiguring. Caching is
|
||||
disabled by default to prevent problems with accidental use of stale
|
||||
cache files.
|
||||
|
||||
If you need to do unusual things to compile the package, please try
|
||||
to figure out how `configure' could check whether to do them, and mail
|
||||
diffs or instructions to the address given in the `README' so they can
|
||||
be considered for the next release. If you are using the cache, and at
|
||||
some point `config.cache' contains results you don't want to keep, you
|
||||
may remove or edit it.
|
||||
|
||||
The file `configure.ac' (or `configure.in') is used to create
|
||||
`configure' by a program called `autoconf'. You need `configure.ac' if
|
||||
you want to change it or regenerate `configure' using a newer version
|
||||
of `autoconf'.
|
||||
|
||||
The simplest way to compile this package is:
|
||||
|
||||
1. `cd' to the directory containing the package's source code and type
|
||||
`./configure' to configure the package for your system.
|
||||
|
||||
Running `configure' might take a while. While running, it prints
|
||||
some messages telling which features it is checking for.
|
||||
|
||||
2. Type `make' to compile the package.
|
||||
|
||||
3. Optionally, type `make check' to run any self-tests that come with
|
||||
the package.
|
||||
|
||||
4. Type `make install' to install the programs and any data files and
|
||||
documentation.
|
||||
|
||||
5. You can remove the program binaries and object files from the
|
||||
source code directory by typing `make clean'. To also remove the
|
||||
files that `configure' created (so you can compile the package for
|
||||
a different kind of computer), type `make distclean'. There is
|
||||
also a `make maintainer-clean' target, but that is intended mainly
|
||||
for the package's developers. If you use it, you may have to get
|
||||
all sorts of other programs in order to regenerate files that came
|
||||
with the distribution.
|
||||
|
||||
6. Often, you can also type `make uninstall' to remove the installed
|
||||
files again.
|
||||
|
||||
Compilers and Options
|
||||
=====================
|
||||
|
||||
Some systems require unusual options for compilation or linking that the
|
||||
`configure' script does not know about. Run `./configure --help' for
|
||||
details on some of the pertinent environment variables.
|
||||
|
||||
You can give `configure' initial values for configuration parameters
|
||||
by setting variables in the command line or in the environment. Here
|
||||
is an example:
|
||||
|
||||
./configure CC=c99 CFLAGS=-g LIBS=-lposix
|
||||
|
||||
*Note Defining Variables::, for more details.
|
||||
|
||||
Compiling For Multiple Architectures
|
||||
====================================
|
||||
|
||||
You can compile the package for more than one kind of computer at the
|
||||
same time, by placing the object files for each architecture in their
|
||||
own directory. To do this, you can use GNU `make'. `cd' to the
|
||||
directory where you want the object files and executables to go and run
|
||||
the `configure' script. `configure' automatically checks for the
|
||||
source code in the directory that `configure' is in and in `..'.
|
||||
|
||||
With a non-GNU `make', it is safer to compile the package for one
|
||||
architecture at a time in the source code directory. After you have
|
||||
installed the package for one architecture, use `make distclean' before
|
||||
reconfiguring for another architecture.
|
||||
|
||||
Installation Names
|
||||
==================
|
||||
|
||||
By default, `make install' installs the package's commands under
|
||||
`/usr/local/bin', include files under `/usr/local/include', etc. You
|
||||
can specify an installation prefix other than `/usr/local' by giving
|
||||
`configure' the option `--prefix=PREFIX'.
|
||||
|
||||
You can specify separate installation prefixes for
|
||||
architecture-specific files and architecture-independent files. If you
|
||||
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
|
||||
PREFIX as the prefix for installing programs and libraries.
|
||||
Documentation and other data files still use the regular prefix.
|
||||
|
||||
In addition, if you use an unusual directory layout you can give
|
||||
options like `--bindir=DIR' to specify different values for particular
|
||||
kinds of files. Run `configure --help' for a list of the directories
|
||||
you can set and what kinds of files go in them.
|
||||
|
||||
If the package supports it, you can cause programs to be installed
|
||||
with an extra prefix or suffix on their names by giving `configure' the
|
||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||
|
||||
Optional Features
|
||||
=================
|
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to
|
||||
`configure', where FEATURE indicates an optional part of the package.
|
||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||
is something like `gnu-as' or `x' (for the X Window System). The
|
||||
`README' should mention any `--enable-' and `--with-' options that the
|
||||
package recognizes.
|
||||
|
||||
For packages that use the X Window System, `configure' can usually
|
||||
find the X include and library files automatically, but if it doesn't,
|
||||
you can use the `configure' options `--x-includes=DIR' and
|
||||
`--x-libraries=DIR' to specify their locations.
|
||||
|
||||
Specifying the System Type
|
||||
==========================
|
||||
|
||||
There may be some features `configure' cannot figure out automatically,
|
||||
but needs to determine by the type of machine the package will run on.
|
||||
Usually, assuming the package is built to be run on the _same_
|
||||
architectures, `configure' can figure that out, but if it prints a
|
||||
message saying it cannot guess the machine type, give it the
|
||||
`--build=TYPE' option. TYPE can either be a short name for the system
|
||||
type, such as `sun4', or a canonical name which has the form:
|
||||
|
||||
CPU-COMPANY-SYSTEM
|
||||
|
||||
where SYSTEM can have one of these forms:
|
||||
|
||||
OS KERNEL-OS
|
||||
|
||||
See the file `config.sub' for the possible values of each field. If
|
||||
`config.sub' isn't included in this package, then this package doesn't
|
||||
need to know the machine type.
|
||||
|
||||
If you are _building_ compiler tools for cross-compiling, you should
|
||||
use the option `--target=TYPE' to select the type of system they will
|
||||
produce code for.
|
||||
|
||||
If you want to _use_ a cross compiler, that generates code for a
|
||||
platform different from the build platform, you should specify the
|
||||
"host" platform (i.e., that on which the generated programs will
|
||||
eventually be run) with `--host=TYPE'.
|
||||
|
||||
Sharing Defaults
|
||||
================
|
||||
|
||||
If you want to set default values for `configure' scripts to share, you
|
||||
can create a site shell script called `config.site' that gives default
|
||||
values for variables like `CC', `cache_file', and `prefix'.
|
||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||
`CONFIG_SITE' environment variable to the location of the site script.
|
||||
A warning: not all `configure' scripts look for a site script.
|
||||
|
||||
Defining Variables
|
||||
==================
|
||||
|
||||
Variables not defined in a site shell script can be set in the
|
||||
environment passed to `configure'. However, some packages may run
|
||||
configure again during the build, and the customized values of these
|
||||
variables may be lost. In order to avoid this problem, you should set
|
||||
them in the `configure' command line, using `VAR=value'. For example:
|
||||
|
||||
./configure CC=/usr/local2/bin/gcc
|
||||
|
||||
causes the specified `gcc' to be used as the C compiler (unless it is
|
||||
overridden in the site shell script).
|
||||
|
||||
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
||||
an Autoconf bug. Until the bug is fixed you can use this workaround:
|
||||
|
||||
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
|
||||
|
||||
`configure' Invocation
|
||||
======================
|
||||
|
||||
`configure' recognizes the following options to control how it operates.
|
||||
|
||||
`--help'
|
||||
`-h'
|
||||
Print a summary of the options to `configure', and exit.
|
||||
|
||||
`--version'
|
||||
`-V'
|
||||
Print the version of Autoconf used to generate the `configure'
|
||||
script, and exit.
|
||||
|
||||
`--cache-file=FILE'
|
||||
Enable the cache: use and save the results of the tests in FILE,
|
||||
traditionally `config.cache'. FILE defaults to `/dev/null' to
|
||||
disable caching.
|
||||
|
||||
`--config-cache'
|
||||
`-C'
|
||||
Alias for `--cache-file=config.cache'.
|
||||
|
||||
`--quiet'
|
||||
`--silent'
|
||||
`-q'
|
||||
Do not print messages saying which checks are being made. To
|
||||
suppress all normal output, redirect it to `/dev/null' (any error
|
||||
messages will still be shown).
|
||||
|
||||
`--srcdir=DIR'
|
||||
Look for the package's source code in directory DIR. Usually
|
||||
`configure' can determine that directory automatically.
|
||||
|
||||
`configure' also accepts some other, not widely useful, options. Run
|
||||
`configure --help' for more details.
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
Libraries needed to compile DevIL* :
|
||||
----------------------------------
|
||||
|
||||
(Most of these are optional)
|
||||
|
||||
|
||||
Libpng for .png (and some .ico) support available at http://www.libpng.org/pub/png/libpng.html
|
||||
ZLib for .png (and some .ico) support available at http://www.gzip.org/zlib/
|
||||
Libjpeg for .jpg (and some .blp) support from http://www.ijg.org/
|
||||
Libtiff for .tif support from http://www.libtiff.org/
|
||||
Libmng for .mng and .jng support from http://www.libmng.com/
|
||||
JasPer for .jp2 (and some .icns) support available at http://www.ece.uvic.ca/~mdadams/jasper/
|
||||
HD Photo Device Porting Kit for .wdp/.hdp support from http://www.microsoft.com/Downloads/details.aspx?FamilyID=285eeffd-d86c-48c3-ab93-3abd5ee7f1ce&displaylang=en.
|
||||
Little CMS for color profiles (ILU) from http://www.littlecms.com/
|
||||
Colour Picker lib for WindowsTest from http://www.fluidstudios.com/freeware.html
|
||||
Freeglut (or glut) for GLTest from http://freeglut.sourceforge.net
|
||||
glext.h from http://oss.sgi.com/projects/ogl-sample/ABI/glext.h (as <gl/glext.h> if using OpenGL)
|
||||
libsquish for DXT compression from http://code.google.com/p/libsquish/
|
||||
nVidia Texture Tools for DXT compression from http://developer.nvidia.com/object/nv_texture_tools.html.
|
||||
|
||||
MSVC++ precompiled versions of libpng, zlib, libjpeg, libtiff, lcms and JasPer can be found
|
||||
at http://openil.sourceforge.net/libs/LibCompiled-vc8.zip or
|
||||
http://openil.sourceforge.net/libs/LibCompiled-vc9.zip.
|
||||
|
||||
Sources of libpng, zlib, libjpeg, libmng, libungif, libtiff, lcms and JasPer can be
|
||||
found at http://openil.sourceforge.net/libs/LibSrc.zip
|
||||
|
||||
Intel Jpeg Library from
|
||||
http://developer.intel.com/software/products/perflib/ijl/index.htm
|
||||
|
||||
|
||||
MAC OS X
|
||||
These library are not still uploaded!
|
||||
To learn how to install these libraries, read README.macosx
|
||||
|
||||
Source of external framework, downloaded from the previous sites
|
||||
http://openil.sourceforge.net/libs/ExternFrameworksSrc.sitx
|
||||
|
||||
Complete Compiled Library
|
||||
http://openil.sourceforge.net/libs/OpenILBin.sitx
|
||||
@@ -1,31 +0,0 @@
|
||||
README.win is more relevant in this release.
|
||||
|
||||
CMAKE files are included, but they need to be updated.
|
||||
This is the only way to create VC6 and VC2003 projects.
|
||||
|
||||
|
||||
......
|
||||
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
Edit config.h to tell DevIL what external libraries you are using.
|
||||
|
||||
Then go to Tools - Options - Directories to add in the include and lib
|
||||
directories for DevIL.
|
||||
|
||||
All MSVC++ project files are in the projects/msvc or projects/msvc8 folders.
|
||||
|
||||
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
When compiling a program that uses DevIL*, it must be configured to use the
|
||||
multithreaded dll version of the libc runtime. To do this, go to Project
|
||||
Settings - C/C++ tab - Change "Category" to 'Code Generation' - Change
|
||||
"Use run-time library" to 'Multithreaded DLL' or 'Debug Multithreaded DLL',
|
||||
based on whether the project you are build is release or debug, respectively.
|
||||
|
||||
For more information, look at the tutorials.
|
||||
@@ -1,13 +0,0 @@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
SUBDIRS = lib bin docs test data
|
||||
|
||||
#SUBDIRS = src-IL src-ILU src-ILUT include
|
||||
#DIST_SUBDIRS = src-IL src-ILU src-ILUT include
|
||||
EXTRA_DIST = README.unix README.win Libraries.txt CREDITS MSVC++.txt configure.bat README.macosx
|
||||
|
||||
# (uncoment this if you want to include examples to the distributed tarball)
|
||||
# Actually it has to be commented now... It is currently very troublesome to include the projects in the distribution archive...
|
||||
#SUBDIRS += projects
|
||||
|
||||
DISTCHECK_CONFIGURE_FLAGS = --enable-ILU --enable-ILUT --with-examples --disable-dvi
|
||||
@@ -1,701 +0,0 @@
|
||||
# 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 = .
|
||||
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in $(top_srcdir)/configure \
|
||||
$(top_srcdir)/include/IL/config.h.in \
|
||||
$(top_srcdir)/test/format_test/format_checks.sh.in AUTHORS \
|
||||
COPYING ChangeLog INSTALL NEWS TODO build-aux/compile \
|
||||
build-aux/config.guess build-aux/config.sub build-aux/depcomp \
|
||||
build-aux/install-sh build-aux/ltmain.sh build-aux/mdate-sh \
|
||||
build-aux/missing build-aux/texinfo.tex ltmain.sh missing
|
||||
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)
|
||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
configure.lineno config.status.lineno
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/include/IL/config.h
|
||||
CONFIG_CLEAN_FILES = test/format_test/format_checks.sh
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
||||
html-recursive info-recursive install-data-recursive \
|
||||
install-dvi-recursive install-exec-recursive \
|
||||
install-html-recursive install-info-recursive \
|
||||
install-pdf-recursive install-ps-recursive install-recursive \
|
||||
installcheck-recursive installdirs-recursive pdf-recursive \
|
||||
ps-recursive uninstall-recursive
|
||||
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||
distclean-recursive maintainer-clean-recursive
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
top_distdir = $(distdir)
|
||||
am__remove_distdir = \
|
||||
{ test ! -d $(distdir) \
|
||||
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||
&& rm -fr $(distdir); }; }
|
||||
DIST_ARCHIVES = $(distdir).tar.gz
|
||||
GZIP_ENV = --best
|
||||
distuninstallcheck_listfiles = find . -type f -print
|
||||
distcleancheck_listfiles = find . -type f -print
|
||||
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@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
SUBDIRS = lib bin docs test data
|
||||
|
||||
#SUBDIRS = src-IL src-ILU src-ILUT include
|
||||
#DIST_SUBDIRS = src-IL src-ILU src-ILUT include
|
||||
EXTRA_DIST = README.unix README.win Libraries.txt CREDITS MSVC++.txt configure.bat README.macosx
|
||||
|
||||
# (uncoment this if you want to include examples to the distributed tarball)
|
||||
# Actually it has to be commented now... It is currently very troublesome to include the projects in the distribution archive...
|
||||
#SUBDIRS += projects
|
||||
DISTCHECK_CONFIGURE_FLAGS = --enable-ILU --enable-ILUT --with-examples --disable-dvi
|
||||
all: all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
am--refresh:
|
||||
@:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
|
||||
cd $(srcdir) && $(AUTOMAKE) --gnu \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
echo ' $(SHELL) ./config.status'; \
|
||||
$(SHELL) ./config.status;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(SHELL) ./config.status --recheck
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(srcdir) && $(AUTOCONF)
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
|
||||
include/IL/config.h: include/IL/stamp-h1
|
||||
@if test ! -f $@; then \
|
||||
rm -f include/IL/stamp-h1; \
|
||||
$(MAKE) $(AM_MAKEFLAGS) include/IL/stamp-h1; \
|
||||
else :; fi
|
||||
|
||||
include/IL/stamp-h1: $(top_srcdir)/include/IL/config.h.in $(top_builddir)/config.status
|
||||
@rm -f include/IL/stamp-h1
|
||||
cd $(top_builddir) && $(SHELL) ./config.status include/IL/config.h
|
||||
$(top_srcdir)/include/IL/config.h.in: $(am__configure_deps)
|
||||
cd $(top_srcdir) && $(AUTOHEADER)
|
||||
rm -f include/IL/stamp-h1
|
||||
touch $@
|
||||
|
||||
distclean-hdr:
|
||||
-rm -f include/IL/config.h include/IL/stamp-h1
|
||||
test/format_test/format_checks.sh: $(top_builddir)/config.status $(top_srcdir)/test/format_test/format_checks.sh.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
distclean-libtool:
|
||||
-rm -f libtool
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
$(RECURSIVE_TARGETS):
|
||||
@failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
$(RECURSIVE_CLEAN_TARGETS):
|
||||
@failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
rev=''; for subdir in $$list; do \
|
||||
if test "$$subdir" = "."; then :; else \
|
||||
rev="$$subdir $$rev"; \
|
||||
fi; \
|
||||
done; \
|
||||
rev="$$rev ."; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
ctags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
||||
done
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
empty_fix=.; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
empty_fix=; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test ! -f $$subdir/TAGS || \
|
||||
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$tags $$unique; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
$(am__remove_distdir)
|
||||
test -d $(distdir) || mkdir $(distdir)
|
||||
@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
|
||||
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d "$(distdir)/$$subdir" \
|
||||
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
||||
|| exit 1; \
|
||||
distdir=`$(am__cd) $(distdir) && pwd`; \
|
||||
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
|
||||
(cd $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$$top_distdir" \
|
||||
distdir="$$distdir/$$subdir" \
|
||||
am__remove_distdir=: \
|
||||
am__skip_length_check=: \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r $(distdir)
|
||||
dist-gzip: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-bzip2: distdir
|
||||
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-lzma: distdir
|
||||
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-tarZ: distdir
|
||||
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-shar: distdir
|
||||
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-zip: distdir
|
||||
-rm -f $(distdir).zip
|
||||
zip -rq $(distdir).zip $(distdir)
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist dist-all: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
case '$(DIST_ARCHIVES)' in \
|
||||
*.tar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
|
||||
*.tar.bz2*) \
|
||||
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
|
||||
*.tar.lzma*) \
|
||||
unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
|
||||
*.tar.Z*) \
|
||||
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
||||
*.shar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
|
||||
*.zip*) \
|
||||
unzip $(distdir).zip ;;\
|
||||
esac
|
||||
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
||||
mkdir $(distdir)/_build
|
||||
mkdir $(distdir)/_inst
|
||||
chmod a-w $(distdir)
|
||||
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||
&& cd $(distdir)/_build \
|
||||
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||
distuninstallcheck \
|
||||
&& chmod -R a-w "$$dc_install_base" \
|
||||
&& ({ \
|
||||
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||
&& rm -rf "$$dc_destdir" \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||
&& rm -rf $(DIST_ARCHIVES) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
|
||||
$(am__remove_distdir)
|
||||
@(echo "$(distdir) archives ready for distribution: "; \
|
||||
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
||||
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
||||
distuninstallcheck:
|
||||
@cd $(distuninstallcheck_dir) \
|
||||
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
||||
|| { echo "ERROR: files left after uninstall:" ; \
|
||||
if test -n "$(DESTDIR)"; then \
|
||||
echo " (check DESTDIR support)"; \
|
||||
fi ; \
|
||||
$(distuninstallcheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
distcleancheck: distclean
|
||||
@if test '$(srcdir)' = . ; then \
|
||||
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||
$(distcleancheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
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-recursive
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-hdr \
|
||||
distclean-libtool distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-recursive
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-recursive
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-recursive
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-recursive
|
||||
|
||||
install-ps: install-ps-recursive
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -rf $(top_srcdir)/autom4te.cache
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
|
||||
install-strip
|
||||
|
||||
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
||||
all all-am am--refresh check check-am clean clean-generic \
|
||||
clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
|
||||
dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \
|
||||
distclean distclean-generic distclean-hdr distclean-libtool \
|
||||
distclean-tags distcleancheck distdir distuninstallcheck 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 installdirs-am \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||
tags tags-recursive uninstall uninstall-am
|
||||
|
||||
# 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:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,176 +0,0 @@
|
||||
Developer's Image Library version 1.7.8 Readme, Notes and Quick Use
|
||||
-------------------------------------------------------------------
|
||||
|
||||
<DZA[afk]> DevIL song: "la la la, a cross-platform image library utilizing a
|
||||
simple syntax to load, save, convert, manipulate, filter and display
|
||||
a variety of images with ease, la la la"
|
||||
|
||||
|
||||
What is it?
|
||||
-----------
|
||||
|
||||
DevIL is an Open Source image library whose distribution is done under the
|
||||
terms of the GNU LGPL license. See the COPYING file for more details.
|
||||
DevIL offers you a simple way to implement loading, manipulating, filtering,
|
||||
converting, displaying, saving from/to several different image formats in your
|
||||
own project.
|
||||
|
||||
|
||||
Where can I find it?
|
||||
--------------------
|
||||
|
||||
DevIL can be found at http://openil.sourceforge.net
|
||||
|
||||
|
||||
How do I build and install the 3 libraries ?
|
||||
-----------------------------------------
|
||||
|
||||
*nix users should read README.unix
|
||||
VisualC users should read README.win
|
||||
Cygwin users should read README.cygwin
|
||||
MacOSX users should read README.macosx
|
||||
|
||||
PS: *nix stands for GNU/Linux, *BSD, SunOS/Solaris and perhaps some more.
|
||||
|
||||
|
||||
More Extensive Documentation
|
||||
----------------------------
|
||||
|
||||
This file is only a quick guide to point you to more detailed information on
|
||||
how to use DevIL. More extensive documentation can currently be found on the
|
||||
DevIL site at http://openil.sf.net and in the /Docs directory in a normal
|
||||
install.
|
||||
|
||||
|
||||
Why the hell another image library?
|
||||
-----------------------------------
|
||||
|
||||
I have never seen an image library that can do everything DevIL does. Sure,
|
||||
various different libraries can do part of what DevIL can do as well or even
|
||||
better, but I wanted a simple to use library that encompassed all of these
|
||||
features. I also wanted an extremely portable image library that could be used
|
||||
from a variety of languages and utilized the OpenGL syntax.
|
||||
|
||||
|
||||
Basic Readme
|
||||
------------
|
||||
|
||||
Most anything stated in this document applies to DevIL as well as DevILU and
|
||||
DevILUT, unless otherwise stated. (This file is best viewed with word wrap on.)
|
||||
|
||||
|
||||
Errors:
|
||||
-------
|
||||
|
||||
All errors generated inside DevIL, along with illegal parameters passed to
|
||||
DevIL functions are caught and passed to ilSetError(), an internal library
|
||||
function. The calling program can call ilGetError() to get the value of the
|
||||
error generated. Error types are defined in il.h, using the 0x501 - 0x5FF
|
||||
range. ilGetError() will return 0 (IL_NO_ERROR) if no error has occurred.
|
||||
|
||||
|
||||
Basic Usage:
|
||||
------
|
||||
|
||||
This demonstrates loading an image through DevIL for OpenGL. Don't forget to
|
||||
call ilInit before you before you do anything:
|
||||
|
||||
#include <IL/il.h>
|
||||
#include <IL/ilu.h>
|
||||
#include <IL/ilut.h>
|
||||
|
||||
...
|
||||
|
||||
ILuint devilError;
|
||||
|
||||
|
||||
ilInit();
|
||||
|
||||
devilError = ilGetError();
|
||||
|
||||
if (devilError != IL_NO_ERROR) {
|
||||
printf ("Devil Error (ilInit: %s\n", iluGetErrorString (devilError));
|
||||
exit (2);
|
||||
}
|
||||
|
||||
....
|
||||
|
||||
ILuint devilID;
|
||||
|
||||
|
||||
ilGenImages(1, &devilID);
|
||||
ilBindImage(devilID);
|
||||
ilLoadImage("default1.tga"); // Loads into the current bound image
|
||||
devilError = ilGetError();
|
||||
|
||||
if (devilError != IL_NO_ERROR) {
|
||||
printf ("Devil Error (ilLoadImage: %s\n", iluGetErrorString (devilError));
|
||||
exit (2);
|
||||
}
|
||||
|
||||
....
|
||||
|
||||
ilutRenderer(IL_OPENGL); // Switch the renderer
|
||||
|
||||
....
|
||||
|
||||
GLuint openglID, openglError;
|
||||
|
||||
|
||||
openglID = ilutGLBindTexImage(); // This generates the texture for you
|
||||
devilError = ilGetError();
|
||||
|
||||
if (devilError != IL_NO_ERROR) {
|
||||
printf ("Error: %s\n", iluGetErrorString (devilError));
|
||||
exit (2);
|
||||
}
|
||||
|
||||
if (openglError != GL_NO_ERROR) {
|
||||
printf ("Opengl Error (ilutGLBindTexImage): %s\n", gluGetErrorString (openglError));
|
||||
exit (2);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Make sure to close the image when you are done with it (though DevIL
|
||||
// automatically deletes them when the program exits):
|
||||
|
||||
glDeleteTextures(1, &openglID);
|
||||
ilDeleteImages (1, &devilID);
|
||||
|
||||
|
||||
More Examples:
|
||||
---------
|
||||
|
||||
The TestIL project is included to test features of DevIL.
|
||||
|
||||
DevIL includes a project called GLTest. This is a simple test of DevIL's
|
||||
capabilities. All it does it load any image and displays it in a window
|
||||
created by FreeGlut, which is available on http://freeglut.sourceforge.net. It
|
||||
is also included to let the user have an idea of what the library can really
|
||||
be used for.
|
||||
|
||||
Several other test projects are included to test support with various display
|
||||
APIs. The WindowsTest project is a basic image program that only runs in
|
||||
Windows right now but showcases several of DevIL's features through various
|
||||
menus.
|
||||
|
||||
If you want more in-depth tutorials, you can find them on
|
||||
http://openil.sf.net, or they may be in your installation under the /examples
|
||||
directory. Documents are also available in the /docs directory.
|
||||
|
||||
|
||||
Additional Reading
|
||||
------------------
|
||||
|
||||
All image formats used in DevIL have corresponding documents on
|
||||
http://www.wotsit.org, under the Graphics Files section. These documents
|
||||
proved invaluable for the creation of this library when there was no library
|
||||
already available for that image format.
|
||||
|
||||
|
||||
Legalese
|
||||
--------
|
||||
|
||||
All contents of this file are intellectual property of Denton Woods,
|
||||
copyright 2001-2008.
|
||||
@@ -1,40 +0,0 @@
|
||||
How do I compile the library ?
|
||||
----------------------------------
|
||||
|
||||
Download and install. In the Unix way it will produce a shared library.
|
||||
Using the project file for the Apple Developer Tools you can get a framework.
|
||||
However they are without the external libraries which are needed to be installed.
|
||||
However the packages are somehow out of date. but anyone can setup a new project easily.
|
||||
DevIL was packaging them along with the distribution but that's was to hard to mantain
|
||||
for each update of these libraries.
|
||||
|
||||
|
||||
Libraries needed to compile DevIL* :
|
||||
-----------------------------------
|
||||
|
||||
Needs the same libraries as the *nix version.
|
||||
|
||||
Installation:
|
||||
-------------
|
||||
All the libraries can be easiliy installed from source, manually or using
|
||||
some tools like the fink project or the darwinports project.
|
||||
|
||||
to use fink you must set the environment variables. for some libraries you must have
|
||||
the PATH correctly set up to execute programs installed with the tools.
|
||||
|
||||
tcsh:
|
||||
setenv LDFLAGS -L/sw/lib
|
||||
setenv CFLAGS -I/sw/include -L/sw/lib
|
||||
|
||||
sh:
|
||||
export LDFLAGS=-L/sw/lib
|
||||
export CFLAGS=-I/sw/includee -L/sw/lib
|
||||
|
||||
same thing with darwinports
|
||||
tcsh:
|
||||
setenv LDFLAGS -L/opt/local/lib
|
||||
setenv CFLAGS -I/opt/local/include -L/opt/local/lib
|
||||
|
||||
sh:
|
||||
export LDFLAGS=-L/opt/local/lib
|
||||
export CFLAGS=-I/opt/local/include -L/opt/local/lib
|
||||
@@ -1,60 +0,0 @@
|
||||
How do I compile the 3 libraries?
|
||||
--------------------------------
|
||||
|
||||
You will need autoconf, automake and libtool.
|
||||
|
||||
Just type:
|
||||
autoreconf -i
|
||||
./configure <your options here>
|
||||
make
|
||||
sudo make install
|
||||
|
||||
If you want to use the ILU and ILUT parts of DevIL, you will want to run
|
||||
./configure --enable-ILU --enable-ILUT
|
||||
|
||||
If you want configure to install in /usr instead of /usr/local, append
|
||||
--prefix=/usr to the ./configure line.
|
||||
|
||||
It should find automatically what can (or cannot) be built on your system. Libtool, autoconf and
|
||||
automake will need to be installed. You may need to copy files from your libtool
|
||||
into the libtools directory and overwrite ltmain.sh if it will not compile with the
|
||||
included files.
|
||||
|
||||
NB : ./configure --help gives you all compiling options available for the three
|
||||
libs. This includes enabling/disabling picture formats, ilut apis.
|
||||
|
||||
Enable/Disable:
|
||||
All features are basically enabled, and a test will be performed
|
||||
to verify if is possible to compile them in. If they are explicitly enabled
|
||||
or disabled no test will occour.
|
||||
|
||||
Compiling under Cygwin or MingW in Windows:
|
||||
------------------------------------------
|
||||
|
||||
Run the same commands as above. You will need to have the following packages installed: gcc-core, gcc-mingw-core, gcc-g++, autoconf, automake, libtool.
|
||||
|
||||
Config.h and JasPer:
|
||||
-------------------
|
||||
|
||||
If compiling with JasPer, you may need to modify config.h so that it does not
|
||||
redefine things that are defined in JasPer's jas_config.h. PACKAGE, PACKAGE_NAME,
|
||||
etc. are generated for both projects, since they use a similar configuration
|
||||
program. If there are conflicts, just comment out the ones in DevIL's config.h.
|
||||
|
||||
|
||||
Libraries needed to compile DevIL* :
|
||||
-----------------------------------
|
||||
|
||||
They are all autodetected by the ./configure script. But if you want to include
|
||||
one of those formats, you have just to install the corresponding lib :
|
||||
|
||||
(libs listed in libraries.txt)
|
||||
|
||||
or in your distro/port ftp/site/whatever_you_want :-)
|
||||
|
||||
|
||||
Installation:
|
||||
-------------
|
||||
|
||||
If #make succeeded, just type #make install, followed by #ldconfig
|
||||
(as su, of course)
|
||||
@@ -1,44 +0,0 @@
|
||||
Where do I find the project files ?
|
||||
-----------------------------------------
|
||||
|
||||
MSVC++ projects are in DevIL\projects\vc8 and DevIL\projects\vc9.
|
||||
If compiling with Cygwin or MinGW, use the instructions in README.unix.
|
||||
|
||||
|
||||
The IL_NO_XXX #define's:
|
||||
------------------------
|
||||
|
||||
A user can recompile this library without complete image support in it. For
|
||||
example, if your project does not use .jpg files, you can uncomment
|
||||
#define IL_NO_JPG at the top of il/il.h, recompile the library, and no .jpg
|
||||
support will be added, meaning quicker compiles and a smaller library.
|
||||
|
||||
|
||||
The ILUT_USE_XXX #define's:
|
||||
---------------------------
|
||||
|
||||
To disable support for a specific API, edit IL/ilut.h and comment the
|
||||
corresponding #define. Per example, to disable OpenGL functions support,
|
||||
add // in front of the line that reads:
|
||||
|
||||
#define ILUT_USE_OPENGL
|
||||
|
||||
|
||||
Libraries needed to compile DevIL* :
|
||||
-----------------------------------
|
||||
|
||||
Libraries.txt (included with the DevIL distribution) lists all libraries needed
|
||||
to properly compile DevIL.
|
||||
|
||||
Precompiled versions and sources of all libraries needed to compile DevIL are
|
||||
available at http://openil.sourceforge.net/libs/LibCompiled.zip and
|
||||
http://openil.sourceforge.net/libs/LibSrc.zip , respectively.
|
||||
|
||||
|
||||
Installation:
|
||||
-------------
|
||||
|
||||
Just unzip and compile other libs included if needed.
|
||||
|
||||
Please also refer to MSVC++.txt for further instructions if you are using
|
||||
Microsoft Visual C++.
|
||||
@@ -1,249 +0,0 @@
|
||||
DevIL TODO:
|
||||
|
||||
-----------
|
||||
|
||||
Denton:
|
||||
|
||||
Bugs:
|
||||
- Conversion to IL_ALPHA seems to be crashing (WindowsTest.cpp).
|
||||
- Conversion to IL_ALPHA can be flipped?
|
||||
|
||||
|
||||
By next release:
|
||||
|
||||
- NVTT.dll as a delay-loaded DLL.
|
||||
- Update docs with next DXT code, new mipmap/cubemap access, new SaveL code.
|
||||
- Mention Unicode and 64-bit compatibility on website.
|
||||
- Update DevIL website with file formats (psd-saving, etc.).
|
||||
- Add Nebula Device to projects page.
|
||||
- Add VTF Edit to projects page.
|
||||
- Add http://vrml.cip.ica.uni-stuttgart.de/dune/install.html to projects page.
|
||||
- Verify all formats are listed in il_io.c Doxygen documentation.
|
||||
- http://www.fileformat.info/format/drhalo/sample/index.htm - Check these.
|
||||
- Update Portable Any Map name in manual and code. http://www.bbhscanners.com/support/infinity_WF/faqs/faq_001.html
|
||||
- Update http://en.wikipedia.org/wiki/Tagged_Image_File_Format name as above.
|
||||
- Same with MNG
|
||||
- Update Targa extensions in manual.
|
||||
- Update license page on the website.
|
||||
|
||||
|
||||
Easier:
|
||||
- Find out what is different in the VTF headers that are 64 bytes.
|
||||
- Make DXT1 decompression function that does not do alpha.
|
||||
- Implement ilIsValid calls for ROT.
|
||||
- Make sure ilFixImage is called everytime something is loaded.
|
||||
- Add BLP loading of alpha sizes other than 0 and 1 for BLP2 RAW.
|
||||
- Add BLP loading of mipmaps for all other types (jpeg will be the hardest).
|
||||
- Find out why BLP2 files do not follow DXTC specs when width or height < 4.
|
||||
It looks like they are not wasting space with the small mipmaps.
|
||||
An example is a 2x8 image in DXT5. Their mipmap length claims to be 16, instead of 32.
|
||||
- Recompile libtiff with extra options (but not jpeg...).
|
||||
- Clean up ilSetAlpha.
|
||||
- DxtcReadColor and DxtcReadColors need to expand the colours from 565 to 888 properly.
|
||||
- Add faces to WindowsTest.
|
||||
- Add reading other files in directory to WindowsTest, so you can easily view all files in a dir.
|
||||
- Finish BLP loading (indexed mipmaps, jpeg data).
|
||||
- dcraw support
|
||||
- http://en.wikipedia.org/wiki/2xSaI
|
||||
- Clean up WDP code.
|
||||
- Get WDP code to do conversions within the WDP library (check to see if type/format set by user).
|
||||
- Get WDP code to properly do float, short, etc.
|
||||
- Make DecompressDXT1 and DecompressDXT1a functions separate (.blp files could use this).
|
||||
- Keep TPL DXT data.
|
||||
- DecompressDXT1 (and more) do not set an error if returning IL_FALSE (should be an internal error, I think).
|
||||
- Add ilIsValidFits* functions to il_io.c.
|
||||
- Add ilIsValidWdp* functions.
|
||||
- iGetString may not work properly with Unicode strings.
|
||||
- Look at adding ilIsValid* for mng, iff, wbmp, wal and pxr.
|
||||
- Added ilSetError error codes to il_files.c.
|
||||
- Get rid of check for precache.
|
||||
- If IL_NO_JP2 is defined, lines 306-307 shouldn't just cause the entire thing to fail. We should just skip that entry.
|
||||
- Change ilConvertBuffer to be able to convert paletted images as well.
|
||||
- Fix MSVC8 solutions for text files.
|
||||
- ilSavePnmF needs to set FName if not called by ilSavePnm.
|
||||
- Make TPL_CMP case in iLoadTplInternal code more modular (also in il_dds.c).
|
||||
- Get rid of iluSwapColours call in ilutConvertToSDLSurface.
|
||||
- Use GL/glext.h.
|
||||
- Update Eclipse projects.
|
||||
- Add Code::Blocks projects.
|
||||
- Check to make sure all VTF formats are supported.
|
||||
- Look at DDSTextureLoader.cpp for new DDS formats.
|
||||
- http://www.leunen.com/cbuilder/rotbmp.html
|
||||
- 3d mipmaps and better 2d: http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=236590&fpart=2
|
||||
http://zach.in.tu-clausthal.de/teaching/cg2_07/literatur/frame_buffer_objects.html
|
||||
http://objectmix.com/graphics/745877-glgeneratemipmapext.html
|
||||
- Make libsquish and NVTT code compress volume textures (do each slice separately).
|
||||
- Check .dcx code - does it even load multiple images?
|
||||
- Make ilBlit either error with color indexed images or work with them.
|
||||
- iluScale: Make ilTexImage or whatever actually use Temp->Data instead of copying.
|
||||
- Get rid of globals in il_dds.c and ilu_scale2d.c.
|
||||
- Make ilApplyPal also work for file streams and lumps.
|
||||
- Make a version of ilApplyPal where a palette buffer and palette type are specified.
|
||||
- Renormalize FITS and DICOM files (make it an option?).
|
||||
- Add scaling functions to IL (and wrappers in ILU).
|
||||
- Fix DXT2 and DXT4 loading.
|
||||
- Add _ilLoadExt/_ilSaveExt Unicode in il_states.c.
|
||||
- XCF (Gimp) support
|
||||
|
||||
|
||||
More involved:
|
||||
- ILinfo struct still has number of images...
|
||||
- Use loaded mipmaps in OpenGL and DirectX.
|
||||
- JPEG and PNG in .bmp files?
|
||||
- It looks like ilSetRead/ilSetWrite don't actually do anything.
|
||||
- Run Valgrind on library - all functions.
|
||||
- Make iSaveJp2Internal and iSaveExrInternal work with palettes (make ilConvertBuffer work on palettes as well).
|
||||
- Make .ico/.icns uses Mipmaps field instead for smaller icons (can icns have multiple images?).
|
||||
- Work on http://en.wikipedia.org/wiki/Apple_Icon_Image page.
|
||||
- http://mirrored.xentax.com/gfe/index.html (lots of game graphics formats)
|
||||
- Strife textures
|
||||
- Starcraft GRP textures - http://web.archive.org/web/20041011165218/http://user.cs.tu-berlin.de/~mickyk/cv.html
|
||||
- Commenting out lines 729-731 in pngread.c of libpng (1.2.9?) will allow reading of certain malformed Vista PNG-compressed .ico files with extra data at the end of the stream. An example can be found in test/in and was created using Microangelo.
|
||||
- Add .ico/.icns saving.
|
||||
- Readd CMAKE support
|
||||
- Better static lib support in MSVC++ 8/9
|
||||
- Median cut quantization
|
||||
- Lib EXIF support
|
||||
- APNG support
|
||||
- Koala support
|
||||
- Flashpix (.fpx) support
|
||||
- Multipage PNM files
|
||||
- Fortran support
|
||||
- D language support - There exists a program to convert C headers to D.
|
||||
- Better DirectX 10 support
|
||||
- Open URL in WindowsTest not working
|
||||
- Should probably check for errors in iGetWdpHead and etc...
|
||||
- ilGetAlpha returns malloc'ed memory that cannot be freed by the caller.
|
||||
- Support for DX10 .dds files - one new format is found in HDRRendering sample in nVidia DX10 SDK.
|
||||
- More checks for headers of unknown file types
|
||||
- Set CompSize in ReadData of il_dds.c for DDS_LINEARSIZE flag?
|
||||
- Look at resize filters in VTFEdit.
|
||||
- Get rid of globals in il_dds.c.
|
||||
- TIFF with JPEG encoding
|
||||
- Bicubic scaling
|
||||
- Freebasic support
|
||||
- Multiple images in FITs files (through extensions).
|
||||
- Reorder loading/saving in il_io.c
|
||||
- Get il_vtf.c to do less memory allocation. Just use the precache function.
|
||||
- In il_gif.c, make sure subimages with offsets will not lead to an overflow.
|
||||
- il_bmp.c / il_dds.c / il_dds-save.c may not be safe for Big Endian for 16-bit data.
|
||||
- Change how mipmaps are stored (do not use Next pointer in ILimage).
|
||||
- Check ASCII PPM code for the ability to read data that wraps around to multiple lines.
|
||||
- Check return on all ilFixImage calls.
|
||||
- Printing not working from Windows test.
|
||||
- Can ilConvertImage deal correctly with signed image formats?
|
||||
- Add function to create cubemaps.
|
||||
- Request compressed texture data in ilutGLSetTex2D?
|
||||
- Upload cubemaps directly to OpenGL/D3D.
|
||||
- Change some calls (such as in il_tiff.c) to ilGetString to non-Unicode.
|
||||
- Check saving of Luminance (8 bpp/1 Bpp) BMP
|
||||
- Check compatibility with all the files in the BMP Suite.
|
||||
- IL_COLOUR_INDEX: must be implemented in iluReplaceColour(ILubyte Red, ILubyte Green, ILubyte Blue, ILfloat Tolerance);
|
||||
- iluEqualize must be implemented for various Bpc
|
||||
- Update the state stack in IL. Right now, it only saves part of the states when you push/pop.
|
||||
- Redo Compress in il_dds-save.c.
|
||||
- Check 16-bit images being loaded have their lower bits properly set. An example is the il_dds.c entry on 2009-01-15.
|
||||
- Fix image loading problems listed on http://www.seriema.net/thumbview/index.php?page=compatibility.
|
||||
- Look at http://en.wikipedia.org/wiki/Comparison_of_graphics_file_formats
|
||||
- PNG and JPG compression in .bmp files?
|
||||
- Scan line table for RLE .tga files.
|
||||
- Allow more formats for saving .tga (does not do IL_ALPHA for instance) - also in iTargaSize.
|
||||
Make sure iConvertImage is called. Right now, it would not be.
|
||||
- XBM support.
|
||||
- Check XPM support for different types: http://en.wikipedia.org/wiki/XPM_(image_format)
|
||||
- Find test images for all .tpl formats.
|
||||
- Create new palette types for luminance, luminance-alpha and alpha (.tpl has luminance-alpha) (also change ilutConvertToSDLSurface and maybe others).
|
||||
- iGetActiveNum needs to be rewritten somehow to allow for mipmaps under a cubemap in an animation chain (extreme example).
|
||||
- TPL saving
|
||||
- Test Windows Mobile code.
|
||||
- OpenMP support: http://stackoverflow.com/questions/326487/multithreaded-image-processing-in-c
|
||||
http://www.ddj.com/architect/184405586
|
||||
- Shear rotation: http://www.codeproject.com/KB/graphics/rotatebyshear.aspx
|
||||
- Icon Library (.icl) support.
|
||||
- Test all DDS types.
|
||||
- New (DX10) DDS types
|
||||
- Gamecube BMD and BTI support (http://www.amnoid.de/gc/)
|
||||
- Conversion from half to int is producing artifacts.
|
||||
- Support for mp3 frames with Unicode strings
|
||||
|
||||
|
||||
Lots of work:
|
||||
- Linux Unicode support is partially broken.
|
||||
- Write own .exr routines.
|
||||
- Native WDP support
|
||||
- Enable descriptive error strings in IL.
|
||||
- Librsvg
|
||||
- Give estimates for buffer sizes for ilSaveL.
|
||||
- MNG saving
|
||||
- Metadata
|
||||
- Thread safe version
|
||||
- Add flag for determining whether DDS data is outdated.
|
||||
- TIFF saving to file streams and lumps
|
||||
- Use fseek/ftell 64-bit?
|
||||
- Check for any external library pointers that are assumed to be 32-bit.
|
||||
- Possibly make palettes always 768 (or 1024) bytes so that it is not possible to access outside by bad data?
|
||||
- Add padding options, so that each line could be DWORD-padded, for instance.
|
||||
- Add dithering.
|
||||
- Work on making DevIL more stable. There's probably a few places where I don't check the return value of ilNewImage, for instance.
|
||||
- Add support for callbacks so that users can create progress meters for loading and saving in their applications. We could extend this idea further and allow cancellation of loading/saving images.
|
||||
- global use of restricted pointers where available (for now only il_bmp.{c,h} uses it)
|
||||
- iluScaleColours is BUGGED, doesn't handle the image with the correct type! more Bpc (except luminance and paletted one)
|
||||
- Add a real Layer facility.
|
||||
- IL_LUMINANCE_ALPHA support must be tested in ilApplyPal();
|
||||
- ilApplyPal should work on any type of image, not only IL_BYTE or IL_UNSIGNED_BYTE
|
||||
- Look at adding FreeType support to ILU.
|
||||
- Work on the signed/unsigned conversions a bit more (IL_BYTE versus IL_UNSIGNED_BYTE, etc.). A good link for defining signed formats is http://www.sgi.com/software/opengl/advanced98/notes/node31.html .
|
||||
- Add TWAIN support.
|
||||
- Add clipboard and printing support in Linux.
|
||||
- Finish support for regions in ILU.
|
||||
- Add support for regions in IL. This could be used to save only a specific portion of an image.
|
||||
- Add support for user-defined filters (possibly of a user-defined size).
|
||||
- Add more filters. Some sites to look at are http://www.jasonwaltman.com/thesis/introduction.html http://www.dai.ed.ac.uk/CVonline/transf.htm http://www.fortunecity.com/lavendar/kane/39/ffpg.htm and http://www.opengl.org/developers/documentation/Version1.2/1.2specs/convolution_border_modes.txt . The last link describes ways to handle borders for the convolution filters. It might be worthwhile to allow these kinds of options.
|
||||
- Possibly add support for other colour spaces besides RGB (CMYK, YUV, etc.)
|
||||
- Implement a scripting "language" with LUA for ILU. This way, people can generate scripts to run a certain set of filters on all images.
|
||||
- Look at other rescaling algorithms:
|
||||
http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0guide/Geom-image-manip.doc.html
|
||||
http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0guide/Geom-image-manip.doc.html#55431
|
||||
http://www.npac.syr.edu/projects/nasa/MILOJE/final/node36.html
|
||||
http://www.ultranet.com/~aramini/design.html
|
||||
- ilKeyColor ilAddKey...
|
||||
- Find a way to make the filters (especially the convolution filters) work in three dimensions.
|
||||
- Make better versions of the DevIL ports of the NeHe tutorials. Several of the tutorials don't call ilInit, for instance.
|
||||
- Change parameters of iread to use ILsizei.
|
||||
- Make sure all bugs in bug tracker are squashed.
|
||||
|
||||
|
||||
Questions:
|
||||
- Should IL_CONV_PAL convert to more than RGB?
|
||||
- Possibly readd VC6 projects?
|
||||
- Add BeOS support back in?
|
||||
- Create Dev-C++/MingW/Cygwin .a files for releases?
|
||||
- Does ilIsValidTga generate an unncessary IL_INVALID_EXTENSION error?
|
||||
- Why is IL_HALF even used in ilut_directx9.c?
|
||||
- Fix problems loading .dds files on Big Endian machines (still a problem or not?)
|
||||
- Should we be calculating DXT endpoints before converting data to 565 format?
|
||||
- Use Extreme DXT compression code?
|
||||
- Support half data internally?
|
||||
- Will ilDetermineType fail if file reading functions are overriden?
|
||||
- Is ilSaveCHeader fine with Unicode?
|
||||
- Should ilFlipSurfaceDxtcData and more work on mipmaps/cubemaps as well?
|
||||
- Should ilImageToDxtcData work on cubemaps?
|
||||
- Should we seek back to the initial position on filestreams?
|
||||
- Should we return the number of bytes read in loading lumps?
|
||||
- Should we be renormalizing float and double data in FITS files?
|
||||
|
||||
|
||||
From old TODO:
|
||||
For 1.7.0
|
||||
- fixed OpenGL Loading (breaks old code which inverted the images)
|
||||
- iluReplaceColour should have a color to describe which color to set.
|
||||
- ilBindImage must return a result. It may fail!
|
||||
- ilInit() call iSetImage0 and ilBindTemp. This shouldn't happen and image names must start from 0
|
||||
- Rename iGetIntegervImage to ilGetImageIntegerv and make it public
|
||||
|
||||
Matej:
|
||||
- Make a test suite (IL ok, now ILU tests)
|
||||
- Make DevIL parts that require external libraries modular
|
||||
- Make the library include files correct (fix the config.h problem)
|
||||
- Look into TIFF loading (support for images with greater bpp should be possible)
|
||||
- Fix examples
|
||||
Vendored
-918
@@ -1,918 +0,0 @@
|
||||
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||
# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
# This file 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.
|
||||
|
||||
m4_ifndef([AC_AUTOCONF_VERSION],
|
||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||
m4_if(AC_AUTOCONF_VERSION, [2.61],,
|
||||
[m4_warning([this file was generated for autoconf 2.61.
|
||||
You have another version of autoconf. It may work, but is not guaranteed to.
|
||||
If you have problems, you may need to regenerate the build system entirely.
|
||||
To do so, use the procedure documented by the package, typically `autoreconf'.])])
|
||||
|
||||
# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# AM_AUTOMAKE_VERSION(VERSION)
|
||||
# ----------------------------
|
||||
# Automake X.Y traces this macro to ensure aclocal.m4 has been
|
||||
# generated from the m4 files accompanying Automake X.Y.
|
||||
# (This private macro should not be called outside this file.)
|
||||
AC_DEFUN([AM_AUTOMAKE_VERSION],
|
||||
[am__api_version='1.10'
|
||||
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
||||
dnl require some minimum version. Point them to the right macro.
|
||||
m4_if([$1], [1.10.1], [],
|
||||
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
||||
])
|
||||
|
||||
# _AM_AUTOCONF_VERSION(VERSION)
|
||||
# -----------------------------
|
||||
# aclocal traces this macro to find the Autoconf version.
|
||||
# This is a private macro too. Using m4_define simplifies
|
||||
# the logic in aclocal, which can simply ignore this definition.
|
||||
m4_define([_AM_AUTOCONF_VERSION], [])
|
||||
|
||||
# AM_SET_CURRENT_AUTOMAKE_VERSION
|
||||
# -------------------------------
|
||||
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
||||
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
|
||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
||||
[AM_AUTOMAKE_VERSION([1.10.1])dnl
|
||||
m4_ifndef([AC_AUTOCONF_VERSION],
|
||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
|
||||
|
||||
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
|
||||
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
|
||||
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
|
||||
#
|
||||
# Of course, Automake must honor this variable whenever it calls a
|
||||
# tool from the auxiliary directory. The problem is that $srcdir (and
|
||||
# therefore $ac_aux_dir as well) can be either absolute or relative,
|
||||
# depending on how configure is run. This is pretty annoying, since
|
||||
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
|
||||
# source directory, any form will work fine, but in subdirectories a
|
||||
# relative path needs to be adjusted first.
|
||||
#
|
||||
# $ac_aux_dir/missing
|
||||
# fails when called from a subdirectory if $ac_aux_dir is relative
|
||||
# $top_srcdir/$ac_aux_dir/missing
|
||||
# fails if $ac_aux_dir is absolute,
|
||||
# fails when called from a subdirectory in a VPATH build with
|
||||
# a relative $ac_aux_dir
|
||||
#
|
||||
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
|
||||
# are both prefixed by $srcdir. In an in-source build this is usually
|
||||
# harmless because $srcdir is `.', but things will broke when you
|
||||
# start a VPATH build or use an absolute $srcdir.
|
||||
#
|
||||
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
|
||||
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
|
||||
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
|
||||
# and then we would define $MISSING as
|
||||
# MISSING="\${SHELL} $am_aux_dir/missing"
|
||||
# This will work as long as MISSING is not called from configure, because
|
||||
# unfortunately $(top_srcdir) has no meaning in configure.
|
||||
# However there are other variables, like CC, which are often used in
|
||||
# configure, and could therefore not use this "fixed" $ac_aux_dir.
|
||||
#
|
||||
# Another solution, used here, is to always expand $ac_aux_dir to an
|
||||
# absolute PATH. The drawback is that using absolute paths prevent a
|
||||
# configured tree to be moved without reconfiguration.
|
||||
|
||||
AC_DEFUN([AM_AUX_DIR_EXPAND],
|
||||
[dnl Rely on autoconf to set up CDPATH properly.
|
||||
AC_PREREQ([2.50])dnl
|
||||
# expand $ac_aux_dir to an absolute path
|
||||
am_aux_dir=`cd $ac_aux_dir && pwd`
|
||||
])
|
||||
|
||||
# AM_CONDITIONAL -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# serial 8
|
||||
|
||||
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
||||
# -------------------------------------
|
||||
# Define a conditional.
|
||||
AC_DEFUN([AM_CONDITIONAL],
|
||||
[AC_PREREQ(2.52)dnl
|
||||
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
||||
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
||||
AC_SUBST([$1_TRUE])dnl
|
||||
AC_SUBST([$1_FALSE])dnl
|
||||
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
|
||||
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
|
||||
if $2; then
|
||||
$1_TRUE=
|
||||
$1_FALSE='#'
|
||||
else
|
||||
$1_TRUE='#'
|
||||
$1_FALSE=
|
||||
fi
|
||||
AC_CONFIG_COMMANDS_PRE(
|
||||
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
|
||||
AC_MSG_ERROR([[conditional "$1" was never defined.
|
||||
Usually this means the macro was only invoked conditionally.]])
|
||||
fi])])
|
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# serial 9
|
||||
|
||||
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
||||
# written in clear, in which case automake, when reading aclocal.m4,
|
||||
# will think it sees a *use*, and therefore will trigger all it's
|
||||
# C support machinery. Also note that it means that autoscan, seeing
|
||||
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
|
||||
|
||||
|
||||
# _AM_DEPENDENCIES(NAME)
|
||||
# ----------------------
|
||||
# See how the compiler implements dependency checking.
|
||||
# NAME is "CC", "CXX", "GCJ", or "OBJC".
|
||||
# We try a few techniques and use that to set a single cache variable.
|
||||
#
|
||||
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
|
||||
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
|
||||
# dependency, and given that the user is not expected to run this macro,
|
||||
# just rely on AC_PROG_CC.
|
||||
AC_DEFUN([_AM_DEPENDENCIES],
|
||||
[AC_REQUIRE([AM_SET_DEPDIR])dnl
|
||||
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
|
||||
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
|
||||
AC_REQUIRE([AM_DEP_TRACK])dnl
|
||||
|
||||
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
|
||||
[$1], CXX, [depcc="$CXX" am_compiler_list=],
|
||||
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
|
||||
[$1], UPC, [depcc="$UPC" am_compiler_list=],
|
||||
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
|
||||
[depcc="$$1" am_compiler_list=])
|
||||
|
||||
AC_CACHE_CHECK([dependency style of $depcc],
|
||||
[am_cv_$1_dependencies_compiler_type],
|
||||
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
||||
# We make a subdir and do the tests there. Otherwise we can end up
|
||||
# making bogus files that we don't know about and never remove. For
|
||||
# instance it was reported that on HP-UX the gcc test will end up
|
||||
# making a dummy file named `D' -- because `-MD' means `put the output
|
||||
# in D'.
|
||||
mkdir conftest.dir
|
||||
# Copy depcomp to subdir because otherwise we won't find it if we're
|
||||
# using a relative directory.
|
||||
cp "$am_depcomp" conftest.dir
|
||||
cd conftest.dir
|
||||
# We will build objects and dependencies in a subdirectory because
|
||||
# it helps to detect inapplicable dependency modes. For instance
|
||||
# both Tru64's cc and ICC support -MD to output dependencies as a
|
||||
# side effect of compilation, but ICC will put the dependencies in
|
||||
# the current directory while Tru64 will put them in the object
|
||||
# directory.
|
||||
mkdir sub
|
||||
|
||||
am_cv_$1_dependencies_compiler_type=none
|
||||
if test "$am_compiler_list" = ""; then
|
||||
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
|
||||
fi
|
||||
for depmode in $am_compiler_list; do
|
||||
# Setup a source with many dependencies, because some compilers
|
||||
# like to wrap large dependency lists on column 80 (with \), and
|
||||
# we should not choose a depcomp mode which is confused by this.
|
||||
#
|
||||
# We need to recreate these files for each test, as the compiler may
|
||||
# overwrite some of them when testing with obscure command lines.
|
||||
# This happens at least with the AIX C compiler.
|
||||
: > sub/conftest.c
|
||||
for i in 1 2 3 4 5 6; do
|
||||
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
||||
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
||||
# Solaris 8's {/usr,}/bin/sh.
|
||||
touch sub/conftst$i.h
|
||||
done
|
||||
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
||||
|
||||
case $depmode in
|
||||
nosideeffect)
|
||||
# after this tag, mechanisms are not by side-effect, so they'll
|
||||
# only be used when explicitly requested
|
||||
if test "x$enable_dependency_tracking" = xyes; then
|
||||
continue
|
||||
else
|
||||
break
|
||||
fi
|
||||
;;
|
||||
none) break ;;
|
||||
esac
|
||||
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
||||
# mode. It turns out that the SunPro C++ compiler does not properly
|
||||
# handle `-M -o', and we need to detect this.
|
||||
if depmode=$depmode \
|
||||
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
||||
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
||||
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
||||
>/dev/null 2>conftest.err &&
|
||||
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
||||
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
||||
# icc doesn't choke on unknown options, it will just issue warnings
|
||||
# or remarks (even with -Werror). So we grep stderr for any message
|
||||
# that says an option was ignored or not supported.
|
||||
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
||||
# icc: Command line warning: ignoring option '-M'; no argument required
|
||||
# The diagnosis changed in icc 8.0:
|
||||
# icc: Command line remark: option '-MP' not supported
|
||||
if (grep 'ignoring option' conftest.err ||
|
||||
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
||||
am_cv_$1_dependencies_compiler_type=$depmode
|
||||
break
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
cd ..
|
||||
rm -rf conftest.dir
|
||||
else
|
||||
am_cv_$1_dependencies_compiler_type=none
|
||||
fi
|
||||
])
|
||||
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
|
||||
AM_CONDITIONAL([am__fastdep$1], [
|
||||
test "x$enable_dependency_tracking" != xno \
|
||||
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
|
||||
])
|
||||
|
||||
|
||||
# AM_SET_DEPDIR
|
||||
# -------------
|
||||
# Choose a directory name for dependency files.
|
||||
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
|
||||
AC_DEFUN([AM_SET_DEPDIR],
|
||||
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
||||
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
|
||||
])
|
||||
|
||||
|
||||
# AM_DEP_TRACK
|
||||
# ------------
|
||||
AC_DEFUN([AM_DEP_TRACK],
|
||||
[AC_ARG_ENABLE(dependency-tracking,
|
||||
[ --disable-dependency-tracking speeds up one-time build
|
||||
--enable-dependency-tracking do not reject slow dependency extractors])
|
||||
if test "x$enable_dependency_tracking" != xno; then
|
||||
am_depcomp="$ac_aux_dir/depcomp"
|
||||
AMDEPBACKSLASH='\'
|
||||
fi
|
||||
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||
AC_SUBST([AMDEPBACKSLASH])dnl
|
||||
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
|
||||
])
|
||||
|
||||
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
#serial 3
|
||||
|
||||
# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
# ------------------------------
|
||||
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[for mf in $CONFIG_FILES; do
|
||||
# Strip MF so we end up with the name of the file.
|
||||
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
||||
# Check whether this is an Automake generated Makefile or not.
|
||||
# We used to match only the files named `Makefile.in', but
|
||||
# some people rename them; so instead we look at the file content.
|
||||
# Grep'ing the first line is not enough: some people post-process
|
||||
# each Makefile.in and add a new line on top of each file to say so.
|
||||
# Grep'ing the whole file is not good either: AIX grep has a line
|
||||
# limit of 2048, but all sed's we know have understand at least 4000.
|
||||
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
||||
dirpart=`AS_DIRNAME("$mf")`
|
||||
else
|
||||
continue
|
||||
fi
|
||||
# Extract the definition of DEPDIR, am__include, and am__quote
|
||||
# from the Makefile without running `make'.
|
||||
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
||||
test -z "$DEPDIR" && continue
|
||||
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
||||
test -z "am__include" && continue
|
||||
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
||||
# When using ansi2knr, U may be empty or an underscore; expand it
|
||||
U=`sed -n 's/^U = //p' < "$mf"`
|
||||
# Find all dependency output files, they are included files with
|
||||
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
||||
# simplest approach to changing $(DEPDIR) to its actual value in the
|
||||
# expansion.
|
||||
for file in `sed -n "
|
||||
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
||||
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
||||
# Make sure the directory exists.
|
||||
test -f "$dirpart/$file" && continue
|
||||
fdir=`AS_DIRNAME(["$file"])`
|
||||
AS_MKDIR_P([$dirpart/$fdir])
|
||||
# echo "creating $dirpart/$file"
|
||||
echo '# dummy' > "$dirpart/$file"
|
||||
done
|
||||
done
|
||||
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
|
||||
|
||||
# AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
# -----------------------------
|
||||
# This macro should only be invoked once -- use via AC_REQUIRE.
|
||||
#
|
||||
# This code is only required when automatic dependency tracking
|
||||
# is enabled. FIXME. This creates each `.P' file that we will
|
||||
# need in order to bootstrap the dependency handling code.
|
||||
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[AC_CONFIG_COMMANDS([depfiles],
|
||||
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
|
||||
])
|
||||
|
||||
# Do all the work for Automake. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||
# 2005, 2006, 2008 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# serial 13
|
||||
|
||||
# This macro actually does too much. Some checks are only needed if
|
||||
# your package does certain things. But this isn't really a big deal.
|
||||
|
||||
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
|
||||
# AM_INIT_AUTOMAKE([OPTIONS])
|
||||
# -----------------------------------------------
|
||||
# The call with PACKAGE and VERSION arguments is the old style
|
||||
# call (pre autoconf-2.50), which is being phased out. PACKAGE
|
||||
# and VERSION should now be passed to AC_INIT and removed from
|
||||
# the call to AM_INIT_AUTOMAKE.
|
||||
# We support both call styles for the transition. After
|
||||
# the next Automake release, Autoconf can make the AC_INIT
|
||||
# arguments mandatory, and then we can depend on a new Autoconf
|
||||
# release and drop the old call support.
|
||||
AC_DEFUN([AM_INIT_AUTOMAKE],
|
||||
[AC_PREREQ([2.60])dnl
|
||||
dnl Autoconf wants to disallow AM_ names. We explicitly allow
|
||||
dnl the ones we care about.
|
||||
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
||||
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
|
||||
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
||||
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
||||
# is not polluted with repeated "-I."
|
||||
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
|
||||
# test to see if srcdir already configured
|
||||
if test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
fi
|
||||
fi
|
||||
|
||||
# test whether we have cygpath
|
||||
if test -z "$CYGPATH_W"; then
|
||||
if (cygpath --version) >/dev/null 2>/dev/null; then
|
||||
CYGPATH_W='cygpath -w'
|
||||
else
|
||||
CYGPATH_W=echo
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([CYGPATH_W])
|
||||
|
||||
# Define the identity of the package.
|
||||
dnl Distinguish between old-style and new-style calls.
|
||||
m4_ifval([$2],
|
||||
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
|
||||
AC_SUBST([PACKAGE], [$1])dnl
|
||||
AC_SUBST([VERSION], [$2])],
|
||||
[_AM_SET_OPTIONS([$1])dnl
|
||||
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
|
||||
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
|
||||
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
|
||||
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
||||
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
|
||||
|
||||
_AM_IF_OPTION([no-define],,
|
||||
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
|
||||
|
||||
# Some tools Automake needs.
|
||||
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
||||
AC_REQUIRE([AC_ARG_PROGRAM])dnl
|
||||
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
|
||||
AM_MISSING_PROG(AUTOCONF, autoconf)
|
||||
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
|
||||
AM_MISSING_PROG(AUTOHEADER, autoheader)
|
||||
AM_MISSING_PROG(MAKEINFO, makeinfo)
|
||||
AM_PROG_INSTALL_SH
|
||||
AM_PROG_INSTALL_STRIP
|
||||
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
|
||||
# We need awk for the "check" target. The system "awk" is bad on
|
||||
# some platforms.
|
||||
AC_REQUIRE([AC_PROG_AWK])dnl
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
||||
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
||||
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
|
||||
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
|
||||
[_AM_PROG_TAR([v7])])])
|
||||
_AM_IF_OPTION([no-dependencies],,
|
||||
[AC_PROVIDE_IFELSE([AC_PROG_CC],
|
||||
[_AM_DEPENDENCIES(CC)],
|
||||
[define([AC_PROG_CC],
|
||||
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
|
||||
AC_PROVIDE_IFELSE([AC_PROG_CXX],
|
||||
[_AM_DEPENDENCIES(CXX)],
|
||||
[define([AC_PROG_CXX],
|
||||
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
|
||||
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
|
||||
[_AM_DEPENDENCIES(OBJC)],
|
||||
[define([AC_PROG_OBJC],
|
||||
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
|
||||
])
|
||||
])
|
||||
|
||||
|
||||
# When config.status generates a header, we must update the stamp-h file.
|
||||
# This file resides in the same directory as the config header
|
||||
# that is generated. The stamp files are numbered to have different names.
|
||||
|
||||
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
|
||||
# loop where config.status creates the headers, so we can generate
|
||||
# our stamp files there.
|
||||
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
|
||||
[# Compute $1's index in $config_headers.
|
||||
_am_arg=$1
|
||||
_am_stamp_count=1
|
||||
for _am_header in $config_headers :; do
|
||||
case $_am_header in
|
||||
$_am_arg | $_am_arg:* )
|
||||
break ;;
|
||||
* )
|
||||
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
||||
esac
|
||||
done
|
||||
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
||||
|
||||
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# AM_PROG_INSTALL_SH
|
||||
# ------------------
|
||||
# Define $install_sh.
|
||||
AC_DEFUN([AM_PROG_INSTALL_SH],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
|
||||
AC_SUBST(install_sh)])
|
||||
|
||||
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# serial 2
|
||||
|
||||
# Check whether the underlying file-system supports filenames
|
||||
# with a leading dot. For instance MS-DOS doesn't.
|
||||
AC_DEFUN([AM_SET_LEADING_DOT],
|
||||
[rm -rf .tst 2>/dev/null
|
||||
mkdir .tst 2>/dev/null
|
||||
if test -d .tst; then
|
||||
am__leading_dot=.
|
||||
else
|
||||
am__leading_dot=_
|
||||
fi
|
||||
rmdir .tst 2>/dev/null
|
||||
AC_SUBST([am__leading_dot])])
|
||||
|
||||
# Check to see how 'make' treats includes. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# serial 3
|
||||
|
||||
# AM_MAKE_INCLUDE()
|
||||
# -----------------
|
||||
# Check to see how make treats includes.
|
||||
AC_DEFUN([AM_MAKE_INCLUDE],
|
||||
[am_make=${MAKE-make}
|
||||
cat > confinc << 'END'
|
||||
am__doit:
|
||||
@echo done
|
||||
.PHONY: am__doit
|
||||
END
|
||||
# If we don't find an include directive, just comment out the code.
|
||||
AC_MSG_CHECKING([for style of include used by $am_make])
|
||||
am__include="#"
|
||||
am__quote=
|
||||
_am_result=none
|
||||
# First try GNU make style include.
|
||||
echo "include confinc" > confmf
|
||||
# We grep out `Entering directory' and `Leaving directory'
|
||||
# messages which can occur if `w' ends up in MAKEFLAGS.
|
||||
# In particular we don't look at `^make:' because GNU make might
|
||||
# be invoked under some other name (usually "gmake"), in which
|
||||
# case it prints its new name instead of `make'.
|
||||
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
||||
am__include=include
|
||||
am__quote=
|
||||
_am_result=GNU
|
||||
fi
|
||||
# Now try BSD make style include.
|
||||
if test "$am__include" = "#"; then
|
||||
echo '.include "confinc"' > confmf
|
||||
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
||||
am__include=.include
|
||||
am__quote="\""
|
||||
_am_result=BSD
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([am__include])
|
||||
AC_SUBST([am__quote])
|
||||
AC_MSG_RESULT([$_am_result])
|
||||
rm -f confinc confmf
|
||||
])
|
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# serial 5
|
||||
|
||||
# AM_PROG_CC_C_O
|
||||
# --------------
|
||||
# Like AC_PROG_CC_C_O, but changed for automake.
|
||||
AC_DEFUN([AM_PROG_CC_C_O],
|
||||
[AC_REQUIRE([AC_PROG_CC_C_O])dnl
|
||||
AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
AC_REQUIRE_AUX_FILE([compile])dnl
|
||||
# FIXME: we rely on the cache variable name because
|
||||
# there is no other way.
|
||||
set dummy $CC
|
||||
ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
|
||||
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
|
||||
# Losing compiler, so override with the script.
|
||||
# FIXME: It is wrong to rewrite CC.
|
||||
# But if we don't then we get into trouble of one sort or another.
|
||||
# A longer-term fix would be to have automake use am__CC in this case,
|
||||
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
|
||||
CC="$am_aux_dir/compile $CC"
|
||||
fi
|
||||
dnl Make sure AC_PROG_CC is never called again, or it will override our
|
||||
dnl setting of CC.
|
||||
m4_define([AC_PROG_CC],
|
||||
[m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
|
||||
])
|
||||
|
||||
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# serial 5
|
||||
|
||||
# AM_MISSING_PROG(NAME, PROGRAM)
|
||||
# ------------------------------
|
||||
AC_DEFUN([AM_MISSING_PROG],
|
||||
[AC_REQUIRE([AM_MISSING_HAS_RUN])
|
||||
$1=${$1-"${am_missing_run}$2"}
|
||||
AC_SUBST($1)])
|
||||
|
||||
|
||||
# AM_MISSING_HAS_RUN
|
||||
# ------------------
|
||||
# Define MISSING if not defined so far and test if it supports --run.
|
||||
# If it does, set am_missing_run to use it, otherwise, to nothing.
|
||||
AC_DEFUN([AM_MISSING_HAS_RUN],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
AC_REQUIRE_AUX_FILE([missing])dnl
|
||||
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
||||
# Use eval to expand $SHELL
|
||||
if eval "$MISSING --run true"; then
|
||||
am_missing_run="$MISSING --run "
|
||||
else
|
||||
am_missing_run=
|
||||
AC_MSG_WARN([`missing' script is too old or missing])
|
||||
fi
|
||||
])
|
||||
|
||||
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# AM_PROG_MKDIR_P
|
||||
# ---------------
|
||||
# Check for `mkdir -p'.
|
||||
AC_DEFUN([AM_PROG_MKDIR_P],
|
||||
[AC_PREREQ([2.60])dnl
|
||||
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
|
||||
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
|
||||
dnl while keeping a definition of mkdir_p for backward compatibility.
|
||||
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
|
||||
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
|
||||
dnl Makefile.ins that do not define MKDIR_P, so we do our own
|
||||
dnl adjustment using top_builddir (which is defined more often than
|
||||
dnl MKDIR_P).
|
||||
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
|
||||
case $mkdir_p in
|
||||
[[\\/$]]* | ?:[[\\/]]*) ;;
|
||||
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
||||
esac
|
||||
])
|
||||
|
||||
# Helper functions for option handling. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# serial 3
|
||||
|
||||
# _AM_MANGLE_OPTION(NAME)
|
||||
# -----------------------
|
||||
AC_DEFUN([_AM_MANGLE_OPTION],
|
||||
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
|
||||
|
||||
# _AM_SET_OPTION(NAME)
|
||||
# ------------------------------
|
||||
# Set option NAME. Presently that only means defining a flag for this option.
|
||||
AC_DEFUN([_AM_SET_OPTION],
|
||||
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
|
||||
|
||||
# _AM_SET_OPTIONS(OPTIONS)
|
||||
# ----------------------------------
|
||||
# OPTIONS is a space-separated list of Automake options.
|
||||
AC_DEFUN([_AM_SET_OPTIONS],
|
||||
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
|
||||
|
||||
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
|
||||
# -------------------------------------------
|
||||
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
|
||||
AC_DEFUN([_AM_IF_OPTION],
|
||||
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
||||
|
||||
# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# serial 4
|
||||
|
||||
# AM_SANITY_CHECK
|
||||
# ---------------
|
||||
AC_DEFUN([AM_SANITY_CHECK],
|
||||
[AC_MSG_CHECKING([whether build environment is sane])
|
||||
# Just in case
|
||||
sleep 1
|
||||
echo timestamp > conftest.file
|
||||
# Do `set' in a subshell so we don't clobber the current shell's
|
||||
# arguments. Must try -L first in case configure is actually a
|
||||
# symlink; some systems play weird games with the mod time of symlinks
|
||||
# (eg FreeBSD returns the mod time of the symlink's containing
|
||||
# directory).
|
||||
if (
|
||||
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
||||
if test "$[*]" = "X"; then
|
||||
# -L didn't work.
|
||||
set X `ls -t $srcdir/configure conftest.file`
|
||||
fi
|
||||
rm -f conftest.file
|
||||
if test "$[*]" != "X $srcdir/configure conftest.file" \
|
||||
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
|
||||
|
||||
# If neither matched, then we have a broken ls. This can happen
|
||||
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
||||
# broken ls alias from the environment. This has actually
|
||||
# happened. Such a system could not be considered "sane".
|
||||
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
|
||||
alias in your environment])
|
||||
fi
|
||||
|
||||
test "$[2]" = conftest.file
|
||||
)
|
||||
then
|
||||
# Ok.
|
||||
:
|
||||
else
|
||||
AC_MSG_ERROR([newly created file is older than distributed files!
|
||||
Check your system clock])
|
||||
fi
|
||||
AC_MSG_RESULT(yes)])
|
||||
|
||||
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# AM_PROG_INSTALL_STRIP
|
||||
# ---------------------
|
||||
# One issue with vendor `install' (even GNU) is that you can't
|
||||
# specify the program used to strip binaries. This is especially
|
||||
# annoying in cross-compiling environments, where the build's strip
|
||||
# is unlikely to handle the host's binaries.
|
||||
# Fortunately install-sh will honor a STRIPPROG variable, so we
|
||||
# always use install-sh in `make install-strip', and initialize
|
||||
# STRIPPROG with the value of the STRIP variable (set by the user).
|
||||
AC_DEFUN([AM_PROG_INSTALL_STRIP],
|
||||
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
||||
# Installed binaries are usually stripped using `strip' when the user
|
||||
# run `make install-strip'. However `strip' might not be the right
|
||||
# tool to use in cross-compilation environments, therefore Automake
|
||||
# will honor the `STRIP' environment variable to overrule this program.
|
||||
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
|
||||
if test "$cross_compiling" != no; then
|
||||
AC_CHECK_TOOL([STRIP], [strip], :)
|
||||
fi
|
||||
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
||||
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
||||
|
||||
# Copyright (C) 2006 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# _AM_SUBST_NOTMAKE(VARIABLE)
|
||||
# ---------------------------
|
||||
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
|
||||
# This macro is traced by Automake.
|
||||
AC_DEFUN([_AM_SUBST_NOTMAKE])
|
||||
|
||||
# Check how to create a tarball. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# serial 2
|
||||
|
||||
# _AM_PROG_TAR(FORMAT)
|
||||
# --------------------
|
||||
# Check how to create a tarball in format FORMAT.
|
||||
# FORMAT should be one of `v7', `ustar', or `pax'.
|
||||
#
|
||||
# Substitute a variable $(am__tar) that is a command
|
||||
# writing to stdout a FORMAT-tarball containing the directory
|
||||
# $tardir.
|
||||
# tardir=directory && $(am__tar) > result.tar
|
||||
#
|
||||
# Substitute a variable $(am__untar) that extract such
|
||||
# a tarball read from stdin.
|
||||
# $(am__untar) < result.tar
|
||||
AC_DEFUN([_AM_PROG_TAR],
|
||||
[# Always define AMTAR for backward compatibility.
|
||||
AM_MISSING_PROG([AMTAR], [tar])
|
||||
m4_if([$1], [v7],
|
||||
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
|
||||
[m4_case([$1], [ustar],, [pax],,
|
||||
[m4_fatal([Unknown tar format])])
|
||||
AC_MSG_CHECKING([how to create a $1 tar archive])
|
||||
# Loop over all known methods to create a tar archive until one works.
|
||||
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
|
||||
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
|
||||
# Do not fold the above two line into one, because Tru64 sh and
|
||||
# Solaris sh will not grok spaces in the rhs of `-'.
|
||||
for _am_tool in $_am_tools
|
||||
do
|
||||
case $_am_tool in
|
||||
gnutar)
|
||||
for _am_tar in tar gnutar gtar;
|
||||
do
|
||||
AM_RUN_LOG([$_am_tar --version]) && break
|
||||
done
|
||||
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
|
||||
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
|
||||
am__untar="$_am_tar -xf -"
|
||||
;;
|
||||
plaintar)
|
||||
# Must skip GNU tar: if it does not support --format= it doesn't create
|
||||
# ustar tarball either.
|
||||
(tar --version) >/dev/null 2>&1 && continue
|
||||
am__tar='tar chf - "$$tardir"'
|
||||
am__tar_='tar chf - "$tardir"'
|
||||
am__untar='tar xf -'
|
||||
;;
|
||||
pax)
|
||||
am__tar='pax -L -x $1 -w "$$tardir"'
|
||||
am__tar_='pax -L -x $1 -w "$tardir"'
|
||||
am__untar='pax -r'
|
||||
;;
|
||||
cpio)
|
||||
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
|
||||
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
|
||||
am__untar='cpio -i -H $1 -d'
|
||||
;;
|
||||
none)
|
||||
am__tar=false
|
||||
am__tar_=false
|
||||
am__untar=false
|
||||
;;
|
||||
esac
|
||||
|
||||
# If the value was cached, stop now. We just wanted to have am__tar
|
||||
# and am__untar set.
|
||||
test -n "${am_cv_prog_tar_$1}" && break
|
||||
|
||||
# tar/untar a dummy directory, and stop if the command works
|
||||
rm -rf conftest.dir
|
||||
mkdir conftest.dir
|
||||
echo GrepMe > conftest.dir/file
|
||||
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
|
||||
rm -rf conftest.dir
|
||||
if test -s conftest.tar; then
|
||||
AM_RUN_LOG([$am__untar <conftest.tar])
|
||||
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
|
||||
fi
|
||||
done
|
||||
rm -rf conftest.dir
|
||||
|
||||
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
|
||||
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
|
||||
AC_SUBST([am__tar])
|
||||
AC_SUBST([am__untar])
|
||||
]) # _AM_PROG_TAR
|
||||
|
||||
m4_include([m4/acx_pthread.m4])
|
||||
m4_include([m4/allegro.m4])
|
||||
m4_include([m4/ax_check_gl.m4])
|
||||
m4_include([m4/ax_check_glu.m4])
|
||||
m4_include([m4/ax_check_glut.m4])
|
||||
m4_include([m4/ax_lang_compiler_ms.m4])
|
||||
m4_include([m4/devil-api_checks.m4])
|
||||
m4_include([m4/devil-definitions.m4])
|
||||
m4_include([m4/devil-report.m4])
|
||||
m4_include([m4/libtool.m4])
|
||||
m4_include([m4/ltoptions.m4])
|
||||
m4_include([m4/ltsugar.m4])
|
||||
m4_include([m4/ltversion.m4])
|
||||
m4_include([m4/lt~obsolete.m4])
|
||||
m4_include([m4/pkg.m4])
|
||||
m4_include([m4/sdl.m4])
|
||||
@@ -1,104 +0,0 @@
|
||||
all_include = $(srcdir)/../include
|
||||
devildir = @datadir@/devil
|
||||
examplesdir = $(devildir)/examples
|
||||
example_srcdir = ../examples
|
||||
|
||||
AM_CPPFLAGS = -I $(all_include)
|
||||
|
||||
il_library = ../lib/libIL.la
|
||||
ilu_library = ../lib/libILU.la
|
||||
ilut_library = ../lib/libILUT.la
|
||||
|
||||
EXTRA_DIST =
|
||||
|
||||
bin_PROGRAMS =
|
||||
examples_PROGRAMS =
|
||||
|
||||
if BUILD_ILU
|
||||
bin_PROGRAMS += ilur
|
||||
endif #BUILD_ILU
|
||||
|
||||
ilur_SOURCES = ../src-ILU/ilur/ilur.c
|
||||
ilur_LDADD = $(ilu_library)
|
||||
|
||||
if BUILD_EXAMPLES
|
||||
|
||||
examples_PROGRAMS += IL_override IL_read IL_simple
|
||||
|
||||
if BUILD_ILUT
|
||||
|
||||
examples_PROGRAMS += ILUT_cpp_wrapper
|
||||
|
||||
if USE_ALLEGRO
|
||||
examples_PROGRAMS += ILUT_allegro
|
||||
endif #USE_ALLEGRO
|
||||
|
||||
if USE_DIRECTX
|
||||
examples_PROGRAMS += ILUT_d3d ILUT_windows
|
||||
endif #USE_DIRECTX
|
||||
|
||||
if USE_SDL
|
||||
examples_PROGRAMS += ILUT_sdl
|
||||
endif #USE_SDL
|
||||
|
||||
if USE_W32
|
||||
examples_PROGRAMS += ILUT_animation
|
||||
endif #USE_W32
|
||||
|
||||
if HAVE_GLUT
|
||||
if USE_X11
|
||||
examples_PROGRAMS += ILUT_gl ILUT_volume
|
||||
endif #USE_X11
|
||||
endif #HAVE_GLUT
|
||||
|
||||
endif #BUILD_ILUT
|
||||
|
||||
endif #BUILD_EXAMPLES
|
||||
|
||||
ILUT_allegro_SOURCES = $(example_srcdir)/allegro_example/allegtest.c
|
||||
ILUT_allegro_CFLAGS = $(alleg_CFLAGS)
|
||||
ILUT_allegro_LDFLAGS = $(ilut_library)
|
||||
|
||||
ILUT_sdl_SOURCES = $(example_srcdir)/sdl_example/sdl_test.c
|
||||
ILUT_sdl_CFLAGS = $(SDL_CFLAGS)
|
||||
ILUT_sdl_LDFLAGS = $(ilut_library)
|
||||
|
||||
ILUT_animation_SOURCES = $(example_srcdir)/animation_example/AnimTest.cpp $(example_srcdir)/animation_example/resource.h $(example_srcdir)/animation_example/AnimTest.rc
|
||||
#ILUT_animation_CFLAGS =
|
||||
ILUT_animation_LDFLAGS = $(ilut_library)
|
||||
EXTRA_DIST += $(example_srcdir)/animation_example/OpenIL.ico
|
||||
|
||||
ILUT_d3d_SOURCES = $(example_srcdir)/direct3d_example/d3dtest.cpp
|
||||
ILUT_d3d_LDFLAGS = $(ilut_library)
|
||||
|
||||
ILUT_cpp_wrapper_SOURCES = $(example_srcdir)/cpp_wrapper_example/il_wrap.cpp
|
||||
ILUT_cpp_wrapper_LDFLAGS = $(ilut_library)
|
||||
|
||||
IL_override_SOURCES = $(example_srcdir)/override_example/iotest.c
|
||||
|
||||
ILUT_gl_SOURCES = $(example_srcdir)/opengl_example/gltest.c $(example_srcdir)/opengl_example/gltest.h
|
||||
ILUT_gl_LDFLAGS = $(ilut_library)
|
||||
|
||||
IL_read_SOURCES = $(example_srcdir)/register_read_example/readtest.c
|
||||
|
||||
IL_simple_SOURCES = $(example_srcdir)/simple_example/simple.c
|
||||
|
||||
if BUILD_ILU
|
||||
IL_override_LDFLAGS = $(ilu_library)
|
||||
IL_read_LDFLAGS = $(ilu_library)
|
||||
IL_simple_LDFLAGS = $(ilu_library)
|
||||
else #not BUILD_ILU
|
||||
IL_override_LDFLAGS = $(il_library)
|
||||
IL_read_LDFLAGS = $(il_library)
|
||||
IL_simple_LDFLAGS = $(il_library)
|
||||
endif #not BUILD_ILU
|
||||
|
||||
ILUT_volume_SOURCES = $(example_srcdir)/volume_example/3dtest.h $(example_srcdir)/volume_example/3dtest.c
|
||||
ILUT_volume_LDFLAGS = $(ilut_library)
|
||||
|
||||
ILUT_windows_SOURCES = $(example_srcdir)/windows_example/BatchConv.cpp $(example_srcdir)/windows_example/WindowsTest.cpp $(example_srcdir)/windows_example/WindowsTest.h $(example_srcdir)/windows_example/resource.h $(example_srcdir)/windows_example/WindowsTest.rc
|
||||
ILUT_windows_LDFLAGS = $(ilut_library)
|
||||
EXTRA_DIST += $(example_srcdir)/windows_example/resources/OpenIL.ico
|
||||
|
||||
.rc.o:
|
||||
$(RC) $(RCFLAGS) $< -o $@
|
||||
@@ -1,964 +0,0 @@
|
||||
# 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@
|
||||
bin_PROGRAMS = $(am__EXEEXT_1)
|
||||
examples_PROGRAMS = $(am__EXEEXT_2) $(am__EXEEXT_3) $(am__EXEEXT_4) \
|
||||
$(am__EXEEXT_5) $(am__EXEEXT_6) $(am__EXEEXT_7) \
|
||||
$(am__EXEEXT_8)
|
||||
@BUILD_ILU_TRUE@am__append_1 = ilur
|
||||
@BUILD_EXAMPLES_TRUE@am__append_2 = IL_override IL_read IL_simple
|
||||
@BUILD_EXAMPLES_TRUE@@BUILD_ILUT_TRUE@am__append_3 = ILUT_cpp_wrapper
|
||||
@BUILD_EXAMPLES_TRUE@@BUILD_ILUT_TRUE@@USE_ALLEGRO_TRUE@am__append_4 = ILUT_allegro
|
||||
@BUILD_EXAMPLES_TRUE@@BUILD_ILUT_TRUE@@USE_DIRECTX_TRUE@am__append_5 = ILUT_d3d ILUT_windows
|
||||
@BUILD_EXAMPLES_TRUE@@BUILD_ILUT_TRUE@@USE_SDL_TRUE@am__append_6 = ILUT_sdl
|
||||
@BUILD_EXAMPLES_TRUE@@BUILD_ILUT_TRUE@@USE_W32_TRUE@am__append_7 = ILUT_animation
|
||||
@BUILD_EXAMPLES_TRUE@@BUILD_ILUT_TRUE@@HAVE_GLUT_TRUE@@USE_X11_TRUE@am__append_8 = ILUT_gl ILUT_volume
|
||||
subdir = bin
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
||||
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 =
|
||||
@BUILD_ILU_TRUE@am__EXEEXT_1 = ilur$(EXEEXT)
|
||||
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(examplesdir)"
|
||||
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
||||
@BUILD_EXAMPLES_TRUE@am__EXEEXT_2 = IL_override$(EXEEXT) \
|
||||
@BUILD_EXAMPLES_TRUE@ IL_read$(EXEEXT) IL_simple$(EXEEXT)
|
||||
@BUILD_EXAMPLES_TRUE@@BUILD_ILUT_TRUE@am__EXEEXT_3 = ILUT_cpp_wrapper$(EXEEXT)
|
||||
@BUILD_EXAMPLES_TRUE@@BUILD_ILUT_TRUE@@USE_ALLEGRO_TRUE@am__EXEEXT_4 = ILUT_allegro$(EXEEXT)
|
||||
@BUILD_EXAMPLES_TRUE@@BUILD_ILUT_TRUE@@USE_DIRECTX_TRUE@am__EXEEXT_5 = ILUT_d3d$(EXEEXT) \
|
||||
@BUILD_EXAMPLES_TRUE@@BUILD_ILUT_TRUE@@USE_DIRECTX_TRUE@ ILUT_windows$(EXEEXT)
|
||||
@BUILD_EXAMPLES_TRUE@@BUILD_ILUT_TRUE@@USE_SDL_TRUE@am__EXEEXT_6 = ILUT_sdl$(EXEEXT)
|
||||
@BUILD_EXAMPLES_TRUE@@BUILD_ILUT_TRUE@@USE_W32_TRUE@am__EXEEXT_7 = ILUT_animation$(EXEEXT)
|
||||
@BUILD_EXAMPLES_TRUE@@BUILD_ILUT_TRUE@@HAVE_GLUT_TRUE@@USE_X11_TRUE@am__EXEEXT_8 = ILUT_gl$(EXEEXT) \
|
||||
@BUILD_EXAMPLES_TRUE@@BUILD_ILUT_TRUE@@HAVE_GLUT_TRUE@@USE_X11_TRUE@ ILUT_volume$(EXEEXT)
|
||||
examplesPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
||||
PROGRAMS = $(bin_PROGRAMS) $(examples_PROGRAMS)
|
||||
am_ILUT_allegro_OBJECTS = ILUT_allegro-allegtest.$(OBJEXT)
|
||||
ILUT_allegro_OBJECTS = $(am_ILUT_allegro_OBJECTS)
|
||||
ILUT_allegro_LDADD = $(LDADD)
|
||||
ILUT_allegro_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(ILUT_allegro_CFLAGS) \
|
||||
$(CFLAGS) $(ILUT_allegro_LDFLAGS) $(LDFLAGS) -o $@
|
||||
am__dirstamp = $(am__leading_dot)dirstamp
|
||||
am_ILUT_animation_OBJECTS = AnimTest.$(OBJEXT) \
|
||||
$(example_srcdir)/animation_example/AnimTest.$(OBJEXT)
|
||||
ILUT_animation_OBJECTS = $(am_ILUT_animation_OBJECTS)
|
||||
ILUT_animation_LDADD = $(LDADD)
|
||||
ILUT_animation_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
|
||||
$(CXXFLAGS) $(ILUT_animation_LDFLAGS) $(LDFLAGS) -o $@
|
||||
am_ILUT_cpp_wrapper_OBJECTS = il_wrap.$(OBJEXT)
|
||||
ILUT_cpp_wrapper_OBJECTS = $(am_ILUT_cpp_wrapper_OBJECTS)
|
||||
ILUT_cpp_wrapper_LDADD = $(LDADD)
|
||||
ILUT_cpp_wrapper_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
|
||||
$(CXXFLAGS) $(ILUT_cpp_wrapper_LDFLAGS) $(LDFLAGS) -o $@
|
||||
am_ILUT_d3d_OBJECTS = d3dtest.$(OBJEXT)
|
||||
ILUT_d3d_OBJECTS = $(am_ILUT_d3d_OBJECTS)
|
||||
ILUT_d3d_LDADD = $(LDADD)
|
||||
ILUT_d3d_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
|
||||
$(CXXFLAGS) $(ILUT_d3d_LDFLAGS) $(LDFLAGS) -o $@
|
||||
am_ILUT_gl_OBJECTS = gltest.$(OBJEXT)
|
||||
ILUT_gl_OBJECTS = $(am_ILUT_gl_OBJECTS)
|
||||
ILUT_gl_LDADD = $(LDADD)
|
||||
ILUT_gl_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(ILUT_gl_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
am_ILUT_sdl_OBJECTS = ILUT_sdl-sdl_test.$(OBJEXT)
|
||||
ILUT_sdl_OBJECTS = $(am_ILUT_sdl_OBJECTS)
|
||||
ILUT_sdl_LDADD = $(LDADD)
|
||||
ILUT_sdl_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(ILUT_sdl_CFLAGS) $(CFLAGS) \
|
||||
$(ILUT_sdl_LDFLAGS) $(LDFLAGS) -o $@
|
||||
am_ILUT_volume_OBJECTS = 3dtest.$(OBJEXT)
|
||||
ILUT_volume_OBJECTS = $(am_ILUT_volume_OBJECTS)
|
||||
ILUT_volume_LDADD = $(LDADD)
|
||||
ILUT_volume_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(ILUT_volume_LDFLAGS) $(LDFLAGS) -o $@
|
||||
am_ILUT_windows_OBJECTS = BatchConv.$(OBJEXT) WindowsTest.$(OBJEXT) \
|
||||
$(example_srcdir)/windows_example/WindowsTest.$(OBJEXT)
|
||||
ILUT_windows_OBJECTS = $(am_ILUT_windows_OBJECTS)
|
||||
ILUT_windows_LDADD = $(LDADD)
|
||||
ILUT_windows_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
|
||||
$(CXXFLAGS) $(ILUT_windows_LDFLAGS) $(LDFLAGS) -o $@
|
||||
am_IL_override_OBJECTS = iotest.$(OBJEXT)
|
||||
IL_override_OBJECTS = $(am_IL_override_OBJECTS)
|
||||
IL_override_LDADD = $(LDADD)
|
||||
IL_override_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(IL_override_LDFLAGS) $(LDFLAGS) -o $@
|
||||
am_IL_read_OBJECTS = readtest.$(OBJEXT)
|
||||
IL_read_OBJECTS = $(am_IL_read_OBJECTS)
|
||||
IL_read_LDADD = $(LDADD)
|
||||
IL_read_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(IL_read_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
am_IL_simple_OBJECTS = simple.$(OBJEXT)
|
||||
IL_simple_OBJECTS = $(am_IL_simple_OBJECTS)
|
||||
IL_simple_LDADD = $(LDADD)
|
||||
IL_simple_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(IL_simple_LDFLAGS) $(LDFLAGS) -o $@
|
||||
am_ilur_OBJECTS = ilur.$(OBJEXT)
|
||||
ilur_OBJECTS = $(am_ilur_OBJECTS)
|
||||
ilur_DEPENDENCIES = $(ilu_library)
|
||||
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include/IL
|
||||
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
||||
LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
||||
CXXLD = $(CXX)
|
||||
CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
SOURCES = $(ILUT_allegro_SOURCES) $(ILUT_animation_SOURCES) \
|
||||
$(ILUT_cpp_wrapper_SOURCES) $(ILUT_d3d_SOURCES) \
|
||||
$(ILUT_gl_SOURCES) $(ILUT_sdl_SOURCES) $(ILUT_volume_SOURCES) \
|
||||
$(ILUT_windows_SOURCES) $(IL_override_SOURCES) \
|
||||
$(IL_read_SOURCES) $(IL_simple_SOURCES) $(ilur_SOURCES)
|
||||
DIST_SOURCES = $(ILUT_allegro_SOURCES) $(ILUT_animation_SOURCES) \
|
||||
$(ILUT_cpp_wrapper_SOURCES) $(ILUT_d3d_SOURCES) \
|
||||
$(ILUT_gl_SOURCES) $(ILUT_sdl_SOURCES) $(ILUT_volume_SOURCES) \
|
||||
$(ILUT_windows_SOURCES) $(IL_override_SOURCES) \
|
||||
$(IL_read_SOURCES) $(IL_simple_SOURCES) $(ilur_SOURCES)
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
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@
|
||||
all_include = $(srcdir)/../include
|
||||
devildir = @datadir@/devil
|
||||
examplesdir = $(devildir)/examples
|
||||
example_srcdir = ../examples
|
||||
AM_CPPFLAGS = -I $(all_include)
|
||||
il_library = ../lib/libIL.la
|
||||
ilu_library = ../lib/libILU.la
|
||||
ilut_library = ../lib/libILUT.la
|
||||
EXTRA_DIST = $(example_srcdir)/animation_example/OpenIL.ico \
|
||||
$(example_srcdir)/windows_example/resources/OpenIL.ico
|
||||
ilur_SOURCES = ../src-ILU/ilur/ilur.c
|
||||
ilur_LDADD = $(ilu_library)
|
||||
ILUT_allegro_SOURCES = $(example_srcdir)/allegro_example/allegtest.c
|
||||
ILUT_allegro_CFLAGS = $(alleg_CFLAGS)
|
||||
ILUT_allegro_LDFLAGS = $(ilut_library)
|
||||
ILUT_sdl_SOURCES = $(example_srcdir)/sdl_example/sdl_test.c
|
||||
ILUT_sdl_CFLAGS = $(SDL_CFLAGS)
|
||||
ILUT_sdl_LDFLAGS = $(ilut_library)
|
||||
ILUT_animation_SOURCES = $(example_srcdir)/animation_example/AnimTest.cpp $(example_srcdir)/animation_example/resource.h $(example_srcdir)/animation_example/AnimTest.rc
|
||||
#ILUT_animation_CFLAGS =
|
||||
ILUT_animation_LDFLAGS = $(ilut_library)
|
||||
ILUT_d3d_SOURCES = $(example_srcdir)/direct3d_example/d3dtest.cpp
|
||||
ILUT_d3d_LDFLAGS = $(ilut_library)
|
||||
ILUT_cpp_wrapper_SOURCES = $(example_srcdir)/cpp_wrapper_example/il_wrap.cpp
|
||||
ILUT_cpp_wrapper_LDFLAGS = $(ilut_library)
|
||||
IL_override_SOURCES = $(example_srcdir)/override_example/iotest.c
|
||||
ILUT_gl_SOURCES = $(example_srcdir)/opengl_example/gltest.c $(example_srcdir)/opengl_example/gltest.h
|
||||
ILUT_gl_LDFLAGS = $(ilut_library)
|
||||
IL_read_SOURCES = $(example_srcdir)/register_read_example/readtest.c
|
||||
IL_simple_SOURCES = $(example_srcdir)/simple_example/simple.c
|
||||
@BUILD_ILU_FALSE@IL_override_LDFLAGS = $(il_library)
|
||||
@BUILD_ILU_TRUE@IL_override_LDFLAGS = $(ilu_library)
|
||||
@BUILD_ILU_FALSE@IL_read_LDFLAGS = $(il_library)
|
||||
@BUILD_ILU_TRUE@IL_read_LDFLAGS = $(ilu_library)
|
||||
@BUILD_ILU_FALSE@IL_simple_LDFLAGS = $(il_library)
|
||||
@BUILD_ILU_TRUE@IL_simple_LDFLAGS = $(ilu_library)
|
||||
ILUT_volume_SOURCES = $(example_srcdir)/volume_example/3dtest.h $(example_srcdir)/volume_example/3dtest.c
|
||||
ILUT_volume_LDFLAGS = $(ilut_library)
|
||||
ILUT_windows_SOURCES = $(example_srcdir)/windows_example/BatchConv.cpp $(example_srcdir)/windows_example/WindowsTest.cpp $(example_srcdir)/windows_example/WindowsTest.h $(example_srcdir)/windows_example/resource.h $(example_srcdir)/windows_example/WindowsTest.rc
|
||||
ILUT_windows_LDFLAGS = $(ilut_library)
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .cpp .lo .o .obj .rc
|
||||
$(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 bin/Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu bin/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
|
||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
|| test -f $$p1 \
|
||||
; then \
|
||||
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
uninstall-binPROGRAMS:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(bindir)/$$f"; \
|
||||
done
|
||||
|
||||
clean-binPROGRAMS:
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
echo " rm -f $$p $$f"; \
|
||||
rm -f $$p $$f ; \
|
||||
done
|
||||
install-examplesPROGRAMS: $(examples_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(examplesdir)" || $(MKDIR_P) "$(DESTDIR)$(examplesdir)"
|
||||
@list='$(examples_PROGRAMS)'; for p in $$list; do \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
|| test -f $$p1 \
|
||||
; then \
|
||||
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(examplesPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(examplesdir)/$$f'"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(examplesPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(examplesdir)/$$f" || exit 1; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
uninstall-examplesPROGRAMS:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(examples_PROGRAMS)'; for p in $$list; do \
|
||||
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " rm -f '$(DESTDIR)$(examplesdir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(examplesdir)/$$f"; \
|
||||
done
|
||||
|
||||
clean-examplesPROGRAMS:
|
||||
@list='$(examples_PROGRAMS)'; for p in $$list; do \
|
||||
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
echo " rm -f $$p $$f"; \
|
||||
rm -f $$p $$f ; \
|
||||
done
|
||||
ILUT_allegro$(EXEEXT): $(ILUT_allegro_OBJECTS) $(ILUT_allegro_DEPENDENCIES)
|
||||
@rm -f ILUT_allegro$(EXEEXT)
|
||||
$(ILUT_allegro_LINK) $(ILUT_allegro_OBJECTS) $(ILUT_allegro_LDADD) $(LIBS)
|
||||
$(example_srcdir)/animation_example/$(am__dirstamp):
|
||||
@$(MKDIR_P) $(example_srcdir)/animation_example
|
||||
@: > $(example_srcdir)/animation_example/$(am__dirstamp)
|
||||
$(example_srcdir)/animation_example/$(DEPDIR)/$(am__dirstamp):
|
||||
@$(MKDIR_P) $(example_srcdir)/animation_example/$(DEPDIR)
|
||||
@: > $(example_srcdir)/animation_example/$(DEPDIR)/$(am__dirstamp)
|
||||
$(example_srcdir)/animation_example/AnimTest.$(OBJEXT): \
|
||||
$(example_srcdir)/animation_example/$(am__dirstamp) \
|
||||
$(example_srcdir)/animation_example/$(DEPDIR)/$(am__dirstamp)
|
||||
ILUT_animation$(EXEEXT): $(ILUT_animation_OBJECTS) $(ILUT_animation_DEPENDENCIES)
|
||||
@rm -f ILUT_animation$(EXEEXT)
|
||||
$(ILUT_animation_LINK) $(ILUT_animation_OBJECTS) $(ILUT_animation_LDADD) $(LIBS)
|
||||
ILUT_cpp_wrapper$(EXEEXT): $(ILUT_cpp_wrapper_OBJECTS) $(ILUT_cpp_wrapper_DEPENDENCIES)
|
||||
@rm -f ILUT_cpp_wrapper$(EXEEXT)
|
||||
$(ILUT_cpp_wrapper_LINK) $(ILUT_cpp_wrapper_OBJECTS) $(ILUT_cpp_wrapper_LDADD) $(LIBS)
|
||||
ILUT_d3d$(EXEEXT): $(ILUT_d3d_OBJECTS) $(ILUT_d3d_DEPENDENCIES)
|
||||
@rm -f ILUT_d3d$(EXEEXT)
|
||||
$(ILUT_d3d_LINK) $(ILUT_d3d_OBJECTS) $(ILUT_d3d_LDADD) $(LIBS)
|
||||
ILUT_gl$(EXEEXT): $(ILUT_gl_OBJECTS) $(ILUT_gl_DEPENDENCIES)
|
||||
@rm -f ILUT_gl$(EXEEXT)
|
||||
$(ILUT_gl_LINK) $(ILUT_gl_OBJECTS) $(ILUT_gl_LDADD) $(LIBS)
|
||||
ILUT_sdl$(EXEEXT): $(ILUT_sdl_OBJECTS) $(ILUT_sdl_DEPENDENCIES)
|
||||
@rm -f ILUT_sdl$(EXEEXT)
|
||||
$(ILUT_sdl_LINK) $(ILUT_sdl_OBJECTS) $(ILUT_sdl_LDADD) $(LIBS)
|
||||
ILUT_volume$(EXEEXT): $(ILUT_volume_OBJECTS) $(ILUT_volume_DEPENDENCIES)
|
||||
@rm -f ILUT_volume$(EXEEXT)
|
||||
$(ILUT_volume_LINK) $(ILUT_volume_OBJECTS) $(ILUT_volume_LDADD) $(LIBS)
|
||||
$(example_srcdir)/windows_example/$(am__dirstamp):
|
||||
@$(MKDIR_P) $(example_srcdir)/windows_example
|
||||
@: > $(example_srcdir)/windows_example/$(am__dirstamp)
|
||||
$(example_srcdir)/windows_example/$(DEPDIR)/$(am__dirstamp):
|
||||
@$(MKDIR_P) $(example_srcdir)/windows_example/$(DEPDIR)
|
||||
@: > $(example_srcdir)/windows_example/$(DEPDIR)/$(am__dirstamp)
|
||||
$(example_srcdir)/windows_example/WindowsTest.$(OBJEXT): \
|
||||
$(example_srcdir)/windows_example/$(am__dirstamp) \
|
||||
$(example_srcdir)/windows_example/$(DEPDIR)/$(am__dirstamp)
|
||||
ILUT_windows$(EXEEXT): $(ILUT_windows_OBJECTS) $(ILUT_windows_DEPENDENCIES)
|
||||
@rm -f ILUT_windows$(EXEEXT)
|
||||
$(ILUT_windows_LINK) $(ILUT_windows_OBJECTS) $(ILUT_windows_LDADD) $(LIBS)
|
||||
IL_override$(EXEEXT): $(IL_override_OBJECTS) $(IL_override_DEPENDENCIES)
|
||||
@rm -f IL_override$(EXEEXT)
|
||||
$(IL_override_LINK) $(IL_override_OBJECTS) $(IL_override_LDADD) $(LIBS)
|
||||
IL_read$(EXEEXT): $(IL_read_OBJECTS) $(IL_read_DEPENDENCIES)
|
||||
@rm -f IL_read$(EXEEXT)
|
||||
$(IL_read_LINK) $(IL_read_OBJECTS) $(IL_read_LDADD) $(LIBS)
|
||||
IL_simple$(EXEEXT): $(IL_simple_OBJECTS) $(IL_simple_DEPENDENCIES)
|
||||
@rm -f IL_simple$(EXEEXT)
|
||||
$(IL_simple_LINK) $(IL_simple_OBJECTS) $(IL_simple_LDADD) $(LIBS)
|
||||
ilur$(EXEEXT): $(ilur_OBJECTS) $(ilur_DEPENDENCIES)
|
||||
@rm -f ilur$(EXEEXT)
|
||||
$(LINK) $(ilur_OBJECTS) $(ilur_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
-rm -f $(example_srcdir)/animation_example/AnimTest.$(OBJEXT)
|
||||
-rm -f $(example_srcdir)/windows_example/WindowsTest.$(OBJEXT)
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/3dtest.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AnimTest.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BatchConv.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ILUT_allegro-allegtest.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ILUT_sdl-sdl_test.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WindowsTest.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/d3dtest.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gltest.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/il_wrap.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ilur.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/iotest.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readtest.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/simple.Po@am__quote@
|
||||
|
||||
.c.o:
|
||||
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
|
||||
|
||||
.c.obj:
|
||||
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
|
||||
|
||||
.c.lo:
|
||||
@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
|
||||
|
||||
ILUT_allegro-allegtest.o: $(example_srcdir)/allegro_example/allegtest.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ILUT_allegro_CFLAGS) $(CFLAGS) -MT ILUT_allegro-allegtest.o -MD -MP -MF $(DEPDIR)/ILUT_allegro-allegtest.Tpo -c -o ILUT_allegro-allegtest.o `test -f '$(example_srcdir)/allegro_example/allegtest.c' || echo '$(srcdir)/'`$(example_srcdir)/allegro_example/allegtest.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ILUT_allegro-allegtest.Tpo $(DEPDIR)/ILUT_allegro-allegtest.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(example_srcdir)/allegro_example/allegtest.c' object='ILUT_allegro-allegtest.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ILUT_allegro_CFLAGS) $(CFLAGS) -c -o ILUT_allegro-allegtest.o `test -f '$(example_srcdir)/allegro_example/allegtest.c' || echo '$(srcdir)/'`$(example_srcdir)/allegro_example/allegtest.c
|
||||
|
||||
ILUT_allegro-allegtest.obj: $(example_srcdir)/allegro_example/allegtest.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ILUT_allegro_CFLAGS) $(CFLAGS) -MT ILUT_allegro-allegtest.obj -MD -MP -MF $(DEPDIR)/ILUT_allegro-allegtest.Tpo -c -o ILUT_allegro-allegtest.obj `if test -f '$(example_srcdir)/allegro_example/allegtest.c'; then $(CYGPATH_W) '$(example_srcdir)/allegro_example/allegtest.c'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/allegro_example/allegtest.c'; fi`
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ILUT_allegro-allegtest.Tpo $(DEPDIR)/ILUT_allegro-allegtest.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(example_srcdir)/allegro_example/allegtest.c' object='ILUT_allegro-allegtest.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ILUT_allegro_CFLAGS) $(CFLAGS) -c -o ILUT_allegro-allegtest.obj `if test -f '$(example_srcdir)/allegro_example/allegtest.c'; then $(CYGPATH_W) '$(example_srcdir)/allegro_example/allegtest.c'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/allegro_example/allegtest.c'; fi`
|
||||
|
||||
gltest.o: $(example_srcdir)/opengl_example/gltest.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gltest.o -MD -MP -MF $(DEPDIR)/gltest.Tpo -c -o gltest.o `test -f '$(example_srcdir)/opengl_example/gltest.c' || echo '$(srcdir)/'`$(example_srcdir)/opengl_example/gltest.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/gltest.Tpo $(DEPDIR)/gltest.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(example_srcdir)/opengl_example/gltest.c' object='gltest.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gltest.o `test -f '$(example_srcdir)/opengl_example/gltest.c' || echo '$(srcdir)/'`$(example_srcdir)/opengl_example/gltest.c
|
||||
|
||||
gltest.obj: $(example_srcdir)/opengl_example/gltest.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gltest.obj -MD -MP -MF $(DEPDIR)/gltest.Tpo -c -o gltest.obj `if test -f '$(example_srcdir)/opengl_example/gltest.c'; then $(CYGPATH_W) '$(example_srcdir)/opengl_example/gltest.c'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/opengl_example/gltest.c'; fi`
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/gltest.Tpo $(DEPDIR)/gltest.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(example_srcdir)/opengl_example/gltest.c' object='gltest.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gltest.obj `if test -f '$(example_srcdir)/opengl_example/gltest.c'; then $(CYGPATH_W) '$(example_srcdir)/opengl_example/gltest.c'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/opengl_example/gltest.c'; fi`
|
||||
|
||||
ILUT_sdl-sdl_test.o: $(example_srcdir)/sdl_example/sdl_test.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ILUT_sdl_CFLAGS) $(CFLAGS) -MT ILUT_sdl-sdl_test.o -MD -MP -MF $(DEPDIR)/ILUT_sdl-sdl_test.Tpo -c -o ILUT_sdl-sdl_test.o `test -f '$(example_srcdir)/sdl_example/sdl_test.c' || echo '$(srcdir)/'`$(example_srcdir)/sdl_example/sdl_test.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ILUT_sdl-sdl_test.Tpo $(DEPDIR)/ILUT_sdl-sdl_test.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(example_srcdir)/sdl_example/sdl_test.c' object='ILUT_sdl-sdl_test.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ILUT_sdl_CFLAGS) $(CFLAGS) -c -o ILUT_sdl-sdl_test.o `test -f '$(example_srcdir)/sdl_example/sdl_test.c' || echo '$(srcdir)/'`$(example_srcdir)/sdl_example/sdl_test.c
|
||||
|
||||
ILUT_sdl-sdl_test.obj: $(example_srcdir)/sdl_example/sdl_test.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ILUT_sdl_CFLAGS) $(CFLAGS) -MT ILUT_sdl-sdl_test.obj -MD -MP -MF $(DEPDIR)/ILUT_sdl-sdl_test.Tpo -c -o ILUT_sdl-sdl_test.obj `if test -f '$(example_srcdir)/sdl_example/sdl_test.c'; then $(CYGPATH_W) '$(example_srcdir)/sdl_example/sdl_test.c'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/sdl_example/sdl_test.c'; fi`
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ILUT_sdl-sdl_test.Tpo $(DEPDIR)/ILUT_sdl-sdl_test.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(example_srcdir)/sdl_example/sdl_test.c' object='ILUT_sdl-sdl_test.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ILUT_sdl_CFLAGS) $(CFLAGS) -c -o ILUT_sdl-sdl_test.obj `if test -f '$(example_srcdir)/sdl_example/sdl_test.c'; then $(CYGPATH_W) '$(example_srcdir)/sdl_example/sdl_test.c'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/sdl_example/sdl_test.c'; fi`
|
||||
|
||||
3dtest.o: $(example_srcdir)/volume_example/3dtest.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT 3dtest.o -MD -MP -MF $(DEPDIR)/3dtest.Tpo -c -o 3dtest.o `test -f '$(example_srcdir)/volume_example/3dtest.c' || echo '$(srcdir)/'`$(example_srcdir)/volume_example/3dtest.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/3dtest.Tpo $(DEPDIR)/3dtest.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(example_srcdir)/volume_example/3dtest.c' object='3dtest.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o 3dtest.o `test -f '$(example_srcdir)/volume_example/3dtest.c' || echo '$(srcdir)/'`$(example_srcdir)/volume_example/3dtest.c
|
||||
|
||||
3dtest.obj: $(example_srcdir)/volume_example/3dtest.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT 3dtest.obj -MD -MP -MF $(DEPDIR)/3dtest.Tpo -c -o 3dtest.obj `if test -f '$(example_srcdir)/volume_example/3dtest.c'; then $(CYGPATH_W) '$(example_srcdir)/volume_example/3dtest.c'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/volume_example/3dtest.c'; fi`
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/3dtest.Tpo $(DEPDIR)/3dtest.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(example_srcdir)/volume_example/3dtest.c' object='3dtest.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o 3dtest.obj `if test -f '$(example_srcdir)/volume_example/3dtest.c'; then $(CYGPATH_W) '$(example_srcdir)/volume_example/3dtest.c'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/volume_example/3dtest.c'; fi`
|
||||
|
||||
iotest.o: $(example_srcdir)/override_example/iotest.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT iotest.o -MD -MP -MF $(DEPDIR)/iotest.Tpo -c -o iotest.o `test -f '$(example_srcdir)/override_example/iotest.c' || echo '$(srcdir)/'`$(example_srcdir)/override_example/iotest.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/iotest.Tpo $(DEPDIR)/iotest.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(example_srcdir)/override_example/iotest.c' object='iotest.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o iotest.o `test -f '$(example_srcdir)/override_example/iotest.c' || echo '$(srcdir)/'`$(example_srcdir)/override_example/iotest.c
|
||||
|
||||
iotest.obj: $(example_srcdir)/override_example/iotest.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT iotest.obj -MD -MP -MF $(DEPDIR)/iotest.Tpo -c -o iotest.obj `if test -f '$(example_srcdir)/override_example/iotest.c'; then $(CYGPATH_W) '$(example_srcdir)/override_example/iotest.c'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/override_example/iotest.c'; fi`
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/iotest.Tpo $(DEPDIR)/iotest.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(example_srcdir)/override_example/iotest.c' object='iotest.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o iotest.obj `if test -f '$(example_srcdir)/override_example/iotest.c'; then $(CYGPATH_W) '$(example_srcdir)/override_example/iotest.c'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/override_example/iotest.c'; fi`
|
||||
|
||||
readtest.o: $(example_srcdir)/register_read_example/readtest.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT readtest.o -MD -MP -MF $(DEPDIR)/readtest.Tpo -c -o readtest.o `test -f '$(example_srcdir)/register_read_example/readtest.c' || echo '$(srcdir)/'`$(example_srcdir)/register_read_example/readtest.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/readtest.Tpo $(DEPDIR)/readtest.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(example_srcdir)/register_read_example/readtest.c' object='readtest.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o readtest.o `test -f '$(example_srcdir)/register_read_example/readtest.c' || echo '$(srcdir)/'`$(example_srcdir)/register_read_example/readtest.c
|
||||
|
||||
readtest.obj: $(example_srcdir)/register_read_example/readtest.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT readtest.obj -MD -MP -MF $(DEPDIR)/readtest.Tpo -c -o readtest.obj `if test -f '$(example_srcdir)/register_read_example/readtest.c'; then $(CYGPATH_W) '$(example_srcdir)/register_read_example/readtest.c'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/register_read_example/readtest.c'; fi`
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/readtest.Tpo $(DEPDIR)/readtest.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(example_srcdir)/register_read_example/readtest.c' object='readtest.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o readtest.obj `if test -f '$(example_srcdir)/register_read_example/readtest.c'; then $(CYGPATH_W) '$(example_srcdir)/register_read_example/readtest.c'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/register_read_example/readtest.c'; fi`
|
||||
|
||||
simple.o: $(example_srcdir)/simple_example/simple.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT simple.o -MD -MP -MF $(DEPDIR)/simple.Tpo -c -o simple.o `test -f '$(example_srcdir)/simple_example/simple.c' || echo '$(srcdir)/'`$(example_srcdir)/simple_example/simple.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/simple.Tpo $(DEPDIR)/simple.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(example_srcdir)/simple_example/simple.c' object='simple.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o simple.o `test -f '$(example_srcdir)/simple_example/simple.c' || echo '$(srcdir)/'`$(example_srcdir)/simple_example/simple.c
|
||||
|
||||
simple.obj: $(example_srcdir)/simple_example/simple.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT simple.obj -MD -MP -MF $(DEPDIR)/simple.Tpo -c -o simple.obj `if test -f '$(example_srcdir)/simple_example/simple.c'; then $(CYGPATH_W) '$(example_srcdir)/simple_example/simple.c'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/simple_example/simple.c'; fi`
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/simple.Tpo $(DEPDIR)/simple.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(example_srcdir)/simple_example/simple.c' object='simple.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o simple.obj `if test -f '$(example_srcdir)/simple_example/simple.c'; then $(CYGPATH_W) '$(example_srcdir)/simple_example/simple.c'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/simple_example/simple.c'; fi`
|
||||
|
||||
ilur.o: ../src-ILU/ilur/ilur.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ilur.o -MD -MP -MF $(DEPDIR)/ilur.Tpo -c -o ilur.o `test -f '../src-ILU/ilur/ilur.c' || echo '$(srcdir)/'`../src-ILU/ilur/ilur.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ilur.Tpo $(DEPDIR)/ilur.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src-ILU/ilur/ilur.c' object='ilur.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ilur.o `test -f '../src-ILU/ilur/ilur.c' || echo '$(srcdir)/'`../src-ILU/ilur/ilur.c
|
||||
|
||||
ilur.obj: ../src-ILU/ilur/ilur.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ilur.obj -MD -MP -MF $(DEPDIR)/ilur.Tpo -c -o ilur.obj `if test -f '../src-ILU/ilur/ilur.c'; then $(CYGPATH_W) '../src-ILU/ilur/ilur.c'; else $(CYGPATH_W) '$(srcdir)/../src-ILU/ilur/ilur.c'; fi`
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ilur.Tpo $(DEPDIR)/ilur.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src-ILU/ilur/ilur.c' object='ilur.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ilur.obj `if test -f '../src-ILU/ilur/ilur.c'; then $(CYGPATH_W) '../src-ILU/ilur/ilur.c'; else $(CYGPATH_W) '$(srcdir)/../src-ILU/ilur/ilur.c'; fi`
|
||||
|
||||
.cpp.o:
|
||||
@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
|
||||
|
||||
.cpp.obj:
|
||||
@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
|
||||
.cpp.lo:
|
||||
@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
|
||||
|
||||
AnimTest.o: $(example_srcdir)/animation_example/AnimTest.cpp
|
||||
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT AnimTest.o -MD -MP -MF $(DEPDIR)/AnimTest.Tpo -c -o AnimTest.o `test -f '$(example_srcdir)/animation_example/AnimTest.cpp' || echo '$(srcdir)/'`$(example_srcdir)/animation_example/AnimTest.cpp
|
||||
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/AnimTest.Tpo $(DEPDIR)/AnimTest.Po
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(example_srcdir)/animation_example/AnimTest.cpp' object='AnimTest.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o AnimTest.o `test -f '$(example_srcdir)/animation_example/AnimTest.cpp' || echo '$(srcdir)/'`$(example_srcdir)/animation_example/AnimTest.cpp
|
||||
|
||||
AnimTest.obj: $(example_srcdir)/animation_example/AnimTest.cpp
|
||||
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT AnimTest.obj -MD -MP -MF $(DEPDIR)/AnimTest.Tpo -c -o AnimTest.obj `if test -f '$(example_srcdir)/animation_example/AnimTest.cpp'; then $(CYGPATH_W) '$(example_srcdir)/animation_example/AnimTest.cpp'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/animation_example/AnimTest.cpp'; fi`
|
||||
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/AnimTest.Tpo $(DEPDIR)/AnimTest.Po
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(example_srcdir)/animation_example/AnimTest.cpp' object='AnimTest.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o AnimTest.obj `if test -f '$(example_srcdir)/animation_example/AnimTest.cpp'; then $(CYGPATH_W) '$(example_srcdir)/animation_example/AnimTest.cpp'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/animation_example/AnimTest.cpp'; fi`
|
||||
|
||||
il_wrap.o: $(example_srcdir)/cpp_wrapper_example/il_wrap.cpp
|
||||
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT il_wrap.o -MD -MP -MF $(DEPDIR)/il_wrap.Tpo -c -o il_wrap.o `test -f '$(example_srcdir)/cpp_wrapper_example/il_wrap.cpp' || echo '$(srcdir)/'`$(example_srcdir)/cpp_wrapper_example/il_wrap.cpp
|
||||
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/il_wrap.Tpo $(DEPDIR)/il_wrap.Po
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(example_srcdir)/cpp_wrapper_example/il_wrap.cpp' object='il_wrap.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o il_wrap.o `test -f '$(example_srcdir)/cpp_wrapper_example/il_wrap.cpp' || echo '$(srcdir)/'`$(example_srcdir)/cpp_wrapper_example/il_wrap.cpp
|
||||
|
||||
il_wrap.obj: $(example_srcdir)/cpp_wrapper_example/il_wrap.cpp
|
||||
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT il_wrap.obj -MD -MP -MF $(DEPDIR)/il_wrap.Tpo -c -o il_wrap.obj `if test -f '$(example_srcdir)/cpp_wrapper_example/il_wrap.cpp'; then $(CYGPATH_W) '$(example_srcdir)/cpp_wrapper_example/il_wrap.cpp'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/cpp_wrapper_example/il_wrap.cpp'; fi`
|
||||
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/il_wrap.Tpo $(DEPDIR)/il_wrap.Po
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(example_srcdir)/cpp_wrapper_example/il_wrap.cpp' object='il_wrap.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o il_wrap.obj `if test -f '$(example_srcdir)/cpp_wrapper_example/il_wrap.cpp'; then $(CYGPATH_W) '$(example_srcdir)/cpp_wrapper_example/il_wrap.cpp'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/cpp_wrapper_example/il_wrap.cpp'; fi`
|
||||
|
||||
d3dtest.o: $(example_srcdir)/direct3d_example/d3dtest.cpp
|
||||
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT d3dtest.o -MD -MP -MF $(DEPDIR)/d3dtest.Tpo -c -o d3dtest.o `test -f '$(example_srcdir)/direct3d_example/d3dtest.cpp' || echo '$(srcdir)/'`$(example_srcdir)/direct3d_example/d3dtest.cpp
|
||||
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/d3dtest.Tpo $(DEPDIR)/d3dtest.Po
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(example_srcdir)/direct3d_example/d3dtest.cpp' object='d3dtest.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o d3dtest.o `test -f '$(example_srcdir)/direct3d_example/d3dtest.cpp' || echo '$(srcdir)/'`$(example_srcdir)/direct3d_example/d3dtest.cpp
|
||||
|
||||
d3dtest.obj: $(example_srcdir)/direct3d_example/d3dtest.cpp
|
||||
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT d3dtest.obj -MD -MP -MF $(DEPDIR)/d3dtest.Tpo -c -o d3dtest.obj `if test -f '$(example_srcdir)/direct3d_example/d3dtest.cpp'; then $(CYGPATH_W) '$(example_srcdir)/direct3d_example/d3dtest.cpp'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/direct3d_example/d3dtest.cpp'; fi`
|
||||
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/d3dtest.Tpo $(DEPDIR)/d3dtest.Po
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(example_srcdir)/direct3d_example/d3dtest.cpp' object='d3dtest.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o d3dtest.obj `if test -f '$(example_srcdir)/direct3d_example/d3dtest.cpp'; then $(CYGPATH_W) '$(example_srcdir)/direct3d_example/d3dtest.cpp'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/direct3d_example/d3dtest.cpp'; fi`
|
||||
|
||||
BatchConv.o: $(example_srcdir)/windows_example/BatchConv.cpp
|
||||
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT BatchConv.o -MD -MP -MF $(DEPDIR)/BatchConv.Tpo -c -o BatchConv.o `test -f '$(example_srcdir)/windows_example/BatchConv.cpp' || echo '$(srcdir)/'`$(example_srcdir)/windows_example/BatchConv.cpp
|
||||
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/BatchConv.Tpo $(DEPDIR)/BatchConv.Po
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(example_srcdir)/windows_example/BatchConv.cpp' object='BatchConv.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o BatchConv.o `test -f '$(example_srcdir)/windows_example/BatchConv.cpp' || echo '$(srcdir)/'`$(example_srcdir)/windows_example/BatchConv.cpp
|
||||
|
||||
BatchConv.obj: $(example_srcdir)/windows_example/BatchConv.cpp
|
||||
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT BatchConv.obj -MD -MP -MF $(DEPDIR)/BatchConv.Tpo -c -o BatchConv.obj `if test -f '$(example_srcdir)/windows_example/BatchConv.cpp'; then $(CYGPATH_W) '$(example_srcdir)/windows_example/BatchConv.cpp'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/windows_example/BatchConv.cpp'; fi`
|
||||
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/BatchConv.Tpo $(DEPDIR)/BatchConv.Po
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(example_srcdir)/windows_example/BatchConv.cpp' object='BatchConv.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o BatchConv.obj `if test -f '$(example_srcdir)/windows_example/BatchConv.cpp'; then $(CYGPATH_W) '$(example_srcdir)/windows_example/BatchConv.cpp'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/windows_example/BatchConv.cpp'; fi`
|
||||
|
||||
WindowsTest.o: $(example_srcdir)/windows_example/WindowsTest.cpp
|
||||
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT WindowsTest.o -MD -MP -MF $(DEPDIR)/WindowsTest.Tpo -c -o WindowsTest.o `test -f '$(example_srcdir)/windows_example/WindowsTest.cpp' || echo '$(srcdir)/'`$(example_srcdir)/windows_example/WindowsTest.cpp
|
||||
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/WindowsTest.Tpo $(DEPDIR)/WindowsTest.Po
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(example_srcdir)/windows_example/WindowsTest.cpp' object='WindowsTest.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o WindowsTest.o `test -f '$(example_srcdir)/windows_example/WindowsTest.cpp' || echo '$(srcdir)/'`$(example_srcdir)/windows_example/WindowsTest.cpp
|
||||
|
||||
WindowsTest.obj: $(example_srcdir)/windows_example/WindowsTest.cpp
|
||||
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT WindowsTest.obj -MD -MP -MF $(DEPDIR)/WindowsTest.Tpo -c -o WindowsTest.obj `if test -f '$(example_srcdir)/windows_example/WindowsTest.cpp'; then $(CYGPATH_W) '$(example_srcdir)/windows_example/WindowsTest.cpp'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/windows_example/WindowsTest.cpp'; fi`
|
||||
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/WindowsTest.Tpo $(DEPDIR)/WindowsTest.Po
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(example_srcdir)/windows_example/WindowsTest.cpp' object='WindowsTest.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o WindowsTest.obj `if test -f '$(example_srcdir)/windows_example/WindowsTest.cpp'; then $(CYGPATH_W) '$(example_srcdir)/windows_example/WindowsTest.cpp'; else $(CYGPATH_W) '$(srcdir)/$(example_srcdir)/windows_example/WindowsTest.cpp'; fi`
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$tags $$unique; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
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
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(PROGRAMS)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(examplesdir)"; 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)
|
||||
-test -z "$(example_srcdir)/animation_example/$(DEPDIR)/$(am__dirstamp)" || rm -f $(example_srcdir)/animation_example/$(DEPDIR)/$(am__dirstamp)
|
||||
-test -z "$(example_srcdir)/animation_example/$(am__dirstamp)" || rm -f $(example_srcdir)/animation_example/$(am__dirstamp)
|
||||
-test -z "$(example_srcdir)/windows_example/$(DEPDIR)/$(am__dirstamp)" || rm -f $(example_srcdir)/windows_example/$(DEPDIR)/$(am__dirstamp)
|
||||
-test -z "$(example_srcdir)/windows_example/$(am__dirstamp)" || rm -f $(example_srcdir)/windows_example/$(am__dirstamp)
|
||||
|
||||
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-binPROGRAMS clean-examplesPROGRAMS clean-generic \
|
||||
clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-compile distclean-generic \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-examplesPROGRAMS
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-exec-am: install-binPROGRAMS
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-binPROGRAMS uninstall-examplesPROGRAMS
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
|
||||
clean-examplesPROGRAMS clean-generic clean-libtool ctags \
|
||||
distclean distclean-compile distclean-generic \
|
||||
distclean-libtool distclean-tags distdir dvi dvi-am html \
|
||||
html-am info info-am install install-am install-binPROGRAMS \
|
||||
install-data install-data-am install-dvi install-dvi-am \
|
||||
install-examplesPROGRAMS 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-generic \
|
||||
mostlyclean mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
|
||||
uninstall-am uninstall-binPROGRAMS uninstall-examplesPROGRAMS
|
||||
|
||||
|
||||
.rc.o:
|
||||
$(RC) $(RCFLAGS) $< -o $@
|
||||
# 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:
|
||||
@@ -1,142 +0,0 @@
|
||||
#! /bin/sh
|
||||
# Wrapper for compilers which do not understand `-c -o'.
|
||||
|
||||
scriptversion=2005-05-14.22
|
||||
|
||||
# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
# Written by Tom Tromey <tromey@cygnus.com>.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# This file is maintained in Automake, please report
|
||||
# bugs to <bug-automake@gnu.org> or send patches to
|
||||
# <automake-patches@gnu.org>.
|
||||
|
||||
case $1 in
|
||||
'')
|
||||
echo "$0: No command. Try \`$0 --help' for more information." 1>&2
|
||||
exit 1;
|
||||
;;
|
||||
-h | --h*)
|
||||
cat <<\EOF
|
||||
Usage: compile [--help] [--version] PROGRAM [ARGS]
|
||||
|
||||
Wrapper for compilers which do not understand `-c -o'.
|
||||
Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
|
||||
arguments, and rename the output as expected.
|
||||
|
||||
If you are trying to build a whole package this is not the
|
||||
right script to run: please start by reading the file `INSTALL'.
|
||||
|
||||
Report bugs to <bug-automake@gnu.org>.
|
||||
EOF
|
||||
exit $?
|
||||
;;
|
||||
-v | --v*)
|
||||
echo "compile $scriptversion"
|
||||
exit $?
|
||||
;;
|
||||
esac
|
||||
|
||||
ofile=
|
||||
cfile=
|
||||
eat=
|
||||
|
||||
for arg
|
||||
do
|
||||
if test -n "$eat"; then
|
||||
eat=
|
||||
else
|
||||
case $1 in
|
||||
-o)
|
||||
# configure might choose to run compile as `compile cc -o foo foo.c'.
|
||||
# So we strip `-o arg' only if arg is an object.
|
||||
eat=1
|
||||
case $2 in
|
||||
*.o | *.obj)
|
||||
ofile=$2
|
||||
;;
|
||||
*)
|
||||
set x "$@" -o "$2"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*.c)
|
||||
cfile=$1
|
||||
set x "$@" "$1"
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set x "$@" "$1"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
shift
|
||||
done
|
||||
|
||||
if test -z "$ofile" || test -z "$cfile"; then
|
||||
# If no `-o' option was seen then we might have been invoked from a
|
||||
# pattern rule where we don't need one. That is ok -- this is a
|
||||
# normal compilation that the losing compiler can handle. If no
|
||||
# `.c' file was seen then we are probably linking. That is also
|
||||
# ok.
|
||||
exec "$@"
|
||||
fi
|
||||
|
||||
# Name of file we expect compiler to create.
|
||||
cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
|
||||
|
||||
# Create the lock directory.
|
||||
# Note: use `[/.-]' here to ensure that we don't use the same name
|
||||
# that we are using for the .o file. Also, base the name on the expected
|
||||
# object file name, since that is what matters with a parallel build.
|
||||
lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
|
||||
while true; do
|
||||
if mkdir "$lockdir" >/dev/null 2>&1; then
|
||||
break
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
# FIXME: race condition here if user kills between mkdir and trap.
|
||||
trap "rmdir '$lockdir'; exit 1" 1 2 15
|
||||
|
||||
# Run the compile.
|
||||
"$@"
|
||||
ret=$?
|
||||
|
||||
if test -f "$cofile"; then
|
||||
mv "$cofile" "$ofile"
|
||||
elif test -f "${cofile}bj"; then
|
||||
mv "${cofile}bj" "$ofile"
|
||||
fi
|
||||
|
||||
rmdir "$lockdir"
|
||||
exit $ret
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 2
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-end: "$"
|
||||
# End:
|
||||
-1526
File diff suppressed because it is too large
Load Diff
-1658
File diff suppressed because it is too large
Load Diff
@@ -1,589 +0,0 @@
|
||||
#! /bin/sh
|
||||
# depcomp - compile a program generating dependencies as side-effects
|
||||
|
||||
scriptversion=2007-03-29.01
|
||||
|
||||
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
|
||||
# Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
# 02110-1301, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
||||
|
||||
case $1 in
|
||||
'')
|
||||
echo "$0: No command. Try \`$0 --help' for more information." 1>&2
|
||||
exit 1;
|
||||
;;
|
||||
-h | --h*)
|
||||
cat <<\EOF
|
||||
Usage: depcomp [--help] [--version] PROGRAM [ARGS]
|
||||
|
||||
Run PROGRAMS ARGS to compile a file, generating dependencies
|
||||
as side-effects.
|
||||
|
||||
Environment variables:
|
||||
depmode Dependency tracking mode.
|
||||
source Source file read by `PROGRAMS ARGS'.
|
||||
object Object file output by `PROGRAMS ARGS'.
|
||||
DEPDIR directory where to store dependencies.
|
||||
depfile Dependency file to output.
|
||||
tmpdepfile Temporary file to use when outputing dependencies.
|
||||
libtool Whether libtool is used (yes/no).
|
||||
|
||||
Report bugs to <bug-automake@gnu.org>.
|
||||
EOF
|
||||
exit $?
|
||||
;;
|
||||
-v | --v*)
|
||||
echo "depcomp $scriptversion"
|
||||
exit $?
|
||||
;;
|
||||
esac
|
||||
|
||||
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
||||
echo "depcomp: Variables source, object and depmode must be set" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
|
||||
depfile=${depfile-`echo "$object" |
|
||||
sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
|
||||
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
||||
|
||||
rm -f "$tmpdepfile"
|
||||
|
||||
# Some modes work just like other modes, but use different flags. We
|
||||
# parameterize here, but still list the modes in the big case below,
|
||||
# to make depend.m4 easier to write. Note that we *cannot* use a case
|
||||
# here, because this file can only contain one case statement.
|
||||
if test "$depmode" = hp; then
|
||||
# HP compiler uses -M and no extra arg.
|
||||
gccflag=-M
|
||||
depmode=gcc
|
||||
fi
|
||||
|
||||
if test "$depmode" = dashXmstdout; then
|
||||
# This is just like dashmstdout with a different argument.
|
||||
dashmflag=-xM
|
||||
depmode=dashmstdout
|
||||
fi
|
||||
|
||||
case "$depmode" in
|
||||
gcc3)
|
||||
## gcc 3 implements dependency tracking that does exactly what
|
||||
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
||||
## it if -MD -MP comes after the -MF stuff. Hmm.
|
||||
## Unfortunately, FreeBSD c89 acceptance of flags depends upon
|
||||
## the command line argument order; so add the flags where they
|
||||
## appear in depend2.am. Note that the slowdown incurred here
|
||||
## affects only configure: in makefiles, %FASTDEP% shortcuts this.
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
|
||||
*) set fnord "$@" "$arg" ;;
|
||||
esac
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
done
|
||||
"$@"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
mv "$tmpdepfile" "$depfile"
|
||||
;;
|
||||
|
||||
gcc)
|
||||
## There are various ways to get dependency output from gcc. Here's
|
||||
## why we pick this rather obscure method:
|
||||
## - Don't want to use -MD because we'd like the dependencies to end
|
||||
## up in a subdir. Having to rename by hand is ugly.
|
||||
## (We might end up doing this anyway to support other compilers.)
|
||||
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
|
||||
## -MM, not -M (despite what the docs say).
|
||||
## - Using -M directly means running the compiler twice (even worse
|
||||
## than renaming).
|
||||
if test -z "$gccflag"; then
|
||||
gccflag=-MD,
|
||||
fi
|
||||
"$@" -Wp,"$gccflag$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
|
||||
## The second -e expression handles DOS-style file names with drive letters.
|
||||
sed -e 's/^[^:]*: / /' \
|
||||
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
|
||||
## This next piece of magic avoids the `deleted header file' problem.
|
||||
## The problem is that when a header file which appears in a .P file
|
||||
## is deleted, the dependency causes make to die (because there is
|
||||
## typically no way to rebuild the header). We avoid this by adding
|
||||
## dummy dependencies for each header file. Too bad gcc doesn't do
|
||||
## this for us directly.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" |
|
||||
## Some versions of gcc put a space before the `:'. On the theory
|
||||
## that the space means something, we add a space to the output as
|
||||
## well.
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
hp)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
sgi)
|
||||
if test "$libtool" = yes; then
|
||||
"$@" "-Wp,-MDupdate,$tmpdepfile"
|
||||
else
|
||||
"$@" -MDupdate "$tmpdepfile"
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
|
||||
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
||||
echo "$object : \\" > "$depfile"
|
||||
|
||||
# Clip off the initial element (the dependent). Don't try to be
|
||||
# clever and replace this with sed code, as IRIX sed won't handle
|
||||
# lines with more than a fixed number of characters (4096 in
|
||||
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
||||
# the IRIX cc adds comments like `#:fec' to the end of the
|
||||
# dependency line.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
|
||||
tr '
|
||||
' ' ' >> $depfile
|
||||
echo >> $depfile
|
||||
|
||||
# The second pass generates a dummy entry for each header file.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
||||
>> $depfile
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
# "include basename.Plo" scheme.
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
aix)
|
||||
# The C for AIX Compiler uses -M and outputs the dependencies
|
||||
# in a .u file. In older versions, this file always lives in the
|
||||
# current directory. Also, the AIX compiler puts `$object:' at the
|
||||
# start of each line; $object doesn't have directory information.
|
||||
# Version 6 uses the directory in both cases.
|
||||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
||||
test "x$dir" = "x$object" && dir=
|
||||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
||||
if test "$libtool" = yes; then
|
||||
tmpdepfile1=$dir$base.u
|
||||
tmpdepfile2=$base.u
|
||||
tmpdepfile3=$dir.libs/$base.u
|
||||
"$@" -Wc,-M
|
||||
else
|
||||
tmpdepfile1=$dir$base.u
|
||||
tmpdepfile2=$dir$base.u
|
||||
tmpdepfile3=$dir$base.u
|
||||
"$@" -M
|
||||
fi
|
||||
stat=$?
|
||||
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
if test -f "$tmpdepfile"; then
|
||||
# Each line is of the form `foo.o: dependent.h'.
|
||||
# Do two passes, one to just change these to
|
||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
||||
# That's a tab and a space in the [].
|
||||
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
# "include basename.Plo" scheme.
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
icc)
|
||||
# Intel's C compiler understands `-MD -MF file'. However on
|
||||
# icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
|
||||
# ICC 7.0 will fill foo.d with something like
|
||||
# foo.o: sub/foo.c
|
||||
# foo.o: sub/foo.h
|
||||
# which is wrong. We want:
|
||||
# sub/foo.o: sub/foo.c
|
||||
# sub/foo.o: sub/foo.h
|
||||
# sub/foo.c:
|
||||
# sub/foo.h:
|
||||
# ICC 7.1 will output
|
||||
# foo.o: sub/foo.c sub/foo.h
|
||||
# and will wrap long lines using \ :
|
||||
# foo.o: sub/foo.c ... \
|
||||
# sub/foo.h ... \
|
||||
# ...
|
||||
|
||||
"$@" -MD -MF "$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
# Each line is of the form `foo.o: dependent.h',
|
||||
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
|
||||
# Do two passes, one to just change these to
|
||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
|
||||
# Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
# correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
|
||||
sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
hp2)
|
||||
# The "hp" stanza above does not work with aCC (C++) and HP's ia64
|
||||
# compilers, which have integrated preprocessors. The correct option
|
||||
# to use with these is +Maked; it writes dependencies to a file named
|
||||
# 'foo.d', which lands next to the object file, wherever that
|
||||
# happens to be.
|
||||
# Much of this is similar to the tru64 case; see comments there.
|
||||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
||||
test "x$dir" = "x$object" && dir=
|
||||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
||||
if test "$libtool" = yes; then
|
||||
tmpdepfile1=$dir$base.d
|
||||
tmpdepfile2=$dir.libs/$base.d
|
||||
"$@" -Wc,+Maked
|
||||
else
|
||||
tmpdepfile1=$dir$base.d
|
||||
tmpdepfile2=$dir$base.d
|
||||
"$@" +Maked
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
if test -f "$tmpdepfile"; then
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
|
||||
# Add `dependent.h:' lines.
|
||||
sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile" "$tmpdepfile2"
|
||||
;;
|
||||
|
||||
tru64)
|
||||
# The Tru64 compiler uses -MD to generate dependencies as a side
|
||||
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
|
||||
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
||||
# dependencies in `foo.d' instead, so we check for that too.
|
||||
# Subdirectories are respected.
|
||||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
||||
test "x$dir" = "x$object" && dir=
|
||||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
||||
|
||||
if test "$libtool" = yes; then
|
||||
# With Tru64 cc, shared objects can also be used to make a
|
||||
# static library. This mechanism is used in libtool 1.4 series to
|
||||
# handle both shared and static libraries in a single compilation.
|
||||
# With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
|
||||
#
|
||||
# With libtool 1.5 this exception was removed, and libtool now
|
||||
# generates 2 separate objects for the 2 libraries. These two
|
||||
# compilations output dependencies in $dir.libs/$base.o.d and
|
||||
# in $dir$base.o.d. We have to check for both files, because
|
||||
# one of the two compilations can be disabled. We should prefer
|
||||
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
|
||||
# automatically cleaned when .libs/ is deleted, while ignoring
|
||||
# the former would cause a distcleancheck panic.
|
||||
tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
|
||||
tmpdepfile2=$dir$base.o.d # libtool 1.5
|
||||
tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
|
||||
tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
|
||||
"$@" -Wc,-MD
|
||||
else
|
||||
tmpdepfile1=$dir$base.o.d
|
||||
tmpdepfile2=$dir$base.d
|
||||
tmpdepfile3=$dir$base.d
|
||||
tmpdepfile4=$dir$base.d
|
||||
"$@" -MD
|
||||
fi
|
||||
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
if test -f "$tmpdepfile"; then
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
||||
# That's a tab and a space in the [].
|
||||
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
#nosideeffect)
|
||||
# This comment above is used by automake to tell side-effect
|
||||
# dependency tracking mechanisms from slower ones.
|
||||
|
||||
dashmstdout)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout, regardless of -o.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test $1 != '--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
# Remove `-o $object'.
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
test -z "$dashmflag" && dashmflag=-M
|
||||
# Require at least two characters before searching for `:'
|
||||
# in the target name. This is to cope with DOS-style filenames:
|
||||
# a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
|
||||
"$@" $dashmflag |
|
||||
sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
dashXmstdout)
|
||||
# This case only exists to satisfy depend.m4. It is never actually
|
||||
# run, as this mode is specially recognized in the preamble.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
makedepend)
|
||||
"$@" || exit $?
|
||||
# Remove any Libtool call
|
||||
if test "$libtool" = yes; then
|
||||
while test $1 != '--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
# X makedepend
|
||||
shift
|
||||
cleared=no
|
||||
for arg in "$@"; do
|
||||
case $cleared in
|
||||
no)
|
||||
set ""; shift
|
||||
cleared=yes ;;
|
||||
esac
|
||||
case "$arg" in
|
||||
-D*|-I*)
|
||||
set fnord "$@" "$arg"; shift ;;
|
||||
# Strip any option that makedepend may not understand. Remove
|
||||
# the object too, otherwise makedepend will parse it as a source file.
|
||||
-*|$object)
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"; shift ;;
|
||||
esac
|
||||
done
|
||||
obj_suffix="`echo $object | sed 's/^.*\././'`"
|
||||
touch "$tmpdepfile"
|
||||
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
sed '1,2d' "$tmpdepfile" | tr ' ' '
|
||||
' | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile" "$tmpdepfile".bak
|
||||
;;
|
||||
|
||||
cpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test $1 != '--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
# Remove `-o $object'.
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
"$@" -E |
|
||||
sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
|
||||
-e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
|
||||
sed '$ s: \\$::' > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
cat < "$tmpdepfile" >> "$depfile"
|
||||
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
msvisualcpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout, regardless of -o,
|
||||
# because we must use -o when running libtool.
|
||||
"$@" || exit $?
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case "$arg" in
|
||||
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
|
||||
set fnord "$@"
|
||||
shift
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
done
|
||||
"$@" -E |
|
||||
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
|
||||
echo " " >> "$depfile"
|
||||
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
none)
|
||||
exec "$@"
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Unknown depmode $depmode" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 2
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-end: "$"
|
||||
# End:
|
||||
@@ -1,519 +0,0 @@
|
||||
#!/bin/sh
|
||||
# install - install a program, script, or datafile
|
||||
|
||||
scriptversion=2006-12-25.00
|
||||
|
||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||
# following copyright and license.
|
||||
#
|
||||
# Copyright (C) 1994 X Consortium
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to
|
||||
# deal in the Software without restriction, including without limitation the
|
||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
# sell copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
# Except as contained in this notice, the name of the X Consortium shall not
|
||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
||||
# ings in this Software without prior written authorization from the X Consor-
|
||||
# tium.
|
||||
#
|
||||
#
|
||||
# FSF changes to this file are in the public domain.
|
||||
#
|
||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||
# `make' implicit rules from creating a file called install from it
|
||||
# when there is no Makefile.
|
||||
#
|
||||
# This script is compatible with the BSD install script, but was written
|
||||
# from scratch.
|
||||
|
||||
nl='
|
||||
'
|
||||
IFS=" "" $nl"
|
||||
|
||||
# set DOITPROG to echo to test this script
|
||||
|
||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||
doit=${DOITPROG-}
|
||||
if test -z "$doit"; then
|
||||
doit_exec=exec
|
||||
else
|
||||
doit_exec=$doit
|
||||
fi
|
||||
|
||||
# Put in absolute file names if you don't have them in your path;
|
||||
# or use environment vars.
|
||||
|
||||
chgrpprog=${CHGRPPROG-chgrp}
|
||||
chmodprog=${CHMODPROG-chmod}
|
||||
chownprog=${CHOWNPROG-chown}
|
||||
cmpprog=${CMPPROG-cmp}
|
||||
cpprog=${CPPROG-cp}
|
||||
mkdirprog=${MKDIRPROG-mkdir}
|
||||
mvprog=${MVPROG-mv}
|
||||
rmprog=${RMPROG-rm}
|
||||
stripprog=${STRIPPROG-strip}
|
||||
|
||||
posix_glob='?'
|
||||
initialize_posix_glob='
|
||||
test "$posix_glob" != "?" || {
|
||||
if (set -f) 2>/dev/null; then
|
||||
posix_glob=
|
||||
else
|
||||
posix_glob=:
|
||||
fi
|
||||
}
|
||||
'
|
||||
|
||||
posix_mkdir=
|
||||
|
||||
# Desired mode of installed file.
|
||||
mode=0755
|
||||
|
||||
chgrpcmd=
|
||||
chmodcmd=$chmodprog
|
||||
chowncmd=
|
||||
mvcmd=$mvprog
|
||||
rmcmd="$rmprog -f"
|
||||
stripcmd=
|
||||
|
||||
src=
|
||||
dst=
|
||||
dir_arg=
|
||||
dst_arg=
|
||||
|
||||
copy_on_change=false
|
||||
no_target_directory=
|
||||
|
||||
usage="\
|
||||
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
||||
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
||||
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
||||
or: $0 [OPTION]... -d DIRECTORIES...
|
||||
|
||||
In the 1st form, copy SRCFILE to DSTFILE.
|
||||
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
||||
In the 4th, create DIRECTORIES.
|
||||
|
||||
Options:
|
||||
--help display this help and exit.
|
||||
--version display version info and exit.
|
||||
|
||||
-c (ignored)
|
||||
-C install only if different (preserve the last data modification time)
|
||||
-d create directories instead of installing files.
|
||||
-g GROUP $chgrpprog installed files to GROUP.
|
||||
-m MODE $chmodprog installed files to MODE.
|
||||
-o USER $chownprog installed files to USER.
|
||||
-s $stripprog installed files.
|
||||
-t DIRECTORY install into DIRECTORY.
|
||||
-T report an error if DSTFILE is a directory.
|
||||
|
||||
Environment variables override the default commands:
|
||||
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
||||
RMPROG STRIPPROG
|
||||
"
|
||||
|
||||
while test $# -ne 0; do
|
||||
case $1 in
|
||||
-c) ;;
|
||||
|
||||
-C) copy_on_change=true;;
|
||||
|
||||
-d) dir_arg=true;;
|
||||
|
||||
-g) chgrpcmd="$chgrpprog $2"
|
||||
shift;;
|
||||
|
||||
--help) echo "$usage"; exit $?;;
|
||||
|
||||
-m) mode=$2
|
||||
case $mode in
|
||||
*' '* | *' '* | *'
|
||||
'* | *'*'* | *'?'* | *'['*)
|
||||
echo "$0: invalid mode: $mode" >&2
|
||||
exit 1;;
|
||||
esac
|
||||
shift;;
|
||||
|
||||
-o) chowncmd="$chownprog $2"
|
||||
shift;;
|
||||
|
||||
-s) stripcmd=$stripprog;;
|
||||
|
||||
-t) dst_arg=$2
|
||||
shift;;
|
||||
|
||||
-T) no_target_directory=true;;
|
||||
|
||||
--version) echo "$0 $scriptversion"; exit $?;;
|
||||
|
||||
--) shift
|
||||
break;;
|
||||
|
||||
-*) echo "$0: invalid option: $1" >&2
|
||||
exit 1;;
|
||||
|
||||
*) break;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
|
||||
# When -d is used, all remaining arguments are directories to create.
|
||||
# When -t is used, the destination is already specified.
|
||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
||||
for arg
|
||||
do
|
||||
if test -n "$dst_arg"; then
|
||||
# $@ is not empty: it contains at least $arg.
|
||||
set fnord "$@" "$dst_arg"
|
||||
shift # fnord
|
||||
fi
|
||||
shift # arg
|
||||
dst_arg=$arg
|
||||
done
|
||||
fi
|
||||
|
||||
if test $# -eq 0; then
|
||||
if test -z "$dir_arg"; then
|
||||
echo "$0: no input file specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
# It's OK to call `install-sh -d' without argument.
|
||||
# This can happen when creating conditional directories.
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -z "$dir_arg"; then
|
||||
trap '(exit $?); exit' 1 2 13 15
|
||||
|
||||
# Set umask so as not to create temps with too-generous modes.
|
||||
# However, 'strip' requires both read and write access to temps.
|
||||
case $mode in
|
||||
# Optimize common cases.
|
||||
*644) cp_umask=133;;
|
||||
*755) cp_umask=22;;
|
||||
|
||||
*[0-7])
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw='% 200'
|
||||
fi
|
||||
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
|
||||
*)
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw=,u+rw
|
||||
fi
|
||||
cp_umask=$mode$u_plus_rw;;
|
||||
esac
|
||||
fi
|
||||
|
||||
for src
|
||||
do
|
||||
# Protect names starting with `-'.
|
||||
case $src in
|
||||
-*) src=./$src;;
|
||||
esac
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
dst=$src
|
||||
dstdir=$dst
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
else
|
||||
|
||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||
# might cause directories to be created, which would be especially bad
|
||||
# if $src (and thus $dsttmp) contains '*'.
|
||||
if test ! -f "$src" && test ! -d "$src"; then
|
||||
echo "$0: $src does not exist." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -z "$dst_arg"; then
|
||||
echo "$0: no destination specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
dst=$dst_arg
|
||||
# Protect names starting with `-'.
|
||||
case $dst in
|
||||
-*) dst=./$dst;;
|
||||
esac
|
||||
|
||||
# If destination is a directory, append the input filename; won't work
|
||||
# if double slashes aren't ignored.
|
||||
if test -d "$dst"; then
|
||||
if test -n "$no_target_directory"; then
|
||||
echo "$0: $dst_arg: Is a directory" >&2
|
||||
exit 1
|
||||
fi
|
||||
dstdir=$dst
|
||||
dst=$dstdir/`basename "$src"`
|
||||
dstdir_status=0
|
||||
else
|
||||
# Prefer dirname, but fall back on a substitute if dirname fails.
|
||||
dstdir=`
|
||||
(dirname "$dst") 2>/dev/null ||
|
||||
expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||
X"$dst" : 'X\(//\)[^/]' \| \
|
||||
X"$dst" : 'X\(//\)$' \| \
|
||||
X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
|
||||
echo X"$dst" |
|
||||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\/\)[^/].*/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\/\)$/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\).*/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
s/.*/./; q'
|
||||
`
|
||||
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
fi
|
||||
fi
|
||||
|
||||
obsolete_mkdir_used=false
|
||||
|
||||
if test $dstdir_status != 0; then
|
||||
case $posix_mkdir in
|
||||
'')
|
||||
# Create intermediate dirs using mode 755 as modified by the umask.
|
||||
# This is like FreeBSD 'install' as of 1997-10-28.
|
||||
umask=`umask`
|
||||
case $stripcmd.$umask in
|
||||
# Optimize common cases.
|
||||
*[2367][2367]) mkdir_umask=$umask;;
|
||||
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
|
||||
|
||||
*[0-7])
|
||||
mkdir_umask=`expr $umask + 22 \
|
||||
- $umask % 100 % 40 + $umask % 20 \
|
||||
- $umask % 10 % 4 + $umask % 2
|
||||
`;;
|
||||
*) mkdir_umask=$umask,go-w;;
|
||||
esac
|
||||
|
||||
# With -d, create the new directory with the user-specified mode.
|
||||
# Otherwise, rely on $mkdir_umask.
|
||||
if test -n "$dir_arg"; then
|
||||
mkdir_mode=-m$mode
|
||||
else
|
||||
mkdir_mode=
|
||||
fi
|
||||
|
||||
posix_mkdir=false
|
||||
case $umask in
|
||||
*[123567][0-7][0-7])
|
||||
# POSIX mkdir -p sets u+wx bits regardless of umask, which
|
||||
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
|
||||
;;
|
||||
*)
|
||||
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
||||
trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
|
||||
|
||||
if (umask $mkdir_umask &&
|
||||
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
|
||||
then
|
||||
if test -z "$dir_arg" || {
|
||||
# Check for POSIX incompatibilities with -m.
|
||||
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
||||
# other-writeable bit of parent directory when it shouldn't.
|
||||
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
||||
ls_ld_tmpdir=`ls -ld "$tmpdir"`
|
||||
case $ls_ld_tmpdir in
|
||||
d????-?r-*) different_mode=700;;
|
||||
d????-?--*) different_mode=755;;
|
||||
*) false;;
|
||||
esac &&
|
||||
$mkdirprog -m$different_mode -p -- "$tmpdir" && {
|
||||
ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
|
||||
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
||||
}
|
||||
}
|
||||
then posix_mkdir=:
|
||||
fi
|
||||
rmdir "$tmpdir/d" "$tmpdir"
|
||||
else
|
||||
# Remove any dirs left behind by ancient mkdir implementations.
|
||||
rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
|
||||
fi
|
||||
trap '' 0;;
|
||||
esac;;
|
||||
esac
|
||||
|
||||
if
|
||||
$posix_mkdir && (
|
||||
umask $mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
|
||||
)
|
||||
then :
|
||||
else
|
||||
|
||||
# The umask is ridiculous, or mkdir does not conform to POSIX,
|
||||
# or it failed possibly due to a race condition. Create the
|
||||
# directory the slow way, step by step, checking for races as we go.
|
||||
|
||||
case $dstdir in
|
||||
/*) prefix='/';;
|
||||
-*) prefix='./';;
|
||||
*) prefix='';;
|
||||
esac
|
||||
|
||||
eval "$initialize_posix_glob"
|
||||
|
||||
oIFS=$IFS
|
||||
IFS=/
|
||||
$posix_glob set -f
|
||||
set fnord $dstdir
|
||||
shift
|
||||
$posix_glob set +f
|
||||
IFS=$oIFS
|
||||
|
||||
prefixes=
|
||||
|
||||
for d
|
||||
do
|
||||
test -z "$d" && continue
|
||||
|
||||
prefix=$prefix$d
|
||||
if test -d "$prefix"; then
|
||||
prefixes=
|
||||
else
|
||||
if $posix_mkdir; then
|
||||
(umask=$mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
||||
# Don't fail if two instances are running concurrently.
|
||||
test -d "$prefix" || exit 1
|
||||
else
|
||||
case $prefix in
|
||||
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
|
||||
*) qprefix=$prefix;;
|
||||
esac
|
||||
prefixes="$prefixes '$qprefix'"
|
||||
fi
|
||||
fi
|
||||
prefix=$prefix/
|
||||
done
|
||||
|
||||
if test -n "$prefixes"; then
|
||||
# Don't fail if two instances are running concurrently.
|
||||
(umask $mkdir_umask &&
|
||||
eval "\$doit_exec \$mkdirprog $prefixes") ||
|
||||
test -d "$dstdir" || exit 1
|
||||
obsolete_mkdir_used=true
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
|
||||
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
|
||||
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
|
||||
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
|
||||
else
|
||||
|
||||
# Make a couple of temp file names in the proper directory.
|
||||
dsttmp=$dstdir/_inst.$$_
|
||||
rmtmp=$dstdir/_rm.$$_
|
||||
|
||||
# Trap to clean up those temp files at exit.
|
||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
||||
|
||||
# Copy the file name to the temp name.
|
||||
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
|
||||
|
||||
# and set any options; do chmod last to preserve setuid bits.
|
||||
#
|
||||
# If any of these fail, we abort the whole thing. If we want to
|
||||
# ignore errors from any of these, just make sure not to ignore
|
||||
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
||||
#
|
||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
|
||||
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
|
||||
{ test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
|
||||
{ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
|
||||
|
||||
# If -C, don't bother to copy if it wouldn't change the file.
|
||||
if $copy_on_change &&
|
||||
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
|
||||
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
|
||||
|
||||
eval "$initialize_posix_glob" &&
|
||||
$posix_glob set -f &&
|
||||
set X $old && old=:$2:$4:$5:$6 &&
|
||||
set X $new && new=:$2:$4:$5:$6 &&
|
||||
$posix_glob set +f &&
|
||||
|
||||
test "$old" = "$new" &&
|
||||
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
|
||||
then
|
||||
rm -f "$dsttmp"
|
||||
else
|
||||
# Rename the file to the real destination.
|
||||
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
||||
|
||||
# The rename failed, perhaps because mv can't rename something else
|
||||
# to itself, or perhaps because mv is so ancient that it does not
|
||||
# support -f.
|
||||
{
|
||||
# Now remove or move aside any old file at destination location.
|
||||
# We try this two ways since rm can't unlink itself on some
|
||||
# systems and the destination file might be busy for other
|
||||
# reasons. In this case, the final cleanup might fail but the new
|
||||
# file should still install successfully.
|
||||
{
|
||||
test ! -f "$dst" ||
|
||||
$doit $rmcmd -f "$dst" 2>/dev/null ||
|
||||
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
||||
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
|
||||
} ||
|
||||
{ echo "$0: cannot unlink or rename $dst" >&2
|
||||
(exit 1); exit 1
|
||||
}
|
||||
} &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
$doit $mvcmd "$dsttmp" "$dst"
|
||||
}
|
||||
fi || exit 1
|
||||
|
||||
trap '' 0
|
||||
fi
|
||||
done
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-end: "$"
|
||||
# End:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,205 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Get modification time of a file or directory and pretty-print it.
|
||||
|
||||
scriptversion=2007-03-30.02
|
||||
|
||||
# Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005, 2007 Free Software
|
||||
# Foundation, Inc.
|
||||
# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# This file is maintained in Automake, please report
|
||||
# bugs to <bug-automake@gnu.org> or send patches to
|
||||
# <automake-patches@gnu.org>.
|
||||
|
||||
case $1 in
|
||||
'')
|
||||
echo "$0: No file. Try \`$0 --help' for more information." 1>&2
|
||||
exit 1;
|
||||
;;
|
||||
-h | --h*)
|
||||
cat <<\EOF
|
||||
Usage: mdate-sh [--help] [--version] FILE
|
||||
|
||||
Pretty-print the modification time of FILE.
|
||||
|
||||
Report bugs to <bug-automake@gnu.org>.
|
||||
EOF
|
||||
exit $?
|
||||
;;
|
||||
-v | --v*)
|
||||
echo "mdate-sh $scriptversion"
|
||||
exit $?
|
||||
;;
|
||||
esac
|
||||
|
||||
# Prevent date giving response in another language.
|
||||
LANG=C
|
||||
export LANG
|
||||
LC_ALL=C
|
||||
export LC_ALL
|
||||
LC_TIME=C
|
||||
export LC_TIME
|
||||
|
||||
# GNU ls changes its time format in response to the TIME_STYLE
|
||||
# variable. Since we cannot assume `unset' works, revert this
|
||||
# variable to its documented default.
|
||||
if test "${TIME_STYLE+set}" = set; then
|
||||
TIME_STYLE=posix-long-iso
|
||||
export TIME_STYLE
|
||||
fi
|
||||
|
||||
save_arg1=$1
|
||||
|
||||
# Find out how to get the extended ls output of a file or directory.
|
||||
if ls -L /dev/null 1>/dev/null 2>&1; then
|
||||
ls_command='ls -L -l -d'
|
||||
else
|
||||
ls_command='ls -l -d'
|
||||
fi
|
||||
# Avoid user/group names that might have spaces, when possible.
|
||||
if ls -n /dev/null 1>/dev/null 2>&1; then
|
||||
ls_command="$ls_command -n"
|
||||
fi
|
||||
|
||||
# A `ls -l' line looks as follows on OS/2.
|
||||
# drwxrwx--- 0 Aug 11 2001 foo
|
||||
# This differs from Unix, which adds ownership information.
|
||||
# drwxrwx--- 2 root root 4096 Aug 11 2001 foo
|
||||
#
|
||||
# To find the date, we split the line on spaces and iterate on words
|
||||
# until we find a month. This cannot work with files whose owner is a
|
||||
# user named `Jan', or `Feb', etc. However, it's unlikely that `/'
|
||||
# will be owned by a user whose name is a month. So we first look at
|
||||
# the extended ls output of the root directory to decide how many
|
||||
# words should be skipped to get the date.
|
||||
|
||||
# On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below.
|
||||
set x`$ls_command /`
|
||||
|
||||
# Find which argument is the month.
|
||||
month=
|
||||
command=
|
||||
until test $month
|
||||
do
|
||||
shift
|
||||
# Add another shift to the command.
|
||||
command="$command shift;"
|
||||
case $1 in
|
||||
Jan) month=January; nummonth=1;;
|
||||
Feb) month=February; nummonth=2;;
|
||||
Mar) month=March; nummonth=3;;
|
||||
Apr) month=April; nummonth=4;;
|
||||
May) month=May; nummonth=5;;
|
||||
Jun) month=June; nummonth=6;;
|
||||
Jul) month=July; nummonth=7;;
|
||||
Aug) month=August; nummonth=8;;
|
||||
Sep) month=September; nummonth=9;;
|
||||
Oct) month=October; nummonth=10;;
|
||||
Nov) month=November; nummonth=11;;
|
||||
Dec) month=December; nummonth=12;;
|
||||
esac
|
||||
done
|
||||
|
||||
# Get the extended ls output of the file or directory.
|
||||
set dummy x`eval "$ls_command \"\$save_arg1\""`
|
||||
|
||||
# Remove all preceding arguments
|
||||
eval $command
|
||||
|
||||
# Because of the dummy argument above, month is in $2.
|
||||
#
|
||||
# On a POSIX system, we should have
|
||||
#
|
||||
# $# = 5
|
||||
# $1 = file size
|
||||
# $2 = month
|
||||
# $3 = day
|
||||
# $4 = year or time
|
||||
# $5 = filename
|
||||
#
|
||||
# On Darwin 7.7.0 and 7.6.0, we have
|
||||
#
|
||||
# $# = 4
|
||||
# $1 = day
|
||||
# $2 = month
|
||||
# $3 = year or time
|
||||
# $4 = filename
|
||||
|
||||
# Get the month.
|
||||
case $2 in
|
||||
Jan) month=January; nummonth=1;;
|
||||
Feb) month=February; nummonth=2;;
|
||||
Mar) month=March; nummonth=3;;
|
||||
Apr) month=April; nummonth=4;;
|
||||
May) month=May; nummonth=5;;
|
||||
Jun) month=June; nummonth=6;;
|
||||
Jul) month=July; nummonth=7;;
|
||||
Aug) month=August; nummonth=8;;
|
||||
Sep) month=September; nummonth=9;;
|
||||
Oct) month=October; nummonth=10;;
|
||||
Nov) month=November; nummonth=11;;
|
||||
Dec) month=December; nummonth=12;;
|
||||
esac
|
||||
|
||||
case $3 in
|
||||
???*) day=$1;;
|
||||
*) day=$3; shift;;
|
||||
esac
|
||||
|
||||
# Here we have to deal with the problem that the ls output gives either
|
||||
# the time of day or the year.
|
||||
case $3 in
|
||||
*:*) set `date`; eval year=\$$#
|
||||
case $2 in
|
||||
Jan) nummonthtod=1;;
|
||||
Feb) nummonthtod=2;;
|
||||
Mar) nummonthtod=3;;
|
||||
Apr) nummonthtod=4;;
|
||||
May) nummonthtod=5;;
|
||||
Jun) nummonthtod=6;;
|
||||
Jul) nummonthtod=7;;
|
||||
Aug) nummonthtod=8;;
|
||||
Sep) nummonthtod=9;;
|
||||
Oct) nummonthtod=10;;
|
||||
Nov) nummonthtod=11;;
|
||||
Dec) nummonthtod=12;;
|
||||
esac
|
||||
# For the first six month of the year the time notation can also
|
||||
# be used for files modified in the last year.
|
||||
if (expr $nummonth \> $nummonthtod) > /dev/null;
|
||||
then
|
||||
year=`expr $year - 1`
|
||||
fi;;
|
||||
*) year=$3;;
|
||||
esac
|
||||
|
||||
# The result.
|
||||
echo $day $month $year
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 2
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-end: "$"
|
||||
# End:
|
||||
@@ -1,367 +0,0 @@
|
||||
#! /bin/sh
|
||||
# Common stub for a few missing GNU programs while installing.
|
||||
|
||||
scriptversion=2006-05-10.23
|
||||
|
||||
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
|
||||
# Free Software Foundation, Inc.
|
||||
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
# 02110-1301, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
run=:
|
||||
sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
|
||||
sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
|
||||
|
||||
# In the cases where this matters, `missing' is being run in the
|
||||
# srcdir already.
|
||||
if test -f configure.ac; then
|
||||
configure_ac=configure.ac
|
||||
else
|
||||
configure_ac=configure.in
|
||||
fi
|
||||
|
||||
msg="missing on your system"
|
||||
|
||||
case $1 in
|
||||
--run)
|
||||
# Try to run requested program, and just exit if it succeeds.
|
||||
run=
|
||||
shift
|
||||
"$@" && exit 0
|
||||
# Exit code 63 means version mismatch. This often happens
|
||||
# when the user try to use an ancient version of a tool on
|
||||
# a file that requires a minimum version. In this case we
|
||||
# we should proceed has if the program had been absent, or
|
||||
# if --run hadn't been passed.
|
||||
if test $? = 63; then
|
||||
run=:
|
||||
msg="probably too old"
|
||||
fi
|
||||
;;
|
||||
|
||||
-h|--h|--he|--hel|--help)
|
||||
echo "\
|
||||
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||
|
||||
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
|
||||
error status if there is no known handling for PROGRAM.
|
||||
|
||||
Options:
|
||||
-h, --help display this help and exit
|
||||
-v, --version output version information and exit
|
||||
--run try to run the given command, and emulate it if it fails
|
||||
|
||||
Supported PROGRAM values:
|
||||
aclocal touch file \`aclocal.m4'
|
||||
autoconf touch file \`configure'
|
||||
autoheader touch file \`config.h.in'
|
||||
autom4te touch the output file, or create a stub one
|
||||
automake touch all \`Makefile.in' files
|
||||
bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
flex create \`lex.yy.c', if possible, from existing .c
|
||||
help2man touch the output file
|
||||
lex create \`lex.yy.c', if possible, from existing .c
|
||||
makeinfo touch the output file
|
||||
tar try tar, gnutar, gtar, then tar without non-portable flags
|
||||
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
|
||||
Send bug reports to <bug-automake@gnu.org>."
|
||||
exit $?
|
||||
;;
|
||||
|
||||
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||
echo "missing $scriptversion (GNU Automake)"
|
||||
exit $?
|
||||
;;
|
||||
|
||||
-*)
|
||||
echo 1>&2 "$0: Unknown \`$1' option"
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
# Now exit if we have it, but it failed. Also exit now if we
|
||||
# don't have it and --version was passed (most likely to detect
|
||||
# the program).
|
||||
case $1 in
|
||||
lex|yacc)
|
||||
# Not GNU programs, they don't have --version.
|
||||
;;
|
||||
|
||||
tar)
|
||||
if test -n "$run"; then
|
||||
echo 1>&2 "ERROR: \`tar' requires --run"
|
||||
exit 1
|
||||
elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
|
||||
# Could not run --version or --help. This is probably someone
|
||||
# running `$TOOL --version' or `$TOOL --help' to check whether
|
||||
# $TOOL exists and not knowing $TOOL uses missing.
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# If it does not exist, or fails to run (possibly an outdated version),
|
||||
# try to emulate it.
|
||||
case $1 in
|
||||
aclocal*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
|
||||
to install the \`Automake' and \`Perl' packages. Grab them from
|
||||
any GNU archive site."
|
||||
touch aclocal.m4
|
||||
;;
|
||||
|
||||
autoconf)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`${configure_ac}'. You might want to install the
|
||||
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
|
||||
archive site."
|
||||
touch configure
|
||||
;;
|
||||
|
||||
autoheader)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`acconfig.h' or \`${configure_ac}'. You might want
|
||||
to install the \`Autoconf' and \`GNU m4' packages. Grab them
|
||||
from any GNU archive site."
|
||||
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
|
||||
test -z "$files" && files="config.h"
|
||||
touch_files=
|
||||
for f in $files; do
|
||||
case $f in
|
||||
*:*) touch_files="$touch_files "`echo "$f" |
|
||||
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
|
||||
*) touch_files="$touch_files $f.in";;
|
||||
esac
|
||||
done
|
||||
touch $touch_files
|
||||
;;
|
||||
|
||||
automake*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
|
||||
You might want to install the \`Automake' and \`Perl' packages.
|
||||
Grab them from any GNU archive site."
|
||||
find . -type f -name Makefile.am -print |
|
||||
sed 's/\.am$/.in/' |
|
||||
while read f; do touch "$f"; done
|
||||
;;
|
||||
|
||||
autom4te)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, but is $msg.
|
||||
You might have modified some files without having the
|
||||
proper tools for further handling them.
|
||||
You can get \`$1' as part of \`Autoconf' from any GNU
|
||||
archive site."
|
||||
|
||||
file=`echo "$*" | sed -n "$sed_output"`
|
||||
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
if test -f "$file"; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo "#! /bin/sh"
|
||||
echo "# Created by GNU Automake missing as a replacement of"
|
||||
echo "# $ $@"
|
||||
echo "exit 0"
|
||||
chmod +x $file
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
bison|yacc)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' $msg. You should only need it if
|
||||
you modified a \`.y' file. You may need the \`Bison' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Bison' from any GNU archive site."
|
||||
rm -f y.tab.c y.tab.h
|
||||
if test $# -ne 1; then
|
||||
eval LASTARG="\${$#}"
|
||||
case $LASTARG in
|
||||
*.y)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
|
||||
if test -f "$SRCFILE"; then
|
||||
cp "$SRCFILE" y.tab.c
|
||||
fi
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
|
||||
if test -f "$SRCFILE"; then
|
||||
cp "$SRCFILE" y.tab.h
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if test ! -f y.tab.h; then
|
||||
echo >y.tab.h
|
||||
fi
|
||||
if test ! -f y.tab.c; then
|
||||
echo 'main() { return 0; }' >y.tab.c
|
||||
fi
|
||||
;;
|
||||
|
||||
lex|flex)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a \`.l' file. You may need the \`Flex' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Flex' from any GNU archive site."
|
||||
rm -f lex.yy.c
|
||||
if test $# -ne 1; then
|
||||
eval LASTARG="\${$#}"
|
||||
case $LASTARG in
|
||||
*.l)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
|
||||
if test -f "$SRCFILE"; then
|
||||
cp "$SRCFILE" lex.yy.c
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if test ! -f lex.yy.c; then
|
||||
echo 'main() { return 0; }' >lex.yy.c
|
||||
fi
|
||||
;;
|
||||
|
||||
help2man)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a dependency of a manual page. You may need the
|
||||
\`Help2man' package in order for those modifications to take
|
||||
effect. You can get \`Help2man' from any GNU archive site."
|
||||
|
||||
file=`echo "$*" | sed -n "$sed_output"`
|
||||
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
if test -f "$file"; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo ".ab help2man is required to generate this page"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
makeinfo)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a \`.texi' or \`.texinfo' file, or any other file
|
||||
indirectly affecting the aspect of the manual. The spurious
|
||||
call might also be the consequence of using a buggy \`make' (AIX,
|
||||
DU, IRIX). You might want to install the \`Texinfo' package or
|
||||
the \`GNU make' package. Grab either from any GNU archive site."
|
||||
# The file to touch is that specified with -o ...
|
||||
file=`echo "$*" | sed -n "$sed_output"`
|
||||
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
if test -z "$file"; then
|
||||
# ... or it is the one specified with @setfilename ...
|
||||
infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
||||
file=`sed -n '
|
||||
/^@setfilename/{
|
||||
s/.* \([^ ]*\) *$/\1/
|
||||
p
|
||||
q
|
||||
}' $infile`
|
||||
# ... or it is derived from the source name (dir/f.texi becomes f.info)
|
||||
test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
|
||||
fi
|
||||
# If the file does not exist, the user really needs makeinfo;
|
||||
# let's fail without touching anything.
|
||||
test -f $file || exit 1
|
||||
touch $file
|
||||
;;
|
||||
|
||||
tar)
|
||||
shift
|
||||
|
||||
# We have already tried tar in the generic part.
|
||||
# Look for gnutar/gtar before invocation to avoid ugly error
|
||||
# messages.
|
||||
if (gnutar --version > /dev/null 2>&1); then
|
||||
gnutar "$@" && exit 0
|
||||
fi
|
||||
if (gtar --version > /dev/null 2>&1); then
|
||||
gtar "$@" && exit 0
|
||||
fi
|
||||
firstarg="$1"
|
||||
if shift; then
|
||||
case $firstarg in
|
||||
*o*)
|
||||
firstarg=`echo "$firstarg" | sed s/o//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
case $firstarg in
|
||||
*h*)
|
||||
firstarg=`echo "$firstarg" | sed s/h//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: I can't seem to be able to run \`tar' with the given arguments.
|
||||
You may want to install GNU tar or Free paxutils, or check the
|
||||
command line arguments."
|
||||
exit 1
|
||||
;;
|
||||
|
||||
*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, and is $msg.
|
||||
You might have modified some files without having the
|
||||
proper tools for further handling them. Check the \`README' file,
|
||||
it often tells you about the needed prerequisites for installing
|
||||
this package. You may also peek at any GNU archive site, in case
|
||||
some other package would contain this missing \`$1' program."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-end: "$"
|
||||
# End:
|
||||
File diff suppressed because it is too large
Load Diff
Vendored
-28880
File diff suppressed because it is too large
Load Diff
@@ -1,466 +0,0 @@
|
||||
dnl
|
||||
dnl Autoconf script for DevIL Library
|
||||
dnl Originally written by Meloni Dario
|
||||
dnl rewritten by Matěj Týč
|
||||
dnl
|
||||
|
||||
dnl
|
||||
dnl configure.ac initialization
|
||||
dnl we use some macros that are in m4 directory
|
||||
dnl
|
||||
AC_INIT([DevIL],
|
||||
1.7.8,
|
||||
[bubla@users.sourceforge.net])
|
||||
dnl Minimum Autoconf version
|
||||
AC_PREREQ(2.52)
|
||||
dnl What header will be generated by configure script
|
||||
AC_CONFIG_HEADERS([include/IL/config.h])
|
||||
dnl Where are some sources?
|
||||
AC_CONFIG_SRCDIR([src-IL/src/il_main.c])
|
||||
dnl Where are other macro definitions?
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
dnl Where to put various auxiliary files
|
||||
AC_CONFIG_AUX_DIR([build-aux])
|
||||
dnl Libtool init with message that we want to build DLLs
|
||||
dnl LT_INIT([win32-dll])
|
||||
dnl LT_PROG_RC
|
||||
dnl THE ABOVE IS LIBTOOL INIT IS THE GOOD ONE, BUT MAYBE TOO UP-TO-DATE FOR MOST PEOPLE
|
||||
AC_PROG_LIBTOOL
|
||||
AC_LIBTOOL_WIN32_DLL
|
||||
dnl Automake init with all warnings reported
|
||||
AM_INIT_AUTOMAKE([-Wall])
|
||||
|
||||
dnl
|
||||
dnl Note that the libtool version has nothing to do
|
||||
dnl with the actual DevIL version, it is a version number
|
||||
dnl describing the interface version (see libtool doc)
|
||||
dnl wich only changes when the interface changes
|
||||
dnl
|
||||
dnl format is <current>:<revision>:<age>
|
||||
dnl If nothing notable changes, increment revision
|
||||
dnl current is an interface number
|
||||
dnl library supports interfaces from current - age to current
|
||||
dnl
|
||||
DEVIL_LTVERSION=2:0:1
|
||||
AC_SUBST([DEVIL_LTVERSION])
|
||||
|
||||
dnl
|
||||
dnl Test build options
|
||||
dnl
|
||||
AC_ARG_ENABLE([debug],
|
||||
[AS_HELP_STRING([--enable-debug],
|
||||
[Compile a debug version of the library])],
|
||||
[],
|
||||
[enable_debug="no"])
|
||||
|
||||
AC_ARG_ENABLE([release],
|
||||
[AS_HELP_STRING([--disable-release],
|
||||
[Compile a debug version of the library, default enabled if not building debug version])],
|
||||
[],
|
||||
[enable_release="yes"
|
||||
test "x$enable_debug" = "xyes" && enable_release="no"])
|
||||
|
||||
AC_ARG_ENABLE([asm],
|
||||
[AS_HELP_STRING([--disable-asm],
|
||||
[Use assembler routines if possible, default enable if not building debug version])],
|
||||
[],
|
||||
[enable_asm="yes"
|
||||
test "x$enable_debug" = "xyes" && enable_asm="no"])
|
||||
|
||||
dnl Set right flags regarding whether we explicitly debug or release
|
||||
AS_IF([test "x$enable_release" = "xyes"],
|
||||
[AS_IF([test "x$CFLAGS" = "x"],
|
||||
[CFLAGS="-O3"])
|
||||
AS_IF([test "x$CXXFLAGS" = "x"],
|
||||
[CXXFLAGS="-O3"]) ],
|
||||
[test "x$enable_debug" = "xyes"],
|
||||
[CFLAGS="-DNOINLINE -Wall -g -O0"
|
||||
CXXFLAGS="-DNOINLINE -Wall -g -O0"
|
||||
AC_DEFINE([DEBUG],
|
||||
[],
|
||||
["Enable debug code features"]) ])
|
||||
|
||||
dnl
|
||||
dnl Basic conf
|
||||
dnl
|
||||
SUPPORTED_FORMATS=""
|
||||
SUPPORTED_API=""
|
||||
SUPPORTED_EXTENSION=""
|
||||
AC_REVISION([$Revision: 1.48 $])
|
||||
dnl AC_PREFIX_DEFAULT(/usr/local)
|
||||
AC_CANONICAL_BUILD
|
||||
AC_CANONICAL_HOST
|
||||
dnl AC_LANG([C++])
|
||||
AC_LANG([C])
|
||||
AM_PROG_CC_C_O
|
||||
AC_PROG_CXX
|
||||
AC_PROG_MAKE_SET
|
||||
AC_C_BIGENDIAN
|
||||
|
||||
dnl checks for X are to be done later...
|
||||
dnl AC_PATH_XTRA
|
||||
|
||||
dnl Settling whether the user will want to build examples or not
|
||||
AC_ARG_WITH([examples],
|
||||
[AS_HELP_STRING([--with-examples[[=yes/no]]],
|
||||
[Whether to build and install examples as well. Default is without examples])],
|
||||
[],
|
||||
[with_examples="no"])
|
||||
AM_CONDITIONAL([BUILD_EXAMPLES],
|
||||
[test "x$with_examples" = "xyes"])
|
||||
|
||||
dnl Do we want monolithic library (DevIL instead of IL, ILU, ILUT). Useful probably only on Windows... Discouraged.
|
||||
dnl Whether to build IL. You have to anyway :-)
|
||||
dnl AC_ARG_ENABLE([IL],
|
||||
dnl [AS_HELP_STRING([--enable-IL[[=yes/no]]],
|
||||
dnl [Build IL part of DevIL. You that. Default set to yes])],
|
||||
dnl [],
|
||||
dnl [enable_IL="yes"])
|
||||
enable_IL="yes"
|
||||
AM_CONDITIONAL([BUILD_IL],
|
||||
[test "x$enable_IL" = "xyes"])
|
||||
|
||||
dnl Whether to build ILU...
|
||||
AC_ARG_ENABLE([ILU],
|
||||
[AS_HELP_STRING([--enable-ILU[[=yes/no]]],
|
||||
[Build ILU part of DevIL. Default set to no])],
|
||||
[],
|
||||
[enable_ILU="no"])
|
||||
|
||||
dnl Whether to build ILUT...
|
||||
AC_ARG_ENABLE([ILUT],
|
||||
[AS_HELP_STRING([--enable-ILUT[[=yes/no]]],
|
||||
[Build ILUT part of DevIL. Default set to no. ILU will be built along whether you want it or not since ILUT depends upon it.])],
|
||||
[],
|
||||
[enable_ILUT="no"])
|
||||
dnl We have to build ILU if we want ILUT as well...
|
||||
AM_CONDITIONAL([BUILD_ILU],
|
||||
[test "x$enable_ILU" = "xyes" -o "x$enable_ILUT" = "xyes"])
|
||||
AM_CONDITIONAL([BUILD_ILUT],
|
||||
[test "x$enable_ILUT" = "xyes"])
|
||||
|
||||
dnl
|
||||
dnl We want to build ILU, so let's tell it (useful for examples/tests)
|
||||
dnl while iluErrorString is still in ILU
|
||||
dnl
|
||||
AS_IF([test "x$enable_ILU" = "xyes" -o "x$enable_ILUT" = "xyes"],
|
||||
[AC_DEFINE([ILU_ENABLED],,
|
||||
[Define if you want to build ILU part of DevIL (used in DevIL examples/tests)]) ])
|
||||
|
||||
dnl Test for restrict c/c++ keyword
|
||||
DEVIL_CHECK_RESTRICT
|
||||
|
||||
dnl checking if the -std=gnu99 flag is required
|
||||
AS_IF([test "x$restrict_keyword" = "xfound"],
|
||||
[DEVIL_CHECK_RESTRICT_GNU99])
|
||||
|
||||
dnl must add AC_CACHE_CHECK support where possible
|
||||
|
||||
dnl AM_MAINTAINER_MODE
|
||||
|
||||
dnl Now the phase of testing of extensions...
|
||||
TEST_EXT([Altivec],
|
||||
[-faltivec -maltivec],
|
||||
[vector int vec;vec=vec_splat_u32(0);],
|
||||
[ALTIVEC_GCC],
|
||||
[],
|
||||
[altivec])
|
||||
|
||||
TEST_EXT([SSE],
|
||||
[-msse],
|
||||
[__m128 v;v=_mm_sub_ss(v,v);],
|
||||
[SSE],
|
||||
[#include <xmmintrin.h>],
|
||||
[sse])
|
||||
|
||||
TEST_EXT([SSE2],
|
||||
[-msse2],
|
||||
[__m128i v;v=_mm_add_epi32(v,v);],
|
||||
[SSE2],
|
||||
[#include <emmintrin.h>],
|
||||
[sse2])
|
||||
|
||||
TEST_EXT([SSE3],
|
||||
[-msse3],
|
||||
[__m128d v;v=_mm_addsub_pd(v,v);],
|
||||
[SSE3],
|
||||
[#include <pmmintrin.h>],
|
||||
[sse3])
|
||||
|
||||
dnl Do we want to use ASM routines?
|
||||
AS_IF([test "x$enable_asm" = "xyes"],
|
||||
[TEST_ASM([i[[3456]]86*],
|
||||
[X86_ASM],
|
||||
[GCC_X86_ASM],
|
||||
[x86])
|
||||
TEST_ASM([x86_64*],
|
||||
[X86_64_ASM],
|
||||
[GCC_X86_64_ASM],
|
||||
[x86_64])
|
||||
TEST_ASM([powerpc*],
|
||||
[PPC_ASM],
|
||||
[GCC_PCC_ASM],
|
||||
[ppc])
|
||||
AS_IF([test -n "$SUPPORTED_EXTENSION"],
|
||||
[AC_DEFINE([IL_INLINE_ASM],
|
||||
[1],
|
||||
[Define if you can support at least some ASM]) ]) ])
|
||||
|
||||
dnl
|
||||
dnl Test warning build options
|
||||
dnl
|
||||
AC_ARG_ENABLE([warning],
|
||||
[AC_HELP_STRING([--enable-warning],
|
||||
[Compile breaks on warnings])],
|
||||
[build_warning="$enable_warning"],
|
||||
[build_warning="no"])
|
||||
|
||||
AS_IF([test "$build_warning" = "yes"],
|
||||
[ADD_CFLAGS([-Wall -Werror])],
|
||||
[])
|
||||
|
||||
dnl
|
||||
dnl Memory alignment functions
|
||||
dnl
|
||||
AC_CHECK_FUNC([valloc],
|
||||
[AC_DEFINE([VALLOC],
|
||||
[1],
|
||||
[define if you have valloc memory allocation]) ])
|
||||
AC_CHECK_FUNC([posix_memalign],
|
||||
[AC_DEFINE([POSIX_MEMALIGN],
|
||||
[1],
|
||||
[define if you have posix_memalign memory allocation]) ])
|
||||
|
||||
AC_CHECK_FUNC([memalign],
|
||||
[AC_DEFINE([MEMALIGN],
|
||||
[1],
|
||||
[define if you have memalign memory allocation]) ])
|
||||
|
||||
AC_CHECK_HEADER([mm_malloc.h],
|
||||
[AC_DEFINE([MM_MALLOC],
|
||||
[1],
|
||||
[define if you have mm_malloc.h header]) ])
|
||||
|
||||
dnl
|
||||
dnl Libraries development checking
|
||||
dnl
|
||||
AC_ARG_WITH([zlib],
|
||||
[AC_HELP_STRING([--with-zlib[[=yes/no]]],
|
||||
[Do wou want to use zlib?])],
|
||||
[],
|
||||
[enable_zlib="yes"])
|
||||
|
||||
AS_IF([test "x$enable_zlib" = "xyes"],
|
||||
[AC_CHECK_HEADER([zlib.h],
|
||||
[use_z="yes"],
|
||||
[use_z="no"])
|
||||
AS_IF([test "$enable_zlib" = "yes"],
|
||||
[AC_CHECK_LIB([z],
|
||||
[main]) ]) ])
|
||||
|
||||
dnl
|
||||
dnl We need to link in math stuff, maybe we have to do it manually here...
|
||||
dnl
|
||||
AC_CHECK_LIB([m],
|
||||
[main])
|
||||
|
||||
dnl
|
||||
dnl DevIL now supports a lot of game image formats.
|
||||
dnl Some people may not like it, so let's give'em a choice!
|
||||
dnl
|
||||
AC_ARG_ENABLE([game-formats],
|
||||
[AS_HELP_STRING([--enable-game-formats[[=yes/no]]],
|
||||
[Enable support for various game formats. Some people may consider that redundant. (default=yes)]) ],
|
||||
[],
|
||||
[enable_game_formats="yes"])
|
||||
AS_IF([test "x$enable_game_formats" = "xno"],
|
||||
[AC_DEFINE([IL_NO_GAMES],,
|
||||
[Define if you want to disable support for various game formats]) ])
|
||||
|
||||
dnl
|
||||
dnl Ask here whether the user wants to support a format, optionally do some tests whether it can be supported
|
||||
dnl
|
||||
TEST_FORMAT([blp], [BLP], [BLP is the texture format for Blizzard games.])
|
||||
TEST_FORMAT([bmp], [BMP], [BMP is a standard Windows bitmap.])
|
||||
TEST_FORMAT([dcx], [DCX], [DCX is a multi-page PCX file.])
|
||||
TEST_FORMAT([dds], [DDS], [DDS (DirectDraw Surface) is used by DirectX to load images (usually DXTC).])
|
||||
TEST_FORMAT([dicom], [DICOM], [DICOM (Digital Imaging and Communications in Medicine) is used extensively in medical imaging.])
|
||||
TEST_FORMAT([doom],[WAD], [WAD is the format for graphics in the original DooM I/II.])
|
||||
TEST_FORMAT([exr], [EXR], [EXR is a HDR image file format standardized by Industrial Light and Magic. OpenEXR powered], [SETTLE_OPENEXR])
|
||||
TEST_FORMAT([fits], [FITS], [FITS (Flexible Image Transport System) is used for storing scientific images and is used extensively in astronomy.])
|
||||
TEST_FORMAT([gif], [GIF], [GIF is lossy and proprietary format used mainly to make animations])
|
||||
TEST_FORMAT([hdr], [HDR], [HDR is the Radiance High Dynamic Range format, using more bits per channel than normal.])
|
||||
TEST_FORMAT([icns],[ICNS], [ICNS is the icon format for the Mac OS X operation system.])
|
||||
TEST_FORMAT([icon],[ICON], [ICO is the icon format for the Windows operating system.])
|
||||
TEST_FORMAT([iff], [IFF], [IFF (Interchange File Format) is used to transfer images between software from different companies.])
|
||||
TEST_FORMAT([ilbm], [ILBM], [ILBM (Amiga Interleaved BitMap Format).])
|
||||
TEST_FORMAT([iwi], [IWI], [IWI is the Infinity Ward Image format used in the Call of Duty games.])
|
||||
TEST_FORMAT([jpeg],[JPG], [JPEG is most common lossy format. libjpeg powered], [SETTLE_JPEG])
|
||||
TEST_FORMAT([jp2], [JP2], [JP2 (JPEG 2000) is a better, but not so widespread, alternative to JPEG. JasPer powered], [SETTLE_JASPER])
|
||||
TEST_FORMAT([lcms],[LCMS], [],[SETTLE_LCMS])
|
||||
TEST_FORMAT([lif], [LIF], [LIF is the image format of the game Homeworld.])
|
||||
TEST_FORMAT([mdl], [MDL], [MDL is the format for models in the game Half-Life.])
|
||||
TEST_FORMAT([mng], [MNG], [MNG is basically the animated version of PNG but is not widespread.], [SETTLE_MNG])
|
||||
TEST_FORMAT([mp3], [MP3], [MP3 (MPEG-1 Audio Layer 3) sometimes have images in them, such as cover art.])
|
||||
TEST_FORMAT([pcx], [PCX], [PCX is one of the first widely accepted DOS imaging standards])
|
||||
TEST_FORMAT([pcd], [PCD], [PCD is the Kodak PhotoCD format.])
|
||||
TEST_FORMAT([pic], [PIC], [PIC is used by SoftImage software.])
|
||||
TEST_FORMAT([pix], [PIX], [])
|
||||
TEST_FORMAT([png], [PNG], [PNG is a smart, loseless and even open format. libpng powered.], [SETTLE_PNG])
|
||||
TEST_FORMAT([pnm], [PNM], [PNM (Portable aNy Map format) is considered the least-common-denominator for converting pixmap, graymap, or bitmap files between different platforms.])
|
||||
TEST_FORMAT([psd], [PSD], [PSD is the PhotoShop native file format.])
|
||||
TEST_FORMAT([psp], [PSP], [PSP is the Paint Shop Pro native file format.])
|
||||
TEST_FORMAT([pxr], [PXR], [PXR is used by Pixar.])
|
||||
TEST_FORMAT([raw], [RAW], [RAW is simply raw data.])
|
||||
TEST_FORMAT([rot], [ROT], [ROT is the image format for the game Homeworld 2.])
|
||||
TEST_FORMAT([sgi], [SGI], [SGI is the native raster graphics file format for Silicon Graphics workstations])
|
||||
TEST_FORMAT([sun], [SUN], [SUN is the image format used on Sun's operating systems.])
|
||||
TEST_FORMAT([texture], [TEXTURE], [TEXTURE is the format used in Medieval II: Total War (similar to DDS).])
|
||||
TEST_FORMAT([tga], [TGA], [TGA (aka TARGA file format) has been used mainly in games. It is open and simple.])
|
||||
TEST_FORMAT([tiff],[TIF], [TIFF is a lossless format supporting greater color depths. libtiff powered], [SETTLE_TIFF])
|
||||
TEST_FORMAT([tpl], [TPL], [TPL is the format used by many GameCube and Wii games.])
|
||||
TEST_FORMAT([utx], [UTX], [UTX is the format used in the Unreal Tournament game series.])
|
||||
TEST_FORMAT([vtf], [VTF], [VTF (Valve Texture Format) is used by games based on Valve's Source engine.])
|
||||
TEST_FORMAT([wal], [WAL], [WAL is the image format used for the game Quake 2.])
|
||||
TEST_FORMAT([wbmp], [WBMP], [WBMP (Wireless Application Protocol Bitmap) is a monochrome graphics file format optimized for mobile computing devices])
|
||||
TEST_FORMAT([wdp], [WDP], [WDP is Microsoft's successor to JPEG, able to store many different image types either lossy or losslessly, also known as HD Photo.])
|
||||
TEST_FORMAT([xpm], [XPM], [XPM (X PixMap) is an ASCII-based image used in X Windows.])
|
||||
|
||||
dnl
|
||||
dnl Give users chance to disable check for these two libraries that can't be disabled
|
||||
dnl by any other means...
|
||||
dnl
|
||||
AC_ARG_WITH([libsquish],
|
||||
[AS_HELP_STRING([--with-squish[[=yes/no]]],
|
||||
[Do you want to use the squish library if possible? (enables HW accelerated DXT compression, default="yes")]) ],
|
||||
[],
|
||||
[with_libsquish="yes"])
|
||||
AS_IF([test "x$with_libsquish" = "xyes"],
|
||||
[DEVIL_CHECK_LIBSQUISH])
|
||||
|
||||
AC_ARG_WITH([nvtt],
|
||||
[AS_HELP_STRING([--with-nvtt[[=yes/no]]],
|
||||
[Do you want to use the Nvidia texture tools if possible? (enables GPU accelerated image manipulation, default="yes")]) ],
|
||||
[],
|
||||
[with_nvtt="yes"])
|
||||
AS_IF([test "x$with_nvtt" = "xyes"],
|
||||
[DEVIL_CHECK_NVIDIA_TEXTOOLS])
|
||||
|
||||
dnl
|
||||
dnl ILUT APIs library checking
|
||||
dnl
|
||||
AS_IF([test "x$enable_ILUT" = "xyes"],
|
||||
[SETTLE_ALLEGRO
|
||||
SETTLE_DX8
|
||||
SETTLE_DX9
|
||||
SETTLE_OPENGL
|
||||
SETTLE_SDL
|
||||
SETTLE_W32
|
||||
SETTLE_X11])
|
||||
|
||||
dnl
|
||||
dnl AM_COND_IF([condition],[do-if-true]) has to be kept in sync with examples/Makefile.am
|
||||
dnl The AM_COND_IF seems to be too new at the moment, let's wait a little bit till things settle...
|
||||
dnl
|
||||
|
||||
dnl AM_COND_IF([BUILD_ILU],
|
||||
AS_IF([test "x$enable_ILU" = "xyes"],
|
||||
[EXAMPLES_TO_BUILD="$EXAMPLES_TO_BUILD ILU_override ILU_read ILU_simple"])
|
||||
|
||||
dnl AM_COND_IF([BUILD_ILUT],
|
||||
AS_IF([test "x$enable_ILUT" = "xyes"],
|
||||
[EXAMPLES_TO_BUILD="$EXAMPLES_TO_BUILD ILUT_cpp_wrapper"])
|
||||
|
||||
AM_CONDITIONAL([USE_ALLEGRO],
|
||||
[test "x$use_allegro" = "xyes"])
|
||||
dnl AM_COND_IF([USE_ALLEGRO],
|
||||
AS_IF([test "x$use_allegro" = "xyes"],
|
||||
[EXAMPLES_TO_BUILD="$EXAMPLES_TO_BUILD ILUT_allegro"])
|
||||
|
||||
AM_CONDITIONAL([USE_DIRECTX8],
|
||||
[test "x$use_directx8" = "xyes"])
|
||||
|
||||
AM_CONDITIONAL([USE_DIRECTX9],
|
||||
[test "x$use_directx9" = "xyes"])
|
||||
|
||||
AM_CONDITIONAL([USE_DIRECTX],
|
||||
[test "x$use_directx8" = "xyes" -o "x$use_directx9" = "xyes"])
|
||||
dnl AM_COND_IF([USE_DIRECTX],
|
||||
AS_IF([test "x$use_directx8" = "xyes" -o "x$use_directx9" = "xyes"],
|
||||
[EXAMPLES_TO_BUILD="$EXAMPLES_TO_BUILD ILUT_d3d ILUT_windows"])
|
||||
|
||||
AM_CONDITIONAL([USE_OPENGL],
|
||||
[test "x$use_ogl" = "xyes"])
|
||||
|
||||
AM_CONDITIONAL([HAVE_GLUT],
|
||||
[test "x$have_glut" = "xyes"])
|
||||
|
||||
AM_CONDITIONAL([USE_SDL],
|
||||
[test "x$use_sdl" = "xyes"])
|
||||
dnl AM_COND_IF([USE_SDL],
|
||||
AS_IF([test "x$use_sdl" = "xyes"],
|
||||
[EXAMPLES_TO_BUILD="$EXAMPLES_TO_BUILD ILUT_sdl"])
|
||||
|
||||
AM_CONDITIONAL([USE_W32],
|
||||
[test "x$use_w32" = "xyes"])
|
||||
dnl AM_COND_IF([USE_W32],
|
||||
AS_IF([test "x$use_w32" = "xyes"],
|
||||
[EXAMPLES_TO_BUILD="$EXAMPLES_TO_BUILD ILUT_animation"])
|
||||
|
||||
AM_CONDITIONAL([USE_X11],
|
||||
[test "x$use_x11" = "xyes"])
|
||||
#this is instedad AM_COND_IF([USE_OPENGL && USE_X11])
|
||||
AS_IF([test "x$have_glut" = "xyes" -a "x$use_x11" = "xyes"],
|
||||
[EXAMPLES_TO_BUILD="$EXAMPLES_TO_BUILD ILUT_gl ILUT_volume"])
|
||||
|
||||
dnl Win32
|
||||
AS_CASE([$host],
|
||||
[*mingw32*],
|
||||
[PLATFORM="MINGW32"],
|
||||
[*cygwin*],
|
||||
[ADD_CFLAGS([-mno-cygwin])
|
||||
LIBILUT_WIN32LIBPATH="-L/usr/lib/w32api"
|
||||
PLATFORM="CYGWIN"],
|
||||
[*darwin*],
|
||||
[AC_DEFINE([MAX_OS_X],
|
||||
[],
|
||||
[Building on Mac OS X])
|
||||
PLATFORM="OSX"])
|
||||
AC_SUBST([PLATFORM])
|
||||
|
||||
AM_CONDITIONAL([WINDOWS_BUILD],
|
||||
[test "x$PLATFORM" = "xMINGW32" -o "x$PLATFORM" = "xCYGWIN"])
|
||||
|
||||
dnl Final substitution
|
||||
AC_SUBST([GENERAL_CFLAGS])
|
||||
AC_SUBST([IL_CFLAGS])
|
||||
AC_SUBST([IL_LIBS])
|
||||
AC_SUBST([ILU_CFLAGS])
|
||||
AC_SUBST([ILU_LIBS])
|
||||
AC_SUBST([ILUT_CFLAGS])
|
||||
AC_SUBST([ILUT_LIBS])
|
||||
AC_SUBST([LIBILUT_WIN32LIBPATH])
|
||||
AC_SUBST([SUPPORTED_FORMATS])
|
||||
|
||||
dnl
|
||||
dnl Ouput files to generate
|
||||
dnl note: keep the list on one line separated by single spaces
|
||||
dnl (otherwise MSYS compilation breaks)
|
||||
AC_CONFIG_FILES([Makefile
|
||||
lib/Makefile
|
||||
bin/Makefile
|
||||
test/Makefile
|
||||
docs/Makefile
|
||||
data/Makefile
|
||||
data/IL.pc data/ILU.pc data/ILUT.pc
|
||||
test/format_test/format_checks.sh])
|
||||
dnl projects/Makefile])
|
||||
# src-IL/Makefile src-IL/src/Makefile src-IL/include/Makefile src-ILU/Makefile src-ILU/src/Makefile src-ILU/include/Makefile src-ILUT/Makefile src-ILUT/src/Makefile src-ILUT/include/Makefile include/Makefile include/IL/Makefile
|
||||
AC_OUTPUT
|
||||
|
||||
dnl And a nice report in the end!
|
||||
IL_REPORT
|
||||
ILU_REPORT
|
||||
ILUT_REPORT
|
||||
EXTENSIONS_REPORT
|
||||
EXAMPLES_REPORT
|
||||
@@ -1,9 +0,0 @@
|
||||
@echo off
|
||||
echo Generating include/IL/config.h based on what your system has installed...
|
||||
copy include\IL\config.h.win include\IL\config.h
|
||||
echo Done.
|
||||
echo.
|
||||
echo Please check include/IL/config.h to make sure that it has
|
||||
echo set the appropriate #defines.
|
||||
echo.
|
||||
pause
|
||||
@@ -1,10 +0,0 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
|
||||
Name: IL
|
||||
Description: Developer's Image Library - IL part (just image loading)
|
||||
Version: @VERSION@
|
||||
URL: http://openil.sourceforge.net
|
||||
Libs: -L@libdir@ -lIL
|
||||
Libs.private: @IL_LIBS@
|
||||
Cflags: -I@includedir@ @IL_CFLAGS@
|
||||
@@ -1,11 +0,0 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
|
||||
Name: ILU
|
||||
Description: Developer's Image Library - ILU part (image library utilities)
|
||||
Version: @VERSION@
|
||||
URL: http://openil.sourceforge.net
|
||||
Requires: IL
|
||||
Libs: -L@libdir@ -lILU
|
||||
Libs.private: @ILU_LIBS@ -lIL
|
||||
Cflags: -I@includedir@ @IL_CFLAGS@
|
||||
@@ -1,10 +0,0 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
|
||||
Name: ILUT
|
||||
Description: Developer's Image Library - ILUT part (connection to higher level libraries)
|
||||
Version: @VERSION@
|
||||
URL: http://openil.sourceforge.net
|
||||
Libs: -L@libdir@ -lILUT -ILU -lIL
|
||||
Libs.private: @ILUT_LIBS@
|
||||
Cflags: -I@includedir@ @IL_CFLAGS@
|
||||
@@ -1,15 +0,0 @@
|
||||
pkgdir=$(libdir)/pkgconfig
|
||||
|
||||
pkg_DATA =
|
||||
|
||||
if BUILD_IL
|
||||
pkg_DATA += IL.pc
|
||||
endif #BUILD_IL
|
||||
|
||||
if BUILD_ILU
|
||||
pkg_DATA += ILU.pc
|
||||
endif #BUILD_ILU
|
||||
|
||||
if BUILD_ILUT
|
||||
pkg_DATA += ILUT.pc
|
||||
endif #BUILD_ILUT
|
||||
@@ -1,420 +0,0 @@
|
||||
# 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@
|
||||
@BUILD_IL_TRUE@am__append_1 = IL.pc
|
||||
@BUILD_ILU_TRUE@am__append_2 = ILU.pc
|
||||
@BUILD_ILUT_TRUE@am__append_3 = ILUT.pc
|
||||
subdir = data
|
||||
DIST_COMMON = $(srcdir)/IL.pc.in $(srcdir)/ILU.pc.in \
|
||||
$(srcdir)/ILUT.pc.in $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in
|
||||
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 = IL.pc ILU.pc ILUT.pc
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
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|^.*/||'`;
|
||||
am__installdirs = "$(DESTDIR)$(pkgdir)"
|
||||
pkgDATA_INSTALL = $(INSTALL_DATA)
|
||||
DATA = $(pkg_DATA)
|
||||
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@
|
||||
pkgdir = $(libdir)/pkgconfig
|
||||
pkg_DATA = $(am__append_1) $(am__append_2) $(am__append_3)
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
$(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 data/Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu data/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
|
||||
IL.pc: $(top_builddir)/config.status $(srcdir)/IL.pc.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||
ILU.pc: $(top_builddir)/config.status $(srcdir)/ILU.pc.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||
ILUT.pc: $(top_builddir)/config.status $(srcdir)/ILUT.pc.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
install-pkgDATA: $(pkg_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
|
||||
@list='$(pkg_DATA)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
echo " $(pkgDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdir)/$$f'"; \
|
||||
$(pkgDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdir)/$$f"; \
|
||||
done
|
||||
|
||||
uninstall-pkgDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(pkg_DATA)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -f '$(DESTDIR)$(pkgdir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(pkgdir)/$$f"; \
|
||||
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
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(DATA)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(pkgdir)"; 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: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-pkgDATA
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
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
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-pkgDATA
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
||||
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-pkgDATA install-ps install-ps-am \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||
uninstall uninstall-am uninstall-pkgDATA
|
||||
|
||||
# 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:
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1,29 +0,0 @@
|
||||
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
|
||||
@@ -1,674 +0,0 @@
|
||||
# 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:
|
||||
@@ -1,55 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,49 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,33 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,379 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,973 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,180 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,473 +0,0 @@
|
||||
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%;
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.3 KiB |
@@ -1,87 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,145 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,145 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,271 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,149 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,167 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,659 +0,0 @@
|
||||
<!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>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,62 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,64 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,128 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,73 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,242 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,297 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,171 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,398 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,111 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,100 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,92 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,64 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,63 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,91 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,560 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,43 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,50 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,58 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,270 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,49 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,75 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,79 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,100 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,67 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,77 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,271 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,297 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,62 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,113 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,87 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,64 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,420 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,130 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,121 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,153 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,209 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,226 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,212 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,309 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,48 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,102 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,121 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,41 +0,0 @@
|
||||
<!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>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user