Mercurial > hg > xemacs-beta
comparison src/imgproc.h @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | 74fd4e045ea6 |
children |
comparison
equal
deleted
inserted
replaced
411:12e008d41344 | 412:697ef44129c6 |
---|---|
15 | 15 |
16 You should have received a copy of the GNU General Public License | 16 You should have received a copy of the GNU General Public License |
17 along with XEmacs; see the file COPYING. If not, write to | 17 along with XEmacs; see the file COPYING. If not, write to |
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
19 Boston, MA 02111-1307, USA. */ | 19 Boston, MA 02111-1307, USA. */ |
20 | |
21 #ifndef INCLUDED_imgproc_h_ | |
22 #define INCLUDED_imgproc_h_ | |
23 | 20 |
24 /* Synched up with: Not in FSF. */ | 21 /* Synched up with: Not in FSF. */ |
25 | 22 |
26 /* Original author: Jareth Hein */ | 23 /* Original author: Jareth Hein */ |
27 | 24 |
61 } quant_table; | 58 } quant_table; |
62 | 59 |
63 #define QUANT_GET_COLOR(qt,r,g,b) (qt->histogram[r>>COLOR_SHIFT][g>>COLOR_SHIFT][b>>COLOR_SHIFT]) | 60 #define QUANT_GET_COLOR(qt,r,g,b) (qt->histogram[r>>COLOR_SHIFT][g>>COLOR_SHIFT][b>>COLOR_SHIFT]) |
64 | 61 |
65 quant_table *build_EImage_quantable(unsigned char *eimage, int width, int height, int num_colors); | 62 quant_table *build_EImage_quantable(unsigned char *eimage, int width, int height, int num_colors); |
66 | |
67 #endif /* INCLUDED_imgproc_h_ */ |