summaryrefslogtreecommitdiff
path: root/lib/epson-escpage-comp.h
diff options
context:
space:
mode:
authorJinkun Jang <jinkun.jang@samsung.com>2013-03-13 01:42:00 +0900
committerJinkun Jang <jinkun.jang@samsung.com>2013-03-13 01:42:00 +0900
commite5089a282e42fa14bd97f5ac207b7a785ea1ad6b (patch)
treec32ad99e056611427c0fa239cefd21a4e0d67c3c /lib/epson-escpage-comp.h
parent90cac29ff492bc0577a40728868993726d61ac7f (diff)
downloadepson-laser-printer-escpage-e5089a282e42fa14bd97f5ac207b7a785ea1ad6b.tar.gz
epson-laser-printer-escpage-e5089a282e42fa14bd97f5ac207b7a785ea1ad6b.tar.bz2
epson-laser-printer-escpage-e5089a282e42fa14bd97f5ac207b7a785ea1ad6b.zip
Tizen 2.1 base
Diffstat (limited to 'lib/epson-escpage-comp.h')
-rwxr-xr-xlib/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 100755
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 ******/
+/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/