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); | |
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); | 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); |
49 | 48 |
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); | 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); |
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); | 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); |
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); | 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); |
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); | 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); |
54 | 53 |
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); | 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); |
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); | 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); |
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); | 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); |
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); | 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); |
59 | 58 |
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); | 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); |
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); | 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); |
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); | 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); |
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); | 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); |
64 | 63 |
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); | 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); |
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); | 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); |
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); | 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); |
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); | |
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); | 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); |
70 | 68 |
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); | 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); |
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); | 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); |
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); | 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); |
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); | |
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); | 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); |
76 | 73 |
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); | 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); |
78 #define vp9_convolve_avg vp9_convolve_avg_c | 75 #define vp9_convolve_avg vp9_convolve_avg_c |
79 | 76 |
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); | 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); |
81 #define vp9_convolve_copy vp9_convolve_copy_c | 78 #define vp9_convolve_copy vp9_convolve_copy_c |
82 | 79 |
83 void vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 80 void vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
84 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c | 81 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 | 196 |
200 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 197 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
201 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c | 198 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c |
202 | 199 |
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); | 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); |
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); | 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); |
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); | 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); |
206 | 203 |
207 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); | 204 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); |
208 void vp9_fdct16x16_sse2(const int16_t *input, int16_t *output, int stride); | 205 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); | |
210 RTCD_EXTERN void (*vp9_fdct16x16)(const int16_t *input, int16_t *output, int str
ide); | 206 RTCD_EXTERN void (*vp9_fdct16x16)(const int16_t *input, int16_t *output, int str
ide); |
211 | 207 |
212 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); | 208 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); |
213 void vp9_fdct32x32_sse2(const int16_t *input, int16_t *output, int stride); | 209 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); | |
215 RTCD_EXTERN void (*vp9_fdct32x32)(const int16_t *input, int16_t *output, int str
ide); | 210 RTCD_EXTERN void (*vp9_fdct32x32)(const int16_t *input, int16_t *output, int str
ide); |
216 | 211 |
217 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); | 212 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); |
218 void vp9_fdct32x32_rd_sse2(const int16_t *input, int16_t *output, int stride); | 213 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); | |
220 RTCD_EXTERN void (*vp9_fdct32x32_rd)(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); |
221 | 215 |
222 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); | 216 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); |
223 void vp9_fdct4x4_sse2(const int16_t *input, int16_t *output, int stride); | 217 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); | |
225 RTCD_EXTERN void (*vp9_fdct4x4)(const int16_t *input, int16_t *output, int strid
e); | 218 RTCD_EXTERN void (*vp9_fdct4x4)(const int16_t *input, int16_t *output, int strid
e); |
226 | 219 |
227 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); | 220 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); |
228 void vp9_fdct8x8_sse2(const int16_t *input, int16_t *output, int stride); | 221 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); | |
230 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, int16_t *output, int strid
e); | 222 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, int16_t *output, int strid
e); |
231 | 223 |
232 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty
pe); | 224 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty
pe); |
233 void vp9_fht16x16_sse2(const int16_t *input, int16_t *output, int stride, int tx
_type); | 225 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); | |
235 RTCD_EXTERN void (*vp9_fht16x16)(const int16_t *input, int16_t *output, int stri
de, int tx_type); | 226 RTCD_EXTERN void (*vp9_fht16x16)(const int16_t *input, int16_t *output, int stri
de, int tx_type); |
236 | 227 |
237 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 228 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type
); |
238 void vp9_fht4x4_sse2(const int16_t *input, int16_t *output, int stride, int tx_t
ype); | 229 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); | |
240 RTCD_EXTERN void (*vp9_fht4x4)(const int16_t *input, int16_t *output, int stride
, int tx_type); | 230 RTCD_EXTERN void (*vp9_fht4x4)(const int16_t *input, int16_t *output, int stride
, int tx_type); |
241 | 231 |
242 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 232 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type
); |
243 void vp9_fht8x8_sse2(const int16_t *input, int16_t *output, int stride, int tx_t
ype); | 233 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); | |
245 RTCD_EXTERN void (*vp9_fht8x8)(const int16_t *input, int16_t *output, int stride
, int tx_type); | 234 RTCD_EXTERN void (*vp9_fht8x8)(const int16_t *input, int16_t *output, int stride
, int tx_type); |
246 | 235 |
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); | 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); |
248 #define vp9_full_range_search vp9_full_range_search_c | 237 #define vp9_full_range_search vp9_full_range_search_c |
249 | 238 |
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); | 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); |
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); | 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); |
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); | 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); |
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); | 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); |
254 | 243 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 RTCD_EXTERN void (*vp9_iht8x8_64_add)(const int16_t *input, uint8_t *dest, int d
est_stride, int tx_type); | 322 RTCD_EXTERN void (*vp9_iht8x8_64_add)(const int16_t *input, uint8_t *dest, int d
est_stride, int tx_type); |
334 | 323 |
335 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 324 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
336 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c | 325 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c |
337 | 326 |
338 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 327 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
339 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c | 328 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c |
340 | 329 |
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); | 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); |
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); | 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); |
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); | |
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); | 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); |
345 | 333 |
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); | 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); |
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); | 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); |
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); | 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); |
349 | 337 |
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); | 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); |
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); | 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); |
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); | 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); |
353 | 341 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 #define vp9_sad32x32 vp9_sad32x32_c | 456 #define vp9_sad32x32 vp9_sad32x32_c |
469 | 457 |
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); | 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); |
471 #define vp9_sad32x32_avg vp9_sad32x32_avg_c | 459 #define vp9_sad32x32_avg vp9_sad32x32_avg_c |
472 | 460 |
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); | 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); |
474 #define vp9_sad32x32x3 vp9_sad32x32x3_c | 462 #define vp9_sad32x32x3 vp9_sad32x32x3_c |
475 | 463 |
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); | 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); |
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); | 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); |
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); | |
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); | 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); |
480 | 467 |
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); | 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); |
482 #define vp9_sad32x32x8 vp9_sad32x32x8_c | 469 #define vp9_sad32x32x8 vp9_sad32x32x8_c |
483 | 470 |
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); | 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); |
485 #define vp9_sad32x64 vp9_sad32x64_c | 472 #define vp9_sad32x64 vp9_sad32x64_c |
486 | 473 |
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); | 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); |
488 #define vp9_sad32x64_avg vp9_sad32x64_avg_c | 475 #define vp9_sad32x64_avg vp9_sad32x64_avg_c |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 #define vp9_sad64x64 vp9_sad64x64_c | 523 #define vp9_sad64x64 vp9_sad64x64_c |
537 | 524 |
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); | 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); |
539 #define vp9_sad64x64_avg vp9_sad64x64_avg_c | 526 #define vp9_sad64x64_avg vp9_sad64x64_avg_c |
540 | 527 |
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); | 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); |
542 #define vp9_sad64x64x3 vp9_sad64x64x3_c | 529 #define vp9_sad64x64x3 vp9_sad64x64x3_c |
543 | 530 |
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); | 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); |
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); | 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); |
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); | |
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); | 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); |
548 | 534 |
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); | 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); |
550 #define vp9_sad64x64x8 vp9_sad64x64x8_c | 536 #define vp9_sad64x64x8 vp9_sad64x64x8_c |
551 | 537 |
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); | 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); |
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); | 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); |
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); | 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); |
555 | 541 |
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); | 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); |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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); | 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); |
605 #define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c | 591 #define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c |
606 | 592 |
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); | 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); |
608 #define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c | 594 #define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c |
609 | 595 |
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); | 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); |
611 #define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c | 597 #define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c |
612 | 598 |
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); | 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); |
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); | 600 #define vp9_sub_pixel_avg_variance32x32 vp9_sub_pixel_avg_variance32x32_c |
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); | |
616 | 601 |
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); | 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); |
618 #define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c | 603 #define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c |
619 | 604 |
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); | 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); |
621 #define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c | 606 #define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c |
622 | 607 |
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); | 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); |
624 #define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c | 609 #define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c |
625 | 610 |
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); | 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); |
627 #define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c | 612 #define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c |
628 | 613 |
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); | 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); |
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); | 615 #define vp9_sub_pixel_avg_variance64x64 vp9_sub_pixel_avg_variance64x64_c |
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); | |
632 | 616 |
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); | 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); |
634 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c | 618 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c |
635 | 619 |
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); | 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); |
637 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c | 621 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c |
638 | 622 |
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); | 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); |
640 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c | 624 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c |
641 | 625 |
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); | 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); |
643 #define vp9_sub_pixel_mse32x32 vp9_sub_pixel_mse32x32_c | 627 #define vp9_sub_pixel_mse32x32 vp9_sub_pixel_mse32x32_c |
644 | 628 |
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); | 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); |
646 #define vp9_sub_pixel_mse64x64 vp9_sub_pixel_mse64x64_c | 630 #define vp9_sub_pixel_mse64x64 vp9_sub_pixel_mse64x64_c |
647 | 631 |
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); | 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); |
649 #define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c | 633 #define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c |
650 | 634 |
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); | 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); |
652 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c | 636 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c |
653 | 637 |
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); | 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); |
655 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c | 639 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c |
656 | 640 |
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); | 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); |
658 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c | 642 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c |
659 | 643 |
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); | 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); |
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); | 645 #define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_c |
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); | |
663 | 646 |
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); | 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); |
665 #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c | 648 #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c |
666 | 649 |
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); | 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); |
668 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c | 651 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c |
669 | 652 |
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); | 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); |
671 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c | 654 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c |
672 | 655 |
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); | 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); |
674 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c | 657 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c |
675 | 658 |
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); | 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); |
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); | 660 #define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c |
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); | |
679 | 661 |
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); | 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); |
681 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c | 663 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c |
682 | 664 |
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); | 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); |
684 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c | 666 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c |
685 | 667 |
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); | 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); |
687 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c | 669 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c |
688 | 670 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 #include "vpx_ports/x86.h" | 776 #include "vpx_ports/x86.h" |
795 static void setup_rtcd_internal(void) | 777 static void setup_rtcd_internal(void) |
796 { | 778 { |
797 int flags = x86_simd_caps(); | 779 int flags = x86_simd_caps(); |
798 | 780 |
799 (void)flags; | 781 (void)flags; |
800 | 782 |
801 vp9_convolve8 = vp9_convolve8_c; | 783 vp9_convolve8 = vp9_convolve8_c; |
802 if (flags & HAS_SSE2) vp9_convolve8 = vp9_convolve8_sse2; | 784 if (flags & HAS_SSE2) vp9_convolve8 = vp9_convolve8_sse2; |
803 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3; | 785 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3; |
804 if (flags & HAS_AVX2) vp9_convolve8 = vp9_convolve8_avx2; | |
805 vp9_convolve8_avg = vp9_convolve8_avg_c; | 786 vp9_convolve8_avg = vp9_convolve8_avg_c; |
806 if (flags & HAS_SSE2) vp9_convolve8_avg = vp9_convolve8_avg_sse2; | 787 if (flags & HAS_SSE2) vp9_convolve8_avg = vp9_convolve8_avg_sse2; |
807 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3; | 788 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3; |
808 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; | 789 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; |
809 if (flags & HAS_SSE2) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2
; | 790 if (flags & HAS_SSE2) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2
; |
810 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss
e3; | 791 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss
e3; |
811 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; | 792 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; |
812 if (flags & HAS_SSE2) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2; | 793 if (flags & HAS_SSE2) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2; |
813 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3
; | 794 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3
; |
814 vp9_convolve8_horiz = vp9_convolve8_horiz_c; | 795 vp9_convolve8_horiz = vp9_convolve8_horiz_c; |
815 if (flags & HAS_SSE2) vp9_convolve8_horiz = vp9_convolve8_horiz_sse2; | 796 if (flags & HAS_SSE2) vp9_convolve8_horiz = vp9_convolve8_horiz_sse2; |
816 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3; | 797 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3; |
817 if (flags & HAS_AVX2) vp9_convolve8_horiz = vp9_convolve8_horiz_avx2; | |
818 vp9_convolve8_vert = vp9_convolve8_vert_c; | 798 vp9_convolve8_vert = vp9_convolve8_vert_c; |
819 if (flags & HAS_SSE2) vp9_convolve8_vert = vp9_convolve8_vert_sse2; | 799 if (flags & HAS_SSE2) vp9_convolve8_vert = vp9_convolve8_vert_sse2; |
820 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3; | 800 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3; |
821 if (flags & HAS_AVX2) vp9_convolve8_vert = vp9_convolve8_vert_avx2; | |
822 vp9_diamond_search_sad = vp9_diamond_search_sad_c; | 801 vp9_diamond_search_sad = vp9_diamond_search_sad_c; |
823 if (flags & HAS_SSE3) vp9_diamond_search_sad = vp9_diamond_search_sadx4; | 802 if (flags & HAS_SSE3) vp9_diamond_search_sad = vp9_diamond_search_sadx4; |
824 vp9_fdct16x16 = vp9_fdct16x16_c; | 803 vp9_fdct16x16 = vp9_fdct16x16_c; |
825 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2; | 804 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2; |
826 if (flags & HAS_AVX2) vp9_fdct16x16 = vp9_fdct16x16_avx2; | |
827 vp9_fdct32x32 = vp9_fdct32x32_c; | 805 vp9_fdct32x32 = vp9_fdct32x32_c; |
828 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2; | 806 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2; |
829 if (flags & HAS_AVX2) vp9_fdct32x32 = vp9_fdct32x32_avx2; | |
830 vp9_fdct32x32_rd = vp9_fdct32x32_rd_c; | 807 vp9_fdct32x32_rd = vp9_fdct32x32_rd_c; |
831 if (flags & HAS_SSE2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2; | 808 if (flags & HAS_SSE2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2; |
832 if (flags & HAS_AVX2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_avx2; | |
833 vp9_fdct4x4 = vp9_fdct4x4_c; | 809 vp9_fdct4x4 = vp9_fdct4x4_c; |
834 if (flags & HAS_SSE2) vp9_fdct4x4 = vp9_fdct4x4_sse2; | 810 if (flags & HAS_SSE2) vp9_fdct4x4 = vp9_fdct4x4_sse2; |
835 if (flags & HAS_AVX2) vp9_fdct4x4 = vp9_fdct4x4_avx2; | |
836 vp9_fdct8x8 = vp9_fdct8x8_c; | 811 vp9_fdct8x8 = vp9_fdct8x8_c; |
837 if (flags & HAS_SSE2) vp9_fdct8x8 = vp9_fdct8x8_sse2; | 812 if (flags & HAS_SSE2) vp9_fdct8x8 = vp9_fdct8x8_sse2; |
838 if (flags & HAS_AVX2) vp9_fdct8x8 = vp9_fdct8x8_avx2; | |
839 vp9_fht16x16 = vp9_fht16x16_c; | 813 vp9_fht16x16 = vp9_fht16x16_c; |
840 if (flags & HAS_SSE2) vp9_fht16x16 = vp9_fht16x16_sse2; | 814 if (flags & HAS_SSE2) vp9_fht16x16 = vp9_fht16x16_sse2; |
841 if (flags & HAS_AVX2) vp9_fht16x16 = vp9_fht16x16_avx2; | |
842 vp9_fht4x4 = vp9_fht4x4_c; | 815 vp9_fht4x4 = vp9_fht4x4_c; |
843 if (flags & HAS_SSE2) vp9_fht4x4 = vp9_fht4x4_sse2; | 816 if (flags & HAS_SSE2) vp9_fht4x4 = vp9_fht4x4_sse2; |
844 if (flags & HAS_AVX2) vp9_fht4x4 = vp9_fht4x4_avx2; | |
845 vp9_fht8x8 = vp9_fht8x8_c; | 817 vp9_fht8x8 = vp9_fht8x8_c; |
846 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2; | 818 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2; |
847 if (flags & HAS_AVX2) vp9_fht8x8 = vp9_fht8x8_avx2; | |
848 vp9_full_search_sad = vp9_full_search_sad_c; | 819 vp9_full_search_sad = vp9_full_search_sad_c; |
849 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; | 820 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; |
850 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; | 821 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; |
851 vp9_get_mb_ss = vp9_get_mb_ss_c; | 822 vp9_get_mb_ss = vp9_get_mb_ss_c; |
852 if (flags & HAS_MMX) vp9_get_mb_ss = vp9_get_mb_ss_mmx; | 823 if (flags & HAS_MMX) vp9_get_mb_ss = vp9_get_mb_ss_mmx; |
853 if (flags & HAS_SSE2) vp9_get_mb_ss = vp9_get_mb_ss_sse2; | 824 if (flags & HAS_SSE2) vp9_get_mb_ss = vp9_get_mb_ss_sse2; |
854 vp9_get_sse_sum_8x8 = vp9_get_sse_sum_8x8_c; | 825 vp9_get_sse_sum_8x8 = vp9_get_sse_sum_8x8_c; |
855 if (flags & HAS_SSE2) vp9_get_sse_sum_8x8 = vp9_get8x8var_sse2; | 826 if (flags & HAS_SSE2) vp9_get_sse_sum_8x8 = vp9_get8x8var_sse2; |
856 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c; | 827 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c; |
857 if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2; | 828 if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2; |
(...skipping 18 matching lines...) Expand all Loading... |
876 vp9_idct8x8_64_add = vp9_idct8x8_64_add_c; | 847 vp9_idct8x8_64_add = vp9_idct8x8_64_add_c; |
877 if (flags & HAS_SSE2) vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2; | 848 if (flags & HAS_SSE2) vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2; |
878 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c; | 849 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c; |
879 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2; | 850 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2; |
880 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c; | 851 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c; |
881 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2; | 852 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2; |
882 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; | 853 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; |
883 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2; | 854 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2; |
884 vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_c; | 855 vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_c; |
885 if (flags & HAS_SSE2) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_sse2; | 856 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; | |
887 vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_c; | 857 vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_c; |
888 if (flags & HAS_MMX) vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_mmx; | 858 if (flags & HAS_MMX) vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_mmx; |
889 vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_c; | 859 vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_c; |
890 if (flags & HAS_SSE2) vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_
sse2; | 860 if (flags & HAS_SSE2) vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_
sse2; |
891 vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_c; | 861 vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_c; |
892 if (flags & HAS_SSE2) vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_sse2; | 862 if (flags & HAS_SSE2) vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_sse2; |
893 vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_c; | 863 vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_c; |
894 if (flags & HAS_SSE2) vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_
sse2; | 864 if (flags & HAS_SSE2) vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_
sse2; |
895 vp9_lpf_vertical_16 = vp9_lpf_vertical_16_c; | 865 vp9_lpf_vertical_16 = vp9_lpf_vertical_16_c; |
896 if (flags & HAS_SSE2) vp9_lpf_vertical_16 = vp9_lpf_vertical_16_sse2; | 866 if (flags & HAS_SSE2) vp9_lpf_vertical_16 = vp9_lpf_vertical_16_sse2; |
(...skipping 24 matching lines...) Expand all Loading... |
921 if (flags & HAS_MMX) vp9_sad16x8 = vp9_sad16x8_mmx; | 891 if (flags & HAS_MMX) vp9_sad16x8 = vp9_sad16x8_mmx; |
922 vp9_sad16x8x3 = vp9_sad16x8x3_c; | 892 vp9_sad16x8x3 = vp9_sad16x8x3_c; |
923 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3; | 893 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3; |
924 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3; | 894 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3; |
925 vp9_sad16x8x4d = vp9_sad16x8x4d_c; | 895 vp9_sad16x8x4d = vp9_sad16x8x4d_c; |
926 if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2; | 896 if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2; |
927 vp9_sad32x16x4d = vp9_sad32x16x4d_c; | 897 vp9_sad32x16x4d = vp9_sad32x16x4d_c; |
928 if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2; | 898 if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2; |
929 vp9_sad32x32x4d = vp9_sad32x32x4d_c; | 899 vp9_sad32x32x4d = vp9_sad32x32x4d_c; |
930 if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2; | 900 if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2; |
931 if (flags & HAS_AVX2) vp9_sad32x32x4d = vp9_sad32x32x4d_avx2; | |
932 vp9_sad32x64x4d = vp9_sad32x64x4d_c; | 901 vp9_sad32x64x4d = vp9_sad32x64x4d_c; |
933 if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2; | 902 if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2; |
934 vp9_sad4x4 = vp9_sad4x4_c; | 903 vp9_sad4x4 = vp9_sad4x4_c; |
935 if (flags & HAS_MMX) vp9_sad4x4 = vp9_sad4x4_mmx; | 904 if (flags & HAS_MMX) vp9_sad4x4 = vp9_sad4x4_mmx; |
936 vp9_sad4x4x3 = vp9_sad4x4x3_c; | 905 vp9_sad4x4x3 = vp9_sad4x4x3_c; |
937 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3; | 906 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3; |
938 vp9_sad4x4x4d = vp9_sad4x4x4d_c; | 907 vp9_sad4x4x4d = vp9_sad4x4x4d_c; |
939 if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse; | 908 if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse; |
940 vp9_sad4x8x4d = vp9_sad4x8x4d_c; | 909 vp9_sad4x8x4d = vp9_sad4x8x4d_c; |
941 if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse; | 910 if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse; |
942 vp9_sad64x32x4d = vp9_sad64x32x4d_c; | 911 vp9_sad64x32x4d = vp9_sad64x32x4d_c; |
943 if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2; | 912 if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2; |
944 vp9_sad64x64x4d = vp9_sad64x64x4d_c; | 913 vp9_sad64x64x4d = vp9_sad64x64x4d_c; |
945 if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2; | 914 if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2; |
946 if (flags & HAS_AVX2) vp9_sad64x64x4d = vp9_sad64x64x4d_avx2; | |
947 vp9_sad8x16 = vp9_sad8x16_c; | 915 vp9_sad8x16 = vp9_sad8x16_c; |
948 if (flags & HAS_MMX) vp9_sad8x16 = vp9_sad8x16_mmx; | 916 if (flags & HAS_MMX) vp9_sad8x16 = vp9_sad8x16_mmx; |
949 vp9_sad8x16x3 = vp9_sad8x16x3_c; | 917 vp9_sad8x16x3 = vp9_sad8x16x3_c; |
950 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3; | 918 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3; |
951 vp9_sad8x16x4d = vp9_sad8x16x4d_c; | 919 vp9_sad8x16x4d = vp9_sad8x16x4d_c; |
952 if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2; | 920 if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2; |
953 vp9_sad8x4x4d = vp9_sad8x4x4d_c; | 921 vp9_sad8x4x4d = vp9_sad8x4x4d_c; |
954 if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2; | 922 if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2; |
955 vp9_sad8x8 = vp9_sad8x8_c; | 923 vp9_sad8x8 = vp9_sad8x8_c; |
956 if (flags & HAS_MMX) vp9_sad8x8 = vp9_sad8x8_mmx; | 924 if (flags & HAS_MMX) vp9_sad8x8 = vp9_sad8x8_mmx; |
957 vp9_sad8x8x3 = vp9_sad8x8x3_c; | 925 vp9_sad8x8x3 = vp9_sad8x8x3_c; |
958 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3; | 926 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3; |
959 vp9_sad8x8x4d = vp9_sad8x8x4d_c; | 927 vp9_sad8x8x4d = vp9_sad8x8x4d_c; |
960 if (flags & HAS_SSE2) vp9_sad8x8x4d = vp9_sad8x8x4d_sse2; | 928 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; | |
969 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c; | 929 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c; |
970 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_
sse2; | 930 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_
sse2; |
971 vp9_variance16x16 = vp9_variance16x16_c; | 931 vp9_variance16x16 = vp9_variance16x16_c; |
972 if (flags & HAS_MMX) vp9_variance16x16 = vp9_variance16x16_mmx; | 932 if (flags & HAS_MMX) vp9_variance16x16 = vp9_variance16x16_mmx; |
973 vp9_variance16x8 = vp9_variance16x8_c; | 933 vp9_variance16x8 = vp9_variance16x8_c; |
974 if (flags & HAS_MMX) vp9_variance16x8 = vp9_variance16x8_mmx; | 934 if (flags & HAS_MMX) vp9_variance16x8 = vp9_variance16x8_mmx; |
975 vp9_variance4x4 = vp9_variance4x4_c; | 935 vp9_variance4x4 = vp9_variance4x4_c; |
976 if (flags & HAS_MMX) vp9_variance4x4 = vp9_variance4x4_mmx; | 936 if (flags & HAS_MMX) vp9_variance4x4 = vp9_variance4x4_mmx; |
977 vp9_variance8x16 = vp9_variance8x16_c; | 937 vp9_variance8x16 = vp9_variance8x16_c; |
978 if (flags & HAS_MMX) vp9_variance8x16 = vp9_variance8x16_mmx; | 938 if (flags & HAS_MMX) vp9_variance8x16 = vp9_variance8x16_mmx; |
979 vp9_variance8x8 = vp9_variance8x8_c; | 939 vp9_variance8x8 = vp9_variance8x8_c; |
980 if (flags & HAS_MMX) vp9_variance8x8 = vp9_variance8x8_mmx; | 940 if (flags & HAS_MMX) vp9_variance8x8 = vp9_variance8x8_mmx; |
981 } | 941 } |
982 #endif | 942 #endif |
983 | 943 |
984 #ifdef __cplusplus | 944 #ifdef __cplusplus |
985 } // extern "C" | 945 } // extern "C" |
986 #endif | 946 #endif |
987 | 947 |
988 #endif | 948 #endif |
OLD | NEW |