[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12226] trunk/blender/extern/qdune/ framebuffer/CImg.h: Removed the CImg.h file, it's not essential anyway.

Alfredo de Greef eeshlo at yahoo.com
Mon Oct 8 02:48:15 CEST 2007


Revision: 12226
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12226
Author:   eeshlo
Date:     2007-10-08 02:48:15 +0200 (Mon, 08 Oct 2007)

Log Message:
-----------
Removed the CImg.h file, it's not essential anyway.
It was only used as framebuffer, if anyone really wants to compile the
standalone program with display support, then they can download the file from:
http://cimg.sourceforge.net

Removed Paths:
-------------
    trunk/blender/extern/qdune/framebuffer/CImg.h

Deleted: trunk/blender/extern/qdune/framebuffer/CImg.h
===================================================================
--- trunk/blender/extern/qdune/framebuffer/CImg.h	2007-10-07 20:50:06 UTC (rev 12225)
+++ trunk/blender/extern/qdune/framebuffer/CImg.h	2007-10-08 00:48:15 UTC (rev 12226)
@@ -1,23957 +0,0 @@
-/*
- #
- #  File        : CImg.h
- #
- #  Description : The C++ Template Image Processing Library
- #                ( http://cimg.sourceforge.net )
- #
- #  Copyright   : David Tschumperle
- #                ( http://www.greyc.ensicaen.fr/~dtschump/ )
- #
- #  License     : CeCILL-C
- #
- #  This software is governed by the CeCILL-C license under French law and
- #  abiding by the rules of distribution of free software.  You can  use,
- #  modify and or redistribute the software under the terms of the CeCILL-C
- #  license as circulated by CEA, CNRS and INRIA at the following URL
- #  "http://www.cecill.info".
- #
- #  As a counterpart to the access to the source code and  rights to copy,
- #  modify and redistribute granted by the license, users are provided only
- #  with a limited warranty  and the software's author,  the holder of the
- #  economic rights,  and the successive licensors  have only  limited
- #  liability.
- #
- #  In this respect, the user's attention is drawn to the risks associated
- #  with loading,  using,  modifying and/or developing or reproducing the
- #  software by the user in light of its specific status of free software,
- #  that may mean  that it is complicated to manipulate,  and  that  also
- #  therefore means  that it is reserved for developers  and  experienced
- #  professionals having in-depth computer knowledge. Users are therefore
- #  encouraged to load and test the software's suitability as regards their
- #  requirements in conditions enabling the security of their systems and/or
- #  data to be ensured and,  more generally, to use and operate it in the
- #  same conditions as regards security.
- #
- #  The fact that you are presently reading this means that you have had
- #  knowledge of the CeCILL-C license and that you accept its terms.
- #
-*/
-#ifndef cimg_version
-#define cimg_version 1.23
-
-// Detect Microsoft VC++ 6.0 compiler to get some workarounds afterwards.
-#if defined(_MSC_VER) && _MSC_VER<1300
-#define cimg_use_visualcpp6
-#endif
-
-// Avoid strange 'deprecated' warning messages with Visual C++ .NET.
-#if defined(_MSC_VER) && _MSC_VER>=1300
-#define _CRT_SECURE_NO_DEPRECATE 1
-#define _CRT_NONSTDC_NO_DEPRECATE 1
-#endif
-
-// Standard C++ includes.
-#include <cstdio>
-#include <cstdlib>
-#include <cstdarg>
-#include <cstring>
-#include <cmath>
-#include <ctime>
-
-/*
- #
- # Set CImg configuration flags.
- #
- # If compilation flags are not adapted to your system,
- # you may override their values, before including
- # the header file "CImg.h" (use the #define directive).
- #
- */
-
-// Try to detect the current system and set value of 'cimg_OS'.
-#ifndef cimg_OS
-// Unix-like (Linux, Solaris, BSD, MacOSX, Irix,...).
-#if defined(unix)       || defined(__unix)      || defined(__unix__) \
- || defined(linux)      || defined(__linux)     || defined(__linux__) \
- || defined(sun)        || defined(__sun) \
- || defined(BSD)        || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined __DragonFly__ \
- || defined(__MACOSX__) || defined(__APPLE__) \
- || defined(sgi)        || defined(__sgi) \
- || defined(__CYGWIN__)
-#define cimg_OS            1
-#ifndef cimg_display_type
-#define cimg_display_type  1
-#endif
-#ifndef cimg_color_terminal
-#define cimg_color_terminal
-#endif
-// Windows.
-#elif defined(_MSC_VER) || defined(WIN32) || defined(_WIN32) || defined(__WIN32__) \
-   || defined(WIN64) || defined(_WIN64) || defined(__WIN64__)
-#define cimg_OS            2
-#ifndef cimg_display_type
-#define cimg_display_type  2
-#endif
-// Unknown configuration : ask for minimal dependencies (no display).
-#else
-#define cimg_OS            0
-#ifndef cimg_display_type
-#define cimg_display_type  0
-#endif
-#endif
-#endif
-
-// Debug configuration.
-//
-// Set 'cimg_debug' to : 0 to remove debug messages (exceptions are still thrown anyway).
-//                       1 to display debug messages on standard error output (console).
-//                       2 to display debug messages with modal windows (default behavior).
-//                       3 to do as 2 + add extra memory access warnings (may slow down the code)
-#ifndef cimg_debug
-#define cimg_debug         2
-#endif
-
-// Architecture-dependent includes.
-#if cimg_OS==1
-#include <sys/time.h>
-#include <unistd.h>
-#elif cimg_OS==2
-#include <windows.h>
-#ifndef _WIN32_IE
-#define _WIN32_IE 0x0400
-#endif
-#include <shlobj.h>
-#ifdef cimg_use_visualcpp6
-#define std
-#endif
-#endif
-
-// Test if min/max or PI macros are defined.
-#ifdef PI
-#error -------------------------------------------------------------------------------
-#error The macro value 'PI' has been defined prior to the #include "CImg.h" directive.
-#error The CImg Library does not compile with such a macro value defined.
-#error Please (re)define this macro *after* including "CImg.h" if really necessary.
-#error Following error messages are most probably related to this problem.
-#error -------------------------------------------------------------------------------
-#endif
-#ifdef min
-#undef min
-#define cimg_redefine_min
-#endif
-#ifdef max
-#undef max
-#define cimg_redefine_max
-#endif
-
-// Display-dependent includes.
-#if cimg_display_type==1
-#include <X11/Xlib.h>
-#include <X11/Xutil.h>
-#include <X11/keysym.h>
-#include <pthread.h>
-#ifdef cimg_use_xshm
-#include <sys/ipc.h>
-#include <sys/shm.h>
-#include <X11/extensions/XShm.h>
-#endif
-#ifdef cimg_use_xrandr
-#include <X11/extensions/Xrandr.h>
-#endif
-#endif
-
-// Configuration for using extra libraries
-//
-// Define 'cimg_use_png', 'cimg_use_jpeg' or 'cimg_use_tiff' to enable native PNG, JPEG or TIFF files support.
-// This requires you link your code with the zlib/png, jpeg or tiff libraries.
-// Without these libraries, PNG,JPEG and TIFF support will be done by the Image Magick's 'convert' tool,
-// or byt the GraphicsMagick 'gm' tool if installed
-// (this is the case on most unix plateforms).
-#ifdef cimg_use_png
-extern "C" {
-#include "png.h"
-}
-#endif
-#ifdef cimg_use_jpeg
-extern "C" {
-#include "jpeglib.h"
-}
-#endif
-#ifdef cimg_use_tiff
-extern "C" {
-#include "tiffio.h"
-}
-#endif
-#ifdef cimg_use_magick
-#include "Magick++.h"
-#endif
-#ifdef cimg_use_fftw3
-extern "C" {
-#include "fftw3.h"
-}
-#endif
-#ifdef cimg_use_lapack
-extern "C" {
-  extern void sgetrf_(int*, int*, float*, int*, int*, int*);
-  extern void sgetri_(int*, float*, int*, int*, float*, int*, int*);
-  extern void sgetrs_(char*, int*, int*, float*, int*, int*, float*, int*, int*);
-  extern void sgesvd_(char*, char*, int*, int*, float*, int*, float*, float*, int*, float*, int*, float*, int*, int*);
-  extern void ssyev_(char*, char*, int*, float*, int*, float*, float*, int*, int*);
-  extern void dgetrf_(int*, int*, double*, int*, int*, int*);
-  extern void dgetri_(int*, double*, int*, int*, double*, int*, int*);
-  extern void dgetrs_(char*, int*, int*, double*, int*, int*, double*, int*, int*);
-  extern void dgesvd_(char*, char*, int*, int*, double*, int*, double*, double*, int*, double*, int*, double*, int*, int*);
-  extern void dsyev_(char*, char*, int*, double*, int*, double*, double*, int*, int*);
-}
-#endif
-
-/*
- #
- #
- # Define some useful macros. Macros of the CImg Library are prefixed by 'cimg_'
- # Documented macros below may be safely used in your own code
- # (particularly useful for option parsing, image loops and neighborhoods).
- #
- #
- */
-
-// Macros used to describe the program usage, and retrieve command line arguments
-// (See corresponding module 'Retrieving command line arguments' in the generated documentation).
-#define cimg_usage(usage) cimg_library::cimg::option((char*)0,argc,argv,(char*)0,usage)
-#define cimg_help(str)    cimg_library::cimg::option((char*)0,argc,argv,str,(char*)0)
-#define cimg_option(name,defaut,usage) cimg_library::cimg::option(name,argc,argv,defaut,usage)
-
-// Macros used for neighborhood definitions and manipulations.
-// (see module 'Using Image Loops' in the generated documentation).
-#define CImg_2(I,T)   T   I##cc,I##nc=0
-#define CImg_2x2(I,T) T   I##cc,I##nc=0,I##cn,I##nn=0
-#define CImg_3(I,T)   T   I##pp,I##cp,I##np=0
-#define CImg_3x3(I,T) T   I##pp,I##cp,I##np=0,I##pc,I##cc,I##nc=0,I##pn,I##cn,I##nn=0
-#define CImg_4(I,T)   T   I##pp,I##cp,I##np=0,I##ap=0
-#define CImg_4x4(I,T) T   I##pp,I##cp,I##np=0,I##ap=0, \
-                          I##pc,I##cc,I##nc=0,I##ac=0, \
-                          I##pn,I##cn,I##nn=0,I##an=0, \
-                          I##pa,I##ca,I##na=0,I##aa=0
-#define CImg_5(I,T)   T   I##bb,I##pb,I##cb,I##nb=0,I##ab=0
-#define CImg_5x5(I,T) T   I##bb,I##pb,I##cb,I##nb=0,I##ab=0, \
-                          I##bp,I##pp,I##cp,I##np=0,I##ap=0, \
-                          I##bc,I##pc,I##cc,I##nc=0,I##ac=0, \
-                          I##bn,I##pn,I##cn,I##nn=0,I##an=0, \
-                          I##ba,I##pa,I##ca,I##na=0,I##aa=0
-#define CImg_2x2x2(I,T) T I##ccc,I##ncc=0,I##cnc,I##nnc=0, \
-                          I##ccn,I##ncn=0,I##cnn,I##nnn=0
-#define CImg_3x3x3(I,T) T I##ppp,I##cpp,I##npp=0,I##pcp,I##ccp,I##ncp=0,I##pnp,I##cnp,I##nnp=0, \
-                          I##ppc,I##cpc,I##npc=0,I##pcc,I##ccc,I##ncc=0,I##pnc,I##cnc,I##nnc=0, \
-                          I##ppn,I##cpn,I##npn=0,I##pcn,I##ccn,I##ncn=0,I##pnn,I##cnn,I##nnn=0
-
-#define CImg_2x2_ref(I,T,tab)   T &I##cc=(tab)[0],&I##nc=(tab)[1],&I##cn=(tab)[2],&I##nn=(tab)[3]
-#define CImg_3x3_ref(I,T,tab)   T &I##pp=(tab)[0],&I##cp=(tab)[1],&I##np=(tab)[2], \
-                                  &I##pc=(tab)[3],&I##cc=(tab)[4],&I##nc=(tab)[5], \
-                                  &I##pn=(tab)[6],&I##cn=(tab)[7],&I##nn=(tab)[8]
-#define CImg_4x4_ref(I,T,tab)   T &I##pp=(tab)[0], &I##cp=(tab)[1], &I##np=(tab)[2], &I##ap=(tab)[3], \
-                                  &I##pc=(tab)[4], &I##cc=(tab)[5], &I##nc=(tab)[6], &I##ac=(tab)[7], \
-                                  &I##pn=(tab)[8], &I##cn=(tab)[9], &I##nn=(tab)[10],&I##an=(tab)[11], \
-                                  &I##pa=(tab)[12],&I##ca=(tab)[13],&I##na=(tab)[14],&I##aa=(tab)[15]

@@ Diff output truncated at 10240 characters. @@




More information about the Bf-blender-cvs mailing list