| 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 | 10 #ifdef __cplusplus |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 void vp9_blend_mb_outer_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, in
t v1, int alpha, int stride); | 38 void vp9_blend_mb_outer_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, in
t v1, int alpha, int stride); |
| 39 #define vp9_blend_mb_outer vp9_blend_mb_outer_c | 39 #define vp9_blend_mb_outer vp9_blend_mb_outer_c |
| 40 | 40 |
| 41 int64_t vp9_block_error_c(const int16_t *coeff, const int16_t *dqcoeff, intptr_t
block_size, int64_t *ssz); | 41 int64_t vp9_block_error_c(const int16_t *coeff, const int16_t *dqcoeff, intptr_t
block_size, int64_t *ssz); |
| 42 #define vp9_block_error vp9_block_error_c | 42 #define vp9_block_error vp9_block_error_c |
| 43 | 43 |
| 44 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); | 44 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); |
| 45 void vp9_convolve8_sse2(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); | 45 void vp9_convolve8_sse2(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); |
| 46 void vp9_convolve8_ssse3(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); | 46 void vp9_convolve8_ssse3(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); |
| 47 void vp9_convolve8_avx2(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 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 |
| 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_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_sse2(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 void vp9_convolve8_avg_sse2(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 void vp9_convolve8_avg_ssse3(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); | 52 void vp9_convolve8_avg_ssse3(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); |
| 52 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); | 53 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); |
| 53 | 54 |
| 54 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); | 55 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); |
| 55 void vp9_convolve8_avg_horiz_sse2(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); | 56 void vp9_convolve8_avg_horiz_sse2(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); |
| 56 void vp9_convolve8_avg_horiz_ssse3(const uint8_t *src, ptrdiff_t src_stride, uin
t8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const i
nt16_t *filter_y, int y_step_q4, int w, int h); | 57 void vp9_convolve8_avg_horiz_ssse3(const uint8_t *src, ptrdiff_t src_stride, uin
t8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const i
nt16_t *filter_y, int y_step_q4, int w, int h); |
| 57 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); | 58 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); |
| 58 | 59 |
| 59 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); | 60 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); |
| 60 void vp9_convolve8_avg_vert_sse2(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); | 61 void vp9_convolve8_avg_vert_sse2(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); |
| 61 void vp9_convolve8_avg_vert_ssse3(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); | 62 void vp9_convolve8_avg_vert_ssse3(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); |
| 62 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); | 63 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); |
| 63 | 64 |
| 64 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); | 65 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); |
| 65 void vp9_convolve8_horiz_sse2(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); | 66 void vp9_convolve8_horiz_sse2(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); |
| 66 void vp9_convolve8_horiz_ssse3(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 void vp9_convolve8_horiz_ssse3(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); |
| 68 void vp9_convolve8_horiz_avx2(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_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); | 69 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); |
| 68 | 70 |
| 69 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); | 71 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); |
| 70 void vp9_convolve8_vert_sse2(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); | 72 void vp9_convolve8_vert_sse2(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); |
| 71 void vp9_convolve8_vert_ssse3(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); | 73 void vp9_convolve8_vert_ssse3(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); |
| 74 void vp9_convolve8_vert_avx2(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); |
| 72 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); | 75 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); |
| 73 | 76 |
| 74 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); | 77 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); |
| 75 #define vp9_convolve_avg vp9_convolve_avg_c | 78 #define vp9_convolve_avg vp9_convolve_avg_c |
| 76 | 79 |
| 77 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); | 80 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); |
| 78 #define vp9_convolve_copy vp9_convolve_copy_c | 81 #define vp9_convolve_copy vp9_convolve_copy_c |
| 79 | 82 |
| 80 void vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 83 void vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 81 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c | 84 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 | 199 |
| 197 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 200 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 198 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c | 201 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c |
| 199 | 202 |
| 200 int vp9_diamond_search_sad_c(const struct macroblock *x, struct mv *ref_mv, stru
ct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct vp9_
variance_vtable *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv); | 203 int vp9_diamond_search_sad_c(const struct macroblock *x, struct mv *ref_mv, stru
ct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct vp9_
variance_vtable *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv); |
| 201 int vp9_diamond_search_sadx4(const struct macroblock *x, struct mv *ref_mv, stru
ct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct vp9_
variance_vtable *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv); | 204 int vp9_diamond_search_sadx4(const struct macroblock *x, struct mv *ref_mv, stru
ct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct vp9_
variance_vtable *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv); |
| 202 RTCD_EXTERN int (*vp9_diamond_search_sad)(const struct macroblock *x, struct mv
*ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, cons
t struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv); | 205 RTCD_EXTERN int (*vp9_diamond_search_sad)(const struct macroblock *x, struct mv
*ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, cons
t struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv); |
| 203 | 206 |
| 204 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); | 207 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); |
| 205 void vp9_fdct16x16_sse2(const int16_t *input, int16_t *output, int stride); | 208 void vp9_fdct16x16_sse2(const int16_t *input, int16_t *output, int stride); |
| 209 void vp9_fdct16x16_avx2(const int16_t *input, int16_t *output, int stride); |
| 206 RTCD_EXTERN void (*vp9_fdct16x16)(const int16_t *input, int16_t *output, int str
ide); | 210 RTCD_EXTERN void (*vp9_fdct16x16)(const int16_t *input, int16_t *output, int str
ide); |
| 207 | 211 |
| 208 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); | 212 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); |
| 209 void vp9_fdct32x32_sse2(const int16_t *input, int16_t *output, int stride); | 213 void vp9_fdct32x32_sse2(const int16_t *input, int16_t *output, int stride); |
| 214 void vp9_fdct32x32_avx2(const int16_t *input, int16_t *output, int stride); |
| 210 RTCD_EXTERN void (*vp9_fdct32x32)(const int16_t *input, int16_t *output, int str
ide); | 215 RTCD_EXTERN void (*vp9_fdct32x32)(const int16_t *input, int16_t *output, int str
ide); |
| 211 | 216 |
| 212 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); | 217 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); |
| 213 void vp9_fdct32x32_rd_sse2(const int16_t *input, int16_t *output, int stride); | 218 void vp9_fdct32x32_rd_sse2(const int16_t *input, int16_t *output, int stride); |
| 219 void vp9_fdct32x32_rd_avx2(const int16_t *input, int16_t *output, int stride); |
| 214 RTCD_EXTERN void (*vp9_fdct32x32_rd)(const int16_t *input, int16_t *output, int
stride); | 220 RTCD_EXTERN void (*vp9_fdct32x32_rd)(const int16_t *input, int16_t *output, int
stride); |
| 215 | 221 |
| 216 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); | 222 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); |
| 217 void vp9_fdct4x4_sse2(const int16_t *input, int16_t *output, int stride); | 223 void vp9_fdct4x4_sse2(const int16_t *input, int16_t *output, int stride); |
| 224 void vp9_fdct4x4_avx2(const int16_t *input, int16_t *output, int stride); |
| 218 RTCD_EXTERN void (*vp9_fdct4x4)(const int16_t *input, int16_t *output, int strid
e); | 225 RTCD_EXTERN void (*vp9_fdct4x4)(const int16_t *input, int16_t *output, int strid
e); |
| 219 | 226 |
| 220 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); | 227 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); |
| 221 void vp9_fdct8x8_sse2(const int16_t *input, int16_t *output, int stride); | 228 void vp9_fdct8x8_sse2(const int16_t *input, int16_t *output, int stride); |
| 229 void vp9_fdct8x8_avx2(const int16_t *input, int16_t *output, int stride); |
| 222 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, int16_t *output, int strid
e); | 230 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, int16_t *output, int strid
e); |
| 223 | 231 |
| 224 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty
pe); | 232 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty
pe); |
| 225 void vp9_fht16x16_sse2(const int16_t *input, int16_t *output, int stride, int tx
_type); | 233 void vp9_fht16x16_sse2(const int16_t *input, int16_t *output, int stride, int tx
_type); |
| 234 void vp9_fht16x16_avx2(const int16_t *input, int16_t *output, int stride, int tx
_type); |
| 226 RTCD_EXTERN void (*vp9_fht16x16)(const int16_t *input, int16_t *output, int stri
de, int tx_type); | 235 RTCD_EXTERN void (*vp9_fht16x16)(const int16_t *input, int16_t *output, int stri
de, int tx_type); |
| 227 | 236 |
| 228 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 237 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type
); |
| 229 void vp9_fht4x4_sse2(const int16_t *input, int16_t *output, int stride, int tx_t
ype); | 238 void vp9_fht4x4_sse2(const int16_t *input, int16_t *output, int stride, int tx_t
ype); |
| 239 void vp9_fht4x4_avx2(const int16_t *input, int16_t *output, int stride, int tx_t
ype); |
| 230 RTCD_EXTERN void (*vp9_fht4x4)(const int16_t *input, int16_t *output, int stride
, int tx_type); | 240 RTCD_EXTERN void (*vp9_fht4x4)(const int16_t *input, int16_t *output, int stride
, int tx_type); |
| 231 | 241 |
| 232 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 242 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type
); |
| 233 void vp9_fht8x8_sse2(const int16_t *input, int16_t *output, int stride, int tx_t
ype); | 243 void vp9_fht8x8_sse2(const int16_t *input, int16_t *output, int stride, int tx_t
ype); |
| 244 void vp9_fht8x8_avx2(const int16_t *input, int16_t *output, int stride, int tx_t
ype); |
| 234 RTCD_EXTERN void (*vp9_fht8x8)(const int16_t *input, int16_t *output, int stride
, int tx_type); | 245 RTCD_EXTERN void (*vp9_fht8x8)(const int16_t *input, int16_t *output, int stride
, int tx_type); |
| 235 | 246 |
| 236 int vp9_full_range_search_c(const struct macroblock *x, struct mv *ref_mv, struc
t mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct vp9_v
ariance_vtable *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv); | 247 int vp9_full_range_search_c(const struct macroblock *x, struct mv *ref_mv, struc
t mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct vp9_v
ariance_vtable *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv); |
| 237 #define vp9_full_range_search vp9_full_range_search_c | 248 #define vp9_full_range_search vp9_full_range_search_c |
| 238 | 249 |
| 239 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, DEC_MVCO
STS, const struct mv *center_mv, struct mv *best_mv); | 250 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, DEC_MVCO
STS, const struct mv *center_mv, struct mv *best_mv); |
| 240 int vp9_full_search_sadx3(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, DEC_MVCO
STS, const struct mv *center_mv, struct mv *best_mv); | 251 int vp9_full_search_sadx3(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, DEC_MVCO
STS, const struct mv *center_mv, struct mv *best_mv); |
| 241 int vp9_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, DEC_MVCO
STS, const struct mv *center_mv, struct mv *best_mv); | 252 int vp9_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, DEC_MVCO
STS, const struct mv *center_mv, struct mv *best_mv); |
| 242 RTCD_EXTERN int (*vp9_full_search_sad)(const struct macroblock *x, const struct
mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_
ptr, DEC_MVCOSTS, const struct mv *center_mv, struct mv *best_mv); | 253 RTCD_EXTERN int (*vp9_full_search_sad)(const struct macroblock *x, const struct
mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_
ptr, DEC_MVCOSTS, const struct mv *center_mv, struct mv *best_mv); |
| 243 | 254 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 RTCD_EXTERN void (*vp9_iht8x8_64_add)(const int16_t *input, uint8_t *dest, int d
est_stride, int tx_type); | 333 RTCD_EXTERN void (*vp9_iht8x8_64_add)(const int16_t *input, uint8_t *dest, int d
est_stride, int tx_type); |
| 323 | 334 |
| 324 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 335 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
| 325 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c | 336 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c |
| 326 | 337 |
| 327 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 338 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
| 328 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c | 339 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c |
| 329 | 340 |
| 330 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); | 341 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); |
| 331 void vp9_lpf_horizontal_16_sse2(uint8_t *s, int pitch, const uint8_t *blimit, co
nst uint8_t *limit, const uint8_t *thresh, int count); | 342 void vp9_lpf_horizontal_16_sse2(uint8_t *s, int pitch, const uint8_t *blimit, co
nst uint8_t *limit, const uint8_t *thresh, int count); |
| 343 void vp9_lpf_horizontal_16_avx2(uint8_t *s, int pitch, const uint8_t *blimit, co
nst uint8_t *limit, const uint8_t *thresh, int count); |
| 332 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); | 344 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); |
| 333 | 345 |
| 334 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); | 346 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); |
| 335 void vp9_lpf_horizontal_4_mmx(uint8_t *s, int pitch, const uint8_t *blimit, cons
t uint8_t *limit, const uint8_t *thresh, int count); | 347 void vp9_lpf_horizontal_4_mmx(uint8_t *s, int pitch, const uint8_t *blimit, cons
t uint8_t *limit, const uint8_t *thresh, int count); |
| 336 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); | 348 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); |
| 337 | 349 |
| 338 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); | 350 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); |
| 339 void vp9_lpf_horizontal_4_dual_sse2(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); | 351 void vp9_lpf_horizontal_4_dual_sse2(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); |
| 340 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); | 352 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); |
| 341 | 353 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 #define vp9_sad32x32 vp9_sad32x32_c | 468 #define vp9_sad32x32 vp9_sad32x32_c |
| 457 | 469 |
| 458 unsigned int vp9_sad32x32_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max
_sad); | 470 unsigned int vp9_sad32x32_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max
_sad); |
| 459 #define vp9_sad32x32_avg vp9_sad32x32_avg_c | 471 #define vp9_sad32x32_avg vp9_sad32x32_avg_c |
| 460 | 472 |
| 461 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 473 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
| 462 #define vp9_sad32x32x3 vp9_sad32x32x3_c | 474 #define vp9_sad32x32x3 vp9_sad32x32x3_c |
| 463 | 475 |
| 464 void vp9_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); | 476 void vp9_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 465 void vp9_sad32x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); | 477 void vp9_sad32x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 478 void vp9_sad32x32x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 466 RTCD_EXTERN void (*vp9_sad32x32x4d)(const uint8_t *src_ptr, int src_stride, con
st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | 479 RTCD_EXTERN void (*vp9_sad32x32x4d)(const uint8_t *src_ptr, int src_stride, con
st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 467 | 480 |
| 468 void vp9_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re
f_ptr, int ref_stride, uint32_t *sad_array); | 481 void vp9_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re
f_ptr, int ref_stride, uint32_t *sad_array); |
| 469 #define vp9_sad32x32x8 vp9_sad32x32x8_c | 482 #define vp9_sad32x32x8 vp9_sad32x32x8_c |
| 470 | 483 |
| 471 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride, unsigned int max_sad); | 484 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride, unsigned int max_sad); |
| 472 #define vp9_sad32x64 vp9_sad32x64_c | 485 #define vp9_sad32x64 vp9_sad32x64_c |
| 473 | 486 |
| 474 unsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_
sad); | 487 unsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_
sad); |
| 475 #define vp9_sad32x64_avg vp9_sad32x64_avg_c | 488 #define vp9_sad32x64_avg vp9_sad32x64_avg_c |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 #define vp9_sad64x64 vp9_sad64x64_c | 536 #define vp9_sad64x64 vp9_sad64x64_c |
| 524 | 537 |
| 525 unsigned int vp9_sad64x64_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max
_sad); | 538 unsigned int vp9_sad64x64_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max
_sad); |
| 526 #define vp9_sad64x64_avg vp9_sad64x64_avg_c | 539 #define vp9_sad64x64_avg vp9_sad64x64_avg_c |
| 527 | 540 |
| 528 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 541 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
| 529 #define vp9_sad64x64x3 vp9_sad64x64x3_c | 542 #define vp9_sad64x64x3 vp9_sad64x64x3_c |
| 530 | 543 |
| 531 void vp9_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); | 544 void vp9_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 532 void vp9_sad64x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); | 545 void vp9_sad64x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 546 void vp9_sad64x64x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 533 RTCD_EXTERN void (*vp9_sad64x64x4d)(const uint8_t *src_ptr, int src_stride, con
st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | 547 RTCD_EXTERN void (*vp9_sad64x64x4d)(const uint8_t *src_ptr, int src_stride, con
st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 534 | 548 |
| 535 void vp9_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re
f_ptr, int ref_stride, uint32_t *sad_array); | 549 void vp9_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re
f_ptr, int ref_stride, uint32_t *sad_array); |
| 536 #define vp9_sad64x64x8 vp9_sad64x64x8_c | 550 #define vp9_sad64x64x8 vp9_sad64x64x8_c |
| 537 | 551 |
| 538 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride, unsigned int max_sad); | 552 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride, unsigned int max_sad); |
| 539 unsigned int vp9_sad8x16_mmx(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int ref_stride, unsigned int max_sad); | 553 unsigned int vp9_sad8x16_mmx(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int ref_stride, unsigned int max_sad); |
| 540 RTCD_EXTERN unsigned int (*vp9_sad8x16)(const uint8_t *src_ptr, int source_strid
e, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | 554 RTCD_EXTERN unsigned int (*vp9_sad8x16)(const uint8_t *src_ptr, int source_strid
e, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); |
| 541 | 555 |
| 542 unsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_
sad); | 556 unsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_
sad); |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 590 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); | 604 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); |
| 591 #define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c | 605 #define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c |
| 592 | 606 |
| 593 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); | 607 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); |
| 594 #define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c | 608 #define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c |
| 595 | 609 |
| 596 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); | 610 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); |
| 597 #define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c | 611 #define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c |
| 598 | 612 |
| 599 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); | 613 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); |
| 600 #define vp9_sub_pixel_avg_variance32x32 vp9_sub_pixel_avg_variance32x32_c | 614 unsigned int vp9_sub_pixel_avg_variance32x32_avx2(const uint8_t *src_ptr, int so
urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); |
| 615 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance32x32)(const uint8_t *src_p
tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re
f_stride, unsigned int *sse, const uint8_t *second_pred); |
| 601 | 616 |
| 602 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); | 617 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); |
| 603 #define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c | 618 #define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c |
| 604 | 619 |
| 605 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); | 620 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); |
| 606 #define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c | 621 #define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c |
| 607 | 622 |
| 608 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); | 623 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); |
| 609 #define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c | 624 #define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c |
| 610 | 625 |
| 611 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); | 626 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); |
| 612 #define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c | 627 #define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c |
| 613 | 628 |
| 614 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); | 629 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); |
| 615 #define vp9_sub_pixel_avg_variance64x64 vp9_sub_pixel_avg_variance64x64_c | 630 unsigned int vp9_sub_pixel_avg_variance64x64_avx2(const uint8_t *src_ptr, int so
urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); |
| 631 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance64x64)(const uint8_t *src_p
tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re
f_stride, unsigned int *sse, const uint8_t *second_pred); |
| 616 | 632 |
| 617 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); | 633 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); |
| 618 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c | 634 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c |
| 619 | 635 |
| 620 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); | 636 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); |
| 621 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c | 637 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c |
| 622 | 638 |
| 623 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); | 639 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); |
| 624 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c | 640 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c |
| 625 | 641 |
| 626 unsigned int vp9_sub_pixel_mse32x32_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i
nt *sse); | 642 unsigned int vp9_sub_pixel_mse32x32_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i
nt *sse); |
| 627 #define vp9_sub_pixel_mse32x32 vp9_sub_pixel_mse32x32_c | 643 #define vp9_sub_pixel_mse32x32 vp9_sub_pixel_mse32x32_c |
| 628 | 644 |
| 629 unsigned int vp9_sub_pixel_mse64x64_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i
nt *sse); | 645 unsigned int vp9_sub_pixel_mse64x64_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i
nt *sse); |
| 630 #define vp9_sub_pixel_mse64x64 vp9_sub_pixel_mse64x64_c | 646 #define vp9_sub_pixel_mse64x64 vp9_sub_pixel_mse64x64_c |
| 631 | 647 |
| 632 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); | 648 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); |
| 633 #define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c | 649 #define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c |
| 634 | 650 |
| 635 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); | 651 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); |
| 636 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c | 652 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c |
| 637 | 653 |
| 638 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); | 654 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); |
| 639 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c | 655 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c |
| 640 | 656 |
| 641 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); | 657 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); |
| 642 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c | 658 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c |
| 643 | 659 |
| 644 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); | 660 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); |
| 645 #define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_c | 661 unsigned int vp9_sub_pixel_variance32x32_avx2(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse); |
| 662 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); |
| 646 | 663 |
| 647 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); | 664 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); |
| 648 #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c | 665 #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c |
| 649 | 666 |
| 650 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); | 667 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); |
| 651 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c | 668 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c |
| 652 | 669 |
| 653 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); | 670 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); |
| 654 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c | 671 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c |
| 655 | 672 |
| 656 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); | 673 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); |
| 657 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c | 674 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c |
| 658 | 675 |
| 659 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); | 676 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); |
| 660 #define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c | 677 unsigned int vp9_sub_pixel_variance64x64_avx2(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse); |
| 678 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); |
| 661 | 679 |
| 662 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); | 680 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); |
| 663 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c | 681 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c |
| 664 | 682 |
| 665 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); | 683 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); |
| 666 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c | 684 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c |
| 667 | 685 |
| 668 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); | 686 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); |
| 669 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c | 687 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c |
| 670 | 688 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 776 #include "vpx_ports/x86.h" | 794 #include "vpx_ports/x86.h" |
| 777 static void setup_rtcd_internal(void) | 795 static void setup_rtcd_internal(void) |
| 778 { | 796 { |
| 779 int flags = x86_simd_caps(); | 797 int flags = x86_simd_caps(); |
| 780 | 798 |
| 781 (void)flags; | 799 (void)flags; |
| 782 | 800 |
| 783 vp9_convolve8 = vp9_convolve8_c; | 801 vp9_convolve8 = vp9_convolve8_c; |
| 784 if (flags & HAS_SSE2) vp9_convolve8 = vp9_convolve8_sse2; | 802 if (flags & HAS_SSE2) vp9_convolve8 = vp9_convolve8_sse2; |
| 785 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3; | 803 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3; |
| 804 if (flags & HAS_AVX2) vp9_convolve8 = vp9_convolve8_avx2; |
| 786 vp9_convolve8_avg = vp9_convolve8_avg_c; | 805 vp9_convolve8_avg = vp9_convolve8_avg_c; |
| 787 if (flags & HAS_SSE2) vp9_convolve8_avg = vp9_convolve8_avg_sse2; | 806 if (flags & HAS_SSE2) vp9_convolve8_avg = vp9_convolve8_avg_sse2; |
| 788 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3; | 807 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3; |
| 789 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; | 808 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; |
| 790 if (flags & HAS_SSE2) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2
; | 809 if (flags & HAS_SSE2) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2
; |
| 791 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss
e3; | 810 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss
e3; |
| 792 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; | 811 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; |
| 793 if (flags & HAS_SSE2) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2; | 812 if (flags & HAS_SSE2) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2; |
| 794 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3
; | 813 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3
; |
| 795 vp9_convolve8_horiz = vp9_convolve8_horiz_c; | 814 vp9_convolve8_horiz = vp9_convolve8_horiz_c; |
| 796 if (flags & HAS_SSE2) vp9_convolve8_horiz = vp9_convolve8_horiz_sse2; | 815 if (flags & HAS_SSE2) vp9_convolve8_horiz = vp9_convolve8_horiz_sse2; |
| 797 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3; | 816 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3; |
| 817 if (flags & HAS_AVX2) vp9_convolve8_horiz = vp9_convolve8_horiz_avx2; |
| 798 vp9_convolve8_vert = vp9_convolve8_vert_c; | 818 vp9_convolve8_vert = vp9_convolve8_vert_c; |
| 799 if (flags & HAS_SSE2) vp9_convolve8_vert = vp9_convolve8_vert_sse2; | 819 if (flags & HAS_SSE2) vp9_convolve8_vert = vp9_convolve8_vert_sse2; |
| 800 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3; | 820 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3; |
| 821 if (flags & HAS_AVX2) vp9_convolve8_vert = vp9_convolve8_vert_avx2; |
| 801 vp9_diamond_search_sad = vp9_diamond_search_sad_c; | 822 vp9_diamond_search_sad = vp9_diamond_search_sad_c; |
| 802 if (flags & HAS_SSE3) vp9_diamond_search_sad = vp9_diamond_search_sadx4; | 823 if (flags & HAS_SSE3) vp9_diamond_search_sad = vp9_diamond_search_sadx4; |
| 803 vp9_fdct16x16 = vp9_fdct16x16_c; | 824 vp9_fdct16x16 = vp9_fdct16x16_c; |
| 804 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2; | 825 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2; |
| 826 if (flags & HAS_AVX2) vp9_fdct16x16 = vp9_fdct16x16_avx2; |
| 805 vp9_fdct32x32 = vp9_fdct32x32_c; | 827 vp9_fdct32x32 = vp9_fdct32x32_c; |
| 806 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2; | 828 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2; |
| 829 if (flags & HAS_AVX2) vp9_fdct32x32 = vp9_fdct32x32_avx2; |
| 807 vp9_fdct32x32_rd = vp9_fdct32x32_rd_c; | 830 vp9_fdct32x32_rd = vp9_fdct32x32_rd_c; |
| 808 if (flags & HAS_SSE2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2; | 831 if (flags & HAS_SSE2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2; |
| 832 if (flags & HAS_AVX2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_avx2; |
| 809 vp9_fdct4x4 = vp9_fdct4x4_c; | 833 vp9_fdct4x4 = vp9_fdct4x4_c; |
| 810 if (flags & HAS_SSE2) vp9_fdct4x4 = vp9_fdct4x4_sse2; | 834 if (flags & HAS_SSE2) vp9_fdct4x4 = vp9_fdct4x4_sse2; |
| 835 if (flags & HAS_AVX2) vp9_fdct4x4 = vp9_fdct4x4_avx2; |
| 811 vp9_fdct8x8 = vp9_fdct8x8_c; | 836 vp9_fdct8x8 = vp9_fdct8x8_c; |
| 812 if (flags & HAS_SSE2) vp9_fdct8x8 = vp9_fdct8x8_sse2; | 837 if (flags & HAS_SSE2) vp9_fdct8x8 = vp9_fdct8x8_sse2; |
| 838 if (flags & HAS_AVX2) vp9_fdct8x8 = vp9_fdct8x8_avx2; |
| 813 vp9_fht16x16 = vp9_fht16x16_c; | 839 vp9_fht16x16 = vp9_fht16x16_c; |
| 814 if (flags & HAS_SSE2) vp9_fht16x16 = vp9_fht16x16_sse2; | 840 if (flags & HAS_SSE2) vp9_fht16x16 = vp9_fht16x16_sse2; |
| 841 if (flags & HAS_AVX2) vp9_fht16x16 = vp9_fht16x16_avx2; |
| 815 vp9_fht4x4 = vp9_fht4x4_c; | 842 vp9_fht4x4 = vp9_fht4x4_c; |
| 816 if (flags & HAS_SSE2) vp9_fht4x4 = vp9_fht4x4_sse2; | 843 if (flags & HAS_SSE2) vp9_fht4x4 = vp9_fht4x4_sse2; |
| 844 if (flags & HAS_AVX2) vp9_fht4x4 = vp9_fht4x4_avx2; |
| 817 vp9_fht8x8 = vp9_fht8x8_c; | 845 vp9_fht8x8 = vp9_fht8x8_c; |
| 818 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2; | 846 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2; |
| 847 if (flags & HAS_AVX2) vp9_fht8x8 = vp9_fht8x8_avx2; |
| 819 vp9_full_search_sad = vp9_full_search_sad_c; | 848 vp9_full_search_sad = vp9_full_search_sad_c; |
| 820 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; | 849 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; |
| 821 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; | 850 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; |
| 822 vp9_get_mb_ss = vp9_get_mb_ss_c; | 851 vp9_get_mb_ss = vp9_get_mb_ss_c; |
| 823 if (flags & HAS_MMX) vp9_get_mb_ss = vp9_get_mb_ss_mmx; | 852 if (flags & HAS_MMX) vp9_get_mb_ss = vp9_get_mb_ss_mmx; |
| 824 if (flags & HAS_SSE2) vp9_get_mb_ss = vp9_get_mb_ss_sse2; | 853 if (flags & HAS_SSE2) vp9_get_mb_ss = vp9_get_mb_ss_sse2; |
| 825 vp9_get_sse_sum_8x8 = vp9_get_sse_sum_8x8_c; | 854 vp9_get_sse_sum_8x8 = vp9_get_sse_sum_8x8_c; |
| 826 if (flags & HAS_SSE2) vp9_get_sse_sum_8x8 = vp9_get8x8var_sse2; | 855 if (flags & HAS_SSE2) vp9_get_sse_sum_8x8 = vp9_get8x8var_sse2; |
| 827 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c; | 856 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c; |
| 828 if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2; | 857 if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 847 vp9_idct8x8_64_add = vp9_idct8x8_64_add_c; | 876 vp9_idct8x8_64_add = vp9_idct8x8_64_add_c; |
| 848 if (flags & HAS_SSE2) vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2; | 877 if (flags & HAS_SSE2) vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2; |
| 849 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c; | 878 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c; |
| 850 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2; | 879 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2; |
| 851 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c; | 880 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c; |
| 852 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2; | 881 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2; |
| 853 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; | 882 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; |
| 854 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2; | 883 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2; |
| 855 vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_c; | 884 vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_c; |
| 856 if (flags & HAS_SSE2) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_sse2; | 885 if (flags & HAS_SSE2) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_sse2; |
| 886 if (flags & HAS_AVX2) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_avx2; |
| 857 vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_c; | 887 vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_c; |
| 858 if (flags & HAS_MMX) vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_mmx; | 888 if (flags & HAS_MMX) vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_mmx; |
| 859 vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_c; | 889 vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_c; |
| 860 if (flags & HAS_SSE2) vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_
sse2; | 890 if (flags & HAS_SSE2) vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_
sse2; |
| 861 vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_c; | 891 vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_c; |
| 862 if (flags & HAS_SSE2) vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_sse2; | 892 if (flags & HAS_SSE2) vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_sse2; |
| 863 vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_c; | 893 vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_c; |
| 864 if (flags & HAS_SSE2) vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_
sse2; | 894 if (flags & HAS_SSE2) vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_
sse2; |
| 865 vp9_lpf_vertical_16 = vp9_lpf_vertical_16_c; | 895 vp9_lpf_vertical_16 = vp9_lpf_vertical_16_c; |
| 866 if (flags & HAS_SSE2) vp9_lpf_vertical_16 = vp9_lpf_vertical_16_sse2; | 896 if (flags & HAS_SSE2) vp9_lpf_vertical_16 = vp9_lpf_vertical_16_sse2; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 891 if (flags & HAS_MMX) vp9_sad16x8 = vp9_sad16x8_mmx; | 921 if (flags & HAS_MMX) vp9_sad16x8 = vp9_sad16x8_mmx; |
| 892 vp9_sad16x8x3 = vp9_sad16x8x3_c; | 922 vp9_sad16x8x3 = vp9_sad16x8x3_c; |
| 893 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3; | 923 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3; |
| 894 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3; | 924 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3; |
| 895 vp9_sad16x8x4d = vp9_sad16x8x4d_c; | 925 vp9_sad16x8x4d = vp9_sad16x8x4d_c; |
| 896 if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2; | 926 if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2; |
| 897 vp9_sad32x16x4d = vp9_sad32x16x4d_c; | 927 vp9_sad32x16x4d = vp9_sad32x16x4d_c; |
| 898 if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2; | 928 if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2; |
| 899 vp9_sad32x32x4d = vp9_sad32x32x4d_c; | 929 vp9_sad32x32x4d = vp9_sad32x32x4d_c; |
| 900 if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2; | 930 if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2; |
| 931 if (flags & HAS_AVX2) vp9_sad32x32x4d = vp9_sad32x32x4d_avx2; |
| 901 vp9_sad32x64x4d = vp9_sad32x64x4d_c; | 932 vp9_sad32x64x4d = vp9_sad32x64x4d_c; |
| 902 if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2; | 933 if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2; |
| 903 vp9_sad4x4 = vp9_sad4x4_c; | 934 vp9_sad4x4 = vp9_sad4x4_c; |
| 904 if (flags & HAS_MMX) vp9_sad4x4 = vp9_sad4x4_mmx; | 935 if (flags & HAS_MMX) vp9_sad4x4 = vp9_sad4x4_mmx; |
| 905 vp9_sad4x4x3 = vp9_sad4x4x3_c; | 936 vp9_sad4x4x3 = vp9_sad4x4x3_c; |
| 906 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3; | 937 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3; |
| 907 vp9_sad4x4x4d = vp9_sad4x4x4d_c; | 938 vp9_sad4x4x4d = vp9_sad4x4x4d_c; |
| 908 if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse; | 939 if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse; |
| 909 vp9_sad4x8x4d = vp9_sad4x8x4d_c; | 940 vp9_sad4x8x4d = vp9_sad4x8x4d_c; |
| 910 if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse; | 941 if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse; |
| 911 vp9_sad64x32x4d = vp9_sad64x32x4d_c; | 942 vp9_sad64x32x4d = vp9_sad64x32x4d_c; |
| 912 if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2; | 943 if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2; |
| 913 vp9_sad64x64x4d = vp9_sad64x64x4d_c; | 944 vp9_sad64x64x4d = vp9_sad64x64x4d_c; |
| 914 if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2; | 945 if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2; |
| 946 if (flags & HAS_AVX2) vp9_sad64x64x4d = vp9_sad64x64x4d_avx2; |
| 915 vp9_sad8x16 = vp9_sad8x16_c; | 947 vp9_sad8x16 = vp9_sad8x16_c; |
| 916 if (flags & HAS_MMX) vp9_sad8x16 = vp9_sad8x16_mmx; | 948 if (flags & HAS_MMX) vp9_sad8x16 = vp9_sad8x16_mmx; |
| 917 vp9_sad8x16x3 = vp9_sad8x16x3_c; | 949 vp9_sad8x16x3 = vp9_sad8x16x3_c; |
| 918 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3; | 950 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3; |
| 919 vp9_sad8x16x4d = vp9_sad8x16x4d_c; | 951 vp9_sad8x16x4d = vp9_sad8x16x4d_c; |
| 920 if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2; | 952 if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2; |
| 921 vp9_sad8x4x4d = vp9_sad8x4x4d_c; | 953 vp9_sad8x4x4d = vp9_sad8x4x4d_c; |
| 922 if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2; | 954 if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2; |
| 923 vp9_sad8x8 = vp9_sad8x8_c; | 955 vp9_sad8x8 = vp9_sad8x8_c; |
| 924 if (flags & HAS_MMX) vp9_sad8x8 = vp9_sad8x8_mmx; | 956 if (flags & HAS_MMX) vp9_sad8x8 = vp9_sad8x8_mmx; |
| 925 vp9_sad8x8x3 = vp9_sad8x8x3_c; | 957 vp9_sad8x8x3 = vp9_sad8x8x3_c; |
| 926 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3; | 958 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3; |
| 927 vp9_sad8x8x4d = vp9_sad8x8x4d_c; | 959 vp9_sad8x8x4d = vp9_sad8x8x4d_c; |
| 928 if (flags & HAS_SSE2) vp9_sad8x8x4d = vp9_sad8x8x4d_sse2; | 960 if (flags & HAS_SSE2) vp9_sad8x8x4d = vp9_sad8x8x4d_sse2; |
| 961 vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_variance32x32_c; |
| 962 if (flags & HAS_AVX2) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_va
riance32x32_avx2; |
| 963 vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_variance64x64_c; |
| 964 if (flags & HAS_AVX2) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_va
riance64x64_avx2; |
| 965 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_c; |
| 966 if (flags & HAS_AVX2) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32
x32_avx2; |
| 967 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_c; |
| 968 if (flags & HAS_AVX2) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64
x64_avx2; |
| 929 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c; | 969 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c; |
| 930 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_
sse2; | 970 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_
sse2; |
| 931 vp9_variance16x16 = vp9_variance16x16_c; | 971 vp9_variance16x16 = vp9_variance16x16_c; |
| 932 if (flags & HAS_MMX) vp9_variance16x16 = vp9_variance16x16_mmx; | 972 if (flags & HAS_MMX) vp9_variance16x16 = vp9_variance16x16_mmx; |
| 933 vp9_variance16x8 = vp9_variance16x8_c; | 973 vp9_variance16x8 = vp9_variance16x8_c; |
| 934 if (flags & HAS_MMX) vp9_variance16x8 = vp9_variance16x8_mmx; | 974 if (flags & HAS_MMX) vp9_variance16x8 = vp9_variance16x8_mmx; |
| 935 vp9_variance4x4 = vp9_variance4x4_c; | 975 vp9_variance4x4 = vp9_variance4x4_c; |
| 936 if (flags & HAS_MMX) vp9_variance4x4 = vp9_variance4x4_mmx; | 976 if (flags & HAS_MMX) vp9_variance4x4 = vp9_variance4x4_mmx; |
| 937 vp9_variance8x16 = vp9_variance8x16_c; | 977 vp9_variance8x16 = vp9_variance8x16_c; |
| 938 if (flags & HAS_MMX) vp9_variance8x16 = vp9_variance8x16_mmx; | 978 if (flags & HAS_MMX) vp9_variance8x16 = vp9_variance8x16_mmx; |
| 939 vp9_variance8x8 = vp9_variance8x8_c; | 979 vp9_variance8x8 = vp9_variance8x8_c; |
| 940 if (flags & HAS_MMX) vp9_variance8x8 = vp9_variance8x8_mmx; | 980 if (flags & HAS_MMX) vp9_variance8x8 = vp9_variance8x8_mmx; |
| 941 } | 981 } |
| 942 #endif | 982 #endif |
| 943 | 983 |
| 944 #ifdef __cplusplus | 984 #ifdef __cplusplus |
| 945 } // extern "C" | 985 } // extern "C" |
| 946 #endif | 986 #endif |
| 947 | 987 |
| 948 #endif | 988 #endif |
| OLD | NEW |