| OLD | NEW |
| (Empty) |
| 1 #ifndef VPX_DSP_RTCD_H_ | |
| 2 #define VPX_DSP_RTCD_H_ | |
| 3 | |
| 4 #ifdef RTCD_C | |
| 5 #define RTCD_EXTERN | |
| 6 #else | |
| 7 #define RTCD_EXTERN extern | |
| 8 #endif | |
| 9 | |
| 10 /* | |
| 11 * DSP | |
| 12 */ | |
| 13 | |
| 14 #include "vpx/vpx_integer.h" | |
| 15 #include "vpx_dsp/vpx_dsp_common.h" | |
| 16 | |
| 17 | |
| 18 #ifdef __cplusplus | |
| 19 extern "C" { | |
| 20 #endif | |
| 21 | |
| 22 unsigned int vpx_avg_4x4_c(const uint8_t *, int p); | |
| 23 unsigned int vpx_avg_4x4_neon(const uint8_t *, int p); | |
| 24 #define vpx_avg_4x4 vpx_avg_4x4_neon | |
| 25 | |
| 26 unsigned int vpx_avg_8x8_c(const uint8_t *, int p); | |
| 27 unsigned int vpx_avg_8x8_neon(const uint8_t *, int p); | |
| 28 #define vpx_avg_8x8 vpx_avg_8x8_neon | |
| 29 | |
| 30 void vpx_comp_avg_pred_c(uint8_t *comp_pred, const uint8_t *pred, int width, int
height, const uint8_t *ref, int ref_stride); | |
| 31 #define vpx_comp_avg_pred vpx_comp_avg_pred_c | |
| 32 | |
| 33 void vpx_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter
_y, int y_step_q4, int w, int h); | |
| 34 void vpx_convolve8_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); | |
| 35 #define vpx_convolve8 vpx_convolve8_neon | |
| 36 | |
| 37 void vpx_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); | |
| 38 void vpx_convolve8_avg_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); | |
| 39 #define vpx_convolve8_avg vpx_convolve8_avg_neon | |
| 40 | |
| 41 void vpx_convolve8_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t
*dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16
_t *filter_y, int y_step_q4, int w, int h); | |
| 42 void vpx_convolve8_avg_horiz_neon(const uint8_t *src, ptrdiff_t src_stride, uint
8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in
t16_t *filter_y, int y_step_q4, int w, int h); | |
| 43 #define vpx_convolve8_avg_horiz vpx_convolve8_avg_horiz_neon | |
| 44 | |
| 45 void vpx_convolve8_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t
*dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_
t *filter_y, int y_step_q4, int w, int h); | |
| 46 void vpx_convolve8_avg_vert_neon(const uint8_t *src, ptrdiff_t src_stride, uint8
_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int
16_t *filter_y, int y_step_q4, int w, int h); | |
| 47 #define vpx_convolve8_avg_vert vpx_convolve8_avg_vert_neon | |
| 48 | |
| 49 void vpx_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds
t, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *
filter_y, int y_step_q4, int w, int h); | |
| 50 void vpx_convolve8_horiz_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t
*dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_
t *filter_y, int y_step_q4, int w, int h); | |
| 51 #define vpx_convolve8_horiz vpx_convolve8_horiz_neon | |
| 52 | |
| 53 void vpx_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst
, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *f
ilter_y, int y_step_q4, int w, int h); | |
| 54 void vpx_convolve8_vert_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *
dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); | |
| 55 #define vpx_convolve8_vert vpx_convolve8_vert_neon | |
| 56 | |
| 57 void vpx_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); | |
| 58 void vpx_convolve_avg_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds
t, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *
filter_y, int y_step_q4, int w, int h); | |
| 59 #define vpx_convolve_avg vpx_convolve_avg_neon | |
| 60 | |
| 61 void vpx_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); | |
| 62 void vpx_convolve_copy_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); | |
| 63 #define vpx_convolve_copy vpx_convolve_copy_neon | |
| 64 | |
| 65 void vpx_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 66 #define vpx_d117_predictor_16x16 vpx_d117_predictor_16x16_c | |
| 67 | |
| 68 void vpx_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 69 #define vpx_d117_predictor_32x32 vpx_d117_predictor_32x32_c | |
| 70 | |
| 71 void vpx_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 72 #define vpx_d117_predictor_4x4 vpx_d117_predictor_4x4_c | |
| 73 | |
| 74 void vpx_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 75 #define vpx_d117_predictor_8x8 vpx_d117_predictor_8x8_c | |
| 76 | |
| 77 void vpx_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 78 #define vpx_d135_predictor_16x16 vpx_d135_predictor_16x16_c | |
| 79 | |
| 80 void vpx_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 81 #define vpx_d135_predictor_32x32 vpx_d135_predictor_32x32_c | |
| 82 | |
| 83 void vpx_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 84 void vpx_d135_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 85 #define vpx_d135_predictor_4x4 vpx_d135_predictor_4x4_neon | |
| 86 | |
| 87 void vpx_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 88 #define vpx_d135_predictor_8x8 vpx_d135_predictor_8x8_c | |
| 89 | |
| 90 void vpx_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 91 #define vpx_d153_predictor_16x16 vpx_d153_predictor_16x16_c | |
| 92 | |
| 93 void vpx_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 94 #define vpx_d153_predictor_32x32 vpx_d153_predictor_32x32_c | |
| 95 | |
| 96 void vpx_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 97 #define vpx_d153_predictor_4x4 vpx_d153_predictor_4x4_c | |
| 98 | |
| 99 void vpx_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 100 #define vpx_d153_predictor_8x8 vpx_d153_predictor_8x8_c | |
| 101 | |
| 102 void vpx_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 103 #define vpx_d207_predictor_16x16 vpx_d207_predictor_16x16_c | |
| 104 | |
| 105 void vpx_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 106 #define vpx_d207_predictor_32x32 vpx_d207_predictor_32x32_c | |
| 107 | |
| 108 void vpx_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 109 #define vpx_d207_predictor_4x4 vpx_d207_predictor_4x4_c | |
| 110 | |
| 111 void vpx_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 112 #define vpx_d207_predictor_8x8 vpx_d207_predictor_8x8_c | |
| 113 | |
| 114 void vpx_d207e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 115 #define vpx_d207e_predictor_16x16 vpx_d207e_predictor_16x16_c | |
| 116 | |
| 117 void vpx_d207e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 118 #define vpx_d207e_predictor_32x32 vpx_d207e_predictor_32x32_c | |
| 119 | |
| 120 void vpx_d207e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
| 121 #define vpx_d207e_predictor_4x4 vpx_d207e_predictor_4x4_c | |
| 122 | |
| 123 void vpx_d207e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
| 124 #define vpx_d207e_predictor_8x8 vpx_d207e_predictor_8x8_c | |
| 125 | |
| 126 void vpx_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
| 127 void vpx_d45_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | |
| 128 #define vpx_d45_predictor_16x16 vpx_d45_predictor_16x16_neon | |
| 129 | |
| 130 void vpx_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
| 131 #define vpx_d45_predictor_32x32 vpx_d45_predictor_32x32_c | |
| 132 | |
| 133 void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
| 134 void vpx_d45_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 135 #define vpx_d45_predictor_4x4 vpx_d45_predictor_4x4_neon | |
| 136 | |
| 137 void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
| 138 void vpx_d45_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 139 #define vpx_d45_predictor_8x8 vpx_d45_predictor_8x8_neon | |
| 140 | |
| 141 void vpx_d45e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 142 #define vpx_d45e_predictor_16x16 vpx_d45e_predictor_16x16_c | |
| 143 | |
| 144 void vpx_d45e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 145 #define vpx_d45e_predictor_32x32 vpx_d45e_predictor_32x32_c | |
| 146 | |
| 147 void vpx_d45e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 148 #define vpx_d45e_predictor_4x4 vpx_d45e_predictor_4x4_c | |
| 149 | |
| 150 void vpx_d45e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 151 #define vpx_d45e_predictor_8x8 vpx_d45e_predictor_8x8_c | |
| 152 | |
| 153 void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
| 154 #define vpx_d63_predictor_16x16 vpx_d63_predictor_16x16_c | |
| 155 | |
| 156 void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
| 157 #define vpx_d63_predictor_32x32 vpx_d63_predictor_32x32_c | |
| 158 | |
| 159 void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
| 160 #define vpx_d63_predictor_4x4 vpx_d63_predictor_4x4_c | |
| 161 | |
| 162 void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
| 163 #define vpx_d63_predictor_8x8 vpx_d63_predictor_8x8_c | |
| 164 | |
| 165 void vpx_d63e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 166 #define vpx_d63e_predictor_16x16 vpx_d63e_predictor_16x16_c | |
| 167 | |
| 168 void vpx_d63e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 169 #define vpx_d63e_predictor_32x32 vpx_d63e_predictor_32x32_c | |
| 170 | |
| 171 void vpx_d63e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 172 #define vpx_d63e_predictor_4x4 vpx_d63e_predictor_4x4_c | |
| 173 | |
| 174 void vpx_d63e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 175 #define vpx_d63e_predictor_8x8 vpx_d63e_predictor_8x8_c | |
| 176 | |
| 177 void vpx_d63f_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 178 #define vpx_d63f_predictor_4x4 vpx_d63f_predictor_4x4_c | |
| 179 | |
| 180 void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | |
| 181 void vpx_dc_128_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uin
t8_t *above, const uint8_t *left); | |
| 182 #define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_neon | |
| 183 | |
| 184 void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | |
| 185 void vpx_dc_128_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uin
t8_t *above, const uint8_t *left); | |
| 186 #define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_neon | |
| 187 | |
| 188 void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 189 void vpx_dc_128_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | |
| 190 #define vpx_dc_128_predictor_4x4 vpx_dc_128_predictor_4x4_neon | |
| 191 | |
| 192 void vpx_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 193 void vpx_dc_128_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | |
| 194 #define vpx_dc_128_predictor_8x8 vpx_dc_128_predictor_8x8_neon | |
| 195 | |
| 196 void vpx_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | |
| 197 void vpx_dc_left_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const ui
nt8_t *above, const uint8_t *left); | |
| 198 #define vpx_dc_left_predictor_16x16 vpx_dc_left_predictor_16x16_neon | |
| 199 | |
| 200 void vpx_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | |
| 201 void vpx_dc_left_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const ui
nt8_t *above, const uint8_t *left); | |
| 202 #define vpx_dc_left_predictor_32x32 vpx_dc_left_predictor_32x32_neon | |
| 203 | |
| 204 void vpx_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 205 void vpx_dc_left_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint
8_t *above, const uint8_t *left); | |
| 206 #define vpx_dc_left_predictor_4x4 vpx_dc_left_predictor_4x4_neon | |
| 207 | |
| 208 void vpx_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 209 void vpx_dc_left_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint
8_t *above, const uint8_t *left); | |
| 210 #define vpx_dc_left_predictor_8x8 vpx_dc_left_predictor_8x8_neon | |
| 211 | |
| 212 void vpx_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 213 void vpx_dc_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 214 #define vpx_dc_predictor_16x16 vpx_dc_predictor_16x16_neon | |
| 215 | |
| 216 void vpx_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 217 void vpx_dc_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 218 #define vpx_dc_predictor_32x32 vpx_dc_predictor_32x32_neon | |
| 219 | |
| 220 void vpx_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
| 221 void vpx_dc_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
| 222 #define vpx_dc_predictor_4x4 vpx_dc_predictor_4x4_neon | |
| 223 | |
| 224 void vpx_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
| 225 void vpx_dc_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
| 226 #define vpx_dc_predictor_8x8 vpx_dc_predictor_8x8_neon | |
| 227 | |
| 228 void vpx_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | |
| 229 void vpx_dc_top_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uin
t8_t *above, const uint8_t *left); | |
| 230 #define vpx_dc_top_predictor_16x16 vpx_dc_top_predictor_16x16_neon | |
| 231 | |
| 232 void vpx_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | |
| 233 void vpx_dc_top_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uin
t8_t *above, const uint8_t *left); | |
| 234 #define vpx_dc_top_predictor_32x32 vpx_dc_top_predictor_32x32_neon | |
| 235 | |
| 236 void vpx_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 237 void vpx_dc_top_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | |
| 238 #define vpx_dc_top_predictor_4x4 vpx_dc_top_predictor_4x4_neon | |
| 239 | |
| 240 void vpx_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 241 void vpx_dc_top_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | |
| 242 #define vpx_dc_top_predictor_8x8 vpx_dc_top_predictor_8x8_neon | |
| 243 | |
| 244 void vpx_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); | |
| 245 #define vpx_fdct16x16 vpx_fdct16x16_c | |
| 246 | |
| 247 void vpx_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); | |
| 248 #define vpx_fdct16x16_1 vpx_fdct16x16_1_c | |
| 249 | |
| 250 void vpx_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride); | |
| 251 #define vpx_fdct32x32 vpx_fdct32x32_c | |
| 252 | |
| 253 void vpx_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride); | |
| 254 #define vpx_fdct32x32_1 vpx_fdct32x32_1_c | |
| 255 | |
| 256 void vpx_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride); | |
| 257 #define vpx_fdct32x32_rd vpx_fdct32x32_rd_c | |
| 258 | |
| 259 void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride); | |
| 260 #define vpx_fdct4x4 vpx_fdct4x4_c | |
| 261 | |
| 262 void vpx_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride); | |
| 263 #define vpx_fdct4x4_1 vpx_fdct4x4_1_c | |
| 264 | |
| 265 void vpx_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); | |
| 266 void vpx_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride); | |
| 267 #define vpx_fdct8x8 vpx_fdct8x8_neon | |
| 268 | |
| 269 void vpx_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); | |
| 270 void vpx_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride); | |
| 271 #define vpx_fdct8x8_1 vpx_fdct8x8_1_neon | |
| 272 | |
| 273 void vpx_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); | |
| 274 void vpx_get16x16var_neon(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); | |
| 275 #define vpx_get16x16var vpx_get16x16var_neon | |
| 276 | |
| 277 unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride); | |
| 278 unsigned int vpx_get4x4sse_cs_neon(const unsigned char *src_ptr, int source_stri
de, const unsigned char *ref_ptr, int ref_stride); | |
| 279 #define vpx_get4x4sse_cs vpx_get4x4sse_cs_neon | |
| 280 | |
| 281 void vpx_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sse, int *sum); | |
| 282 void vpx_get8x8var_neon(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); | |
| 283 #define vpx_get8x8var vpx_get8x8var_neon | |
| 284 | |
| 285 unsigned int vpx_get_mb_ss_c(const int16_t *); | |
| 286 #define vpx_get_mb_ss vpx_get_mb_ss_c | |
| 287 | |
| 288 void vpx_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
| 289 void vpx_h_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 290 #define vpx_h_predictor_16x16 vpx_h_predictor_16x16_neon | |
| 291 | |
| 292 void vpx_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
| 293 void vpx_h_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 294 #define vpx_h_predictor_32x32 vpx_h_predictor_32x32_neon | |
| 295 | |
| 296 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | |
| 297 void vpx_h_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 298 #define vpx_h_predictor_4x4 vpx_h_predictor_4x4_neon | |
| 299 | |
| 300 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | |
| 301 void vpx_h_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 302 #define vpx_h_predictor_8x8 vpx_h_predictor_8x8_neon | |
| 303 | |
| 304 void vpx_hadamard_16x16_c(int16_t const *src_diff, int src_stride, int16_t *coef
f); | |
| 305 #define vpx_hadamard_16x16 vpx_hadamard_16x16_c | |
| 306 | |
| 307 void vpx_hadamard_8x8_c(int16_t const *src_diff, int src_stride, int16_t *coeff)
; | |
| 308 #define vpx_hadamard_8x8 vpx_hadamard_8x8_c | |
| 309 | |
| 310 void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
| 311 #define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c | |
| 312 | |
| 313 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
| 314 void vpx_idct16x16_10_add_neon(const tran_low_t *input, uint8_t *dest, int dest_
stride); | |
| 315 #define vpx_idct16x16_10_add vpx_idct16x16_10_add_neon | |
| 316 | |
| 317 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); | |
| 318 void vpx_idct16x16_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_s
tride); | |
| 319 #define vpx_idct16x16_1_add vpx_idct16x16_1_add_neon | |
| 320 | |
| 321 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
| 322 void vpx_idct16x16_256_add_neon(const tran_low_t *input, uint8_t *dest, int dest
_stride); | |
| 323 #define vpx_idct16x16_256_add vpx_idct16x16_256_add_neon | |
| 324 | |
| 325 void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s
tride); | |
| 326 void vpx_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int des
t_stride); | |
| 327 #define vpx_idct32x32_1024_add vpx_idct32x32_1024_add_neon | |
| 328 | |
| 329 void vpx_idct32x32_135_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
| 330 void vpx_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int des
t_stride); | |
| 331 #define vpx_idct32x32_135_add vpx_idct32x32_1024_add_neon | |
| 332 | |
| 333 void vpx_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); | |
| 334 void vpx_idct32x32_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_s
tride); | |
| 335 #define vpx_idct32x32_1_add vpx_idct32x32_1_add_neon | |
| 336 | |
| 337 void vpx_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
| 338 void vpx_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int des
t_stride); | |
| 339 #define vpx_idct32x32_34_add vpx_idct32x32_1024_add_neon | |
| 340 | |
| 341 void vpx_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
| 342 void vpx_idct4x4_16_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
| 343 #define vpx_idct4x4_16_add vpx_idct4x4_16_add_neon | |
| 344 | |
| 345 void vpx_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | |
| 346 void vpx_idct4x4_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
| 347 #define vpx_idct4x4_1_add vpx_idct4x4_1_add_neon | |
| 348 | |
| 349 void vpx_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
| 350 void vpx_idct8x8_12_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
| 351 #define vpx_idct8x8_12_add vpx_idct8x8_12_add_neon | |
| 352 | |
| 353 void vpx_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | |
| 354 void vpx_idct8x8_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
| 355 #define vpx_idct8x8_1_add vpx_idct8x8_1_add_neon | |
| 356 | |
| 357 void vpx_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
| 358 void vpx_idct8x8_64_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
| 359 #define vpx_idct8x8_64_add vpx_idct8x8_64_add_neon | |
| 360 | |
| 361 int16_t vpx_int_pro_col_c(uint8_t const *ref, const int width); | |
| 362 int16_t vpx_int_pro_col_neon(uint8_t const *ref, const int width); | |
| 363 #define vpx_int_pro_col vpx_int_pro_col_neon | |
| 364 | |
| 365 void vpx_int_pro_row_c(int16_t *hbuf, uint8_t const *ref, const int ref_stride,
const int height); | |
| 366 void vpx_int_pro_row_neon(int16_t *hbuf, uint8_t const *ref, const int ref_strid
e, const int height); | |
| 367 #define vpx_int_pro_row vpx_int_pro_row_neon | |
| 368 | |
| 369 void vpx_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
| 370 #define vpx_iwht4x4_16_add vpx_iwht4x4_16_add_c | |
| 371 | |
| 372 void vpx_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | |
| 373 #define vpx_iwht4x4_1_add vpx_iwht4x4_1_add_c | |
| 374 | |
| 375 void vpx_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | |
| 376 void vpx_lpf_horizontal_16_neon(uint8_t *s, int pitch, const uint8_t *blimit, co
nst uint8_t *limit, const uint8_t *thresh, int count); | |
| 377 #define vpx_lpf_horizontal_16 vpx_lpf_horizontal_16_neon | |
| 378 | |
| 379 void vpx_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | |
| 380 void vpx_lpf_horizontal_4_neon(uint8_t *s, int pitch, const uint8_t *blimit, con
st uint8_t *limit, const uint8_t *thresh, int count); | |
| 381 #define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_neon | |
| 382 | |
| 383 void vpx_lpf_horizontal_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0,
const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uin
t8_t *limit1, const uint8_t *thresh1); | |
| 384 void vpx_lpf_horizontal_4_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit
0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const
uint8_t *limit1, const uint8_t *thresh1); | |
| 385 #define vpx_lpf_horizontal_4_dual vpx_lpf_horizontal_4_dual_neon | |
| 386 | |
| 387 void vpx_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | |
| 388 void vpx_lpf_horizontal_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, con
st uint8_t *limit, const uint8_t *thresh, int count); | |
| 389 #define vpx_lpf_horizontal_8 vpx_lpf_horizontal_8_neon | |
| 390 | |
| 391 void vpx_lpf_horizontal_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0,
const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uin
t8_t *limit1, const uint8_t *thresh1); | |
| 392 void vpx_lpf_horizontal_8_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit
0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const
uint8_t *limit1, const uint8_t *thresh1); | |
| 393 #define vpx_lpf_horizontal_8_dual vpx_lpf_horizontal_8_dual_neon | |
| 394 | |
| 395 void vpx_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const u
int8_t *limit, const uint8_t *thresh); | |
| 396 void vpx_lpf_vertical_16_neon(uint8_t *s, int pitch, const uint8_t *blimit, cons
t uint8_t *limit, const uint8_t *thresh); | |
| 397 #define vpx_lpf_vertical_16 vpx_lpf_vertical_16_neon | |
| 398 | |
| 399 void vpx_lpf_vertical_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, co
nst uint8_t *limit, const uint8_t *thresh); | |
| 400 void vpx_lpf_vertical_16_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit,
const uint8_t *limit, const uint8_t *thresh); | |
| 401 #define vpx_lpf_vertical_16_dual vpx_lpf_vertical_16_dual_neon | |
| 402 | |
| 403 void vpx_lpf_vertical_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui
nt8_t *limit, const uint8_t *thresh, int count); | |
| 404 void vpx_lpf_vertical_4_neon(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | |
| 405 #define vpx_lpf_vertical_4 vpx_lpf_vertical_4_neon | |
| 406 | |
| 407 void vpx_lpf_vertical_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co
nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8
_t *limit1, const uint8_t *thresh1); | |
| 408 void vpx_lpf_vertical_4_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit0,
const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const ui
nt8_t *limit1, const uint8_t *thresh1); | |
| 409 #define vpx_lpf_vertical_4_dual vpx_lpf_vertical_4_dual_neon | |
| 410 | |
| 411 void vpx_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui
nt8_t *limit, const uint8_t *thresh, int count); | |
| 412 void vpx_lpf_vertical_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | |
| 413 #define vpx_lpf_vertical_8 vpx_lpf_vertical_8_neon | |
| 414 | |
| 415 void vpx_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co
nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8
_t *limit1, const uint8_t *thresh1); | |
| 416 void vpx_lpf_vertical_8_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit0,
const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const ui
nt8_t *limit1, const uint8_t *thresh1); | |
| 417 #define vpx_lpf_vertical_8_dual vpx_lpf_vertical_8_dual_neon | |
| 418 | |
| 419 void vpx_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi
n, int *max); | |
| 420 #define vpx_minmax_8x8 vpx_minmax_8x8_c | |
| 421 | |
| 422 unsigned int vpx_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 423 unsigned int vpx_mse16x16_media(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 424 unsigned int vpx_mse16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 425 #define vpx_mse16x16 vpx_mse16x16_neon | |
| 426 | |
| 427 unsigned int vpx_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 428 #define vpx_mse16x8 vpx_mse16x8_c | |
| 429 | |
| 430 unsigned int vpx_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 431 #define vpx_mse8x16 vpx_mse8x16_c | |
| 432 | |
| 433 unsigned int vpx_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 434 #define vpx_mse8x8 vpx_mse8x8_c | |
| 435 | |
| 436 void vpx_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b
lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt
r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p
tr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const in
t16_t *iscan); | |
| 437 #define vpx_quantize_b vpx_quantize_b_c | |
| 438 | |
| 439 void vpx_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qu
ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc
oeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, co
nst int16_t *iscan); | |
| 440 #define vpx_quantize_b_32x32 vpx_quantize_b_32x32_c | |
| 441 | |
| 442 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
| 443 unsigned int vpx_sad16x16_media(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride); | |
| 444 unsigned int vpx_sad16x16_neon(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride); | |
| 445 #define vpx_sad16x16 vpx_sad16x16_neon | |
| 446 | |
| 447 unsigned int vpx_sad16x16_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 448 #define vpx_sad16x16_avg vpx_sad16x16_avg_c | |
| 449 | |
| 450 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 451 #define vpx_sad16x16x3 vpx_sad16x16x3_c | |
| 452 | |
| 453 void vpx_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 454 void vpx_sad16x16x4d_neon(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 455 #define vpx_sad16x16x4d vpx_sad16x16x4d_neon | |
| 456 | |
| 457 void vpx_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 458 #define vpx_sad16x16x8 vpx_sad16x16x8_c | |
| 459 | |
| 460 unsigned int vpx_sad16x32_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
| 461 #define vpx_sad16x32 vpx_sad16x32_c | |
| 462 | |
| 463 unsigned int vpx_sad16x32_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 464 #define vpx_sad16x32_avg vpx_sad16x32_avg_c | |
| 465 | |
| 466 void vpx_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 467 #define vpx_sad16x32x4d vpx_sad16x32x4d_c | |
| 468 | |
| 469 unsigned int vpx_sad16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
| 470 unsigned int vpx_sad16x8_neon(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride); | |
| 471 #define vpx_sad16x8 vpx_sad16x8_neon | |
| 472 | |
| 473 unsigned int vpx_sad16x8_avg_c(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 474 #define vpx_sad16x8_avg vpx_sad16x8_avg_c | |
| 475 | |
| 476 void vpx_sad16x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
| 477 #define vpx_sad16x8x3 vpx_sad16x8x3_c | |
| 478 | |
| 479 void vpx_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * co
nst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 480 #define vpx_sad16x8x4d vpx_sad16x8x4d_c | |
| 481 | |
| 482 void vpx_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
| 483 #define vpx_sad16x8x8 vpx_sad16x8x8_c | |
| 484 | |
| 485 unsigned int vpx_sad32x16_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
| 486 #define vpx_sad32x16 vpx_sad32x16_c | |
| 487 | |
| 488 unsigned int vpx_sad32x16_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 489 #define vpx_sad32x16_avg vpx_sad32x16_avg_c | |
| 490 | |
| 491 void vpx_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 492 #define vpx_sad32x16x4d vpx_sad32x16x4d_c | |
| 493 | |
| 494 unsigned int vpx_sad32x32_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
| 495 unsigned int vpx_sad32x32_neon(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride); | |
| 496 #define vpx_sad32x32 vpx_sad32x32_neon | |
| 497 | |
| 498 unsigned int vpx_sad32x32_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 499 #define vpx_sad32x32_avg vpx_sad32x32_avg_c | |
| 500 | |
| 501 void vpx_sad32x32x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 502 #define vpx_sad32x32x3 vpx_sad32x32x3_c | |
| 503 | |
| 504 void vpx_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 505 void vpx_sad32x32x4d_neon(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 506 #define vpx_sad32x32x4d vpx_sad32x32x4d_neon | |
| 507 | |
| 508 void vpx_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 509 #define vpx_sad32x32x8 vpx_sad32x32x8_c | |
| 510 | |
| 511 unsigned int vpx_sad32x64_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
| 512 #define vpx_sad32x64 vpx_sad32x64_c | |
| 513 | |
| 514 unsigned int vpx_sad32x64_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 515 #define vpx_sad32x64_avg vpx_sad32x64_avg_c | |
| 516 | |
| 517 void vpx_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 518 #define vpx_sad32x64x4d vpx_sad32x64x4d_c | |
| 519 | |
| 520 unsigned int vpx_sad4x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
| 521 unsigned int vpx_sad4x4_neon(const uint8_t *src_ptr, int src_stride, const uint8
_t *ref_ptr, int ref_stride); | |
| 522 #define vpx_sad4x4 vpx_sad4x4_neon | |
| 523 | |
| 524 unsigned int vpx_sad4x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 525 #define vpx_sad4x4_avg vpx_sad4x4_avg_c | |
| 526 | |
| 527 void vpx_sad4x4x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
| 528 #define vpx_sad4x4x3 vpx_sad4x4x3_c | |
| 529 | |
| 530 void vpx_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con
st ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 531 #define vpx_sad4x4x4d vpx_sad4x4x4d_c | |
| 532 | |
| 533 void vpx_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
| 534 #define vpx_sad4x4x8 vpx_sad4x4x8_c | |
| 535 | |
| 536 unsigned int vpx_sad4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
| 537 #define vpx_sad4x8 vpx_sad4x8_c | |
| 538 | |
| 539 unsigned int vpx_sad4x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 540 #define vpx_sad4x8_avg vpx_sad4x8_avg_c | |
| 541 | |
| 542 void vpx_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con
st ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 543 #define vpx_sad4x8x4d vpx_sad4x8x4d_c | |
| 544 | |
| 545 void vpx_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
| 546 #define vpx_sad4x8x8 vpx_sad4x8x8_c | |
| 547 | |
| 548 unsigned int vpx_sad64x32_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
| 549 #define vpx_sad64x32 vpx_sad64x32_c | |
| 550 | |
| 551 unsigned int vpx_sad64x32_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 552 #define vpx_sad64x32_avg vpx_sad64x32_avg_c | |
| 553 | |
| 554 void vpx_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 555 #define vpx_sad64x32x4d vpx_sad64x32x4d_c | |
| 556 | |
| 557 unsigned int vpx_sad64x64_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
| 558 unsigned int vpx_sad64x64_neon(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride); | |
| 559 #define vpx_sad64x64 vpx_sad64x64_neon | |
| 560 | |
| 561 unsigned int vpx_sad64x64_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 562 #define vpx_sad64x64_avg vpx_sad64x64_avg_c | |
| 563 | |
| 564 void vpx_sad64x64x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 565 #define vpx_sad64x64x3 vpx_sad64x64x3_c | |
| 566 | |
| 567 void vpx_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 568 void vpx_sad64x64x4d_neon(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 569 #define vpx_sad64x64x4d vpx_sad64x64x4d_neon | |
| 570 | |
| 571 void vpx_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 572 #define vpx_sad64x64x8 vpx_sad64x64x8_c | |
| 573 | |
| 574 unsigned int vpx_sad8x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
| 575 unsigned int vpx_sad8x16_neon(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride); | |
| 576 #define vpx_sad8x16 vpx_sad8x16_neon | |
| 577 | |
| 578 unsigned int vpx_sad8x16_avg_c(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 579 #define vpx_sad8x16_avg vpx_sad8x16_avg_c | |
| 580 | |
| 581 void vpx_sad8x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
| 582 #define vpx_sad8x16x3 vpx_sad8x16x3_c | |
| 583 | |
| 584 void vpx_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * co
nst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 585 #define vpx_sad8x16x4d vpx_sad8x16x4d_c | |
| 586 | |
| 587 void vpx_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
| 588 #define vpx_sad8x16x8 vpx_sad8x16x8_c | |
| 589 | |
| 590 unsigned int vpx_sad8x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
| 591 #define vpx_sad8x4 vpx_sad8x4_c | |
| 592 | |
| 593 unsigned int vpx_sad8x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 594 #define vpx_sad8x4_avg vpx_sad8x4_avg_c | |
| 595 | |
| 596 void vpx_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con
st ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 597 #define vpx_sad8x4x4d vpx_sad8x4x4d_c | |
| 598 | |
| 599 void vpx_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
| 600 #define vpx_sad8x4x8 vpx_sad8x4x8_c | |
| 601 | |
| 602 unsigned int vpx_sad8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
| 603 unsigned int vpx_sad8x8_neon(const uint8_t *src_ptr, int src_stride, const uint8
_t *ref_ptr, int ref_stride); | |
| 604 #define vpx_sad8x8 vpx_sad8x8_neon | |
| 605 | |
| 606 unsigned int vpx_sad8x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 607 #define vpx_sad8x8_avg vpx_sad8x8_avg_c | |
| 608 | |
| 609 void vpx_sad8x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
| 610 #define vpx_sad8x8x3 vpx_sad8x8x3_c | |
| 611 | |
| 612 void vpx_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con
st ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 613 #define vpx_sad8x8x4d vpx_sad8x8x4d_c | |
| 614 | |
| 615 void vpx_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
| 616 #define vpx_sad8x8x8 vpx_sad8x8x8_c | |
| 617 | |
| 618 int vpx_satd_c(const int16_t *coeff, int length); | |
| 619 int vpx_satd_neon(const int16_t *coeff, int length); | |
| 620 #define vpx_satd vpx_satd_neon | |
| 621 | |
| 622 void vpx_scaled_2d_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter
_y, int y_step_q4, int w, int h); | |
| 623 #define vpx_scaled_2d vpx_scaled_2d_c | |
| 624 | |
| 625 void vpx_scaled_avg_2d_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); | |
| 626 #define vpx_scaled_avg_2d vpx_scaled_avg_2d_c | |
| 627 | |
| 628 void vpx_scaled_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); | |
| 629 #define vpx_scaled_avg_horiz vpx_scaled_avg_horiz_c | |
| 630 | |
| 631 void vpx_scaled_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds
t, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *
filter_y, int y_step_q4, int w, int h); | |
| 632 #define vpx_scaled_avg_vert vpx_scaled_avg_vert_c | |
| 633 | |
| 634 void vpx_scaled_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); | |
| 635 #define vpx_scaled_horiz vpx_scaled_horiz_c | |
| 636 | |
| 637 void vpx_scaled_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, p
trdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filt
er_y, int y_step_q4, int w, int h); | |
| 638 #define vpx_scaled_vert vpx_scaled_vert_c | |
| 639 | |
| 640 uint32_t vpx_sub_pixel_avg_variance16x16_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
| 641 #define vpx_sub_pixel_avg_variance16x16 vpx_sub_pixel_avg_variance16x16_c | |
| 642 | |
| 643 uint32_t vpx_sub_pixel_avg_variance16x32_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
| 644 #define vpx_sub_pixel_avg_variance16x32 vpx_sub_pixel_avg_variance16x32_c | |
| 645 | |
| 646 uint32_t vpx_sub_pixel_avg_variance16x8_c(const uint8_t *src_ptr, int source_str
ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse, const uint8_t *second_pred); | |
| 647 #define vpx_sub_pixel_avg_variance16x8 vpx_sub_pixel_avg_variance16x8_c | |
| 648 | |
| 649 uint32_t vpx_sub_pixel_avg_variance32x16_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
| 650 #define vpx_sub_pixel_avg_variance32x16 vpx_sub_pixel_avg_variance32x16_c | |
| 651 | |
| 652 uint32_t vpx_sub_pixel_avg_variance32x32_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
| 653 #define vpx_sub_pixel_avg_variance32x32 vpx_sub_pixel_avg_variance32x32_c | |
| 654 | |
| 655 uint32_t vpx_sub_pixel_avg_variance32x64_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
| 656 #define vpx_sub_pixel_avg_variance32x64 vpx_sub_pixel_avg_variance32x64_c | |
| 657 | |
| 658 uint32_t vpx_sub_pixel_avg_variance4x4_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse, const uint8_t *second_pred); | |
| 659 #define vpx_sub_pixel_avg_variance4x4 vpx_sub_pixel_avg_variance4x4_c | |
| 660 | |
| 661 uint32_t vpx_sub_pixel_avg_variance4x8_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse, const uint8_t *second_pred); | |
| 662 #define vpx_sub_pixel_avg_variance4x8 vpx_sub_pixel_avg_variance4x8_c | |
| 663 | |
| 664 uint32_t vpx_sub_pixel_avg_variance64x32_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
| 665 #define vpx_sub_pixel_avg_variance64x32 vpx_sub_pixel_avg_variance64x32_c | |
| 666 | |
| 667 uint32_t vpx_sub_pixel_avg_variance64x64_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
| 668 #define vpx_sub_pixel_avg_variance64x64 vpx_sub_pixel_avg_variance64x64_c | |
| 669 | |
| 670 uint32_t vpx_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source_str
ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse, const uint8_t *second_pred); | |
| 671 #define vpx_sub_pixel_avg_variance8x16 vpx_sub_pixel_avg_variance8x16_c | |
| 672 | |
| 673 uint32_t vpx_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse, const uint8_t *second_pred); | |
| 674 #define vpx_sub_pixel_avg_variance8x4 vpx_sub_pixel_avg_variance8x4_c | |
| 675 | |
| 676 uint32_t vpx_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse, const uint8_t *second_pred); | |
| 677 #define vpx_sub_pixel_avg_variance8x8 vpx_sub_pixel_avg_variance8x8_c | |
| 678 | |
| 679 uint32_t vpx_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s
se); | |
| 680 uint32_t vpx_sub_pixel_variance16x16_media(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse); | |
| 681 uint32_t vpx_sub_pixel_variance16x16_neon(const uint8_t *src_ptr, int source_str
ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse); | |
| 682 #define vpx_sub_pixel_variance16x16 vpx_sub_pixel_variance16x16_neon | |
| 683 | |
| 684 uint32_t vpx_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s
se); | |
| 685 #define vpx_sub_pixel_variance16x32 vpx_sub_pixel_variance16x32_c | |
| 686 | |
| 687 uint32_t vpx_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_stride,
int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *ss
e); | |
| 688 #define vpx_sub_pixel_variance16x8 vpx_sub_pixel_variance16x8_c | |
| 689 | |
| 690 uint32_t vpx_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s
se); | |
| 691 #define vpx_sub_pixel_variance32x16 vpx_sub_pixel_variance32x16_c | |
| 692 | |
| 693 uint32_t vpx_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s
se); | |
| 694 uint32_t vpx_sub_pixel_variance32x32_neon(const uint8_t *src_ptr, int source_str
ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse); | |
| 695 #define vpx_sub_pixel_variance32x32 vpx_sub_pixel_variance32x32_neon | |
| 696 | |
| 697 uint32_t vpx_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s
se); | |
| 698 #define vpx_sub_pixel_variance32x64 vpx_sub_pixel_variance32x64_c | |
| 699 | |
| 700 uint32_t vpx_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stride,
int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse
); | |
| 701 #define vpx_sub_pixel_variance4x4 vpx_sub_pixel_variance4x4_c | |
| 702 | |
| 703 uint32_t vpx_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stride,
int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse
); | |
| 704 #define vpx_sub_pixel_variance4x8 vpx_sub_pixel_variance4x8_c | |
| 705 | |
| 706 uint32_t vpx_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s
se); | |
| 707 #define vpx_sub_pixel_variance64x32 vpx_sub_pixel_variance64x32_c | |
| 708 | |
| 709 uint32_t vpx_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s
se); | |
| 710 uint32_t vpx_sub_pixel_variance64x64_neon(const uint8_t *src_ptr, int source_str
ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse); | |
| 711 #define vpx_sub_pixel_variance64x64 vpx_sub_pixel_variance64x64_neon | |
| 712 | |
| 713 uint32_t vpx_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_stride,
int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *ss
e); | |
| 714 #define vpx_sub_pixel_variance8x16 vpx_sub_pixel_variance8x16_c | |
| 715 | |
| 716 uint32_t vpx_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stride,
int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse
); | |
| 717 #define vpx_sub_pixel_variance8x4 vpx_sub_pixel_variance8x4_c | |
| 718 | |
| 719 uint32_t vpx_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stride,
int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse
); | |
| 720 uint32_t vpx_sub_pixel_variance8x8_media(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse); | |
| 721 uint32_t vpx_sub_pixel_variance8x8_neon(const uint8_t *src_ptr, int source_strid
e, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *
sse); | |
| 722 #define vpx_sub_pixel_variance8x8 vpx_sub_pixel_variance8x8_neon | |
| 723 | |
| 724 void vpx_subtract_block_c(int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_
stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, p
trdiff_t pred_stride); | |
| 725 void vpx_subtract_block_neon(int rows, int cols, int16_t *diff_ptr, ptrdiff_t di
ff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr
, ptrdiff_t pred_stride); | |
| 726 #define vpx_subtract_block vpx_subtract_block_neon | |
| 727 | |
| 728 void vpx_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 729 void vpx_tm_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 730 #define vpx_tm_predictor_16x16 vpx_tm_predictor_16x16_neon | |
| 731 | |
| 732 void vpx_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 733 void vpx_tm_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 734 #define vpx_tm_predictor_32x32 vpx_tm_predictor_32x32_neon | |
| 735 | |
| 736 void vpx_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
| 737 void vpx_tm_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
| 738 #define vpx_tm_predictor_4x4 vpx_tm_predictor_4x4_neon | |
| 739 | |
| 740 void vpx_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
| 741 void vpx_tm_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
| 742 #define vpx_tm_predictor_8x8 vpx_tm_predictor_8x8_neon | |
| 743 | |
| 744 void vpx_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
| 745 void vpx_v_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 746 #define vpx_v_predictor_16x16 vpx_v_predictor_16x16_neon | |
| 747 | |
| 748 void vpx_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
| 749 void vpx_v_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 750 #define vpx_v_predictor_32x32 vpx_v_predictor_32x32_neon | |
| 751 | |
| 752 void vpx_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | |
| 753 void vpx_v_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 754 #define vpx_v_predictor_4x4 vpx_v_predictor_4x4_neon | |
| 755 | |
| 756 void vpx_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | |
| 757 void vpx_v_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 758 #define vpx_v_predictor_8x8 vpx_v_predictor_8x8_neon | |
| 759 | |
| 760 unsigned int vpx_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 761 unsigned int vpx_variance16x16_media(const uint8_t *src_ptr, int source_stride,
const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 762 unsigned int vpx_variance16x16_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 763 #define vpx_variance16x16 vpx_variance16x16_neon | |
| 764 | |
| 765 unsigned int vpx_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 766 #define vpx_variance16x32 vpx_variance16x32_c | |
| 767 | |
| 768 unsigned int vpx_variance16x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 769 unsigned int vpx_variance16x8_neon(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 770 #define vpx_variance16x8 vpx_variance16x8_neon | |
| 771 | |
| 772 unsigned int vpx_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 773 #define vpx_variance32x16 vpx_variance32x16_c | |
| 774 | |
| 775 unsigned int vpx_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 776 unsigned int vpx_variance32x32_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 777 #define vpx_variance32x32 vpx_variance32x32_neon | |
| 778 | |
| 779 unsigned int vpx_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 780 unsigned int vpx_variance32x64_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 781 #define vpx_variance32x64 vpx_variance32x64_neon | |
| 782 | |
| 783 unsigned int vpx_variance4x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 784 #define vpx_variance4x4 vpx_variance4x4_c | |
| 785 | |
| 786 unsigned int vpx_variance4x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 787 #define vpx_variance4x8 vpx_variance4x8_c | |
| 788 | |
| 789 unsigned int vpx_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 790 unsigned int vpx_variance64x32_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 791 #define vpx_variance64x32 vpx_variance64x32_neon | |
| 792 | |
| 793 unsigned int vpx_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 794 unsigned int vpx_variance64x64_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 795 #define vpx_variance64x64 vpx_variance64x64_neon | |
| 796 | |
| 797 unsigned int vpx_variance8x16_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 798 unsigned int vpx_variance8x16_neon(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 799 #define vpx_variance8x16 vpx_variance8x16_neon | |
| 800 | |
| 801 unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 802 #define vpx_variance8x4 vpx_variance8x4_c | |
| 803 | |
| 804 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 805 unsigned int vpx_variance8x8_media(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 806 unsigned int vpx_variance8x8_neon(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 807 #define vpx_variance8x8 vpx_variance8x8_neon | |
| 808 | |
| 809 uint32_t vpx_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int sour
ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | |
| 810 uint32_t vpx_variance_halfpixvar16x16_h_media(const unsigned char *src_ptr, int
source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | |
| 811 #define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_media | |
| 812 | |
| 813 uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int sou
rce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | |
| 814 uint32_t vpx_variance_halfpixvar16x16_hv_media(const unsigned char *src_ptr, int
source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | |
| 815 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_media | |
| 816 | |
| 817 uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int sour
ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | |
| 818 uint32_t vpx_variance_halfpixvar16x16_v_media(const unsigned char *src_ptr, int
source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | |
| 819 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_media | |
| 820 | |
| 821 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
| 822 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c | |
| 823 | |
| 824 int vpx_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl); | |
| 825 int vpx_vector_var_neon(int16_t const *ref, int16_t const *src, const int bwl); | |
| 826 #define vpx_vector_var vpx_vector_var_neon | |
| 827 | |
| 828 void vpx_dsp_rtcd(void); | |
| 829 | |
| 830 #include "vpx_config.h" | |
| 831 | |
| 832 #ifdef RTCD_C | |
| 833 #include "vpx_ports/arm.h" | |
| 834 static void setup_rtcd_internal(void) | |
| 835 { | |
| 836 int flags = arm_cpu_caps(); | |
| 837 | |
| 838 (void)flags; | |
| 839 | |
| 840 } | |
| 841 #endif | |
| 842 | |
| 843 #ifdef __cplusplus | |
| 844 } // extern "C" | |
| 845 #endif | |
| 846 | |
| 847 #endif | |
| OLD | NEW |