| 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 CORE_FXCODEC_CODEC_FX_CODEC_PROGRESS_H_ | 7 #ifndef CORE_FXCODEC_CODEC_FX_CODEC_PROGRESS_H_ |
| 8 #define CORE_FXCODEC_CODEC_FX_CODEC_PROGRESS_H_ | 8 #define CORE_FXCODEC_CODEC_FX_CODEC_PROGRESS_H_ |
| 9 | 9 |
| 10 #include "core/fxcodec/include/fx_codec.h" |
| 10 #include "core/fxcrt/include/fx_memory.h" | 11 #include "core/fxcrt/include/fx_memory.h" |
| 11 #include "core/fxcrt/include/fx_system.h" | 12 #include "core/fxcrt/include/fx_system.h" |
| 12 #include "core/fxge/include/fx_dib.h" | 13 #include "core/fxge/include/fx_dib.h" |
| 13 #include "core/include/fxcodec/fx_codec.h" | |
| 14 | 14 |
| 15 #define FXCODEC_BLOCK_SIZE 4096 | 15 #define FXCODEC_BLOCK_SIZE 4096 |
| 16 #define FXCODEC_PNG_GAMMA 2.2 | 16 #define FXCODEC_PNG_GAMMA 2.2 |
| 17 | 17 |
| 18 #if _FX_OS_ == _FX_MACOSX_ || _FX_OS_ == _FX_IOS_ | 18 #if _FX_OS_ == _FX_MACOSX_ || _FX_OS_ == _FX_IOS_ |
| 19 #undef FXCODEC_PNG_GAMMA | 19 #undef FXCODEC_PNG_GAMMA |
| 20 #define FXCODEC_PNG_GAMMA 1.7 | 20 #define FXCODEC_PNG_GAMMA 1.7 |
| 21 #endif | 21 #endif |
| 22 | 22 |
| 23 struct PixelWeight { | 23 struct PixelWeight { |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 int m_GifBgIndex; | 212 int m_GifBgIndex; |
| 213 uint8_t* m_pGifPalette; | 213 uint8_t* m_pGifPalette; |
| 214 int32_t m_GifPltNumber; | 214 int32_t m_GifPltNumber; |
| 215 int m_GifTransIndex; | 215 int m_GifTransIndex; |
| 216 FX_RECT m_GifFrameRect; | 216 FX_RECT m_GifFrameRect; |
| 217 FX_BOOL m_BmpIsTopBottom; | 217 FX_BOOL m_BmpIsTopBottom; |
| 218 FXCODEC_STATUS m_status; | 218 FXCODEC_STATUS m_status; |
| 219 }; | 219 }; |
| 220 | 220 |
| 221 #endif // CORE_FXCODEC_CODEC_FX_CODEC_PROGRESS_H_ | 221 #endif // CORE_FXCODEC_CODEC_FX_CODEC_PROGRESS_H_ |
| OLD | NEW |