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

Side by Side Diff: xfa/src/fdp/include/fde_img.h

Issue 1722803002: Sort includes in xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review cleanups Created 4 years, 10 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 | « xfa/src/fdp/include/fde_css.h ('k') | xfa/src/fdp/include/fde_psr.h » ('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 XFA_SRC_FDP_INCLUDE_FDE_IMG_H_ 7 #ifndef XFA_SRC_FDP_INCLUDE_FDE_IMG_H_
8 #define XFA_SRC_FDP_INCLUDE_FDE_IMG_H_ 8 #define XFA_SRC_FDP_INCLUDE_FDE_IMG_H_
9 9
10 class IFDE_Image; 10 #include "xfa/src/fgas/include/fx_mem.h"
11 #include "xfa/src/fgas/include/fx_stm.h"
12 #include "xfa/src/fgas/include/fx_utl.h"
13
11 #define FDE_IMAGEFORMAT_Unknown -1 14 #define FDE_IMAGEFORMAT_Unknown -1
12 #define FDE_IMAGEFORMAT_BMP 0 15 #define FDE_IMAGEFORMAT_BMP 0
13 #define FDE_IMAGEFORMAT_GIF 1 16 #define FDE_IMAGEFORMAT_GIF 1
14 #define FDE_IMAGEFORMAT_JPEG 2 17 #define FDE_IMAGEFORMAT_JPEG 2
15 #define FDE_IMAGEFORMAT_PNG 3 18 #define FDE_IMAGEFORMAT_PNG 3
16 #define FDE_IMAGEFORMAT_TIFF 4 19 #define FDE_IMAGEFORMAT_TIFF 4
17 #define FDE_IMAGEFORMAT_JPEG2000 5 20 #define FDE_IMAGEFORMAT_JPEG2000 5
18 #define FDE_IMAGEFORMAT_JBig2 6 21 #define FDE_IMAGEFORMAT_JBig2 6
22
19 class IFDE_Image { 23 class IFDE_Image {
20 public: 24 public:
21 static IFDE_Image* Create(IFX_Stream* pStream, 25 static IFDE_Image* Create(IFX_Stream* pStream,
22 int32_t iFormat = FDE_IMAGEFORMAT_Unknown); 26 int32_t iFormat = FDE_IMAGEFORMAT_Unknown);
23 virtual ~IFDE_Image() {} 27 virtual ~IFDE_Image() {}
24 virtual void Release() = 0; 28 virtual void Release() = 0;
25 virtual FX_BOOL LoadImage() = 0; 29 virtual FX_BOOL LoadImage() = 0;
26 virtual void FreeImage() = 0; 30 virtual void FreeImage() = 0;
27 virtual int32_t CountFrames() const = 0; 31 virtual int32_t CountFrames() const = 0;
28 virtual FX_BOOL LoadFrame(int32_t index) = 0; 32 virtual FX_BOOL LoadFrame(int32_t index) = 0;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 typedef struct _FDE_BRIGHTNESSPARAMS : public FDE_IMAGEFILTERPARAMS { 82 typedef struct _FDE_BRIGHTNESSPARAMS : public FDE_IMAGEFILTERPARAMS {
79 int32_t iBrightness; 83 int32_t iBrightness;
80 } FDE_BRIGHTNESSPARAMS, *FDE_LPBRIGHTNESSPARAMS; 84 } FDE_BRIGHTNESSPARAMS, *FDE_LPBRIGHTNESSPARAMS;
81 typedef FDE_BRIGHTNESSPARAMS const* FDE_LPCBRIGHTNESSPARAMS; 85 typedef FDE_BRIGHTNESSPARAMS const* FDE_LPCBRIGHTNESSPARAMS;
82 typedef struct _FDE_CONTRASTPARAMS : public FDE_IMAGEFILTERPARAMS { 86 typedef struct _FDE_CONTRASTPARAMS : public FDE_IMAGEFILTERPARAMS {
83 int32_t iContrast; 87 int32_t iContrast;
84 } FDE_CONTRASTPARAMS, *FDE_LPCONTRASTPARAMS; 88 } FDE_CONTRASTPARAMS, *FDE_LPCONTRASTPARAMS;
85 typedef FDE_CONTRASTPARAMS const* FDE_LPCCONTRASTPARAMS; 89 typedef FDE_CONTRASTPARAMS const* FDE_LPCCONTRASTPARAMS;
86 90
87 #endif // XFA_SRC_FDP_INCLUDE_FDE_IMG_H_ 91 #endif // XFA_SRC_FDP_INCLUDE_FDE_IMG_H_
OLDNEW
« no previous file with comments | « xfa/src/fdp/include/fde_css.h ('k') | xfa/src/fdp/include/fde_psr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698