| OLD | NEW |
| 1 // Copyright 2013 Google Inc. All Rights Reserved. | 1 // Copyright 2013 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 // TODO(skal): implement gradient smoothing. | 10 // TODO(skal): implement gradient smoothing. |
| 9 // | 11 // |
| 10 // Author: Skal (pascal.massimino@gmail.com) | 12 // Author: Skal (pascal.massimino@gmail.com) |
| 11 | 13 |
| 12 #include "./quant_levels_dec.h" | 14 #include "./quant_levels_dec.h" |
| 13 | 15 |
| 14 #if defined(__cplusplus) || defined(c_plusplus) | 16 #if defined(__cplusplus) || defined(c_plusplus) |
| 15 extern "C" { | 17 extern "C" { |
| 16 #endif | 18 #endif |
| 17 | 19 |
| 18 int DequantizeLevels(uint8_t* const data, int width, int height) { | 20 int DequantizeLevels(uint8_t* const data, int width, int height) { |
| 19 if (data == NULL || width <= 0 || height <= 0) return 0; | 21 if (data == NULL || width <= 0 || height <= 0) return 0; |
| 20 (void)data; | 22 (void)data; |
| 21 (void)width; | 23 (void)width; |
| 22 (void)height; | 24 (void)height; |
| 23 return 1; | 25 return 1; |
| 24 } | 26 } |
| 25 | 27 |
| 26 #if defined(__cplusplus) || defined(c_plusplus) | 28 #if defined(__cplusplus) || defined(c_plusplus) |
| 27 } // extern "C" | 29 } // extern "C" |
| 28 #endif | 30 #endif |
| OLD | NEW |