sprint 1-alpha
sprint/image/types.h
00001 /******************************************************************************
00002 *   SPRINT::image
00003 *
00004 *   Copyright (C) 2005-2011  Paolo Medici <www.pmx.it>
00005 *
00006 *  This library is free software; you can redistribute it and/or
00007 *  modify it under the terms of the GNU Lesser General Public
00008 *  License as published by the Free Software Foundation; either
00009 *  version 2.1 of the License, or (at your option) any later version.
00010 *
00011 *  This library is distributed in the hope that it will be useful,
00012 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 *  Lesser General Public License for more details.
00015 *
00016 *  You should have received a copy of the GNU Lesser General Public
00017 *  License along with this library; if not, write to the Free Software
00018 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00019 *
00020 *******************************************************************************/
00021 
00025 #ifndef _SPRINT_IMAGE_TYPES_H
00026 #define _SPRINT_IMAGE_TYPES_H
00027 
00028 namespace sprint {
00029 
00032 
00034 #define TYPE_UNDEFINED               0
00035 
00036 #define TYPE_GREYSCALE8              1
00037 
00038 #define TYPE_GREYSCALE16             2
00039 
00040 #define TYPE_GREYSCALEFLOAT32        3
00041 
00042 #define TYPE_GREYSCALEOPACITY16      4
00043 
00044 #define TYPE_GREYSCALEOPACITYFLOAT64 5
00045 
00046 #define TYPE_PALETTE8                6
00047 
00048 #define TYPE_PALETTE16               7
00049 
00050 #define TYPE_RGB8                    8
00051 
00052 #define TYPE_RGB16                   9
00053 
00054 #define TYPE_RGB24                   10
00055 #define TYPE_BGR24                   11
00056 #define TYPE_RGB48                   12
00057 #define TYPE_BGR48                   13
00058 #define TYPE_RGBFLOAT96              14
00059 #define TYPE_BGRFLOAT96              15
00060 #define TYPE_RGBA32                  16
00061 #define TYPE_BGRA32                  17
00062 #define TYPE_RGBA64                  18
00063 #define TYPE_BGRA64                  19
00064 #define TYPE_RGBAFLOAT128            20
00065 #define TYPE_BGRAFLOAT128            21
00066 #define TYPE_LAST                    22
00067 /*}@*/
00068 
00070 extern int image_byte_per_pixel[TYPE_LAST];
00071 
00072 }
00073 
00074 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines