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

Side by Side Diff: core/include/fxcodec/fx_codec.h

Issue 1821043003: Remove FX_WORD in favor of uint16_t. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Use stdint.h directly, bitfield minefield. Created 4 years, 9 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/include/fpdfdoc/fpdf_vt.h ('k') | core/include/fxcrt/fx_basic.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 CORE_INCLUDE_FXCODEC_FX_CODEC_H_ 7 #ifndef CORE_INCLUDE_FXCODEC_FX_CODEC_H_
8 #define CORE_INCLUDE_FXCODEC_FX_CODEC_H_ 8 #define CORE_INCLUDE_FXCODEC_FX_CODEC_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 28 matching lines...) Expand all
39 39
40 #ifdef PDF_ENABLE_XFA 40 #ifdef PDF_ENABLE_XFA
41 class CFX_DIBAttribute { 41 class CFX_DIBAttribute {
42 public: 42 public:
43 CFX_DIBAttribute(); 43 CFX_DIBAttribute();
44 ~CFX_DIBAttribute(); 44 ~CFX_DIBAttribute();
45 45
46 int32_t m_nXDPI; 46 int32_t m_nXDPI;
47 int32_t m_nYDPI; 47 int32_t m_nYDPI;
48 FX_FLOAT m_fAspectRatio; 48 FX_FLOAT m_fAspectRatio;
49 FX_WORD m_wDPIUnit; 49 uint16_t m_wDPIUnit;
50 CFX_ByteString m_strAuthor; 50 CFX_ByteString m_strAuthor;
51 uint8_t m_strTime[20]; 51 uint8_t m_strTime[20];
52 int32_t m_nGifLeft; 52 int32_t m_nGifLeft;
53 int32_t m_nGifTop; 53 int32_t m_nGifTop;
54 FX_DWORD* m_pGifLocalPalette; 54 FX_DWORD* m_pGifLocalPalette;
55 FX_DWORD m_nGifLocalPalNum; 55 FX_DWORD m_nGifLocalPalNum;
56 int32_t m_nBmpCompressType; 56 int32_t m_nBmpCompressType;
57 std::map<FX_DWORD, void*> m_Exif; 57 std::map<FX_DWORD, void*> m_Exif;
58 }; 58 };
59 #endif // PDF_ENABLE_XFA 59 #endif // PDF_ENABLE_XFA
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 FX_BOOL MD5ComputeID(const void* buf, FX_DWORD dwSize, uint8_t ID[16]); 549 FX_BOOL MD5ComputeID(const void* buf, FX_DWORD dwSize, uint8_t ID[16]);
550 void FaxG4Decode(const uint8_t* src_buf, 550 void FaxG4Decode(const uint8_t* src_buf,
551 FX_DWORD src_size, 551 FX_DWORD src_size,
552 int* pbitpos, 552 int* pbitpos,
553 uint8_t* dest_buf, 553 uint8_t* dest_buf,
554 int width, 554 int width,
555 int height, 555 int height,
556 int pitch); 556 int pitch);
557 557
558 #endif // CORE_INCLUDE_FXCODEC_FX_CODEC_H_ 558 #endif // CORE_INCLUDE_FXCODEC_FX_CODEC_H_
OLDNEW
« no previous file with comments | « core/include/fpdfdoc/fpdf_vt.h ('k') | core/include/fxcrt/fx_basic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698