OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |