| 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 #define vp9_avg_8x8 vp9_avg_8x8_neon |
| 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 #define vp9_convolve8 vp9_convolve8_neon |
| 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 #define vp9_convolve8_avg vp9_convolve8_avg_neon |
| 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 #define vp9_convolve8_avg_horiz vp9_convolve8_avg_horiz_neon |
| 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 #define vp9_convolve8_avg_vert vp9_convolve8_avg_vert_neon |
| 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 #define vp9_convolve8_horiz vp9_convolve8_horiz_neon |
| 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 #define vp9_convolve8_vert vp9_convolve8_vert_neon |
| 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 #define vp9_convolve_avg vp9_convolve_avg_neon |
| 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 #define vp9_convolve_copy vp9_convolve_copy_neon |
| 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 #define vp9_fdct8x8 vp9_fdct8x8_neon |
| 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 #define vp9_fdct8x8_1 vp9_fdct8x8_1_neon |
| 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 #define vp9_fdct8x8_quant vp9_fdct8x8_quant_neon |
| 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 #define vp9_get16x16var vp9_get16x16var_neon |
| 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 #define vp9_get8x8var vp9_get8x8var_neon |
| 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 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_neon |
| 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 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_neon |
| 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 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_neon |
| 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 #define vp9_h_predictor_8x8 vp9_h_predictor_8x8_neon |
| 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 #define vp9_idct16x16_10_add vp9_idct16x16_10_add_neon |
| 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 #define vp9_idct16x16_1_add vp9_idct16x16_1_add_neon |
| 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 #define vp9_idct16x16_256_add vp9_idct16x16_256_add_neon |
| 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 #define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_neon |
| 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 #define vp9_idct32x32_1_add vp9_idct32x32_1_add_neon |
| 312 |
| 313 void vp9_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 314 #define vp9_idct32x32_34_add vp9_idct32x32_34_add_c |
| 315 |
| 316 void vp9_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 317 void vp9_idct4x4_16_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 318 #define vp9_idct4x4_16_add vp9_idct4x4_16_add_neon |
| 319 |
| 320 void vp9_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 321 void vp9_idct4x4_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 322 #define vp9_idct4x4_1_add vp9_idct4x4_1_add_neon |
| 323 |
| 324 void vp9_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 325 void vp9_idct8x8_12_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 326 #define vp9_idct8x8_12_add vp9_idct8x8_12_add_neon |
| 327 |
| 328 void vp9_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 329 void vp9_idct8x8_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 330 #define vp9_idct8x8_1_add vp9_idct8x8_1_add_neon |
| 331 |
| 332 void vp9_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 333 void vp9_idct8x8_64_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 334 #define vp9_idct8x8_64_add vp9_idct8x8_64_add_neon |
| 335 |
| 336 void vp9_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch,
int tx_type); |
| 337 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_c |
| 338 |
| 339 void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
| 340 void vp9_iht4x4_16_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide, int tx_type); |
| 341 #define vp9_iht4x4_16_add vp9_iht4x4_16_add_neon |
| 342 |
| 343 void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
| 344 void vp9_iht8x8_64_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide, int tx_type); |
| 345 #define vp9_iht8x8_64_add vp9_iht8x8_64_add_neon |
| 346 |
| 347 int16_t vp9_int_pro_col_c(uint8_t const *ref, const int width); |
| 348 #define vp9_int_pro_col vp9_int_pro_col_c |
| 349 |
| 350 void vp9_int_pro_row_c(int16_t *hbuf, uint8_t const *ref, const int ref_stride,
const int height); |
| 351 #define vp9_int_pro_row vp9_int_pro_row_c |
| 352 |
| 353 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 354 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c |
| 355 |
| 356 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 357 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c |
| 358 |
| 359 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); |
| 360 #define vp9_lpf_horizontal_16 vp9_lpf_horizontal_16_c |
| 361 |
| 362 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); |
| 363 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); |
| 364 #define vp9_lpf_horizontal_4 vp9_lpf_horizontal_4_neon |
| 365 |
| 366 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); |
| 367 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); |
| 368 #define vp9_lpf_horizontal_4_dual vp9_lpf_horizontal_4_dual_neon |
| 369 |
| 370 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); |
| 371 #define vp9_lpf_horizontal_8 vp9_lpf_horizontal_8_c |
| 372 |
| 373 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); |
| 374 #define vp9_lpf_horizontal_8_dual vp9_lpf_horizontal_8_dual_c |
| 375 |
| 376 void vp9_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const u
int8_t *limit, const uint8_t *thresh); |
| 377 #define vp9_lpf_vertical_16 vp9_lpf_vertical_16_c |
| 378 |
| 379 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); |
| 380 #define vp9_lpf_vertical_16_dual vp9_lpf_vertical_16_dual_c |
| 381 |
| 382 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); |
| 383 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); |
| 384 #define vp9_lpf_vertical_4 vp9_lpf_vertical_4_neon |
| 385 |
| 386 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); |
| 387 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); |
| 388 #define vp9_lpf_vertical_4_dual vp9_lpf_vertical_4_dual_neon |
| 389 |
| 390 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); |
| 391 #define vp9_lpf_vertical_8 vp9_lpf_vertical_8_c |
| 392 |
| 393 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); |
| 394 #define vp9_lpf_vertical_8_dual vp9_lpf_vertical_8_dual_c |
| 395 |
| 396 void vp9_mbpost_proc_across_ip_c(uint8_t *src, int pitch, int rows, int cols, in
t flimit); |
| 397 #define vp9_mbpost_proc_across_ip vp9_mbpost_proc_across_ip_c |
| 398 |
| 399 void vp9_mbpost_proc_down_c(uint8_t *dst, int pitch, int rows, int cols, int fli
mit); |
| 400 #define vp9_mbpost_proc_down vp9_mbpost_proc_down_c |
| 401 |
| 402 void vp9_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi
n, int *max); |
| 403 #define vp9_minmax_8x8 vp9_minmax_8x8_c |
| 404 |
| 405 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); |
| 406 #define vp9_mse16x16 vp9_mse16x16_c |
| 407 |
| 408 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); |
| 409 #define vp9_mse16x8 vp9_mse16x8_c |
| 410 |
| 411 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); |
| 412 #define vp9_mse8x16 vp9_mse8x16_c |
| 413 |
| 414 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); |
| 415 #define vp9_mse8x8 vp9_mse8x8_c |
| 416 |
| 417 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); |
| 418 #define vp9_plane_add_noise vp9_plane_add_noise_c |
| 419 |
| 420 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)
; |
| 421 #define vp9_post_proc_down_and_across vp9_post_proc_down_and_across_c |
| 422 |
| 423 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); |
| 424 #define vp9_quantize_b vp9_quantize_b_c |
| 425 |
| 426 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); |
| 427 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c |
| 428 |
| 429 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); |
| 430 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); |
| 431 #define vp9_quantize_fp vp9_quantize_fp_neon |
| 432 |
| 433 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); |
| 434 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c |
| 435 |
| 436 int16_t vp9_satd_c(const int16_t *coeff, int length); |
| 437 #define vp9_satd vp9_satd_c |
| 438 |
| 439 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); |
| 440 #define vp9_sub_pixel_avg_variance16x16 vp9_sub_pixel_avg_variance16x16_c |
| 441 |
| 442 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); |
| 443 #define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c |
| 444 |
| 445 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); |
| 446 #define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c |
| 447 |
| 448 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); |
| 449 #define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c |
| 450 |
| 451 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); |
| 452 #define vp9_sub_pixel_avg_variance32x32 vp9_sub_pixel_avg_variance32x32_c |
| 453 |
| 454 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); |
| 455 #define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c |
| 456 |
| 457 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); |
| 458 #define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c |
| 459 |
| 460 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); |
| 461 #define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c |
| 462 |
| 463 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); |
| 464 #define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c |
| 465 |
| 466 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); |
| 467 #define vp9_sub_pixel_avg_variance64x64 vp9_sub_pixel_avg_variance64x64_c |
| 468 |
| 469 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); |
| 470 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c |
| 471 |
| 472 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); |
| 473 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c |
| 474 |
| 475 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); |
| 476 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c |
| 477 |
| 478 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); |
| 479 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); |
| 480 #define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_neon |
| 481 |
| 482 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); |
| 483 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c |
| 484 |
| 485 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); |
| 486 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c |
| 487 |
| 488 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); |
| 489 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c |
| 490 |
| 491 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); |
| 492 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); |
| 493 #define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_neon |
| 494 |
| 495 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); |
| 496 #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c |
| 497 |
| 498 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); |
| 499 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c |
| 500 |
| 501 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); |
| 502 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c |
| 503 |
| 504 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); |
| 505 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c |
| 506 |
| 507 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); |
| 508 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); |
| 509 #define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_neon |
| 510 |
| 511 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); |
| 512 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c |
| 513 |
| 514 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); |
| 515 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c |
| 516 |
| 517 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); |
| 518 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); |
| 519 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_neon |
| 520 |
| 521 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); |
| 522 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); |
| 523 #define vp9_subtract_block vp9_subtract_block_neon |
| 524 |
| 525 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); |
| 526 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c |
| 527 |
| 528 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 529 void vp9_tm_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 530 #define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_neon |
| 531 |
| 532 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 533 void vp9_tm_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 534 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_neon |
| 535 |
| 536 void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 537 void vp9_tm_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 538 #define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_neon |
| 539 |
| 540 void vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 541 void vp9_tm_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 542 #define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_neon |
| 543 |
| 544 void vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 545 void vp9_v_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 546 #define vp9_v_predictor_16x16 vp9_v_predictor_16x16_neon |
| 547 |
| 548 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 549 void vp9_v_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 550 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_neon |
| 551 |
| 552 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 553 void vp9_v_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 554 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_neon |
| 555 |
| 556 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 557 void vp9_v_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 558 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_neon |
| 559 |
| 560 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); |
| 561 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); |
| 562 #define vp9_variance16x16 vp9_variance16x16_neon |
| 563 |
| 564 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); |
| 565 #define vp9_variance16x32 vp9_variance16x32_c |
| 566 |
| 567 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 568 #define vp9_variance16x8 vp9_variance16x8_c |
| 569 |
| 570 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); |
| 571 #define vp9_variance32x16 vp9_variance32x16_c |
| 572 |
| 573 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); |
| 574 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); |
| 575 #define vp9_variance32x32 vp9_variance32x32_neon |
| 576 |
| 577 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); |
| 578 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); |
| 579 #define vp9_variance32x64 vp9_variance32x64_neon |
| 580 |
| 581 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 582 #define vp9_variance4x4 vp9_variance4x4_c |
| 583 |
| 584 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 585 #define vp9_variance4x8 vp9_variance4x8_c |
| 586 |
| 587 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); |
| 588 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); |
| 589 #define vp9_variance64x32 vp9_variance64x32_neon |
| 590 |
| 591 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); |
| 592 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); |
| 593 #define vp9_variance64x64 vp9_variance64x64_neon |
| 594 |
| 595 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 596 #define vp9_variance8x16 vp9_variance8x16_c |
| 597 |
| 598 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 599 #define vp9_variance8x4 vp9_variance8x4_c |
| 600 |
| 601 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 602 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); |
| 603 #define vp9_variance8x8 vp9_variance8x8_neon |
| 604 |
| 605 int vp9_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl); |
| 606 #define vp9_vector_var vp9_vector_var_c |
| 607 |
| 608 void vp9_rtcd(void); |
| 609 |
| 610 #include "vpx_config.h" |
| 611 |
| 612 #ifdef RTCD_C |
| 613 #include "vpx_ports/arm.h" |
| 614 static void setup_rtcd_internal(void) |
| 615 { |
| 616 int flags = arm_cpu_caps(); |
| 617 |
| 618 (void)flags; |
| 619 |
| 620 } |
| 621 #endif |
| 622 |
| 623 #ifdef __cplusplus |
| 624 } // extern "C" |
| 625 #endif |
| 626 |
| 627 #endif |
| OLD | NEW |