Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Side by Side Diff: core/src/fxcodec/jbig2/JBig2_Image.h

Issue 1326953006: Remove CJBig2_Object, CJBig2_Module, and friends. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef _JBIG2_IMAGE_H_ 7 #ifndef _JBIG2_IMAGE_H_
8 #define _JBIG2_IMAGE_H_ 8 #define _JBIG2_IMAGE_H_
9
9 #include "JBig2_Define.h" 10 #include "JBig2_Define.h"
10 #include "JBig2_Module.h" 11
11 typedef enum { 12 enum JBig2ComposeOp {
12 JBIG2_COMPOSE_OR = 0, 13 JBIG2_COMPOSE_OR = 0,
13 JBIG2_COMPOSE_AND = 1, 14 JBIG2_COMPOSE_AND = 1,
14 JBIG2_COMPOSE_XOR = 2, 15 JBIG2_COMPOSE_XOR = 2,
15 JBIG2_COMPOSE_XNOR = 3, 16 JBIG2_COMPOSE_XNOR = 3,
16 JBIG2_COMPOSE_REPLACE = 4 17 JBIG2_COMPOSE_REPLACE = 4
17 } JBig2ComposeOp; 18 };
19
18 struct FX_RECT; 20 struct FX_RECT;
19 class CJBig2_Image : public CJBig2_Object { 21 class CJBig2_Image {
20 public: 22 public:
21 CJBig2_Image(int32_t w, int32_t h); 23 CJBig2_Image(int32_t w, int32_t h);
22 24
23 CJBig2_Image(int32_t w, int32_t h, int32_t stride, uint8_t* pBuf); 25 CJBig2_Image(int32_t w, int32_t h, int32_t stride, uint8_t* pBuf);
24 26
25 CJBig2_Image(CJBig2_Image& im); 27 CJBig2_Image(CJBig2_Image& im);
26 28
27 ~CJBig2_Image(); 29 ~CJBig2_Image();
28 30
29 FX_BOOL getPixel(int32_t x, int32_t y); 31 FX_BOOL getPixel(int32_t x, int32_t y);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 75
74 int32_t m_nHeight; 76 int32_t m_nHeight;
75 77
76 int32_t m_nStride; 78 int32_t m_nStride;
77 79
78 uint8_t* m_pData; 80 uint8_t* m_pData;
79 81
80 FX_BOOL m_bNeedFree; 82 FX_BOOL m_bNeedFree;
81 }; 83 };
82 #endif 84 #endif
OLDNEW
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h ('k') | core/src/fxcodec/jbig2/JBig2_Image.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698