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

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

Issue 1328643002: Remove dead JBig2 code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: 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
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_HuffmanTable.h ('k') | core/src/fxcodec/jbig2/JBig2_Image.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "JBig2_Define.h" 9 #include "JBig2_Define.h"
10 #include "JBig2_Module.h" 10 #include "JBig2_Module.h"
(...skipping 26 matching lines...) Expand all
37 FX_BOOL composeTo(CJBig2_Image* pDst, 37 FX_BOOL composeTo(CJBig2_Image* pDst,
38 int32_t x, 38 int32_t x,
39 int32_t y, 39 int32_t y,
40 JBig2ComposeOp op); 40 JBig2ComposeOp op);
41 FX_BOOL composeTo(CJBig2_Image* pDst, 41 FX_BOOL composeTo(CJBig2_Image* pDst,
42 int32_t x, 42 int32_t x,
43 int32_t y, 43 int32_t y,
44 JBig2ComposeOp op, 44 JBig2ComposeOp op,
45 const FX_RECT* pSrcRect); 45 const FX_RECT* pSrcRect);
46 46
47 FX_BOOL composeTo_unopt(CJBig2_Image* pDst,
48 int32_t x,
49 int32_t y,
50 JBig2ComposeOp op);
51
52 FX_BOOL composeTo_opt(CJBig2_Image* pDst,
53 int32_t x,
54 int32_t y,
55 JBig2ComposeOp op);
56
57 FX_BOOL composeTo_opt2(CJBig2_Image* pDst, 47 FX_BOOL composeTo_opt2(CJBig2_Image* pDst,
58 int32_t x, 48 int32_t x,
59 int32_t y, 49 int32_t y,
60 JBig2ComposeOp op); 50 JBig2ComposeOp op);
61 FX_BOOL composeTo_opt2(CJBig2_Image* pDst, 51 FX_BOOL composeTo_opt2(CJBig2_Image* pDst,
62 int32_t x, 52 int32_t x,
63 int32_t y, 53 int32_t y,
64 JBig2ComposeOp op, 54 JBig2ComposeOp op,
65 const FX_RECT* pSrcRect); 55 const FX_RECT* pSrcRect);
66 56
67 FX_BOOL composeFrom(int32_t x, 57 FX_BOOL composeFrom(int32_t x,
68 int32_t y, 58 int32_t y,
69 CJBig2_Image* pSrc, 59 CJBig2_Image* pSrc,
70 JBig2ComposeOp op); 60 JBig2ComposeOp op);
71 FX_BOOL composeFrom(int32_t x, 61 FX_BOOL composeFrom(int32_t x,
72 int32_t y, 62 int32_t y,
73 CJBig2_Image* pSrc, 63 CJBig2_Image* pSrc,
74 JBig2ComposeOp op, 64 JBig2ComposeOp op,
75 const FX_RECT* pSrcRect); 65 const FX_RECT* pSrcRect);
76 CJBig2_Image* subImage_unopt(int32_t x, int32_t y, int32_t w, int32_t h);
77 66
78 CJBig2_Image* subImage(int32_t x, int32_t y, int32_t w, int32_t h); 67 CJBig2_Image* subImage(int32_t x, int32_t y, int32_t w, int32_t h);
79 68
80 void expand(int32_t h, FX_BOOL v); 69 void expand(int32_t h, FX_BOOL v);
81 70
82 public: 71 public:
83 int32_t m_nWidth; 72 int32_t m_nWidth;
84 73
85 int32_t m_nHeight; 74 int32_t m_nHeight;
86 75
87 int32_t m_nStride; 76 int32_t m_nStride;
88 77
89 uint8_t* m_pData; 78 uint8_t* m_pData;
90 79
91 FX_BOOL m_bNeedFree; 80 FX_BOOL m_bNeedFree;
92 }; 81 };
93 #endif 82 #endif
OLDNEW
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_HuffmanTable.h ('k') | core/src/fxcodec/jbig2/JBig2_Image.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698