OLD | NEW |
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 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 78 |
79 /* prefetch data for store */ | 79 /* prefetch data for store */ |
80 static INLINE void vp9_prefetch_store_streamed(unsigned char *dst) { | 80 static INLINE void vp9_prefetch_store_streamed(unsigned char *dst) { |
81 __asm__ __volatile__ ( | 81 __asm__ __volatile__ ( |
82 "pref 5, 0(%[dst]) \n\t" | 82 "pref 5, 0(%[dst]) \n\t" |
83 : | 83 : |
84 : [dst] "r" (dst) | 84 : [dst] "r" (dst) |
85 ); | 85 ); |
86 } | 86 } |
87 | 87 |
88 void vp9_idct32_1d_cols_add_blk_dspr2(int16_t *input, uint8_t *dest, | 88 void vp9_idct32_cols_add_blk_dspr2(int16_t *input, uint8_t *dest, |
89 int dest_stride); | 89 int dest_stride); |
90 | 90 |
91 void vp9_convolve2_horiz_dspr2(const uint8_t *src, ptrdiff_t src_stride, | 91 void vp9_convolve2_horiz_dspr2(const uint8_t *src, ptrdiff_t src_stride, |
92 uint8_t *dst, ptrdiff_t dst_stride, | 92 uint8_t *dst, ptrdiff_t dst_stride, |
93 const int16_t *filter_x, int x_step_q4, | 93 const int16_t *filter_x, int x_step_q4, |
94 const int16_t *filter_y, int y_step_q4, | 94 const int16_t *filter_y, int y_step_q4, |
95 int w, int h); | 95 int w, int h); |
96 | 96 |
97 void vp9_convolve2_avg_horiz_dspr2(const uint8_t *src, ptrdiff_t src_stride, | 97 void vp9_convolve2_avg_horiz_dspr2(const uint8_t *src, ptrdiff_t src_stride, |
98 uint8_t *dst, ptrdiff_t dst_stride, | 98 uint8_t *dst, ptrdiff_t dst_stride, |
99 const int16_t *filter_x, int x_step_q4, | 99 const int16_t *filter_x, int x_step_q4, |
(...skipping 16 matching lines...) Expand all Loading... |
116 const int16_t *filter_x, int x_step_q4, | 116 const int16_t *filter_x, int x_step_q4, |
117 const int16_t *filter_y, int y_step_q4, | 117 const int16_t *filter_y, int y_step_q4, |
118 int w, int h); | 118 int w, int h); |
119 | 119 |
120 #endif // #if HAVE_DSPR2 | 120 #endif // #if HAVE_DSPR2 |
121 #ifdef __cplusplus | 121 #ifdef __cplusplus |
122 } // extern "C" | 122 } // extern "C" |
123 #endif | 123 #endif |
124 | 124 |
125 #endif // VP9_COMMON_MIPS_DSPR2_VP9_COMMON_DSPR2_H_ | 125 #endif // VP9_COMMON_MIPS_DSPR2_VP9_COMMON_DSPR2_H_ |
OLD | NEW |