| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_CCODEC_GIFMODULE_H_ | 7 #ifndef CORE_FXCODEC_CODEC_CCODEC_GIFMODULE_H_ |
| 8 #define CORE_FXCODEC_CODEC_CCODEC_GIFMODULE_H_ | 8 #define CORE_FXCODEC_CODEC_CCODEC_GIFMODULE_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/include/fx_system.h" | 10 #include "core/fxcrt/fx_system.h" |
| 11 | 11 |
| 12 struct FXGIF_Context; | 12 struct FXGIF_Context; |
| 13 | 13 |
| 14 class CCodec_GifModule { | 14 class CCodec_GifModule { |
| 15 public: | 15 public: |
| 16 CCodec_GifModule() { FXSYS_memset(m_szLastError, 0, sizeof(m_szLastError)); } | 16 CCodec_GifModule() { FXSYS_memset(m_szLastError, 0, sizeof(m_szLastError)); } |
| 17 | 17 |
| 18 FXGIF_Context* Start(void* pModule); | 18 FXGIF_Context* Start(void* pModule); |
| 19 void Finish(FXGIF_Context* pContext); | 19 void Finish(FXGIF_Context* pContext); |
| 20 | 20 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 FX_BOOL interlace); | 54 FX_BOOL interlace); |
| 55 void (*ReadScanlineCallback)(void* pModule, | 55 void (*ReadScanlineCallback)(void* pModule, |
| 56 int32_t row_num, | 56 int32_t row_num, |
| 57 uint8_t* row_buf); | 57 uint8_t* row_buf); |
| 58 | 58 |
| 59 protected: | 59 protected: |
| 60 FX_CHAR m_szLastError[256]; | 60 FX_CHAR m_szLastError[256]; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 #endif // CORE_FXCODEC_CODEC_CCODEC_GIFMODULE_H_ | 63 #endif // CORE_FXCODEC_CODEC_CCODEC_GIFMODULE_H_ |
| OLD | NEW |