Fix manifests
[platform/upstream/epson-inkjet-printer-escpr.git] / lib / epson-escpage-comp.h
1 /*________________________________  epson-escpage-cmp.h   ______________________________*/\r
2 \r
3 /*       1         2         3         4         5         6         7         8        */\r
4 /*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/\r
5 /*******************************************|********************************************/\r
6 /*\r
7  *   Copyright (c) 2010  Seiko Epson Corporation                 All rights reserved.\r
8  *\r
9  *   Copyright protection claimed includes all forms and matters of\r
10  *   copyrightable material and information now allowed by statutory or judicial\r
11  *   law or hereinafter granted, including without limitation, material generated\r
12  *   from the software programs which are displayed on the screen such as icons,\r
13  *   screen display looks, etc.\r
14  *\r
15  */\r
16 /*******************************************|********************************************/\r
17 /*                                                                                      */\r
18 /*                            Epson ESC/Page Compless Functions                         */\r
19 /*                                                                                      */\r
20 /*******************************************|********************************************/\r
21 \r
22 #ifndef _EPSON_ESCPAGE_COMP_H_\r
23 #define _EPSON_ESCPAGE_COMP_H_\r
24 #ifdef __cplusplus\r
25 extern "C" {\r
26 #endif\r
27 \r
28 /*------------------------------------  Includes   -------------------------------------*/\r
29 /*******************************************|********************************************/\r
30 #include "epson-escpr-pvt.h"\r
31 \r
32 /*-----------------------------------  Definitions  ------------------------------------*/\r
33 /*******************************************|********************************************/\r
34 /* Define Compress Mode Constant */\r
35 #define EP_COMPRESS0            0               /* not commpress */\r
36 #define EP_COMPRESS20           20\r
37 \r
38 /*---------------------------  Data Structure Declarations   ---------------------------*/\r
39 /*******************************************|********************************************/\r
40 typedef struct tagEPS_BITMAPINFO{\r
41         EPS_INT32       biWidth;\r
42         EPS_INT32       biHeight;\r
43         EPS_UINT16       biBitCount;\r
44 } EPS_BITMAPINFO;\r
45 \r
46 \r
47 /*---------------------------  Public Function Declarations  ---------------------------*/\r
48 /*******************************************|********************************************/\r
49 extern EPS_UINT8*       CompressBitImage(\r
50         EPS_RECT                        *pRec,\r
51         EPS_BITMAPINFO          *pBitMapInfo,\r
52         EPS_UINT8                       *pRealBits,\r
53         EPS_UINT32                      ulDataFormat,\r
54         EPS_UINT32                      *pulCompressType,\r
55         EPS_UINT32                      *pulImageSize\r
56         );\r
57 \r
58 \r
59 #ifdef __cplusplus\r
60 }\r
61 #endif\r
62 \r
63 #endif  /* _EPSON_ESCPAGE_COMP_H_ */\r
64 \r
65 /*________________________________  epson-escpage-cmp.h   ______________________________*/\r
66 \r
67 /*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/\r
68 /*       1         2         3         4         5         6         7         8        */\r
69 /*******************************************|********************************************/\r
70 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/\r
71 /***** End of File *** End of File *** End of File *** End of File *** End of File ******/\r
72 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/\r