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 _BC_GLOBALHISTOGRAMBINARIZER_H_ | 7 #ifndef _BC_GLOBALHISTOGRAMBINARIZER_H_ |
8 #define _BC_GLOBALHISTOGRAMBINARIZER_H_ | 8 #define _BC_GLOBALHISTOGRAMBINARIZER_H_ |
9 class CBC_CommonBinarizer; | 9 class CBC_CommonBinarizer; |
10 class CBC_CommonBitArray; | 10 class CBC_CommonBitArray; |
(...skipping 10 matching lines...) Expand all Loading... |
21 CBC_CommonBitArray* GetBlackRow(int32_t y, | 21 CBC_CommonBitArray* GetBlackRow(int32_t y, |
22 CBC_CommonBitArray* row, | 22 CBC_CommonBitArray* row, |
23 int32_t& e); | 23 int32_t& e); |
24 static int32_t EstimateBlackPoint(CFX_Int32Array& buckets, int32_t& e); | 24 static int32_t EstimateBlackPoint(CFX_Int32Array& buckets, int32_t& e); |
25 | 25 |
26 private: | 26 private: |
27 CFX_ByteArray m_luminance; | 27 CFX_ByteArray m_luminance; |
28 CFX_Int32Array m_buckets; | 28 CFX_Int32Array m_buckets; |
29 }; | 29 }; |
30 #endif | 30 #endif |
OLD | NEW |