Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: source/libvpx/vpx_dsp/mips/convolve_common_dspr2.h

Issue 1302353004: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef VPX_DSP_MIPS_VPX_COMMON_DSPR2_H_ 11 #ifndef VPX_DSP_MIPS_VPX_COMMON_DSPR2_H_
12 #define VPX_DSP_MIPS_VPX_COMMON_DSPR2_H_ 12 #define VPX_DSP_MIPS_VPX_COMMON_DSPR2_H_
13 13
14 #include <assert.h> 14 #include <assert.h>
15 15
16 #include "./vpx_config.h" 16 #include "./vpx_config.h"
17 #include "vpx/vpx_integer.h" 17 #include "vpx/vpx_integer.h"
18 #include "vpx_dsp/mips/common_dspr2.h" 18 #include "vpx_dsp/mips/common_dspr2.h"
19 19
20 #ifdef __cplusplus 20 #ifdef __cplusplus
21 extern "C" { 21 extern "C" {
22 #endif 22 #endif
23 23
24 #if HAVE_DSPR2 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, 25 void vpx_convolve2_horiz_dspr2(const uint8_t *src, ptrdiff_t src_stride,
28 uint8_t *dst, ptrdiff_t dst_stride, 26 uint8_t *dst, ptrdiff_t dst_stride,
29 const int16_t *filter_x, int x_step_q4, 27 const int16_t *filter_x, int x_step_q4,
30 const int16_t *filter_y, int y_step_q4, 28 const int16_t *filter_y, int y_step_q4,
31 int w, int h); 29 int w, int h);
32 30
33 void vpx_convolve2_avg_horiz_dspr2(const uint8_t *src, ptrdiff_t src_stride, 31 void vpx_convolve2_avg_horiz_dspr2(const uint8_t *src, ptrdiff_t src_stride,
34 uint8_t *dst, ptrdiff_t dst_stride, 32 uint8_t *dst, ptrdiff_t dst_stride,
35 const int16_t *filter_x, int x_step_q4, 33 const int16_t *filter_x, int x_step_q4,
36 const int16_t *filter_y, int y_step_q4, 34 const int16_t *filter_y, int y_step_q4,
(...skipping 15 matching lines...) Expand all
52 const int16_t *filter_x, int x_step_q4, 50 const int16_t *filter_x, int x_step_q4,
53 const int16_t *filter_y, int y_step_q4, 51 const int16_t *filter_y, int y_step_q4,
54 int w, int h); 52 int w, int h);
55 53
56 #endif // #if HAVE_DSPR2 54 #endif // #if HAVE_DSPR2
57 #ifdef __cplusplus 55 #ifdef __cplusplus
58 } // extern "C" 56 } // extern "C"
59 #endif 57 #endif
60 58
61 #endif // VPX_DSP_MIPS_VPX_COMMON_DSPR2_H_ 59 #endif // VPX_DSP_MIPS_VPX_COMMON_DSPR2_H_
OLDNEW
« no previous file with comments | « source/libvpx/vpx_dsp/mips/convolve8_vert_dspr2.c ('k') | source/libvpx/vpx_dsp/mips/idct16x16_msa.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698