Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: source/config/mac/ia32/vp9_rtcd.h

Issue 863143002: Enable AVX2 optimizations in libvpx (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/config/linux/x64/vpx_config.c ('k') | source/config/mac/ia32/vpx_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 /* 10 /*
(...skipping 20 matching lines...) Expand all
31 31
32 unsigned int vp9_avg_4x4_c(const uint8_t *, int p); 32 unsigned int vp9_avg_4x4_c(const uint8_t *, int p);
33 unsigned int vp9_avg_4x4_sse2(const uint8_t *, int p); 33 unsigned int vp9_avg_4x4_sse2(const uint8_t *, int p);
34 RTCD_EXTERN unsigned int (*vp9_avg_4x4)(const uint8_t *, int p); 34 RTCD_EXTERN unsigned int (*vp9_avg_4x4)(const uint8_t *, int p);
35 35
36 unsigned int vp9_avg_8x8_c(const uint8_t *, int p); 36 unsigned int vp9_avg_8x8_c(const uint8_t *, int p);
37 unsigned int vp9_avg_8x8_sse2(const uint8_t *, int p); 37 unsigned int vp9_avg_8x8_sse2(const uint8_t *, int p);
38 RTCD_EXTERN unsigned int (*vp9_avg_8x8)(const uint8_t *, int p); 38 RTCD_EXTERN unsigned int (*vp9_avg_8x8)(const uint8_t *, int p);
39 39
40 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, in tptr_t block_size, int64_t *ssz); 40 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, in tptr_t block_size, int64_t *ssz);
41 #define vp9_block_error vp9_block_error_c 41 int64_t vp9_block_error_avx2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
42 RTCD_EXTERN int64_t (*vp9_block_error)(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
42 43
43 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);
44 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);
45 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);
46 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);
47 49
48 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);
49 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);
50 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);
51 RTCD_EXTERN void (*vp9_convolve8_avg)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, cons t int16_t *filter_y, int y_step_q4, int w, int h); 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 54
53 void vp9_convolve8_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16 _t *filter_y, int y_step_q4, int w, int h); 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_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);
55 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);
56 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);
57 59
58 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);
59 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);
60 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);
61 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);
62 64
63 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);
64 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);
65 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);
66 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);
67 70
68 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);
69 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);
70 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);
71 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);
72 76
73 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);
74 #define vp9_convolve_avg vp9_convolve_avg_c 78 #define vp9_convolve_avg vp9_convolve_avg_c
75 79
76 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);
77 #define vp9_convolve_copy vp9_convolve_copy_c 81 #define vp9_convolve_copy vp9_convolve_copy_c
78 82
79 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);
80 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c 84 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 void vp9_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); 210 void vp9_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride);
207 void vp9_fdct16x16_sse2(const int16_t *input, tran_low_t *output, int stride); 211 void vp9_fdct16x16_sse2(const int16_t *input, tran_low_t *output, int stride);
208 RTCD_EXTERN void (*vp9_fdct16x16)(const int16_t *input, tran_low_t *output, int stride); 212 RTCD_EXTERN void (*vp9_fdct16x16)(const int16_t *input, tran_low_t *output, int stride);
209 213
210 void vp9_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); 214 void vp9_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride);
211 void vp9_fdct16x16_1_sse2(const int16_t *input, tran_low_t *output, int stride); 215 void vp9_fdct16x16_1_sse2(const int16_t *input, tran_low_t *output, int stride);
212 RTCD_EXTERN void (*vp9_fdct16x16_1)(const int16_t *input, tran_low_t *output, in t stride); 216 RTCD_EXTERN void (*vp9_fdct16x16_1)(const int16_t *input, tran_low_t *output, in t stride);
213 217
214 void vp9_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride); 218 void vp9_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride);
215 void vp9_fdct32x32_sse2(const int16_t *input, tran_low_t *output, int stride); 219 void vp9_fdct32x32_sse2(const int16_t *input, tran_low_t *output, int stride);
220 void vp9_fdct32x32_avx2(const int16_t *input, tran_low_t *output, int stride);
216 RTCD_EXTERN void (*vp9_fdct32x32)(const int16_t *input, tran_low_t *output, int stride); 221 RTCD_EXTERN void (*vp9_fdct32x32)(const int16_t *input, tran_low_t *output, int stride);
217 222
218 void vp9_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride); 223 void vp9_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride);
219 void vp9_fdct32x32_1_sse2(const int16_t *input, tran_low_t *output, int stride); 224 void vp9_fdct32x32_1_sse2(const int16_t *input, tran_low_t *output, int stride);
220 RTCD_EXTERN void (*vp9_fdct32x32_1)(const int16_t *input, tran_low_t *output, in t stride); 225 RTCD_EXTERN void (*vp9_fdct32x32_1)(const int16_t *input, tran_low_t *output, in t stride);
221 226
222 void vp9_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride); 227 void vp9_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride);
223 void vp9_fdct32x32_rd_sse2(const int16_t *input, tran_low_t *output, int stride) ; 228 void vp9_fdct32x32_rd_sse2(const int16_t *input, tran_low_t *output, int stride) ;
229 void vp9_fdct32x32_rd_avx2(const int16_t *input, tran_low_t *output, int stride) ;
224 RTCD_EXTERN void (*vp9_fdct32x32_rd)(const int16_t *input, tran_low_t *output, i nt stride); 230 RTCD_EXTERN void (*vp9_fdct32x32_rd)(const int16_t *input, tran_low_t *output, i nt stride);
225 231
226 void vp9_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride); 232 void vp9_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride);
227 void vp9_fdct4x4_sse2(const int16_t *input, tran_low_t *output, int stride); 233 void vp9_fdct4x4_sse2(const int16_t *input, tran_low_t *output, int stride);
228 RTCD_EXTERN void (*vp9_fdct4x4)(const int16_t *input, tran_low_t *output, int st ride); 234 RTCD_EXTERN void (*vp9_fdct4x4)(const int16_t *input, tran_low_t *output, int st ride);
229 235
230 void vp9_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride); 236 void vp9_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride);
231 void vp9_fdct4x4_1_sse2(const int16_t *input, tran_low_t *output, int stride); 237 void vp9_fdct4x4_1_sse2(const int16_t *input, tran_low_t *output, int stride);
232 RTCD_EXTERN void (*vp9_fdct4x4_1)(const int16_t *input, tran_low_t *output, int stride); 238 RTCD_EXTERN void (*vp9_fdct4x4_1)(const int16_t *input, tran_low_t *output, int stride);
233 239
(...skipping 27 matching lines...) Expand all
261 267
262 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st ruct mv *center_mv, struct mv *best_mv); 268 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st ruct mv *center_mv, struct mv *best_mv);
263 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, const st ruct mv *center_mv, struct mv *best_mv); 269 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, const st ruct mv *center_mv, struct mv *best_mv);
264 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, const st ruct mv *center_mv, struct mv *best_mv); 270 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, const st ruct mv *center_mv, struct mv *best_mv);
265 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, const struct mv *center_mv, struct mv *best_mv); 271 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, const struct mv *center_mv, struct mv *best_mv);
266 272
267 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); 273 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
268 #define vp9_fwht4x4 vp9_fwht4x4_c 274 #define vp9_fwht4x4 vp9_fwht4x4_c
269 275
270 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 276 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
271 #define vp9_get16x16var vp9_get16x16var_c 277 void vp9_get16x16var_avx2(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
278 RTCD_EXTERN void (*vp9_get16x16var)(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
272 279
273 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sse, int *sum); 280 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sse, int *sum);
274 #define vp9_get8x8var vp9_get8x8var_c 281 #define vp9_get8x8var vp9_get8x8var_c
275 282
276 unsigned int vp9_get_mb_ss_c(const int16_t *); 283 unsigned int vp9_get_mb_ss_c(const int16_t *);
277 #define vp9_get_mb_ss vp9_get_mb_ss_c 284 #define vp9_get_mb_ss vp9_get_mb_ss_c
278 285
279 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 286 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
280 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c 287 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c
281 288
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 RTCD_EXTERN void (*vp9_iht8x8_64_add)(const tran_low_t *input, uint8_t *dest, in t dest_stride, int tx_type); 354 RTCD_EXTERN void (*vp9_iht8x8_64_add)(const tran_low_t *input, uint8_t *dest, in t dest_stride, int tx_type);
348 355
349 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e); 356 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e);
350 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c 357 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c
351 358
352 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride ); 359 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride );
353 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c 360 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c
354 361
355 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); 362 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);
356 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); 363 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);
364 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);
357 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); 365 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);
358 366
359 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); 367 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);
360 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); 368 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);
361 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); 369 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);
362 370
363 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); 371 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);
364 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); 372 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);
365 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); 373 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);
366 374
(...skipping 23 matching lines...) Expand all
390 398
391 void vp9_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui nt8_t *limit, const uint8_t *thresh, int count); 399 void vp9_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui nt8_t *limit, const uint8_t *thresh, int count);
392 void vp9_lpf_vertical_8_sse2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); 400 void vp9_lpf_vertical_8_sse2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
393 RTCD_EXTERN void (*vp9_lpf_vertical_8)(uint8_t *s, int pitch, const uint8_t *bli mit, const uint8_t *limit, const uint8_t *thresh, int count); 401 RTCD_EXTERN void (*vp9_lpf_vertical_8)(uint8_t *s, int pitch, const uint8_t *bli mit, const uint8_t *limit, const uint8_t *thresh, int count);
394 402
395 void vp9_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8 _t *limit1, const uint8_t *thresh1); 403 void vp9_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8 _t *limit1, const uint8_t *thresh1);
396 void vp9_lpf_vertical_8_dual_sse2(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const ui nt8_t *limit1, const uint8_t *thresh1); 404 void vp9_lpf_vertical_8_dual_sse2(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const ui nt8_t *limit1, const uint8_t *thresh1);
397 RTCD_EXTERN void (*vp9_lpf_vertical_8_dual)(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1 , const uint8_t *limit1, const uint8_t *thresh1); 405 RTCD_EXTERN void (*vp9_lpf_vertical_8_dual)(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1 , const uint8_t *limit1, const uint8_t *thresh1);
398 406
399 unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int recon_stride, unsigned int *sse); 407 unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int recon_stride, unsigned int *sse);
400 #define vp9_mse16x16 vp9_mse16x16_c 408 unsigned int vp9_mse16x16_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
409 RTCD_EXTERN unsigned int (*vp9_mse16x16)(const uint8_t *src_ptr, int source_str ide, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
401 410
402 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse); 411 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse);
403 #define vp9_mse16x8 vp9_mse16x8_c 412 #define vp9_mse16x8 vp9_mse16x8_c
404 413
405 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse); 414 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse);
406 #define vp9_mse8x16 vp9_mse8x16_c 415 #define vp9_mse8x16 vp9_mse8x16_c
407 416
408 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int recon_stride, unsigned int *sse); 417 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int recon_stride, unsigned int *sse);
409 #define vp9_mse8x8 vp9_mse8x8_c 418 #define vp9_mse8x8 vp9_mse8x8_c
410 419
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 RTCD_EXTERN void (*vp9_sad16x8x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 471 RTCD_EXTERN void (*vp9_sad16x8x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
463 472
464 void vp9_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array); 473 void vp9_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array);
465 void vp9_sad16x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 474 void vp9_sad16x8x4d_sse2(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_sad16x8x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 475 RTCD_EXTERN void (*vp9_sad16x8x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
467 476
468 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array); 477 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
469 #define vp9_sad16x8x8 vp9_sad16x8x8_c 478 #define vp9_sad16x8x8 vp9_sad16x8x8_c
470 479
471 unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 480 unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
472 #define vp9_sad32x16 vp9_sad32x16_c 481 unsigned int vp9_sad32x16_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
482 RTCD_EXTERN unsigned int (*vp9_sad32x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
473 483
474 unsigned int vp9_sad32x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 484 unsigned int vp9_sad32x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
475 #define vp9_sad32x16_avg vp9_sad32x16_avg_c 485 unsigned int vp9_sad32x16_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
486 RTCD_EXTERN unsigned int (*vp9_sad32x16_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
476 487
477 void vp9_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 488 void vp9_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
478 void vp9_sad32x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 489 void vp9_sad32x16x4d_sse2(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_sad32x16x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 490 RTCD_EXTERN void (*vp9_sad32x16x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
480 491
481 unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 492 unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
482 #define vp9_sad32x32 vp9_sad32x32_c 493 unsigned int vp9_sad32x32_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
494 RTCD_EXTERN unsigned int (*vp9_sad32x32)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
483 495
484 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); 496 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);
485 #define vp9_sad32x32_avg vp9_sad32x32_avg_c 497 unsigned int vp9_sad32x32_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
498 RTCD_EXTERN unsigned int (*vp9_sad32x32_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
486 499
487 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array); 500 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
488 #define vp9_sad32x32x3 vp9_sad32x32x3_c 501 #define vp9_sad32x32x3 vp9_sad32x32x3_c
489 502
490 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); 503 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);
491 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); 504 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);
505 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);
492 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); 506 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);
493 507
494 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); 508 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);
495 #define vp9_sad32x32x8 vp9_sad32x32x8_c 509 #define vp9_sad32x32x8 vp9_sad32x32x8_c
496 510
497 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 511 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
498 #define vp9_sad32x64 vp9_sad32x64_c 512 unsigned int vp9_sad32x64_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
513 RTCD_EXTERN unsigned int (*vp9_sad32x64)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
499 514
500 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); 515 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);
501 #define vp9_sad32x64_avg vp9_sad32x64_avg_c 516 unsigned int vp9_sad32x64_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
517 RTCD_EXTERN unsigned int (*vp9_sad32x64_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
502 518
503 void vp9_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 519 void vp9_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
504 void vp9_sad32x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 520 void vp9_sad32x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
505 RTCD_EXTERN void (*vp9_sad32x64x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 521 RTCD_EXTERN void (*vp9_sad32x64x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
506 522
507 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride); 523 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
508 #define vp9_sad4x4 vp9_sad4x4_c 524 #define vp9_sad4x4 vp9_sad4x4_c
509 525
510 unsigned int vp9_sad4x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 526 unsigned int vp9_sad4x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
511 #define vp9_sad4x4_avg vp9_sad4x4_avg_c 527 #define vp9_sad4x4_avg vp9_sad4x4_avg_c
(...skipping 16 matching lines...) Expand all
528 #define vp9_sad4x8_avg vp9_sad4x8_avg_c 544 #define vp9_sad4x8_avg vp9_sad4x8_avg_c
529 545
530 void vp9_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array); 546 void vp9_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array);
531 void vp9_sad4x8x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array); 547 void vp9_sad4x8x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array);
532 RTCD_EXTERN void (*vp9_sad4x8x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 548 RTCD_EXTERN void (*vp9_sad4x8x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
533 549
534 void vp9_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array); 550 void vp9_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
535 #define vp9_sad4x8x8 vp9_sad4x8x8_c 551 #define vp9_sad4x8x8 vp9_sad4x8x8_c
536 552
537 unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 553 unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
538 #define vp9_sad64x32 vp9_sad64x32_c 554 unsigned int vp9_sad64x32_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
555 RTCD_EXTERN unsigned int (*vp9_sad64x32)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
539 556
540 unsigned int vp9_sad64x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 557 unsigned int vp9_sad64x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
541 #define vp9_sad64x32_avg vp9_sad64x32_avg_c 558 unsigned int vp9_sad64x32_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
559 RTCD_EXTERN unsigned int (*vp9_sad64x32_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
542 560
543 void vp9_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 561 void vp9_sad64x32x4d_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_sad64x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 562 void vp9_sad64x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
545 RTCD_EXTERN void (*vp9_sad64x32x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 563 RTCD_EXTERN void (*vp9_sad64x32x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
546 564
547 unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 565 unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
548 #define vp9_sad64x64 vp9_sad64x64_c 566 unsigned int vp9_sad64x64_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
567 RTCD_EXTERN unsigned int (*vp9_sad64x64)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
549 568
550 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); 569 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);
551 #define vp9_sad64x64_avg vp9_sad64x64_avg_c 570 unsigned int vp9_sad64x64_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
571 RTCD_EXTERN unsigned int (*vp9_sad64x64_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
552 572
553 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array); 573 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
554 #define vp9_sad64x64x3 vp9_sad64x64x3_c 574 #define vp9_sad64x64x3 vp9_sad64x64x3_c
555 575
556 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); 576 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);
557 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); 577 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);
578 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);
558 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); 579 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);
559 580
560 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); 581 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);
561 #define vp9_sad64x64x8 vp9_sad64x64x8_c 582 #define vp9_sad64x64x8 vp9_sad64x64x8_c
562 583
563 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride); 584 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride);
564 #define vp9_sad8x16 vp9_sad8x16_c 585 #define vp9_sad8x16 vp9_sad8x16_c
565 586
566 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); 587 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);
567 #define vp9_sad8x16_avg vp9_sad8x16_avg_c 588 #define vp9_sad8x16_avg vp9_sad8x16_avg_c
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 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); 634 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);
614 #define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c 635 #define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c
615 636
616 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); 637 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);
617 #define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c 638 #define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c
618 639
619 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); 640 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);
620 #define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c 641 #define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c
621 642
622 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); 643 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);
623 #define vp9_sub_pixel_avg_variance32x32 vp9_sub_pixel_avg_variance32x32_c 644 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);
645 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);
624 646
625 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); 647 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);
626 #define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c 648 #define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c
627 649
628 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); 650 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);
629 #define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c 651 #define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c
630 652
631 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); 653 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);
632 #define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c 654 #define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c
633 655
634 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); 656 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);
635 #define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c 657 #define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c
636 658
637 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); 659 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);
638 #define vp9_sub_pixel_avg_variance64x64 vp9_sub_pixel_avg_variance64x64_c 660 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);
661 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);
639 662
640 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); 663 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);
641 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c 664 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c
642 665
643 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); 666 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);
644 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c 667 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c
645 668
646 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); 669 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);
647 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c 670 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c
648 671
649 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); 672 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);
650 #define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c 673 #define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c
651 674
652 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); 675 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);
653 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c 676 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c
654 677
655 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); 678 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);
656 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c 679 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c
657 680
658 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); 681 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);
659 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c 682 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c
660 683
661 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); 684 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);
662 #define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_c 685 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);
686 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 687
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); 688 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 689 #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c
666 690
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); 691 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 692 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c
669 693
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); 694 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 695 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c
672 696
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); 697 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 698 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c
675 699
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); 700 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 #define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c 701 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);
702 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);
678 703
679 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); 704 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 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c 705 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c
681 706
682 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); 707 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 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c 708 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c
684 709
685 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); 710 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 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c 711 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c
687 712
(...skipping 22 matching lines...) Expand all
710 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 735 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
711 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c 736 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c
712 737
713 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 738 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
714 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c 739 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c
715 740
716 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 741 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
717 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c 742 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c
718 743
719 unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 744 unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
720 #define vp9_variance16x16 vp9_variance16x16_c 745 unsigned int vp9_variance16x16_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
746 RTCD_EXTERN unsigned int (*vp9_variance16x16)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
721 747
722 unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 748 unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
723 #define vp9_variance16x32 vp9_variance16x32_c 749 #define vp9_variance16x32 vp9_variance16x32_c
724 750
725 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 751 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
726 #define vp9_variance16x8 vp9_variance16x8_c 752 #define vp9_variance16x8 vp9_variance16x8_c
727 753
728 unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 754 unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
729 #define vp9_variance32x16 vp9_variance32x16_c 755 unsigned int vp9_variance32x16_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
756 RTCD_EXTERN unsigned int (*vp9_variance32x16)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
730 757
731 unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 758 unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
732 #define vp9_variance32x32 vp9_variance32x32_c 759 unsigned int vp9_variance32x32_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
760 RTCD_EXTERN unsigned int (*vp9_variance32x32)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
733 761
734 unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 762 unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
735 #define vp9_variance32x64 vp9_variance32x64_c 763 #define vp9_variance32x64 vp9_variance32x64_c
736 764
737 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 765 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
738 #define vp9_variance4x4 vp9_variance4x4_c 766 #define vp9_variance4x4 vp9_variance4x4_c
739 767
740 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 768 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
741 #define vp9_variance4x8 vp9_variance4x8_c 769 #define vp9_variance4x8 vp9_variance4x8_c
742 770
743 unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 771 unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
744 #define vp9_variance64x32 vp9_variance64x32_c 772 unsigned int vp9_variance64x32_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
773 RTCD_EXTERN unsigned int (*vp9_variance64x32)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
745 774
746 unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 775 unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
747 #define vp9_variance64x64 vp9_variance64x64_c 776 unsigned int vp9_variance64x64_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
777 RTCD_EXTERN unsigned int (*vp9_variance64x64)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
748 778
749 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 779 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
750 #define vp9_variance8x16 vp9_variance8x16_c 780 #define vp9_variance8x16 vp9_variance8x16_c
751 781
752 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 782 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
753 #define vp9_variance8x4 vp9_variance8x4_c 783 #define vp9_variance8x4 vp9_variance8x4_c
754 784
755 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 785 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
756 #define vp9_variance8x8 vp9_variance8x8_c 786 #define vp9_variance8x8 vp9_variance8x8_c
757 787
758 void vp9_rtcd(void); 788 void vp9_rtcd(void);
759 789
760 #ifdef RTCD_C 790 #ifdef RTCD_C
761 #include "vpx_ports/x86.h" 791 #include "vpx_ports/x86.h"
762 static void setup_rtcd_internal(void) 792 static void setup_rtcd_internal(void)
763 { 793 {
764 int flags = x86_simd_caps(); 794 int flags = x86_simd_caps();
765 795
766 (void)flags; 796 (void)flags;
767 797
768 vp9_avg_4x4 = vp9_avg_4x4_c; 798 vp9_avg_4x4 = vp9_avg_4x4_c;
769 if (flags & HAS_SSE2) vp9_avg_4x4 = vp9_avg_4x4_sse2; 799 if (flags & HAS_SSE2) vp9_avg_4x4 = vp9_avg_4x4_sse2;
770 vp9_avg_8x8 = vp9_avg_8x8_c; 800 vp9_avg_8x8 = vp9_avg_8x8_c;
771 if (flags & HAS_SSE2) vp9_avg_8x8 = vp9_avg_8x8_sse2; 801 if (flags & HAS_SSE2) vp9_avg_8x8 = vp9_avg_8x8_sse2;
802 vp9_block_error = vp9_block_error_c;
803 if (flags & HAS_AVX2) vp9_block_error = vp9_block_error_avx2;
772 vp9_convolve8 = vp9_convolve8_c; 804 vp9_convolve8 = vp9_convolve8_c;
773 if (flags & HAS_SSE2) vp9_convolve8 = vp9_convolve8_sse2; 805 if (flags & HAS_SSE2) vp9_convolve8 = vp9_convolve8_sse2;
774 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3; 806 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3;
807 if (flags & HAS_AVX2) vp9_convolve8 = vp9_convolve8_avx2;
775 vp9_convolve8_avg = vp9_convolve8_avg_c; 808 vp9_convolve8_avg = vp9_convolve8_avg_c;
776 if (flags & HAS_SSE2) vp9_convolve8_avg = vp9_convolve8_avg_sse2; 809 if (flags & HAS_SSE2) vp9_convolve8_avg = vp9_convolve8_avg_sse2;
777 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3; 810 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3;
778 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; 811 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c;
779 if (flags & HAS_SSE2) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2 ; 812 if (flags & HAS_SSE2) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2 ;
780 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss e3; 813 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss e3;
781 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; 814 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c;
782 if (flags & HAS_SSE2) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2; 815 if (flags & HAS_SSE2) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2;
783 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3 ; 816 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3 ;
784 vp9_convolve8_horiz = vp9_convolve8_horiz_c; 817 vp9_convolve8_horiz = vp9_convolve8_horiz_c;
785 if (flags & HAS_SSE2) vp9_convolve8_horiz = vp9_convolve8_horiz_sse2; 818 if (flags & HAS_SSE2) vp9_convolve8_horiz = vp9_convolve8_horiz_sse2;
786 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3; 819 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3;
820 if (flags & HAS_AVX2) vp9_convolve8_horiz = vp9_convolve8_horiz_avx2;
787 vp9_convolve8_vert = vp9_convolve8_vert_c; 821 vp9_convolve8_vert = vp9_convolve8_vert_c;
788 if (flags & HAS_SSE2) vp9_convolve8_vert = vp9_convolve8_vert_sse2; 822 if (flags & HAS_SSE2) vp9_convolve8_vert = vp9_convolve8_vert_sse2;
789 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3; 823 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3;
824 if (flags & HAS_AVX2) vp9_convolve8_vert = vp9_convolve8_vert_avx2;
790 vp9_denoiser_filter = vp9_denoiser_filter_c; 825 vp9_denoiser_filter = vp9_denoiser_filter_c;
791 if (flags & HAS_SSE2) vp9_denoiser_filter = vp9_denoiser_filter_sse2; 826 if (flags & HAS_SSE2) vp9_denoiser_filter = vp9_denoiser_filter_sse2;
792 vp9_fdct16x16 = vp9_fdct16x16_c; 827 vp9_fdct16x16 = vp9_fdct16x16_c;
793 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2; 828 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2;
794 vp9_fdct16x16_1 = vp9_fdct16x16_1_c; 829 vp9_fdct16x16_1 = vp9_fdct16x16_1_c;
795 if (flags & HAS_SSE2) vp9_fdct16x16_1 = vp9_fdct16x16_1_sse2; 830 if (flags & HAS_SSE2) vp9_fdct16x16_1 = vp9_fdct16x16_1_sse2;
796 vp9_fdct32x32 = vp9_fdct32x32_c; 831 vp9_fdct32x32 = vp9_fdct32x32_c;
797 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2; 832 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2;
833 if (flags & HAS_AVX2) vp9_fdct32x32 = vp9_fdct32x32_avx2;
798 vp9_fdct32x32_1 = vp9_fdct32x32_1_c; 834 vp9_fdct32x32_1 = vp9_fdct32x32_1_c;
799 if (flags & HAS_SSE2) vp9_fdct32x32_1 = vp9_fdct32x32_1_sse2; 835 if (flags & HAS_SSE2) vp9_fdct32x32_1 = vp9_fdct32x32_1_sse2;
800 vp9_fdct32x32_rd = vp9_fdct32x32_rd_c; 836 vp9_fdct32x32_rd = vp9_fdct32x32_rd_c;
801 if (flags & HAS_SSE2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2; 837 if (flags & HAS_SSE2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2;
838 if (flags & HAS_AVX2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_avx2;
802 vp9_fdct4x4 = vp9_fdct4x4_c; 839 vp9_fdct4x4 = vp9_fdct4x4_c;
803 if (flags & HAS_SSE2) vp9_fdct4x4 = vp9_fdct4x4_sse2; 840 if (flags & HAS_SSE2) vp9_fdct4x4 = vp9_fdct4x4_sse2;
804 vp9_fdct4x4_1 = vp9_fdct4x4_1_c; 841 vp9_fdct4x4_1 = vp9_fdct4x4_1_c;
805 if (flags & HAS_SSE2) vp9_fdct4x4_1 = vp9_fdct4x4_1_sse2; 842 if (flags & HAS_SSE2) vp9_fdct4x4_1 = vp9_fdct4x4_1_sse2;
806 vp9_fdct8x8 = vp9_fdct8x8_c; 843 vp9_fdct8x8 = vp9_fdct8x8_c;
807 if (flags & HAS_SSE2) vp9_fdct8x8 = vp9_fdct8x8_sse2; 844 if (flags & HAS_SSE2) vp9_fdct8x8 = vp9_fdct8x8_sse2;
808 vp9_fdct8x8_1 = vp9_fdct8x8_1_c; 845 vp9_fdct8x8_1 = vp9_fdct8x8_1_c;
809 if (flags & HAS_SSE2) vp9_fdct8x8_1 = vp9_fdct8x8_1_sse2; 846 if (flags & HAS_SSE2) vp9_fdct8x8_1 = vp9_fdct8x8_1_sse2;
810 vp9_fdct8x8_quant = vp9_fdct8x8_quant_c; 847 vp9_fdct8x8_quant = vp9_fdct8x8_quant_c;
811 if (flags & HAS_SSE2) vp9_fdct8x8_quant = vp9_fdct8x8_quant_sse2; 848 if (flags & HAS_SSE2) vp9_fdct8x8_quant = vp9_fdct8x8_quant_sse2;
812 if (flags & HAS_SSSE3) vp9_fdct8x8_quant = vp9_fdct8x8_quant_ssse3; 849 if (flags & HAS_SSSE3) vp9_fdct8x8_quant = vp9_fdct8x8_quant_ssse3;
813 vp9_fht16x16 = vp9_fht16x16_c; 850 vp9_fht16x16 = vp9_fht16x16_c;
814 if (flags & HAS_SSE2) vp9_fht16x16 = vp9_fht16x16_sse2; 851 if (flags & HAS_SSE2) vp9_fht16x16 = vp9_fht16x16_sse2;
815 vp9_fht4x4 = vp9_fht4x4_c; 852 vp9_fht4x4 = vp9_fht4x4_c;
816 if (flags & HAS_SSE2) vp9_fht4x4 = vp9_fht4x4_sse2; 853 if (flags & HAS_SSE2) vp9_fht4x4 = vp9_fht4x4_sse2;
817 vp9_fht8x8 = vp9_fht8x8_c; 854 vp9_fht8x8 = vp9_fht8x8_c;
818 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2; 855 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2;
819 vp9_full_search_sad = vp9_full_search_sad_c; 856 vp9_full_search_sad = vp9_full_search_sad_c;
820 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; 857 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; 858 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8;
859 vp9_get16x16var = vp9_get16x16var_c;
860 if (flags & HAS_AVX2) vp9_get16x16var = vp9_get16x16var_avx2;
822 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c; 861 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c;
823 if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2; 862 if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2;
824 if (flags & HAS_SSSE3) vp9_idct16x16_10_add = vp9_idct16x16_10_add_ssse3; 863 if (flags & HAS_SSSE3) vp9_idct16x16_10_add = vp9_idct16x16_10_add_ssse3;
825 vp9_idct16x16_1_add = vp9_idct16x16_1_add_c; 864 vp9_idct16x16_1_add = vp9_idct16x16_1_add_c;
826 if (flags & HAS_SSE2) vp9_idct16x16_1_add = vp9_idct16x16_1_add_sse2; 865 if (flags & HAS_SSE2) vp9_idct16x16_1_add = vp9_idct16x16_1_add_sse2;
827 vp9_idct16x16_256_add = vp9_idct16x16_256_add_c; 866 vp9_idct16x16_256_add = vp9_idct16x16_256_add_c;
828 if (flags & HAS_SSE2) vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2; 867 if (flags & HAS_SSE2) vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2;
829 if (flags & HAS_SSSE3) vp9_idct16x16_256_add = vp9_idct16x16_256_add_ssse3; 868 if (flags & HAS_SSSE3) vp9_idct16x16_256_add = vp9_idct16x16_256_add_ssse3;
830 vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c; 869 vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c;
831 if (flags & HAS_SSE2) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_sse2; 870 if (flags & HAS_SSE2) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_sse2;
(...skipping 12 matching lines...) Expand all
844 vp9_idct8x8_64_add = vp9_idct8x8_64_add_c; 883 vp9_idct8x8_64_add = vp9_idct8x8_64_add_c;
845 if (flags & HAS_SSE2) vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2; 884 if (flags & HAS_SSE2) vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2;
846 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c; 885 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c;
847 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2; 886 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2;
848 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c; 887 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c;
849 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2; 888 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2;
850 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; 889 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c;
851 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2; 890 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2;
852 vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_c; 891 vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_c;
853 if (flags & HAS_SSE2) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_sse2; 892 if (flags & HAS_SSE2) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_sse2;
893 if (flags & HAS_AVX2) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_avx2;
854 vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_c; 894 vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_c;
855 if (flags & HAS_MMX) vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_mmx; 895 if (flags & HAS_MMX) vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_mmx;
856 vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_c; 896 vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_c;
857 if (flags & HAS_SSE2) vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_ sse2; 897 if (flags & HAS_SSE2) vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_ sse2;
858 vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_c; 898 vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_c;
859 if (flags & HAS_SSE2) vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_sse2; 899 if (flags & HAS_SSE2) vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_sse2;
860 vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_c; 900 vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_c;
861 if (flags & HAS_SSE2) vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_ sse2; 901 if (flags & HAS_SSE2) vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_ sse2;
862 vp9_lpf_vertical_16 = vp9_lpf_vertical_16_c; 902 vp9_lpf_vertical_16 = vp9_lpf_vertical_16_c;
863 if (flags & HAS_SSE2) vp9_lpf_vertical_16 = vp9_lpf_vertical_16_sse2; 903 if (flags & HAS_SSE2) vp9_lpf_vertical_16 = vp9_lpf_vertical_16_sse2;
864 vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_c; 904 vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_c;
865 if (flags & HAS_SSE2) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ss e2; 905 if (flags & HAS_SSE2) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ss e2;
866 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c; 906 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c;
867 if (flags & HAS_MMX) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_mmx; 907 if (flags & HAS_MMX) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_mmx;
868 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c; 908 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c;
869 if (flags & HAS_SSE2) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_sse2 ; 909 if (flags & HAS_SSE2) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_sse2 ;
870 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c; 910 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c;
871 if (flags & HAS_SSE2) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_sse2; 911 if (flags & HAS_SSE2) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_sse2;
872 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c; 912 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c;
873 if (flags & HAS_SSE2) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_sse2 ; 913 if (flags & HAS_SSE2) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_sse2 ;
914 vp9_mse16x16 = vp9_mse16x16_c;
915 if (flags & HAS_AVX2) vp9_mse16x16 = vp9_mse16x16_avx2;
874 vp9_quantize_b = vp9_quantize_b_c; 916 vp9_quantize_b = vp9_quantize_b_c;
875 if (flags & HAS_SSE2) vp9_quantize_b = vp9_quantize_b_sse2; 917 if (flags & HAS_SSE2) vp9_quantize_b = vp9_quantize_b_sse2;
876 vp9_quantize_fp = vp9_quantize_fp_c; 918 vp9_quantize_fp = vp9_quantize_fp_c;
877 if (flags & HAS_SSE2) vp9_quantize_fp = vp9_quantize_fp_sse2; 919 if (flags & HAS_SSE2) vp9_quantize_fp = vp9_quantize_fp_sse2;
878 vp9_sad16x16x3 = vp9_sad16x16x3_c; 920 vp9_sad16x16x3 = vp9_sad16x16x3_c;
879 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3; 921 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3;
880 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3; 922 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3;
881 vp9_sad16x16x4d = vp9_sad16x16x4d_c; 923 vp9_sad16x16x4d = vp9_sad16x16x4d_c;
882 if (flags & HAS_SSE2) vp9_sad16x16x4d = vp9_sad16x16x4d_sse2; 924 if (flags & HAS_SSE2) vp9_sad16x16x4d = vp9_sad16x16x4d_sse2;
883 vp9_sad16x32x4d = vp9_sad16x32x4d_c; 925 vp9_sad16x32x4d = vp9_sad16x32x4d_c;
884 if (flags & HAS_SSE2) vp9_sad16x32x4d = vp9_sad16x32x4d_sse2; 926 if (flags & HAS_SSE2) vp9_sad16x32x4d = vp9_sad16x32x4d_sse2;
885 vp9_sad16x8x3 = vp9_sad16x8x3_c; 927 vp9_sad16x8x3 = vp9_sad16x8x3_c;
886 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3; 928 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3;
887 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3; 929 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3;
888 vp9_sad16x8x4d = vp9_sad16x8x4d_c; 930 vp9_sad16x8x4d = vp9_sad16x8x4d_c;
889 if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2; 931 if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2;
932 vp9_sad32x16 = vp9_sad32x16_c;
933 if (flags & HAS_AVX2) vp9_sad32x16 = vp9_sad32x16_avx2;
934 vp9_sad32x16_avg = vp9_sad32x16_avg_c;
935 if (flags & HAS_AVX2) vp9_sad32x16_avg = vp9_sad32x16_avg_avx2;
890 vp9_sad32x16x4d = vp9_sad32x16x4d_c; 936 vp9_sad32x16x4d = vp9_sad32x16x4d_c;
891 if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2; 937 if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2;
938 vp9_sad32x32 = vp9_sad32x32_c;
939 if (flags & HAS_AVX2) vp9_sad32x32 = vp9_sad32x32_avx2;
940 vp9_sad32x32_avg = vp9_sad32x32_avg_c;
941 if (flags & HAS_AVX2) vp9_sad32x32_avg = vp9_sad32x32_avg_avx2;
892 vp9_sad32x32x4d = vp9_sad32x32x4d_c; 942 vp9_sad32x32x4d = vp9_sad32x32x4d_c;
893 if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2; 943 if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2;
944 if (flags & HAS_AVX2) vp9_sad32x32x4d = vp9_sad32x32x4d_avx2;
945 vp9_sad32x64 = vp9_sad32x64_c;
946 if (flags & HAS_AVX2) vp9_sad32x64 = vp9_sad32x64_avx2;
947 vp9_sad32x64_avg = vp9_sad32x64_avg_c;
948 if (flags & HAS_AVX2) vp9_sad32x64_avg = vp9_sad32x64_avg_avx2;
894 vp9_sad32x64x4d = vp9_sad32x64x4d_c; 949 vp9_sad32x64x4d = vp9_sad32x64x4d_c;
895 if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2; 950 if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2;
896 vp9_sad4x4x3 = vp9_sad4x4x3_c; 951 vp9_sad4x4x3 = vp9_sad4x4x3_c;
897 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3; 952 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3;
898 vp9_sad4x4x4d = vp9_sad4x4x4d_c; 953 vp9_sad4x4x4d = vp9_sad4x4x4d_c;
899 if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse; 954 if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse;
900 vp9_sad4x8x4d = vp9_sad4x8x4d_c; 955 vp9_sad4x8x4d = vp9_sad4x8x4d_c;
901 if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse; 956 if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse;
957 vp9_sad64x32 = vp9_sad64x32_c;
958 if (flags & HAS_AVX2) vp9_sad64x32 = vp9_sad64x32_avx2;
959 vp9_sad64x32_avg = vp9_sad64x32_avg_c;
960 if (flags & HAS_AVX2) vp9_sad64x32_avg = vp9_sad64x32_avg_avx2;
902 vp9_sad64x32x4d = vp9_sad64x32x4d_c; 961 vp9_sad64x32x4d = vp9_sad64x32x4d_c;
903 if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2; 962 if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2;
963 vp9_sad64x64 = vp9_sad64x64_c;
964 if (flags & HAS_AVX2) vp9_sad64x64 = vp9_sad64x64_avx2;
965 vp9_sad64x64_avg = vp9_sad64x64_avg_c;
966 if (flags & HAS_AVX2) vp9_sad64x64_avg = vp9_sad64x64_avg_avx2;
904 vp9_sad64x64x4d = vp9_sad64x64x4d_c; 967 vp9_sad64x64x4d = vp9_sad64x64x4d_c;
905 if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2; 968 if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2;
969 if (flags & HAS_AVX2) vp9_sad64x64x4d = vp9_sad64x64x4d_avx2;
906 vp9_sad8x16x3 = vp9_sad8x16x3_c; 970 vp9_sad8x16x3 = vp9_sad8x16x3_c;
907 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3; 971 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3;
908 vp9_sad8x16x4d = vp9_sad8x16x4d_c; 972 vp9_sad8x16x4d = vp9_sad8x16x4d_c;
909 if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2; 973 if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2;
910 vp9_sad8x4x4d = vp9_sad8x4x4d_c; 974 vp9_sad8x4x4d = vp9_sad8x4x4d_c;
911 if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2; 975 if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2;
912 vp9_sad8x8x3 = vp9_sad8x8x3_c; 976 vp9_sad8x8x3 = vp9_sad8x8x3_c;
913 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3; 977 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3;
914 vp9_sad8x8x4d = vp9_sad8x8x4d_c; 978 vp9_sad8x8x4d = vp9_sad8x8x4d_c;
915 if (flags & HAS_SSE2) vp9_sad8x8x4d = vp9_sad8x8x4d_sse2; 979 if (flags & HAS_SSE2) vp9_sad8x8x4d = vp9_sad8x8x4d_sse2;
980 vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_variance32x32_c;
981 if (flags & HAS_AVX2) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_va riance32x32_avx2;
982 vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_variance64x64_c;
983 if (flags & HAS_AVX2) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_va riance64x64_avx2;
984 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_c;
985 if (flags & HAS_AVX2) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32 x32_avx2;
986 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_c;
987 if (flags & HAS_AVX2) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64 x64_avx2;
916 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c; 988 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c;
917 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_ sse2; 989 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_ sse2;
990 vp9_variance16x16 = vp9_variance16x16_c;
991 if (flags & HAS_AVX2) vp9_variance16x16 = vp9_variance16x16_avx2;
992 vp9_variance32x16 = vp9_variance32x16_c;
993 if (flags & HAS_AVX2) vp9_variance32x16 = vp9_variance32x16_avx2;
994 vp9_variance32x32 = vp9_variance32x32_c;
995 if (flags & HAS_AVX2) vp9_variance32x32 = vp9_variance32x32_avx2;
996 vp9_variance64x32 = vp9_variance64x32_c;
997 if (flags & HAS_AVX2) vp9_variance64x32 = vp9_variance64x32_avx2;
998 vp9_variance64x64 = vp9_variance64x64_c;
999 if (flags & HAS_AVX2) vp9_variance64x64 = vp9_variance64x64_avx2;
918 } 1000 }
919 #endif 1001 #endif
920 1002
921 #ifdef __cplusplus 1003 #ifdef __cplusplus
922 } // extern "C" 1004 } // extern "C"
923 #endif 1005 #endif
924 1006
925 #endif 1007 #endif
OLDNEW
« no previous file with comments | « source/config/linux/x64/vpx_config.c ('k') | source/config/mac/ia32/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698