File: gif.h

package info (click to toggle)
gr-framework 0.73.14%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,600 kB
  • sloc: ansic: 87,413; cpp: 45,348; objc: 3,057; javascript: 2,647; makefile: 1,129; python: 1,000; sh: 991; yacc: 855; pascal: 554; fortran: 228
file content (16 lines) | stat: -rw-r--r-- 403 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _GIF_H_
#define _GIF_H_

#ifdef __cplusplus
extern "C" {
#endif

void median_cut(unsigned char *pixels, unsigned char *color_table, int num_pixels, int num_colors, int num_channels);
unsigned char color_index_for_rgb(const unsigned char *rgb_pixel, const unsigned char *color_table,
                                  int color_table_size, int num_channels);

#ifdef __cplusplus
}
#endif

#endif