gml_Bitmap_encodings.h

00001 /**
00002  * gml_Bitmap_encodings.h --
00003  *
00004  *    Get informations about pixel encodings.
00005  *
00006  *  Copyright (c) 2003 CLIPS-IMAG
00007  *
00008  *  See the file "gml_LicenseTerms.txt" for information on usage and redistribution
00009  *  of this file, and for a DISCLAIMER OF ALL WARRANTIES.
00010  *
00011  *  Created on Oct. 29, 2003 (FB).
00012  */
00013 
00014 #ifndef __GML_BITMAP_ENCODINGS__
00015 #define __GML_BITMAP_ENCODINGS__
00016 
00017 
00018 #include "gml/base/gml_Types.h"
00019 #include "gml/base/gml_Errors.h"
00020 #include "gml/image/gml_Bitmap.h"
00021 
00022 
00023 
00024 /**
00025  *  gml_Bitmap_Encodings_RGBA_Channels --
00026  *
00027  *  Returns the byte index of channels in a RGBA pixel.
00028  *  If a channel doesn't exist in the pixel encoding, the returned
00029  *  index is -1.
00030  *
00031  *  Calls gml_BitmapInitialize().
00032  */
00033 
00034 GML_EXTERN_C
00035 gml_TError gml_Bitmap_Encodings_RGBA_Channels  (gml_TPixelEncoding  encoding,
00036                                                 int*                iR,
00037                                                 int*                iG,
00038                                                 int*                iB,
00039                                                 int*                iA);
00040 
00041 
00042 
00043 #endif
Generated on Tue Jun 12 14:03:27 2007 for gml by Doxygen 1.5.2.