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

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

Issue 1419473006: XFA: bring fx_codec_fax in-line with master (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 1 month 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 <map> 10 #include <map>
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 CFX_ByteString m_strAuthor; 516 CFX_ByteString m_strAuthor;
517 uint8_t m_strTime[20]; 517 uint8_t m_strTime[20];
518 int32_t m_nGifLeft; 518 int32_t m_nGifLeft;
519 int32_t m_nGifTop; 519 int32_t m_nGifTop;
520 FX_DWORD* m_pGifLocalPalette; 520 FX_DWORD* m_pGifLocalPalette;
521 FX_DWORD m_nGifLocalPalNum; 521 FX_DWORD m_nGifLocalPalNum;
522 int32_t m_nBmpCompressType; 522 int32_t m_nBmpCompressType;
523 std::map<FX_DWORD, void*> m_Exif; 523 std::map<FX_DWORD, void*> m_Exif;
524 }; 524 };
525 525
526 FX_BOOL FaxSkipEOL(const uint8_t* src_buf, int bitsize, int& bitpos);
527 FX_BOOL FaxGet1DLine(const uint8_t* src_buf,
528 int bitsize,
529 int& bitpos,
530 uint8_t* dest_buf,
531 int columns);
532 FX_BOOL FaxG4GetRow(const uint8_t* src_buf,
533 int bitsize,
534 int& bitpos,
535 uint8_t* dest_buf,
536 const uint8_t* ref_buf,
537 int columns);
538 void FaxG4Decode(const uint8_t* src_buf, 526 void FaxG4Decode(const uint8_t* src_buf,
539 FX_DWORD src_size, 527 FX_DWORD src_size,
540 int* pbitpos, 528 int* pbitpos,
541 uint8_t* dest_buf, 529 uint8_t* dest_buf,
542 int width, 530 int width,
543 int height, 531 int height,
544 int pitch); 532 int pitch);
545 533
546 #endif // CORE_INCLUDE_FXCODEC_FX_CODEC_H_ 534 #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