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

Side by Side Diff: third_party/libwebp/utils/quant_levels_utils.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
OLDNEW
1 // Copyright 2011 Google Inc. All Rights Reserved. 1 // Copyright 2011 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 // Alpha plane quantization utility 10 // Alpha plane quantization utility
(...skipping 16 matching lines...) Expand all
27 // Valid range for 'num_levels' is [2, 256]. 27 // Valid range for 'num_levels' is [2, 256].
28 // Returns false in case of error (data is NULL, or parameters are invalid). 28 // Returns false in case of error (data is NULL, or parameters are invalid).
29 int QuantizeLevels(uint8_t* const data, int width, int height, int num_levels, 29 int QuantizeLevels(uint8_t* const data, int width, int height, int num_levels,
30 uint64_t* const sse); 30 uint64_t* const sse);
31 31
32 #ifdef __cplusplus 32 #ifdef __cplusplus
33 } // extern "C" 33 } // extern "C"
34 #endif 34 #endif
35 35
36 #endif /* WEBP_UTILS_QUANT_LEVELS_H_ */ 36 #endif /* WEBP_UTILS_QUANT_LEVELS_H_ */
OLDNEW
« no previous file with comments | « third_party/libwebp/utils/quant_levels_dec_utils.c ('k') | third_party/libwebp/utils/quant_levels_utils.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698