OLD | NEW |
| (Empty) |
1 /* | |
2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved. | |
3 * | |
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 */ | |
10 | |
11 #ifndef VPX_DSP_MIPS_VPX_COMMON_DSPR2_H_ | |
12 #define VPX_DSP_MIPS_VPX_COMMON_DSPR2_H_ | |
13 | |
14 #include <assert.h> | |
15 | |
16 #include "./vpx_config.h" | |
17 #include "vpx/vpx_integer.h" | |
18 #include "vpx_dsp/mips/common_dspr2.h" | |
19 | |
20 #ifdef __cplusplus | |
21 extern "C" { | |
22 #endif | |
23 | |
24 #if HAVE_DSPR2 | |
25 extern uint8_t *vpx_ff_cropTbl; | |
26 | |
27 void vpx_convolve2_horiz_dspr2(const uint8_t *src, ptrdiff_t src_stride, | |
28 uint8_t *dst, ptrdiff_t dst_stride, | |
29 const int16_t *filter_x, int x_step_q4, | |
30 const int16_t *filter_y, int y_step_q4, | |
31 int w, int h); | |
32 | |
33 void vpx_convolve2_avg_horiz_dspr2(const uint8_t *src, ptrdiff_t src_stride, | |
34 uint8_t *dst, ptrdiff_t dst_stride, | |
35 const int16_t *filter_x, int x_step_q4, | |
36 const int16_t *filter_y, int y_step_q4, | |
37 int w, int h); | |
38 | |
39 void vpx_convolve2_avg_vert_dspr2(const uint8_t *src, ptrdiff_t src_stride, | |
40 uint8_t *dst, ptrdiff_t dst_stride, | |
41 const int16_t *filter_x, int x_step_q4, | |
42 const int16_t *filter_y, int y_step_q4, | |
43 int w, int h); | |
44 | |
45 void vpx_convolve2_dspr2(const uint8_t *src, ptrdiff_t src_stride, | |
46 uint8_t *dst, ptrdiff_t dst_stride, | |
47 const int16_t *filter, | |
48 int w, int h); | |
49 | |
50 void vpx_convolve2_vert_dspr2(const uint8_t *src, ptrdiff_t src_stride, | |
51 uint8_t *dst, ptrdiff_t dst_stride, | |
52 const int16_t *filter_x, int x_step_q4, | |
53 const int16_t *filter_y, int y_step_q4, | |
54 int w, int h); | |
55 | |
56 #endif // #if HAVE_DSPR2 | |
57 #ifdef __cplusplus | |
58 } // extern "C" | |
59 #endif | |
60 | |
61 #endif // VPX_DSP_MIPS_VPX_COMMON_DSPR2_H_ | |
OLD | NEW |