• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2011 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 // Spatial prediction using various filters
11 //
12 // Author: Urvang (urvang@google.com)
13 
14 #ifndef WEBP_UTILS_FILTERS_UTILS_H_
15 #define WEBP_UTILS_FILTERS_UTILS_H_
16 
17 #include "src/webp/types.h"
18 #include "src/dsp/dsp.h"
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 // Fast estimate of a potentially good filter.
25 WEBP_FILTER_TYPE WebPEstimateBestFilter(const uint8_t* data,
26                                         int width, int height, int stride);
27 
28 #ifdef __cplusplus
29 }    // extern "C"
30 #endif
31 
32 #endif  // WEBP_UTILS_FILTERS_UTILS_H_
33