| OLD | NEW |
| 1 #ifndef VP9_RTCD_H_ | 1 #ifndef VP9_RTCD_H_ |
| 2 #define VP9_RTCD_H_ | 2 #define VP9_RTCD_H_ |
| 3 | 3 |
| 4 #ifdef RTCD_C | 4 #ifdef RTCD_C |
| 5 #define RTCD_EXTERN | 5 #define RTCD_EXTERN |
| 6 #else | 6 #else |
| 7 #define RTCD_EXTERN extern | 7 #define RTCD_EXTERN extern |
| 8 #endif | 8 #endif |
| 9 | 9 |
| 10 #ifdef __cplusplus | |
| 11 extern "C" { | |
| 12 #endif | |
| 13 | |
| 14 /* | 10 /* |
| 15 * VP9 | 11 * VP9 |
| 16 */ | 12 */ |
| 17 | 13 |
| 18 #include "vpx/vpx_integer.h" | 14 #include "vpx/vpx_integer.h" |
| 19 #include "vp9/common/vp9_enums.h" | 15 #include "vp9/common/vp9_enums.h" |
| 16 #include "vp9/common/vp9_idct.h" |
| 20 | 17 |
| 21 struct macroblockd; | 18 struct macroblockd; |
| 22 | 19 |
| 23 /* Encoder forward decls */ | 20 /* Encoder forward decls */ |
| 24 struct macroblock; | 21 struct macroblock; |
| 25 struct vp9_variance_vtable; | 22 struct vp9_variance_vtable; |
| 26 struct search_site_config; | 23 struct search_site_config; |
| 27 struct mv; | 24 struct mv; |
| 28 union int_mv; | 25 union int_mv; |
| 29 struct yv12_buffer_config; | 26 struct yv12_buffer_config; |
| 30 | 27 |
| 31 int64_t vp9_block_error_c(const int16_t *coeff, const int16_t *dqcoeff, intptr_t
block_size, int64_t *ssz); | 28 #ifdef __cplusplus |
| 29 extern "C" { |
| 30 #endif |
| 31 |
| 32 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, in
tptr_t block_size, int64_t *ssz); |
| 32 #define vp9_block_error vp9_block_error_c | 33 #define vp9_block_error vp9_block_error_c |
| 33 | 34 |
| 34 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); | 35 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); |
| 35 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); | 36 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); |
| 36 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); | 37 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); |
| 37 | 38 |
| 38 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); | 39 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); |
| 39 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); | 40 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); |
| 40 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); | 41 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); |
| 41 | 42 |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 | 180 |
| 180 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 181 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 181 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c | 182 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c |
| 182 | 183 |
| 183 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 184 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 184 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c | 185 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c |
| 185 | 186 |
| 186 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); | 187 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); |
| 187 #define vp9_diamond_search_sad vp9_diamond_search_sad_c | 188 #define vp9_diamond_search_sad vp9_diamond_search_sad_c |
| 188 | 189 |
| 189 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); | 190 void vp9_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); |
| 190 #define vp9_fdct16x16 vp9_fdct16x16_c | 191 #define vp9_fdct16x16 vp9_fdct16x16_c |
| 191 | 192 |
| 192 void vp9_fdct16x16_1_c(const int16_t *input, int16_t *output, int stride); | 193 void vp9_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); |
| 193 #define vp9_fdct16x16_1 vp9_fdct16x16_1_c | 194 #define vp9_fdct16x16_1 vp9_fdct16x16_1_c |
| 194 | 195 |
| 195 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); | 196 void vp9_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride); |
| 196 #define vp9_fdct32x32 vp9_fdct32x32_c | 197 #define vp9_fdct32x32 vp9_fdct32x32_c |
| 197 | 198 |
| 198 void vp9_fdct32x32_1_c(const int16_t *input, int16_t *output, int stride); | 199 void vp9_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride); |
| 199 #define vp9_fdct32x32_1 vp9_fdct32x32_1_c | 200 #define vp9_fdct32x32_1 vp9_fdct32x32_1_c |
| 200 | 201 |
| 201 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); | 202 void vp9_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride); |
| 202 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c | 203 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c |
| 203 | 204 |
| 204 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); | 205 void vp9_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride); |
| 205 #define vp9_fdct4x4 vp9_fdct4x4_c | 206 #define vp9_fdct4x4 vp9_fdct4x4_c |
| 206 | 207 |
| 207 void vp9_fdct4x4_1_c(const int16_t *input, int16_t *output, int stride); | 208 void vp9_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride); |
| 208 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c | 209 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c |
| 209 | 210 |
| 210 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); | 211 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); |
| 211 void vp9_fdct8x8_neon(const int16_t *input, int16_t *output, int stride); | 212 void vp9_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride); |
| 212 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, int16_t *output, int strid
e); | 213 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, tran_low_t *output, int st
ride); |
| 213 | 214 |
| 214 void vp9_fdct8x8_1_c(const int16_t *input, int16_t *output, int stride); | 215 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); |
| 215 void vp9_fdct8x8_1_neon(const int16_t *input, int16_t *output, int stride); | 216 void vp9_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride); |
| 216 RTCD_EXTERN void (*vp9_fdct8x8_1)(const int16_t *input, int16_t *output, int str
ide); | 217 RTCD_EXTERN void (*vp9_fdct8x8_1)(const int16_t *input, tran_low_t *output, int
stride); |
| 217 | 218 |
| 218 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty
pe); | 219 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); |
| 219 #define vp9_fht16x16 vp9_fht16x16_c | 220 #define vp9_fht16x16 vp9_fht16x16_c |
| 220 | 221 |
| 221 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 222 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
| 222 #define vp9_fht4x4 vp9_fht4x4_c | 223 #define vp9_fht4x4 vp9_fht4x4_c |
| 223 | 224 |
| 224 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 225 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
| 225 #define vp9_fht8x8 vp9_fht8x8_c | 226 #define vp9_fht8x8 vp9_fht8x8_c |
| 226 | 227 |
| 227 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); | 228 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); |
| 228 #define vp9_full_range_search vp9_full_range_search_c | 229 #define vp9_full_range_search vp9_full_range_search_c |
| 229 | 230 |
| 230 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); | 231 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); |
| 231 #define vp9_full_search_sad vp9_full_search_sad_c | 232 #define vp9_full_search_sad vp9_full_search_sad_c |
| 232 | 233 |
| 233 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); | 234 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); |
| 234 #define vp9_fwht4x4 vp9_fwht4x4_c | 235 #define vp9_fwht4x4 vp9_fwht4x4_c |
| 235 | 236 |
| 236 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); | 237 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); |
| 237 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); | 238 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); |
| 238 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); | 239 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); |
| 239 | 240 |
| 240 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); | 241 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); |
| 241 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); | 242 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); |
| 242 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); | 243 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); |
| 243 | 244 |
| 244 unsigned int vp9_get_mb_ss_c(const int16_t *); | 245 unsigned int vp9_get_mb_ss_c(const int16_t *); |
| 245 #define vp9_get_mb_ss vp9_get_mb_ss_c | 246 #define vp9_get_mb_ss vp9_get_mb_ss_c |
| 246 | 247 |
| 247 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 248 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 248 void vp9_h_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 249 void vp9_h_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 249 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 250 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
| 250 | 251 |
| 251 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 252 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 252 void vp9_h_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 253 void vp9_h_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 253 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 254 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
| 254 | 255 |
| 255 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 256 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 256 void vp9_h_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | 257 void vp9_h_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 257 RTCD_EXTERN void (*vp9_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); | 258 RTCD_EXTERN void (*vp9_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
| 258 | 259 |
| 259 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 260 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 260 void vp9_h_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | 261 void vp9_h_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 261 RTCD_EXTERN void (*vp9_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); | 262 RTCD_EXTERN void (*vp9_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
| 262 | 263 |
| 263 void vp9_idct16x16_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride
); | 264 void vp9_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 264 void vp9_idct16x16_10_add_neon(const int16_t *input, uint8_t *dest, int dest_str
ide); | 265 void vp9_idct16x16_10_add_neon(const tran_low_t *input, uint8_t *dest, int dest_
stride); |
| 265 RTCD_EXTERN void (*vp9_idct16x16_10_add)(const int16_t *input, uint8_t *dest, in
t dest_stride); | 266 RTCD_EXTERN void (*vp9_idct16x16_10_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); |
| 266 | 267 |
| 267 void vp9_idct16x16_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride)
; | 268 void vp9_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
| 268 void vp9_idct16x16_1_add_neon(const int16_t *input, uint8_t *dest, int dest_stri
de); | 269 void vp9_idct16x16_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
| 269 RTCD_EXTERN void (*vp9_idct16x16_1_add)(const int16_t *input, uint8_t *dest, int
dest_stride); | 270 RTCD_EXTERN void (*vp9_idct16x16_1_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); |
| 270 | 271 |
| 271 void vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *dest, int dest_strid
e); | 272 void vp9_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 272 void vp9_idct16x16_256_add_neon(const int16_t *input, uint8_t *dest, int dest_st
ride); | 273 void vp9_idct16x16_256_add_neon(const tran_low_t *input, uint8_t *dest, int dest
_stride); |
| 273 RTCD_EXTERN void (*vp9_idct16x16_256_add)(const int16_t *input, uint8_t *dest, i
nt dest_stride); | 274 RTCD_EXTERN void (*vp9_idct16x16_256_add)(const tran_low_t *input, uint8_t *dest
, int dest_stride); |
| 274 | 275 |
| 275 void vp9_idct32x32_1024_add_c(const int16_t *input, uint8_t *dest, int dest_stri
de); | 276 void vp9_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
| 276 void vp9_idct32x32_1024_add_neon(const int16_t *input, uint8_t *dest, int dest_s
tride); | 277 void vp9_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int des
t_stride); |
| 277 RTCD_EXTERN void (*vp9_idct32x32_1024_add)(const int16_t *input, uint8_t *dest,
int dest_stride); | 278 RTCD_EXTERN void (*vp9_idct32x32_1024_add)(const tran_low_t *input, uint8_t *des
t, int dest_stride); |
| 278 | 279 |
| 279 void vp9_idct32x32_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride)
; | 280 void vp9_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
| 280 void vp9_idct32x32_1_add_neon(const int16_t *input, uint8_t *dest, int dest_stri
de); | 281 void vp9_idct32x32_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
| 281 RTCD_EXTERN void (*vp9_idct32x32_1_add)(const int16_t *input, uint8_t *dest, int
dest_stride); | 282 RTCD_EXTERN void (*vp9_idct32x32_1_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); |
| 282 | 283 |
| 283 void vp9_idct32x32_34_add_c(const int16_t *input, uint8_t *dest, int dest_stride
); | 284 void vp9_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 284 void vp9_idct32x32_1024_add_neon(const int16_t *input, uint8_t *dest, int dest_s
tride); | 285 void vp9_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int des
t_stride); |
| 285 RTCD_EXTERN void (*vp9_idct32x32_34_add)(const int16_t *input, uint8_t *dest, in
t dest_stride); | 286 RTCD_EXTERN void (*vp9_idct32x32_34_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); |
| 286 | 287 |
| 287 void vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 288 void vp9_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 288 void vp9_idct4x4_16_add_neon(const int16_t *input, uint8_t *dest, int dest_strid
e); | 289 void vp9_idct4x4_16_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 289 RTCD_EXTERN void (*vp9_idct4x4_16_add)(const int16_t *input, uint8_t *dest, int
dest_stride); | 290 RTCD_EXTERN void (*vp9_idct4x4_16_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); |
| 290 | 291 |
| 291 void vp9_idct4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 292 void vp9_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 292 void vp9_idct4x4_1_add_neon(const int16_t *input, uint8_t *dest, int dest_stride
); | 293 void vp9_idct4x4_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 293 RTCD_EXTERN void (*vp9_idct4x4_1_add)(const int16_t *input, uint8_t *dest, int d
est_stride); | 294 RTCD_EXTERN void (*vp9_idct4x4_1_add)(const tran_low_t *input, uint8_t *dest, in
t dest_stride); |
| 294 | 295 |
| 295 void vp9_idct8x8_12_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 296 void vp9_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 296 void vp9_idct8x8_12_add_neon(const int16_t *input, uint8_t *dest, int dest_strid
e); | 297 void vp9_idct8x8_12_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 297 RTCD_EXTERN void (*vp9_idct8x8_12_add)(const int16_t *input, uint8_t *dest, int
dest_stride); | 298 RTCD_EXTERN void (*vp9_idct8x8_12_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); |
| 298 | 299 |
| 299 void vp9_idct8x8_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 300 void vp9_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 300 void vp9_idct8x8_1_add_neon(const int16_t *input, uint8_t *dest, int dest_stride
); | 301 void vp9_idct8x8_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 301 RTCD_EXTERN void (*vp9_idct8x8_1_add)(const int16_t *input, uint8_t *dest, int d
est_stride); | 302 RTCD_EXTERN void (*vp9_idct8x8_1_add)(const tran_low_t *input, uint8_t *dest, in
t dest_stride); |
| 302 | 303 |
| 303 void vp9_idct8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 304 void vp9_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 304 void vp9_idct8x8_64_add_neon(const int16_t *input, uint8_t *dest, int dest_strid
e); | 305 void vp9_idct8x8_64_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 305 RTCD_EXTERN void (*vp9_idct8x8_64_add)(const int16_t *input, uint8_t *dest, int
dest_stride); | 306 RTCD_EXTERN void (*vp9_idct8x8_64_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); |
| 306 | 307 |
| 307 void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, in
t tx_type); | 308 void vp9_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch,
int tx_type); |
| 308 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_c | 309 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_c |
| 309 | 310 |
| 310 void vp9_iht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); | 311 void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
| 311 void vp9_iht4x4_16_add_neon(const int16_t *input, uint8_t *dest, int dest_stride
, int tx_type); | 312 void vp9_iht4x4_16_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide, int tx_type); |
| 312 RTCD_EXTERN void (*vp9_iht4x4_16_add)(const int16_t *input, uint8_t *dest, int d
est_stride, int tx_type); | 313 RTCD_EXTERN void (*vp9_iht4x4_16_add)(const tran_low_t *input, uint8_t *dest, in
t dest_stride, int tx_type); |
| 313 | 314 |
| 314 void vp9_iht8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); | 315 void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
| 315 void vp9_iht8x8_64_add_neon(const int16_t *input, uint8_t *dest, int dest_stride
, int tx_type); | 316 void vp9_iht8x8_64_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide, int tx_type); |
| 316 RTCD_EXTERN void (*vp9_iht8x8_64_add)(const int16_t *input, uint8_t *dest, int d
est_stride, int tx_type); | 317 RTCD_EXTERN void (*vp9_iht8x8_64_add)(const tran_low_t *input, uint8_t *dest, in
t dest_stride, int tx_type); |
| 317 | 318 |
| 318 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 319 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 319 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c | 320 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c |
| 320 | 321 |
| 321 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 322 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 322 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c | 323 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c |
| 323 | 324 |
| 324 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); | 325 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); |
| 325 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); | 326 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); |
| 326 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); | 327 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); |
| 327 | 328 |
| 328 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); | 329 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); |
| 329 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); | 330 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); |
| 330 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); | 331 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); |
| 331 | 332 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 | 371 |
| 371 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); | 372 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); |
| 372 #define vp9_mse16x8 vp9_mse16x8_c | 373 #define vp9_mse16x8 vp9_mse16x8_c |
| 373 | 374 |
| 374 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); | 375 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); |
| 375 #define vp9_mse8x16 vp9_mse8x16_c | 376 #define vp9_mse8x16 vp9_mse8x16_c |
| 376 | 377 |
| 377 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); | 378 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); |
| 378 #define vp9_mse8x8 vp9_mse8x8_c | 379 #define vp9_mse8x8 vp9_mse8x8_c |
| 379 | 380 |
| 380 void vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_bloc
k, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr,
const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const
int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan
, const int16_t *iscan); | 381 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, int zbin_oq_value, uint16_t *eob_ptr, const int1
6_t *scan, const int16_t *iscan); |
| 381 #define vp9_quantize_b vp9_quantize_b_c | 382 #define vp9_quantize_b vp9_quantize_b_c |
| 382 | 383 |
| 383 void vp9_quantize_b_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int ski
p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant
_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr,
const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t
*scan, const int16_t *iscan); | 384 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, int zbin_oq_value, uint16_t *eob_ptr, cons
t int16_t *scan, const int16_t *iscan); |
| 384 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c | 385 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c |
| 385 | 386 |
| 386 void vp9_quantize_fp_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_blo
ck, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr,
const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, cons
t int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *sca
n, const int16_t *iscan); | 387 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, int zbin_oq_value, uint16_t *eob_ptr, const int
16_t *scan, const int16_t *iscan); |
| 387 void vp9_quantize_fp_neon(const int16_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, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, c
onst int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *
scan, const int16_t *iscan); | 388 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, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); |
| 388 RTCD_EXTERN void (*vp9_quantize_fp)(const int16_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, int16_t *qcoeff_ptr, int16_t *dqco
eff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); | 389 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, int zbin_oq_value, uint16_t *eob_p
tr, const int16_t *scan, const int16_t *iscan); |
| 389 | 390 |
| 390 void vp9_quantize_fp_32x32_c(const int16_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, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr
, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_
t *scan, const int16_t *iscan); | 391 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, int zbin_oq_value, uint16_t *eob_ptr, con
st int16_t *scan, const int16_t *iscan); |
| 391 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c | 392 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c |
| 392 | 393 |
| 393 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int
sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru
ct mv *center_mv); | 394 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int
sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru
ct mv *center_mv); |
| 394 #define vp9_refining_search_sad vp9_refining_search_sad_c | 395 #define vp9_refining_search_sad vp9_refining_search_sad_c |
| 395 | 396 |
| 396 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 397 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 397 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 398 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
| 398 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); | 399 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); |
| 399 | 400 |
| 400 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 401 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| (...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 857 vp9_variance8x8 = vp9_variance8x8_c; | 858 vp9_variance8x8 = vp9_variance8x8_c; |
| 858 if (flags & HAS_NEON) vp9_variance8x8 = vp9_variance8x8_neon; | 859 if (flags & HAS_NEON) vp9_variance8x8 = vp9_variance8x8_neon; |
| 859 } | 860 } |
| 860 #endif | 861 #endif |
| 861 | 862 |
| 862 #ifdef __cplusplus | 863 #ifdef __cplusplus |
| 863 } // extern "C" | 864 } // extern "C" |
| 864 #endif | 865 #endif |
| 865 | 866 |
| 866 #endif | 867 #endif |
| OLD | NEW |