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