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

Side by Side Diff: third_party/libwebp/enc/histogram_enc.h

Issue 2651883004: libwebp-0.6.0-rc1 (Closed)
Patch Set: Created 3 years, 11 months 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 | « third_party/libwebp/enc/histogram.c ('k') | third_party/libwebp/enc/histogram_enc.c » ('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 2012 Google Inc. All Rights Reserved. 1 // Copyright 2012 Google Inc. All Rights Reserved.
2 // 2 //
3 // Use of this source code is governed by a BSD-style license 3 // Use of this source code is governed by a BSD-style license
4 // that can be found in the COPYING file in the root of the source 4 // that can be found in the COPYING file in the root of the source
5 // tree. An additional intellectual property rights grant can be found 5 // tree. An additional intellectual property rights grant can be found
6 // in the file PATENTS. All contributing project authors may 6 // in the file PATENTS. All contributing project authors may
7 // be found in the AUTHORS file in the root of the source tree. 7 // be found in the AUTHORS file in the root of the source tree.
8 // ----------------------------------------------------------------------------- 8 // -----------------------------------------------------------------------------
9 // 9 //
10 // Author: Jyrki Alakuijala (jyrki@google.com) 10 // Author: Jyrki Alakuijala (jyrki@google.com)
11 // 11 //
12 // Models the histograms of literal and distance codes. 12 // Models the histograms of literal and distance codes.
13 13
14 #ifndef WEBP_ENC_HISTOGRAM_H_ 14 #ifndef WEBP_ENC_HISTOGRAM_H_
15 #define WEBP_ENC_HISTOGRAM_H_ 15 #define WEBP_ENC_HISTOGRAM_H_
16 16
17 #include <string.h> 17 #include <string.h>
18 18
19 #include "./backward_references.h" 19 #include "./backward_references_enc.h"
20 #include "../webp/format_constants.h" 20 #include "../webp/format_constants.h"
21 #include "../webp/types.h" 21 #include "../webp/types.h"
22 22
23 #ifdef __cplusplus 23 #ifdef __cplusplus
24 extern "C" { 24 extern "C" {
25 #endif 25 #endif
26 26
27 // Not a trivial literal symbol. 27 // Not a trivial literal symbol.
28 #define VP8L_NON_TRIVIAL_SYM (0xffffffff) 28 #define VP8L_NON_TRIVIAL_SYM (0xffffffff)
29 29
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 // Estimate how many bits the combined entropy of literals and distance 115 // Estimate how many bits the combined entropy of literals and distance
116 // approximately maps to. 116 // approximately maps to.
117 double VP8LHistogramEstimateBits(const VP8LHistogram* const p); 117 double VP8LHistogramEstimateBits(const VP8LHistogram* const p);
118 118
119 #ifdef __cplusplus 119 #ifdef __cplusplus
120 } 120 }
121 #endif 121 #endif
122 122
123 #endif // WEBP_ENC_HISTOGRAM_H_ 123 #endif // WEBP_ENC_HISTOGRAM_H_
OLDNEW
« no previous file with comments | « third_party/libwebp/enc/histogram.c ('k') | third_party/libwebp/enc/histogram_enc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698