| OLD | NEW |
| (Empty) | |
| 1 #ifndef VP9_RTCD_H_ |
| 2 #define VP9_RTCD_H_ |
| 3 |
| 4 #ifdef RTCD_C |
| 5 #define RTCD_EXTERN |
| 6 #else |
| 7 #define RTCD_EXTERN extern |
| 8 #endif |
| 9 |
| 10 /* |
| 11 * VP9 |
| 12 */ |
| 13 |
| 14 #include "vpx/vpx_integer.h" |
| 15 #include "vp9/common/vp9_common.h" |
| 16 #include "vp9/common/vp9_enums.h" |
| 17 |
| 18 struct macroblockd; |
| 19 |
| 20 /* Encoder forward decls */ |
| 21 struct macroblock; |
| 22 struct vp9_variance_vtable; |
| 23 struct search_site_config; |
| 24 struct mv; |
| 25 union int_mv; |
| 26 struct yv12_buffer_config; |
| 27 |
| 28 #ifdef __cplusplus |
| 29 extern "C" { |
| 30 #endif |
| 31 |
| 32 unsigned int vp9_avg_4x4_c(const uint8_t *, int p); |
| 33 #define vp9_avg_4x4 vp9_avg_4x4_c |
| 34 |
| 35 unsigned int vp9_avg_8x8_c(const uint8_t *, int p); |
| 36 unsigned int vp9_avg_8x8_neon(const uint8_t *, int p); |
| 37 RTCD_EXTERN unsigned int (*vp9_avg_8x8)(const uint8_t *, int p); |
| 38 |
| 39 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, in
tptr_t block_size, int64_t *ssz); |
| 40 #define vp9_block_error vp9_block_error_c |
| 41 |
| 42 int64_t vp9_block_error_fp_c(const int16_t *coeff, const int16_t *dqcoeff, int b
lock_size); |
| 43 #define vp9_block_error_fp vp9_block_error_fp_c |
| 44 |
| 45 void vp9_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); |
| 46 void vp9_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); |
| 47 RTCD_EXTERN void (*vp9_convolve8)(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); |
| 48 |
| 49 void vp9_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); |
| 50 void vp9_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); |
| 51 RTCD_EXTERN void (*vp9_convolve8_avg)(const uint8_t *src, ptrdiff_t src_stride,
uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, cons
t int16_t *filter_y, int y_step_q4, int w, int h); |
| 52 |
| 53 void vp9_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); |
| 54 void vp9_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); |
| 55 RTCD_EXTERN void (*vp9_convolve8_avg_horiz)(const uint8_t *src, ptrdiff_t src_st
ride, 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); |
| 56 |
| 57 void vp9_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); |
| 58 void vp9_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); |
| 59 RTCD_EXTERN void (*vp9_convolve8_avg_vert)(const uint8_t *src, ptrdiff_t src_str
ide, 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); |
| 60 |
| 61 void vp9_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); |
| 62 void vp9_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); |
| 63 RTCD_EXTERN void (*vp9_convolve8_horiz)(const uint8_t *src, ptrdiff_t src_stride
, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, co
nst int16_t *filter_y, int y_step_q4, int w, int h); |
| 64 |
| 65 void vp9_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); |
| 66 void vp9_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); |
| 67 RTCD_EXTERN void (*vp9_convolve8_vert)(const uint8_t *src, ptrdiff_t src_stride,
uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, con
st int16_t *filter_y, int y_step_q4, int w, int h); |
| 68 |
| 69 void vp9_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); |
| 70 void vp9_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); |
| 71 RTCD_EXTERN void (*vp9_convolve_avg)(const uint8_t *src, ptrdiff_t src_stride, u
int8_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); |
| 72 |
| 73 void vp9_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); |
| 74 void vp9_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); |
| 75 RTCD_EXTERN void (*vp9_convolve_copy)(const uint8_t *src, ptrdiff_t src_stride,
uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, cons
t int16_t *filter_y, int y_step_q4, int w, int h); |
| 76 |
| 77 void vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 78 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c |
| 79 |
| 80 void vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 81 #define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c |
| 82 |
| 83 void vp9_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 84 #define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c |
| 85 |
| 86 void vp9_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 87 #define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c |
| 88 |
| 89 void vp9_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 90 #define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c |
| 91 |
| 92 void vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 93 #define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c |
| 94 |
| 95 void vp9_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 96 #define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c |
| 97 |
| 98 void vp9_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 99 #define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c |
| 100 |
| 101 void vp9_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 102 #define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c |
| 103 |
| 104 void vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 105 #define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c |
| 106 |
| 107 void vp9_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 108 #define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c |
| 109 |
| 110 void vp9_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 111 #define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c |
| 112 |
| 113 void vp9_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 114 #define vp9_d207_predictor_16x16 vp9_d207_predictor_16x16_c |
| 115 |
| 116 void vp9_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 117 #define vp9_d207_predictor_32x32 vp9_d207_predictor_32x32_c |
| 118 |
| 119 void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 120 #define vp9_d207_predictor_4x4 vp9_d207_predictor_4x4_c |
| 121 |
| 122 void vp9_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 123 #define vp9_d207_predictor_8x8 vp9_d207_predictor_8x8_c |
| 124 |
| 125 void vp9_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 126 #define vp9_d45_predictor_16x16 vp9_d45_predictor_16x16_c |
| 127 |
| 128 void vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 129 #define vp9_d45_predictor_32x32 vp9_d45_predictor_32x32_c |
| 130 |
| 131 void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 132 #define vp9_d45_predictor_4x4 vp9_d45_predictor_4x4_c |
| 133 |
| 134 void vp9_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 135 #define vp9_d45_predictor_8x8 vp9_d45_predictor_8x8_c |
| 136 |
| 137 void vp9_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 138 #define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c |
| 139 |
| 140 void vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 141 #define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c |
| 142 |
| 143 void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 144 #define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c |
| 145 |
| 146 void vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 147 #define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c |
| 148 |
| 149 void vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
| 150 #define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c |
| 151 |
| 152 void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
| 153 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c |
| 154 |
| 155 void vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 156 #define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c |
| 157 |
| 158 void vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 159 #define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c |
| 160 |
| 161 void vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
| 162 #define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c |
| 163 |
| 164 void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
| 165 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c |
| 166 |
| 167 void vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 168 #define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c |
| 169 |
| 170 void vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 171 #define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c |
| 172 |
| 173 void vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 174 #define vp9_dc_predictor_16x16 vp9_dc_predictor_16x16_c |
| 175 |
| 176 void vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 177 #define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_c |
| 178 |
| 179 void vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 180 #define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_c |
| 181 |
| 182 void vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 183 #define vp9_dc_predictor_8x8 vp9_dc_predictor_8x8_c |
| 184 |
| 185 void vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
| 186 #define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c |
| 187 |
| 188 void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
| 189 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c |
| 190 |
| 191 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 192 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c |
| 193 |
| 194 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 195 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c |
| 196 |
| 197 int vp9_denoiser_filter_c(const uint8_t *sig, int sig_stride, const uint8_t *mc_
avg, int mc_avg_stride, uint8_t *avg, int avg_stride, int increase_denoising, BL
OCK_SIZE bs, int motion_magnitude); |
| 198 #define vp9_denoiser_filter vp9_denoiser_filter_c |
| 199 |
| 200 int vp9_diamond_search_sad_c(const struct macroblock *x, const struct search_sit
e_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad
_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv
*center_mv); |
| 201 #define vp9_diamond_search_sad vp9_diamond_search_sad_c |
| 202 |
| 203 void vp9_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); |
| 204 #define vp9_fdct16x16 vp9_fdct16x16_c |
| 205 |
| 206 void vp9_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); |
| 207 #define vp9_fdct16x16_1 vp9_fdct16x16_1_c |
| 208 |
| 209 void vp9_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride); |
| 210 #define vp9_fdct32x32 vp9_fdct32x32_c |
| 211 |
| 212 void vp9_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride); |
| 213 #define vp9_fdct32x32_1 vp9_fdct32x32_1_c |
| 214 |
| 215 void vp9_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride); |
| 216 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c |
| 217 |
| 218 void vp9_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride); |
| 219 #define vp9_fdct4x4 vp9_fdct4x4_c |
| 220 |
| 221 void vp9_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride); |
| 222 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c |
| 223 |
| 224 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); |
| 225 void vp9_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride); |
| 226 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, tran_low_t *output, int st
ride); |
| 227 |
| 228 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); |
| 229 void vp9_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride); |
| 230 RTCD_EXTERN void (*vp9_fdct8x8_1)(const int16_t *input, tran_low_t *output, int
stride); |
| 231 |
| 232 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr
, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *rou
nd_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qc
oeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr
, const int16_t *scan, const int16_t *iscan); |
| 233 void vp9_fdct8x8_quant_neon(const int16_t *input, int stride, 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 *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t
*qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_
ptr, const int16_t *scan, const int16_t *iscan); |
| 234 RTCD_EXTERN void (*vp9_fdct8x8_quant)(const int16_t *input, int stride, 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 *quant_ptr, const int16_t *quant_shift_ptr, t
ran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint
16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); |
| 235 |
| 236 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); |
| 237 #define vp9_fht16x16 vp9_fht16x16_c |
| 238 |
| 239 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
| 240 #define vp9_fht4x4 vp9_fht4x4_c |
| 241 |
| 242 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
| 243 #define vp9_fht8x8 vp9_fht8x8_c |
| 244 |
| 245 void vp9_filter_by_weight16x16_c(const uint8_t *src, int src_stride, uint8_t *ds
t, int dst_stride, int src_weight); |
| 246 #define vp9_filter_by_weight16x16 vp9_filter_by_weight16x16_c |
| 247 |
| 248 void vp9_filter_by_weight8x8_c(const uint8_t *src, int src_stride, uint8_t *dst,
int dst_stride, int src_weight); |
| 249 #define vp9_filter_by_weight8x8 vp9_filter_by_weight8x8_c |
| 250 |
| 251 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site
_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_p
er_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *c
enter_mv); |
| 252 #define vp9_full_range_search vp9_full_range_search_c |
| 253 |
| 254 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); |
| 255 #define vp9_full_search_sad vp9_full_search_sad_c |
| 256 |
| 257 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); |
| 258 #define vp9_fwht4x4 vp9_fwht4x4_c |
| 259 |
| 260 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 261 void vp9_get16x16var_neon(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 262 RTCD_EXTERN void (*vp9_get16x16var)(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 263 |
| 264 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 265 void vp9_get8x8var_neon(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 266 RTCD_EXTERN void (*vp9_get8x8var)(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 267 |
| 268 unsigned int vp9_get_mb_ss_c(const int16_t *); |
| 269 #define vp9_get_mb_ss vp9_get_mb_ss_c |
| 270 |
| 271 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 272 void vp9_h_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 273 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
| 274 |
| 275 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 276 void vp9_h_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 277 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
| 278 |
| 279 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 280 void vp9_h_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 281 RTCD_EXTERN void (*vp9_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
| 282 |
| 283 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 284 void vp9_h_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 285 RTCD_EXTERN void (*vp9_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
| 286 |
| 287 void vp9_hadamard_16x16_c(int16_t const *src_diff, int src_stride, int16_t *coef
f); |
| 288 #define vp9_hadamard_16x16 vp9_hadamard_16x16_c |
| 289 |
| 290 void vp9_hadamard_8x8_c(int16_t const *src_diff, int src_stride, int16_t *coeff)
; |
| 291 #define vp9_hadamard_8x8 vp9_hadamard_8x8_c |
| 292 |
| 293 void vp9_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 294 void vp9_idct16x16_10_add_neon(const tran_low_t *input, uint8_t *dest, int dest_
stride); |
| 295 RTCD_EXTERN void (*vp9_idct16x16_10_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); |
| 296 |
| 297 void vp9_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
| 298 void vp9_idct16x16_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
| 299 RTCD_EXTERN void (*vp9_idct16x16_1_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); |
| 300 |
| 301 void vp9_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 302 void vp9_idct16x16_256_add_neon(const tran_low_t *input, uint8_t *dest, int dest
_stride); |
| 303 RTCD_EXTERN void (*vp9_idct16x16_256_add)(const tran_low_t *input, uint8_t *dest
, int dest_stride); |
| 304 |
| 305 void vp9_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
| 306 void vp9_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int des
t_stride); |
| 307 RTCD_EXTERN void (*vp9_idct32x32_1024_add)(const tran_low_t *input, uint8_t *des
t, int dest_stride); |
| 308 |
| 309 void vp9_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
| 310 void vp9_idct32x32_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
| 311 RTCD_EXTERN void (*vp9_idct32x32_1_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); |
| 312 |
| 313 void vp9_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 314 void vp9_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int des
t_stride); |
| 315 RTCD_EXTERN void (*vp9_idct32x32_34_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); |
| 316 |
| 317 void vp9_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 318 void vp9_idct4x4_16_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 319 RTCD_EXTERN void (*vp9_idct4x4_16_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); |
| 320 |
| 321 void vp9_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 322 void vp9_idct4x4_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 323 RTCD_EXTERN void (*vp9_idct4x4_1_add)(const tran_low_t *input, uint8_t *dest, in
t dest_stride); |
| 324 |
| 325 void vp9_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 326 void vp9_idct8x8_12_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 327 RTCD_EXTERN void (*vp9_idct8x8_12_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); |
| 328 |
| 329 void vp9_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 330 void vp9_idct8x8_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 331 RTCD_EXTERN void (*vp9_idct8x8_1_add)(const tran_low_t *input, uint8_t *dest, in
t dest_stride); |
| 332 |
| 333 void vp9_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 334 void vp9_idct8x8_64_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 335 RTCD_EXTERN void (*vp9_idct8x8_64_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); |
| 336 |
| 337 void vp9_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch,
int tx_type); |
| 338 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_c |
| 339 |
| 340 void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
| 341 void vp9_iht4x4_16_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide, int tx_type); |
| 342 RTCD_EXTERN void (*vp9_iht4x4_16_add)(const tran_low_t *input, uint8_t *dest, in
t dest_stride, int tx_type); |
| 343 |
| 344 void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
| 345 void vp9_iht8x8_64_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide, int tx_type); |
| 346 RTCD_EXTERN void (*vp9_iht8x8_64_add)(const tran_low_t *input, uint8_t *dest, in
t dest_stride, int tx_type); |
| 347 |
| 348 int16_t vp9_int_pro_col_c(uint8_t const *ref, const int width); |
| 349 #define vp9_int_pro_col vp9_int_pro_col_c |
| 350 |
| 351 void vp9_int_pro_row_c(int16_t *hbuf, uint8_t const *ref, const int ref_stride,
const int height); |
| 352 #define vp9_int_pro_row vp9_int_pro_row_c |
| 353 |
| 354 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 355 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c |
| 356 |
| 357 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 358 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c |
| 359 |
| 360 void vp9_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); |
| 361 void vp9_lpf_horizontal_16_neon(uint8_t *s, int pitch, const uint8_t *blimit, co
nst uint8_t *limit, const uint8_t *thresh, int count); |
| 362 RTCD_EXTERN void (*vp9_lpf_horizontal_16)(uint8_t *s, int pitch, const uint8_t *
blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
| 363 |
| 364 void vp9_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); |
| 365 void vp9_lpf_horizontal_4_neon(uint8_t *s, int pitch, const uint8_t *blimit, con
st uint8_t *limit, const uint8_t *thresh, int count); |
| 366 RTCD_EXTERN void (*vp9_lpf_horizontal_4)(uint8_t *s, int pitch, const uint8_t *b
limit, const uint8_t *limit, const uint8_t *thresh, int count); |
| 367 |
| 368 void vp9_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); |
| 369 void vp9_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); |
| 370 RTCD_EXTERN void (*vp9_lpf_horizontal_4_dual)(uint8_t *s, int pitch, const uint8
_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimi
t1, const uint8_t *limit1, const uint8_t *thresh1); |
| 371 |
| 372 void vp9_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); |
| 373 void vp9_lpf_horizontal_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, con
st uint8_t *limit, const uint8_t *thresh, int count); |
| 374 RTCD_EXTERN void (*vp9_lpf_horizontal_8)(uint8_t *s, int pitch, const uint8_t *b
limit, const uint8_t *limit, const uint8_t *thresh, int count); |
| 375 |
| 376 void vp9_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); |
| 377 void vp9_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); |
| 378 RTCD_EXTERN void (*vp9_lpf_horizontal_8_dual)(uint8_t *s, int pitch, const uint8
_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimi
t1, const uint8_t *limit1, const uint8_t *thresh1); |
| 379 |
| 380 void vp9_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const u
int8_t *limit, const uint8_t *thresh); |
| 381 void vp9_lpf_vertical_16_neon(uint8_t *s, int pitch, const uint8_t *blimit, cons
t uint8_t *limit, const uint8_t *thresh); |
| 382 RTCD_EXTERN void (*vp9_lpf_vertical_16)(uint8_t *s, int pitch, const uint8_t *bl
imit, const uint8_t *limit, const uint8_t *thresh); |
| 383 |
| 384 void vp9_lpf_vertical_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, co
nst uint8_t *limit, const uint8_t *thresh); |
| 385 void vp9_lpf_vertical_16_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit,
const uint8_t *limit, const uint8_t *thresh); |
| 386 RTCD_EXTERN void (*vp9_lpf_vertical_16_dual)(uint8_t *s, int pitch, const uint8_
t *blimit, const uint8_t *limit, const uint8_t *thresh); |
| 387 |
| 388 void vp9_lpf_vertical_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui
nt8_t *limit, const uint8_t *thresh, int count); |
| 389 void vp9_lpf_vertical_4_neon(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); |
| 390 RTCD_EXTERN void (*vp9_lpf_vertical_4)(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); |
| 391 |
| 392 void vp9_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); |
| 393 void vp9_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); |
| 394 RTCD_EXTERN void (*vp9_lpf_vertical_4_dual)(uint8_t *s, int pitch, const uint8_t
*blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1
, const uint8_t *limit1, const uint8_t *thresh1); |
| 395 |
| 396 void vp9_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui
nt8_t *limit, const uint8_t *thresh, int count); |
| 397 void vp9_lpf_vertical_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); |
| 398 RTCD_EXTERN void (*vp9_lpf_vertical_8)(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); |
| 399 |
| 400 void vp9_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); |
| 401 void vp9_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); |
| 402 RTCD_EXTERN void (*vp9_lpf_vertical_8_dual)(uint8_t *s, int pitch, const uint8_t
*blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1
, const uint8_t *limit1, const uint8_t *thresh1); |
| 403 |
| 404 void vp9_mbpost_proc_across_ip_c(uint8_t *src, int pitch, int rows, int cols, in
t flimit); |
| 405 #define vp9_mbpost_proc_across_ip vp9_mbpost_proc_across_ip_c |
| 406 |
| 407 void vp9_mbpost_proc_down_c(uint8_t *dst, int pitch, int rows, int cols, int fli
mit); |
| 408 #define vp9_mbpost_proc_down vp9_mbpost_proc_down_c |
| 409 |
| 410 void vp9_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi
n, int *max); |
| 411 #define vp9_minmax_8x8 vp9_minmax_8x8_c |
| 412 |
| 413 unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int recon_stride, unsigned int *sse); |
| 414 #define vp9_mse16x16 vp9_mse16x16_c |
| 415 |
| 416 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); |
| 417 #define vp9_mse16x8 vp9_mse16x8_c |
| 418 |
| 419 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); |
| 420 #define vp9_mse8x16 vp9_mse8x16_c |
| 421 |
| 422 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int recon_stride, unsigned int *sse); |
| 423 #define vp9_mse8x8 vp9_mse8x8_c |
| 424 |
| 425 void vp9_plane_add_noise_c(uint8_t *Start, char *noise, char blackclamp[16], cha
r whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned int Height, i
nt Pitch); |
| 426 #define vp9_plane_add_noise vp9_plane_add_noise_c |
| 427 |
| 428 void vp9_post_proc_down_and_across_c(const uint8_t *src_ptr, uint8_t *dst_ptr, i
nt src_pixels_per_line, int dst_pixels_per_line, int rows, int cols, int flimit)
; |
| 429 #define vp9_post_proc_down_and_across vp9_post_proc_down_and_across_c |
| 430 |
| 431 void vp9_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); |
| 432 #define vp9_quantize_b vp9_quantize_b_c |
| 433 |
| 434 void vp9_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); |
| 435 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c |
| 436 |
| 437 void vp9_quantize_fp_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 *quant_p
tr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_
ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const i
nt16_t *iscan); |
| 438 void vp9_quantize_fp_neon(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int sk
ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan
t_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoe
ff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, cons
t int16_t *iscan); |
| 439 RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coef
fs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int
16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_lo
w_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *
scan, const int16_t *iscan); |
| 440 |
| 441 void vp9_quantize_fp_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 *q
uant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dq
coeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, c
onst int16_t *iscan); |
| 442 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c |
| 443 |
| 444 int16_t vp9_satd_c(const int16_t *coeff, int length); |
| 445 #define vp9_satd vp9_satd_c |
| 446 |
| 447 unsigned int vp9_sub_pixel_avg_variance16x16_c(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns
igned int *sse, const uint8_t *second_pred); |
| 448 #define vp9_sub_pixel_avg_variance16x16 vp9_sub_pixel_avg_variance16x16_c |
| 449 |
| 450 unsigned int vp9_sub_pixel_avg_variance16x32_c(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns
igned int *sse, const uint8_t *second_pred); |
| 451 #define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c |
| 452 |
| 453 unsigned int vp9_sub_pixel_avg_variance16x8_c(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse, const uint8_t *second_pred); |
| 454 #define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c |
| 455 |
| 456 unsigned int vp9_sub_pixel_avg_variance32x16_c(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns
igned int *sse, const uint8_t *second_pred); |
| 457 #define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c |
| 458 |
| 459 unsigned int vp9_sub_pixel_avg_variance32x32_c(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns
igned int *sse, const uint8_t *second_pred); |
| 460 #define vp9_sub_pixel_avg_variance32x32 vp9_sub_pixel_avg_variance32x32_c |
| 461 |
| 462 unsigned int vp9_sub_pixel_avg_variance32x64_c(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns
igned int *sse, const uint8_t *second_pred); |
| 463 #define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c |
| 464 |
| 465 unsigned int vp9_sub_pixel_avg_variance4x4_c(const uint8_t *src_ptr, int source_
stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig
ned int *sse, const uint8_t *second_pred); |
| 466 #define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c |
| 467 |
| 468 unsigned int vp9_sub_pixel_avg_variance4x8_c(const uint8_t *src_ptr, int source_
stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign
ed int *sse, const uint8_t *second_pred); |
| 469 #define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c |
| 470 |
| 471 unsigned int vp9_sub_pixel_avg_variance64x32_c(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns
igned int *sse, const uint8_t *second_pred); |
| 472 #define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c |
| 473 |
| 474 unsigned int vp9_sub_pixel_avg_variance64x64_c(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns
igned int *sse, const uint8_t *second_pred); |
| 475 #define vp9_sub_pixel_avg_variance64x64 vp9_sub_pixel_avg_variance64x64_c |
| 476 |
| 477 unsigned int vp9_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse, const uint8_t *second_pred); |
| 478 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c |
| 479 |
| 480 unsigned int vp9_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_
stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign
ed int *sse, const uint8_t *second_pred); |
| 481 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c |
| 482 |
| 483 unsigned int vp9_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_
stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig
ned int *sse, const uint8_t *second_pred); |
| 484 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c |
| 485 |
| 486 unsigned int vp9_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne
d int *sse); |
| 487 unsigned int vp9_sub_pixel_variance16x16_neon(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse); |
| 488 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance16x16)(const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse); |
| 489 |
| 490 unsigned int vp9_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne
d int *sse); |
| 491 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c |
| 492 |
| 493 unsigned int vp9_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_str
ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned
int *sse); |
| 494 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c |
| 495 |
| 496 unsigned int vp9_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne
d int *sse); |
| 497 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c |
| 498 |
| 499 unsigned int vp9_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne
d int *sse); |
| 500 unsigned int vp9_sub_pixel_variance32x32_neon(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse); |
| 501 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance32x32)(const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse); |
| 502 |
| 503 unsigned int vp9_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne
d int *sse); |
| 504 #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c |
| 505 |
| 506 unsigned int vp9_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned
int *sse); |
| 507 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c |
| 508 |
| 509 unsigned int vp9_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i
nt *sse); |
| 510 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c |
| 511 |
| 512 unsigned int vp9_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne
d int *sse); |
| 513 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c |
| 514 |
| 515 unsigned int vp9_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne
d int *sse); |
| 516 unsigned int vp9_sub_pixel_variance64x64_neon(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse); |
| 517 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance64x64)(const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse); |
| 518 |
| 519 unsigned int vp9_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_str
ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned
int *sse); |
| 520 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c |
| 521 |
| 522 unsigned int vp9_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i
nt *sse); |
| 523 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c |
| 524 |
| 525 unsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned
int *sse); |
| 526 unsigned int vp9_sub_pixel_variance8x8_neon(const uint8_t *src_ptr, int source_s
tride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign
ed int *sse); |
| 527 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance8x8)(const uint8_t *src_ptr, in
t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stri
de, unsigned int *sse); |
| 528 |
| 529 void vp9_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); |
| 530 void vp9_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); |
| 531 RTCD_EXTERN void (*vp9_subtract_block)(int rows, int cols, int16_t *diff_ptr, pt
rdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t
*pred_ptr, ptrdiff_t pred_stride); |
| 532 |
| 533 void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *
frame2, unsigned int block_width, unsigned int block_height, int strength, int f
ilter_weight, unsigned int *accumulator, uint16_t *count); |
| 534 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c |
| 535 |
| 536 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 537 void vp9_tm_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 538 RTCD_EXTERN void (*vp9_tm_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, con
st uint8_t *above, const uint8_t *left); |
| 539 |
| 540 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 541 void vp9_tm_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 542 RTCD_EXTERN void (*vp9_tm_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, con
st uint8_t *above, const uint8_t *left); |
| 543 |
| 544 void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 545 void vp9_tm_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 546 RTCD_EXTERN void (*vp9_tm_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
| 547 |
| 548 void vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 549 void vp9_tm_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 550 RTCD_EXTERN void (*vp9_tm_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
| 551 |
| 552 void vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 553 void vp9_v_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 554 RTCD_EXTERN void (*vp9_v_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
| 555 |
| 556 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 557 void vp9_v_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 558 RTCD_EXTERN void (*vp9_v_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
| 559 |
| 560 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 561 void vp9_v_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 562 RTCD_EXTERN void (*vp9_v_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
| 563 |
| 564 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 565 void vp9_v_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 566 RTCD_EXTERN void (*vp9_v_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
| 567 |
| 568 unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 569 unsigned int vp9_variance16x16_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 570 RTCD_EXTERN unsigned int (*vp9_variance16x16)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 571 |
| 572 unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 573 #define vp9_variance16x32 vp9_variance16x32_c |
| 574 |
| 575 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 576 #define vp9_variance16x8 vp9_variance16x8_c |
| 577 |
| 578 unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 579 #define vp9_variance32x16 vp9_variance32x16_c |
| 580 |
| 581 unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 582 unsigned int vp9_variance32x32_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 583 RTCD_EXTERN unsigned int (*vp9_variance32x32)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 584 |
| 585 unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 586 unsigned int vp9_variance32x64_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 587 RTCD_EXTERN unsigned int (*vp9_variance32x64)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 588 |
| 589 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 590 #define vp9_variance4x4 vp9_variance4x4_c |
| 591 |
| 592 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 593 #define vp9_variance4x8 vp9_variance4x8_c |
| 594 |
| 595 unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 596 unsigned int vp9_variance64x32_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 597 RTCD_EXTERN unsigned int (*vp9_variance64x32)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 598 |
| 599 unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 600 unsigned int vp9_variance64x64_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 601 RTCD_EXTERN unsigned int (*vp9_variance64x64)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 602 |
| 603 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 604 #define vp9_variance8x16 vp9_variance8x16_c |
| 605 |
| 606 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 607 #define vp9_variance8x4 vp9_variance8x4_c |
| 608 |
| 609 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 610 unsigned int vp9_variance8x8_neon(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 611 RTCD_EXTERN unsigned int (*vp9_variance8x8)(const uint8_t *src_ptr, int source_s
tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 612 |
| 613 int vp9_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl); |
| 614 #define vp9_vector_var vp9_vector_var_c |
| 615 |
| 616 void vp9_rtcd(void); |
| 617 |
| 618 #include "vpx_config.h" |
| 619 |
| 620 #ifdef RTCD_C |
| 621 #include "vpx_ports/arm.h" |
| 622 static void setup_rtcd_internal(void) |
| 623 { |
| 624 int flags = arm_cpu_caps(); |
| 625 |
| 626 (void)flags; |
| 627 |
| 628 vp9_avg_8x8 = vp9_avg_8x8_c; |
| 629 if (flags & HAS_NEON) vp9_avg_8x8 = vp9_avg_8x8_neon; |
| 630 vp9_convolve8 = vp9_convolve8_c; |
| 631 if (flags & HAS_NEON) vp9_convolve8 = vp9_convolve8_neon; |
| 632 vp9_convolve8_avg = vp9_convolve8_avg_c; |
| 633 if (flags & HAS_NEON) vp9_convolve8_avg = vp9_convolve8_avg_neon; |
| 634 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; |
| 635 if (flags & HAS_NEON) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_neon
; |
| 636 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; |
| 637 if (flags & HAS_NEON) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_neon; |
| 638 vp9_convolve8_horiz = vp9_convolve8_horiz_c; |
| 639 if (flags & HAS_NEON) vp9_convolve8_horiz = vp9_convolve8_horiz_neon; |
| 640 vp9_convolve8_vert = vp9_convolve8_vert_c; |
| 641 if (flags & HAS_NEON) vp9_convolve8_vert = vp9_convolve8_vert_neon; |
| 642 vp9_convolve_avg = vp9_convolve_avg_c; |
| 643 if (flags & HAS_NEON) vp9_convolve_avg = vp9_convolve_avg_neon; |
| 644 vp9_convolve_copy = vp9_convolve_copy_c; |
| 645 if (flags & HAS_NEON) vp9_convolve_copy = vp9_convolve_copy_neon; |
| 646 vp9_fdct8x8 = vp9_fdct8x8_c; |
| 647 if (flags & HAS_NEON) vp9_fdct8x8 = vp9_fdct8x8_neon; |
| 648 vp9_fdct8x8_1 = vp9_fdct8x8_1_c; |
| 649 if (flags & HAS_NEON) vp9_fdct8x8_1 = vp9_fdct8x8_1_neon; |
| 650 vp9_fdct8x8_quant = vp9_fdct8x8_quant_c; |
| 651 if (flags & HAS_NEON) vp9_fdct8x8_quant = vp9_fdct8x8_quant_neon; |
| 652 vp9_get16x16var = vp9_get16x16var_c; |
| 653 if (flags & HAS_NEON) vp9_get16x16var = vp9_get16x16var_neon; |
| 654 vp9_get8x8var = vp9_get8x8var_c; |
| 655 if (flags & HAS_NEON) vp9_get8x8var = vp9_get8x8var_neon; |
| 656 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; |
| 657 if (flags & HAS_NEON) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_neon; |
| 658 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; |
| 659 if (flags & HAS_NEON) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_neon; |
| 660 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; |
| 661 if (flags & HAS_NEON) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_neon; |
| 662 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; |
| 663 if (flags & HAS_NEON) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_neon; |
| 664 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c; |
| 665 if (flags & HAS_NEON) vp9_idct16x16_10_add = vp9_idct16x16_10_add_neon; |
| 666 vp9_idct16x16_1_add = vp9_idct16x16_1_add_c; |
| 667 if (flags & HAS_NEON) vp9_idct16x16_1_add = vp9_idct16x16_1_add_neon; |
| 668 vp9_idct16x16_256_add = vp9_idct16x16_256_add_c; |
| 669 if (flags & HAS_NEON) vp9_idct16x16_256_add = vp9_idct16x16_256_add_neon; |
| 670 vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c; |
| 671 if (flags & HAS_NEON) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_neon; |
| 672 vp9_idct32x32_1_add = vp9_idct32x32_1_add_c; |
| 673 if (flags & HAS_NEON) vp9_idct32x32_1_add = vp9_idct32x32_1_add_neon; |
| 674 vp9_idct32x32_34_add = vp9_idct32x32_34_add_c; |
| 675 if (flags & HAS_NEON) vp9_idct32x32_34_add = vp9_idct32x32_1024_add_neon; |
| 676 vp9_idct4x4_16_add = vp9_idct4x4_16_add_c; |
| 677 if (flags & HAS_NEON) vp9_idct4x4_16_add = vp9_idct4x4_16_add_neon; |
| 678 vp9_idct4x4_1_add = vp9_idct4x4_1_add_c; |
| 679 if (flags & HAS_NEON) vp9_idct4x4_1_add = vp9_idct4x4_1_add_neon; |
| 680 vp9_idct8x8_12_add = vp9_idct8x8_12_add_c; |
| 681 if (flags & HAS_NEON) vp9_idct8x8_12_add = vp9_idct8x8_12_add_neon; |
| 682 vp9_idct8x8_1_add = vp9_idct8x8_1_add_c; |
| 683 if (flags & HAS_NEON) vp9_idct8x8_1_add = vp9_idct8x8_1_add_neon; |
| 684 vp9_idct8x8_64_add = vp9_idct8x8_64_add_c; |
| 685 if (flags & HAS_NEON) vp9_idct8x8_64_add = vp9_idct8x8_64_add_neon; |
| 686 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c; |
| 687 if (flags & HAS_NEON) vp9_iht4x4_16_add = vp9_iht4x4_16_add_neon; |
| 688 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; |
| 689 if (flags & HAS_NEON) vp9_iht8x8_64_add = vp9_iht8x8_64_add_neon; |
| 690 vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_c; |
| 691 if (flags & HAS_NEON) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_neon; |
| 692 vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_c; |
| 693 if (flags & HAS_NEON) vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_neon; |
| 694 vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_c; |
| 695 if (flags & HAS_NEON) vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_
neon; |
| 696 vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_c; |
| 697 if (flags & HAS_NEON) vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_neon; |
| 698 vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_c; |
| 699 if (flags & HAS_NEON) vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_
neon; |
| 700 vp9_lpf_vertical_16 = vp9_lpf_vertical_16_c; |
| 701 if (flags & HAS_NEON) vp9_lpf_vertical_16 = vp9_lpf_vertical_16_neon; |
| 702 vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_c; |
| 703 if (flags & HAS_NEON) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ne
on; |
| 704 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c; |
| 705 if (flags & HAS_NEON) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_neon; |
| 706 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c; |
| 707 if (flags & HAS_NEON) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_neon
; |
| 708 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c; |
| 709 if (flags & HAS_NEON) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_neon; |
| 710 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c; |
| 711 if (flags & HAS_NEON) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_neon
; |
| 712 vp9_quantize_fp = vp9_quantize_fp_c; |
| 713 if (flags & HAS_NEON) vp9_quantize_fp = vp9_quantize_fp_neon; |
| 714 vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16x16_c; |
| 715 if (flags & HAS_NEON) vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16
x16_neon; |
| 716 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_c; |
| 717 if (flags & HAS_NEON) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32
x32_neon; |
| 718 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_c; |
| 719 if (flags & HAS_NEON) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64
x64_neon; |
| 720 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_c; |
| 721 if (flags & HAS_NEON) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_
neon; |
| 722 vp9_subtract_block = vp9_subtract_block_c; |
| 723 if (flags & HAS_NEON) vp9_subtract_block = vp9_subtract_block_neon; |
| 724 vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_c; |
| 725 if (flags & HAS_NEON) vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_neon; |
| 726 vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_c; |
| 727 if (flags & HAS_NEON) vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_neon; |
| 728 vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_c; |
| 729 if (flags & HAS_NEON) vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_neon; |
| 730 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c; |
| 731 if (flags & HAS_NEON) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_neon; |
| 732 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c; |
| 733 if (flags & HAS_NEON) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_neon; |
| 734 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c; |
| 735 if (flags & HAS_NEON) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_neon; |
| 736 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c; |
| 737 if (flags & HAS_NEON) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_neon; |
| 738 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c; |
| 739 if (flags & HAS_NEON) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_neon; |
| 740 vp9_variance16x16 = vp9_variance16x16_c; |
| 741 if (flags & HAS_NEON) vp9_variance16x16 = vp9_variance16x16_neon; |
| 742 vp9_variance32x32 = vp9_variance32x32_c; |
| 743 if (flags & HAS_NEON) vp9_variance32x32 = vp9_variance32x32_neon; |
| 744 vp9_variance32x64 = vp9_variance32x64_c; |
| 745 if (flags & HAS_NEON) vp9_variance32x64 = vp9_variance32x64_neon; |
| 746 vp9_variance64x32 = vp9_variance64x32_c; |
| 747 if (flags & HAS_NEON) vp9_variance64x32 = vp9_variance64x32_neon; |
| 748 vp9_variance64x64 = vp9_variance64x64_c; |
| 749 if (flags & HAS_NEON) vp9_variance64x64 = vp9_variance64x64_neon; |
| 750 vp9_variance8x8 = vp9_variance8x8_c; |
| 751 if (flags & HAS_NEON) vp9_variance8x8 = vp9_variance8x8_neon; |
| 752 } |
| 753 #endif |
| 754 |
| 755 #ifdef __cplusplus |
| 756 } // extern "C" |
| 757 #endif |
| 758 |
| 759 #endif |
| OLD | NEW |