comparison src/imgproc.h @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents b2472a1930f2
children 697ef44129c6
comparison
equal deleted inserted replaced
397:f4aeb21a5bad 398:74fd4e045ea6
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_
20 23
21 /* Synched up with: Not in FSF. */ 24 /* Synched up with: Not in FSF. */
22 25
23 /* Original author: Jareth Hein */ 26 /* Original author: Jareth Hein */
24 27
58 } quant_table; 61 } quant_table;
59 62
60 #define QUANT_GET_COLOR(qt,r,g,b) (qt->histogram[r>>COLOR_SHIFT][g>>COLOR_SHIFT][b>>COLOR_SHIFT]) 63 #define QUANT_GET_COLOR(qt,r,g,b) (qt->histogram[r>>COLOR_SHIFT][g>>COLOR_SHIFT][b>>COLOR_SHIFT])
61 64
62 quant_table *build_EImage_quantable(unsigned char *eimage, int width, int height, int num_colors); 65 quant_table *build_EImage_quantable(unsigned char *eimage, int width, int height, int num_colors);
66
67 #endif /* INCLUDED_imgproc_h_ */