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_FXCODEC_FX_CODEC_H_ | 7 #ifndef CORE_FXCODEC_FX_CODEC_H_ |
8 #define CORE_FXCODEC_FX_CODEC_H_ | 8 #define CORE_FXCODEC_FX_CODEC_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 FX_FLOAT& R, | 110 FX_FLOAT& R, |
111 FX_FLOAT& G, | 111 FX_FLOAT& G, |
112 FX_FLOAT& B); | 112 FX_FLOAT& B); |
113 void AdobeCMYK_to_sRGB1(uint8_t c, | 113 void AdobeCMYK_to_sRGB1(uint8_t c, |
114 uint8_t m, | 114 uint8_t m, |
115 uint8_t y, | 115 uint8_t y, |
116 uint8_t k, | 116 uint8_t k, |
117 uint8_t& R, | 117 uint8_t& R, |
118 uint8_t& G, | 118 uint8_t& G, |
119 uint8_t& B); | 119 uint8_t& B); |
120 FX_BOOL MD5ComputeID(const void* buf, uint32_t dwSize, uint8_t ID[16]); | 120 bool MD5ComputeID(const void* buf, uint32_t dwSize, uint8_t ID[16]); |
121 void FaxG4Decode(const uint8_t* src_buf, | 121 void FaxG4Decode(const uint8_t* src_buf, |
122 uint32_t src_size, | 122 uint32_t src_size, |
123 int* pbitpos, | 123 int* pbitpos, |
124 uint8_t* dest_buf, | 124 uint8_t* dest_buf, |
125 int width, | 125 int width, |
126 int height, | 126 int height, |
127 int pitch); | 127 int pitch); |
128 | 128 |
129 #endif // CORE_FXCODEC_FX_CODEC_H_ | 129 #endif // CORE_FXCODEC_FX_CODEC_H_ |
OLD | NEW |