Correct guard macros in header files
[aom.git] / vp10 / common / filter.h
blob826cd0386e70453bd1053f914dec4550bd8c2034
1 /*
2 * Copyright (c) 2011 The WebM project authors. All Rights Reserved.
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
11 #ifndef VP10_COMMON_FILTER_H_
12 #define VP10_COMMON_FILTER_H_
14 #include "./vpx_config.h"
15 #include "vpx/vpx_integer.h"
16 #include "vpx_dsp/vpx_filter.h"
17 #include "vpx_ports/mem.h"
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
24 #define EIGHTTAP 0
25 #define EIGHTTAP_SMOOTH 1
26 #define EIGHTTAP_SHARP 2
27 #define SWITCHABLE_FILTERS 3 /* Number of switchable filters */
28 #define BILINEAR 3
29 // The codec can operate in four possible inter prediction filter mode:
30 // 8-tap, 8-tap-smooth, 8-tap-sharp, and switching between the three.
31 #define SWITCHABLE_FILTER_CONTEXTS (SWITCHABLE_FILTERS + 1)
32 #define SWITCHABLE 4 /* should be the last one */
34 typedef uint8_t INTERP_FILTER;
36 extern const InterpKernel *vp10_filter_kernels[4];
38 #ifdef __cplusplus
39 } // extern "C"
40 #endif
42 #endif // VP10_COMMON_FILTER_H_