File: palettes.h

package info (click to toggle)
squeak-vm 1%3A4.10.2.2614%2B20120917~dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 11,144 kB
  • sloc: ansic: 72,193; objc: 5,494; sh: 3,061; asm: 1,533; cpp: 449; pascal: 372; makefile: 300; awk: 103; cs: 11
file content (15 lines) | stat: -rw-r--r-- 522 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _PALETTES_H
#define _PALETTES_H

typedef void (*Converter)(int width, int height, const void *src, void *dst);


inline char*     paletteName         (int palette);
inline float     paletteBytesPerPixel(int palette);
inline int       paletteDepth        (int palette);
inline Converter converterFunction   (const int palette);
inline int       paletteConvert24    (int palette,
                                      int width, int height,
                                      const void *src, void *dst);

#endif