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

Side by Side Diff: core/include/fxcodec/fx_codec.h

Issue 1367633005: Cleanup some fx_codec_fax.cpp code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 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
« no previous file with comments | « no previous file | core/src/fxcodec/codec/fx_codec_fax.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_INCLUDE_FXCODEC_FX_CODEC_H_ 7 #ifndef CORE_INCLUDE_FXCODEC_FX_CODEC_H_
8 #define CORE_INCLUDE_FXCODEC_FX_CODEC_H_ 8 #define CORE_INCLUDE_FXCODEC_FX_CODEC_H_
9 9
10 #include "../../../third_party/base/nonstd_unique_ptr.h" 10 #include "../../../third_party/base/nonstd_unique_ptr.h"
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 FX_FLOAT& B); 324 FX_FLOAT& B);
325 void AdobeCMYK_to_sRGB1(uint8_t c, 325 void AdobeCMYK_to_sRGB1(uint8_t c,
326 uint8_t m, 326 uint8_t m,
327 uint8_t y, 327 uint8_t y,
328 uint8_t k, 328 uint8_t k,
329 uint8_t& R, 329 uint8_t& R,
330 uint8_t& G, 330 uint8_t& G,
331 uint8_t& B); 331 uint8_t& B);
332 FX_BOOL MD5ComputeID(const void* buf, FX_DWORD dwSize, uint8_t ID[16]); 332 FX_BOOL MD5ComputeID(const void* buf, FX_DWORD dwSize, uint8_t ID[16]);
333 333
334 void FaxG4Decode(const uint8_t* src_buf,
335 FX_DWORD src_size,
336 int* pbitpos,
337 uint8_t* dest_buf,
338 int width,
339 int height,
340 int pitch);
341
334 #endif // CORE_INCLUDE_FXCODEC_FX_CODEC_H_ 342 #endif // CORE_INCLUDE_FXCODEC_FX_CODEC_H_
OLDNEW
« no previous file with comments | « no previous file | core/src/fxcodec/codec/fx_codec_fax.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698