OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 |
| 7 #ifndef CORE_FXCODEC_CODEC_CCODEC_BASICMODULE_H_ |
| 8 #define CORE_FXCODEC_CODEC_CCODEC_BASICMODULE_H_ |
| 9 |
| 10 #include "core/fxcrt/include/fx_system.h" |
| 11 |
| 12 class CCodec_ScanlineDecoder; |
| 13 |
| 14 class CCodec_BasicModule { |
| 15 public: |
| 16 FX_BOOL RunLengthEncode(const uint8_t* src_buf, |
| 17 uint32_t src_size, |
| 18 uint8_t*& dest_buf, |
| 19 uint32_t& dest_size); |
| 20 FX_BOOL A85Encode(const uint8_t* src_buf, |
| 21 uint32_t src_size, |
| 22 uint8_t*& dest_buf, |
| 23 uint32_t& dest_size); |
| 24 CCodec_ScanlineDecoder* CreateRunLengthDecoder(const uint8_t* src_buf, |
| 25 uint32_t src_size, |
| 26 int width, |
| 27 int height, |
| 28 int nComps, |
| 29 int bpc); |
| 30 }; |
| 31 |
| 32 #endif // CORE_FXCODEC_CODEC_CCODEC_BASICMODULE_H_ |
OLD | NEW |