Removed unused vp8_recon_intra4x4mb function
[libvpx.git] / vp8 / encoder / temporal_filter.h
blob740037a856676226421ba94a46f86afd52858195
1 /*
2 * Copyright (c) 2010 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 */
12 #ifndef __INC_VP8_TEMPORAL_FILTER_H
13 #define __INC_VP8_TEMPORAL_FILTER_H
15 #define prototype_apply(sym)\
16 void (sym) \
17 ( \
18 unsigned char *frame1, \
19 unsigned int stride, \
20 unsigned char *frame2, \
21 unsigned int block_size, \
22 int strength, \
23 int filter_weight, \
24 unsigned int *accumulator, \
25 unsigned short *count \
28 #if ARCH_X86 || ARCH_X86_64
29 #include "x86/temporal_filter_x86.h"
30 #endif
32 #ifndef vp8_temporal_filter_apply
33 #define vp8_temporal_filter_apply vp8_temporal_filter_apply_c
34 #endif
35 extern prototype_apply(vp8_temporal_filter_apply);
37 typedef struct
39 prototype_apply(*apply);
40 } vp8_temporal_rtcd_vtable_t;
42 #if CONFIG_RUNTIME_CPU_DETECT
43 #define TEMPORAL_INVOKE(ctx,fn) (ctx)->fn
44 #else
45 #define TEMPORAL_INVOKE(ctx,fn) vp8_temporal_filter_##fn
46 #endif
48 #endif // __INC_VP8_TEMPORAL_FILTER_H