| OLD | NEW |
| 1 // Copyright 2011 Google Inc. All Rights Reserved. | 1 // Copyright 2011 Google Inc. All Rights Reserved. |
| 2 // | 2 // |
| 3 // This code is licensed under the same terms as WebM: | 3 // Use of this source code is governed by a BSD-style license |
| 4 // Software License Agreement: http://www.webmproject.org/license/software/ | 4 // that can be found in the COPYING file in the root of the source |
| 5 // Additional IP Rights Grant: http://www.webmproject.org/license/additional/ | 5 // tree. An additional intellectual property rights grant can be found |
| 6 // in the file PATENTS. All contributing project authors may |
| 7 // be found in the AUTHORS file in the root of the source tree. |
| 6 // ----------------------------------------------------------------------------- | 8 // ----------------------------------------------------------------------------- |
| 7 // | 9 // |
| 8 // Author: Jyrki Alakuijala (jyrki@google.com) | 10 // Author: Jyrki Alakuijala (jyrki@google.com) |
| 9 // | 11 // |
| 10 // Entropy encoding (Huffman) for webp lossless | 12 // Entropy encoding (Huffman) for webp lossless |
| 11 | 13 |
| 12 #ifndef WEBP_UTILS_HUFFMAN_ENCODE_H_ | 14 #ifndef WEBP_UTILS_HUFFMAN_ENCODE_H_ |
| 13 #define WEBP_UTILS_HUFFMAN_ENCODE_H_ | 15 #define WEBP_UTILS_HUFFMAN_ENCODE_H_ |
| 14 | 16 |
| 15 #include "../webp/types.h" | 17 #include "../webp/types.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 38 | 40 |
| 39 // Create an optimized tree, and tokenize it. | 41 // Create an optimized tree, and tokenize it. |
| 40 int VP8LCreateHuffmanTree(int* const histogram, int tree_depth_limit, | 42 int VP8LCreateHuffmanTree(int* const histogram, int tree_depth_limit, |
| 41 HuffmanTreeCode* const tree); | 43 HuffmanTreeCode* const tree); |
| 42 | 44 |
| 43 #if defined(__cplusplus) || defined(c_plusplus) | 45 #if defined(__cplusplus) || defined(c_plusplus) |
| 44 } | 46 } |
| 45 #endif | 47 #endif |
| 46 | 48 |
| 47 #endif // WEBP_UTILS_HUFFMAN_ENCODE_H_ | 49 #endif // WEBP_UTILS_HUFFMAN_ENCODE_H_ |
| OLD | NEW |