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

Side by Side Diff: third_party/libwebp/utils/quant_levels_dec.h

Issue 116213006: Update libwebp to 0.4.0 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: After Blink Roll Created 6 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 | Annotate | Revision Log
« no previous file with comments | « third_party/libwebp/utils/quant_levels.c ('k') | third_party/libwebp/utils/quant_levels_dec.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 2013 Google Inc. All Rights Reserved. 1 // Copyright 2013 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 de-quantization utility 10 // Alpha plane de-quantization utility
11 // 11 //
12 // Author: Vikas Arora (vikasa@google.com) 12 // Author: Vikas Arora (vikasa@google.com)
13 13
14 #ifndef WEBP_UTILS_QUANT_LEVELS_DEC_H_ 14 #ifndef WEBP_UTILS_QUANT_LEVELS_DEC_H_
15 #define WEBP_UTILS_QUANT_LEVELS_DEC_H_ 15 #define WEBP_UTILS_QUANT_LEVELS_DEC_H_
16 16
17 #include "../webp/types.h" 17 #include "../webp/types.h"
18 18
19 #if defined(__cplusplus) || defined(c_plusplus) 19 #ifdef __cplusplus
20 extern "C" { 20 extern "C" {
21 #endif 21 #endif
22 22
23 // Apply post-processing to input 'data' of size 'width'x'height' assuming 23 // Apply post-processing to input 'data' of size 'width'x'height' assuming that
24 // that the source was quantized to a reduced number of levels. 24 // the source was quantized to a reduced number of levels. The post-processing
25 // will be applied to 'num_rows' rows of 'data' starting from 'row'.
25 // Returns false in case of error (data is NULL, invalid parameters, ...). 26 // Returns false in case of error (data is NULL, invalid parameters, ...).
26 int DequantizeLevels(uint8_t* const data, int width, int height); 27 int DequantizeLevels(uint8_t* const data, int width, int height,
28 int row, int num_rows);
27 29
28 #if defined(__cplusplus) || defined(c_plusplus) 30 #ifdef __cplusplus
29 } // extern "C" 31 } // extern "C"
30 #endif 32 #endif
31 33
32 #endif /* WEBP_UTILS_QUANT_LEVELS_DEC_H_ */ 34 #endif /* WEBP_UTILS_QUANT_LEVELS_DEC_H_ */
OLDNEW
« no previous file with comments | « third_party/libwebp/utils/quant_levels.c ('k') | third_party/libwebp/utils/quant_levels_dec.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698