OLD | NEW |
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 _FX_CODEC_PROGRESS_H_ | 7 #ifndef CORE_SRC_FXCODEC_CODEC_FX_CODEC_PROGRESS_H_ |
8 #define _FX_CODEC_PROGRESS_H_ | 8 #define CORE_SRC_FXCODEC_CODEC_FX_CODEC_PROGRESS_H_ |
| 9 |
9 #define FXCODEC_BLOCK_SIZE 4096 | 10 #define FXCODEC_BLOCK_SIZE 4096 |
10 #define FXCODEC_PNG_GAMMA 2.2 | 11 #define FXCODEC_PNG_GAMMA 2.2 |
11 #if _FX_OS_ == _FX_MACOSX_ || _FX_OS_ == _FX_IOS_ | 12 #if _FX_OS_ == _FX_MACOSX_ || _FX_OS_ == _FX_IOS_ |
12 #undef FXCODEC_PNG_GAMMA | 13 #undef FXCODEC_PNG_GAMMA |
13 #define FXCODEC_PNG_GAMMA 1.7 | 14 #define FXCODEC_PNG_GAMMA 1.7 |
14 #endif | 15 #endif |
15 struct PixelWeight { | 16 struct PixelWeight { |
16 int m_SrcStart; | 17 int m_SrcStart; |
17 int m_SrcEnd; | 18 int m_SrcEnd; |
18 int m_Weights[1]; | 19 int m_Weights[1]; |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 int m_FrameNumber; | 214 int m_FrameNumber; |
214 int m_FrameCur; | 215 int m_FrameCur; |
215 int m_GifBgIndex; | 216 int m_GifBgIndex; |
216 uint8_t* m_pGifPalette; | 217 uint8_t* m_pGifPalette; |
217 int32_t m_GifPltNumber; | 218 int32_t m_GifPltNumber; |
218 int m_GifTransIndex; | 219 int m_GifTransIndex; |
219 FX_RECT m_GifFrameRect; | 220 FX_RECT m_GifFrameRect; |
220 FX_BOOL m_BmpIsTopBottom; | 221 FX_BOOL m_BmpIsTopBottom; |
221 FXCODEC_STATUS m_status; | 222 FXCODEC_STATUS m_status; |
222 }; | 223 }; |
223 #endif | 224 |
| 225 #endif // CORE_SRC_FXCODEC_CODEC_FX_CODEC_PROGRESS_H_ |
OLD | NEW |