00001 00002 /*---------------------------------------------------------------------------- 00003 * E.S.O. 00004 *---------------------------------------------------------------------------- 00005 * File name : cube_defs.h 00006 * Author : Nicolas Devillard 00007 * Created on : Aug 02, 1995 00008 * Hardware : Sun Sparc 20 00009 * Software : ANSI C under Solaris Unix 00010 * Part of ECLIPSE library for Adonis 00011 * Description : cube size definitions (limitations) 00012 *--------------------------------------------------------------------------*/ 00013 00014 /* 00015 00016 $Id: cube_defs.h,v 1.1 2003/09/03 12:50:47 amodigli Exp $ 00017 $Author: amodigli $ 00018 $Date: 2003/09/03 12:50:47 $ 00019 $Revision: 1.1 $ 00020 00021 */ 00022 00023 #ifndef _CUBES_H_ 00024 #define _CUBES_H_ 00025 00026 /*--------------------------------------------------------------------------- 00027 * Includes 00028 *--------------------------------------------------------------------------*/ 00029 00030 #include <limits.h> 00031 00032 /*--------------------------------------------------------------------------- 00033 * Defines 00034 *--------------------------------------------------------------------------*/ 00035 00036 /* 00037 * Defines relative to an upper image size limit 00038 * The maximum sizes are voluntarily limited, to avoid too cpu-intensive 00039 * processes. 00040 */ 00041 00042 #define MAX_COLUMN_NUMBER (40000) 00043 #define MAX_LINE_NUMBER (40000) 00044 #define MAX_IMAGE_NUMBER (10240) 00045 00046 /* Pixel value limits */ 00047 #define MAX_PIX_VALUE ((pixelvalue)LONG_MAX) 00048 #define MIN_PIX_VALUE ((pixelvalue)LONG_MIN) 00049 00050 /* Pattern identifiers */ 00051 00052 #define PATTERN_CONSTANT 1 00053 00054 /* Maximum allowed comment length */ 00055 00056 #define COMMENT_LENGTH 60 00057 00058 #endif
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001