00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef GIMP_PRINT_BIT_OPS_H
00024 #define GIMP_PRINT_BIT_OPS_H
00025
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029
00030 extern void stp_fold(const unsigned char *line, int single_height,
00031 unsigned char *outbuf);
00032
00033 extern void stp_split_2(int height, int bits, const unsigned char *in,
00034 unsigned char *outhi, unsigned char *outlo);
00035
00036 extern void stp_split_4(int height, int bits, const unsigned char *in,
00037 unsigned char *out0, unsigned char *out1,
00038 unsigned char *out2, unsigned char *out3);
00039
00040 extern void stp_unpack_2(int height, int bits, const unsigned char *in,
00041 unsigned char *outlo, unsigned char *outhi);
00042
00043 extern void stp_unpack_4(int height, int bits, const unsigned char *in,
00044 unsigned char *out0, unsigned char *out1,
00045 unsigned char *out2, unsigned char *out3);
00046
00047 extern void stp_unpack_8(int height, int bits, const unsigned char *in,
00048 unsigned char *out0, unsigned char *out1,
00049 unsigned char *out2, unsigned char *out3,
00050 unsigned char *out4, unsigned char *out5,
00051 unsigned char *out6, unsigned char *out7);
00052
00053 #ifdef __cplusplus
00054 }
00055 #endif
00056
00057 #endif