summaryrefslogtreecommitdiff
path: root/lib/epson-escpage-comp.h
diff options
context:
space:
mode:
authorTaeksu Shin <taeksu.shin@samsung.com>2012-08-21 18:39:39 +0900
committerTaeksu Shin <taeksu.shin@samsung.com>2012-08-21 18:39:39 +0900
commit2742d6ca5da37180225fab6ef8bf55467956d25c (patch)
treec850c3679b282551927505d3162e6c60118d0609 /lib/epson-escpage-comp.h
parentb5dc236b1575fe5846d01881893b3aaef43ecbcc (diff)
downloadepson-inkjet-printer-escpr-2742d6ca5da37180225fab6ef8bf55467956d25c.tar.gz
epson-inkjet-printer-escpr-2742d6ca5da37180225fab6ef8bf55467956d25c.tar.bz2
epson-inkjet-printer-escpr-2742d6ca5da37180225fab6ef8bf55467956d25c.zip
Diffstat (limited to 'lib/epson-escpage-comp.h')
-rw-r--r--lib/epson-escpage-comp.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/lib/epson-escpage-comp.h b/lib/epson-escpage-comp.h
new file mode 100644
index 0000000..9036210
--- /dev/null
+++ b/lib/epson-escpage-comp.h
@@ -0,0 +1,72 @@
+/*________________________________ epson-escpage-cmp.h ______________________________*/
+
+/* 1 2 3 4 5 6 7 8 */
+/*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/
+/*******************************************|********************************************/
+/*
+ * Copyright (c) 2010 Seiko Epson Corporation All rights reserved.
+ *
+ * Copyright protection claimed includes all forms and matters of
+ * copyrightable material and information now allowed by statutory or judicial
+ * law or hereinafter granted, including without limitation, material generated
+ * from the software programs which are displayed on the screen such as icons,
+ * screen display looks, etc.
+ *
+ */
+/*******************************************|********************************************/
+/* */
+/* Epson ESC/Page Compless Functions */
+/* */
+/*******************************************|********************************************/
+
+#ifndef _EPSON_ESCPAGE_COMP_H_
+#define _EPSON_ESCPAGE_COMP_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*------------------------------------ Includes -------------------------------------*/
+/*******************************************|********************************************/
+#include "epson-escpr-pvt.h"
+
+/*----------------------------------- Definitions ------------------------------------*/
+/*******************************************|********************************************/
+/* Define Compress Mode Constant */
+#define EP_COMPRESS0 0 /* not commpress */
+#define EP_COMPRESS20 20
+
+/*--------------------------- Data Structure Declarations ---------------------------*/
+/*******************************************|********************************************/
+typedef struct tagEPS_BITMAPINFO{
+ EPS_INT32 biWidth;
+ EPS_INT32 biHeight;
+ EPS_UINT16 biBitCount;
+} EPS_BITMAPINFO;
+
+
+/*--------------------------- Public Function Declarations ---------------------------*/
+/*******************************************|********************************************/
+extern EPS_UINT8* CompressBitImage(
+ EPS_RECT *pRec,
+ EPS_BITMAPINFO *pBitMapInfo,
+ EPS_UINT8 *pRealBits,
+ EPS_UINT32 ulDataFormat,
+ EPS_UINT32 *pulCompressType,
+ EPS_UINT32 *pulImageSize
+ );
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _EPSON_ESCPAGE_COMP_H_ */
+
+/*________________________________ epson-escpage-cmp.h ______________________________*/
+
+/*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/
+/* 1 2 3 4 5 6 7 8 */
+/*******************************************|********************************************/
+/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
+/***** End of File *** End of File *** End of File *** End of File *** End of File ******/
+/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/