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

Side by Side Diff: core/fxcodec/codec/ccodec_faxmodule.h

Issue 2357173005: Clean up fx_codec_fax.cpp. (Closed)
Patch Set: typo Created 4 years, 2 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
OLDNEW
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_FAXMODULE_H_ 7 #ifndef CORE_FXCODEC_CODEC_CCODEC_FAXMODULE_H_
8 #define CORE_FXCODEC_CODEC_CCODEC_FAXMODULE_H_ 8 #define CORE_FXCODEC_CODEC_CCODEC_FAXMODULE_H_
9 9
10 #include "core/fxcrt/include/fx_system.h" 10 #include "core/fxcrt/include/fx_system.h"
11 11
12 class CCodec_ScanlineDecoder; 12 class CCodec_ScanlineDecoder;
13 13
14 class CCodec_FaxModule { 14 class CCodec_FaxModule {
15 public: 15 public:
16 CCodec_ScanlineDecoder* CreateDecoder(const uint8_t* src_buf, 16 CCodec_ScanlineDecoder* CreateDecoder(const uint8_t* src_buf,
17 uint32_t src_size, 17 uint32_t src_size,
18 int width, 18 int width,
19 int height, 19 int height,
20 int K, 20 int K,
21 FX_BOOL EndOfLine, 21 bool EndOfLine,
22 FX_BOOL EncodedByteAlign, 22 bool EncodedByteAlign,
23 FX_BOOL BlackIs1, 23 bool BlackIs1,
24 int Columns, 24 int Columns,
25 int Rows); 25 int Rows);
26 FX_BOOL Encode(const uint8_t* src_buf,
27 int width,
28 int height,
29 int pitch,
30 uint8_t*& dest_buf,
31 uint32_t& dest_size);
32 }; 26 };
33 27
34 #endif // CORE_FXCODEC_CODEC_CCODEC_FAXMODULE_H_ 28 #endif // CORE_FXCODEC_CODEC_CCODEC_FAXMODULE_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp ('k') | core/fxcodec/codec/ccodec_scanlinedecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698