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

Side by Side Diff: source/config/linux/x64/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/mipsel/vpx_config.c ('k') | source/config/linux/x64/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 21 matching lines...) Expand all
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 #define vp9_avg_4x4 vp9_avg_4x4_sse2 34 #define vp9_avg_4x4 vp9_avg_4x4_sse2
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 #define vp9_avg_8x8 vp9_avg_8x8_sse2 38 #define vp9_avg_8x8 vp9_avg_8x8_sse2
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 int64_t vp9_block_error_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz); 41 int64_t vp9_block_error_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
42 #define vp9_block_error vp9_block_error_sse2 42 int64_t vp9_block_error_avx2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
43 RTCD_EXTERN int64_t (*vp9_block_error)(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
43 44
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_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); 46 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); 47 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);
48 void vp9_convolve8_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil ter_y, int y_step_q4, int w, int h);
47 RTCD_EXTERN void (*vp9_convolve8)(const uint8_t *src, ptrdiff_t src_stride, uint 8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in t16_t *filter_y, int y_step_q4, int w, int h); 49 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 50
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_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi lter_y, int y_step_q4, int w, int h);
50 void vp9_convolve8_avg_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); 52 void vp9_convolve8_avg_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
51 void vp9_convolve8_avg_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t * dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); 53 void vp9_convolve8_avg_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t * dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
52 RTCD_EXTERN void (*vp9_convolve8_avg)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, cons t int16_t *filter_y, int y_step_q4, int w, int h); 54 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 55
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_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16 _t *filter_y, int y_step_q4, int w, int h);
55 void vp9_convolve8_avg_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride, uint 8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in t16_t *filter_y, int y_step_q4, int w, int h); 57 void vp9_convolve8_avg_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride, uint 8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in t16_t *filter_y, int y_step_q4, int w, int h);
56 void vp9_convolve8_avg_horiz_ssse3(const uint8_t *src, ptrdiff_t src_stride, uin t8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const i nt16_t *filter_y, int y_step_q4, int w, int h); 58 void vp9_convolve8_avg_horiz_ssse3(const uint8_t *src, ptrdiff_t src_stride, uin t8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const i nt16_t *filter_y, int y_step_q4, int w, int h);
57 RTCD_EXTERN void (*vp9_convolve8_avg_horiz)(const uint8_t *src, ptrdiff_t src_st ride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4 , const int16_t *filter_y, int y_step_q4, int w, int h); 59 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 60
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_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_ t *filter_y, int y_step_q4, int w, int h);
60 void vp9_convolve8_avg_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8 _t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int 16_t *filter_y, int y_step_q4, int w, int h); 62 void vp9_convolve8_avg_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8 _t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int 16_t *filter_y, int y_step_q4, int w, int h);
61 void vp9_convolve8_avg_vert_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint 8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in t16_t *filter_y, int y_step_q4, int w, int h); 63 void vp9_convolve8_avg_vert_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint 8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in t16_t *filter_y, int y_step_q4, int w, int h);
62 RTCD_EXTERN void (*vp9_convolve8_avg_vert)(const uint8_t *src, ptrdiff_t src_str ide, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); 64 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 65
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_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds t, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t * filter_y, int y_step_q4, int w, int h);
65 void vp9_convolve8_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_ t *filter_y, int y_step_q4, int w, int h); 67 void vp9_convolve8_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_ t *filter_y, int y_step_q4, int w, int h);
66 void vp9_convolve8_horiz_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16 _t *filter_y, int y_step_q4, int w, int h); 68 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);
69 void vp9_convolve8_horiz_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_ t *filter_y, int y_step_q4, int w, int h);
67 RTCD_EXTERN void (*vp9_convolve8_horiz)(const uint8_t *src, ptrdiff_t src_stride , uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, co nst int16_t *filter_y, int y_step_q4, int w, int h); 70 RTCD_EXTERN void (*vp9_convolve8_horiz)(const uint8_t *src, ptrdiff_t src_stride , uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, co nst int16_t *filter_y, int y_step_q4, int w, int h);
68 71
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_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst , ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *f ilter_y, int y_step_q4, int w, int h);
70 void vp9_convolve8_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t * dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); 73 void vp9_convolve8_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t * dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
71 void vp9_convolve8_vert_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_ t *filter_y, int y_step_q4, int w, int h); 74 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);
75 void vp9_convolve8_vert_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t * dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
72 RTCD_EXTERN void (*vp9_convolve8_vert)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, con st int16_t *filter_y, int y_step_q4, int w, int h); 76 RTCD_EXTERN void (*vp9_convolve8_vert)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, con st int16_t *filter_y, int y_step_q4, int w, int h);
73 77
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 void vp9_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil ter_y, int y_step_q4, int w, int h);
75 void vp9_convolve_avg_sse2(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); 79 void vp9_convolve_avg_sse2(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);
76 #define vp9_convolve_avg vp9_convolve_avg_sse2 80 #define vp9_convolve_avg vp9_convolve_avg_sse2
77 81
78 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); 82 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);
79 void vp9_convolve_copy_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); 83 void vp9_convolve_copy_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);
80 #define vp9_convolve_copy vp9_convolve_copy_sse2 84 #define vp9_convolve_copy vp9_convolve_copy_sse2
81 85
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 void vp9_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); 232 void vp9_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride);
229 void vp9_fdct16x16_sse2(const int16_t *input, tran_low_t *output, int stride); 233 void vp9_fdct16x16_sse2(const int16_t *input, tran_low_t *output, int stride);
230 #define vp9_fdct16x16 vp9_fdct16x16_sse2 234 #define vp9_fdct16x16 vp9_fdct16x16_sse2
231 235
232 void vp9_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); 236 void vp9_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride);
233 void vp9_fdct16x16_1_sse2(const int16_t *input, tran_low_t *output, int stride); 237 void vp9_fdct16x16_1_sse2(const int16_t *input, tran_low_t *output, int stride);
234 #define vp9_fdct16x16_1 vp9_fdct16x16_1_sse2 238 #define vp9_fdct16x16_1 vp9_fdct16x16_1_sse2
235 239
236 void vp9_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride); 240 void vp9_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride);
237 void vp9_fdct32x32_sse2(const int16_t *input, tran_low_t *output, int stride); 241 void vp9_fdct32x32_sse2(const int16_t *input, tran_low_t *output, int stride);
238 #define vp9_fdct32x32 vp9_fdct32x32_sse2 242 void vp9_fdct32x32_avx2(const int16_t *input, tran_low_t *output, int stride);
243 RTCD_EXTERN void (*vp9_fdct32x32)(const int16_t *input, tran_low_t *output, int stride);
239 244
240 void vp9_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride); 245 void vp9_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride);
241 void vp9_fdct32x32_1_sse2(const int16_t *input, tran_low_t *output, int stride); 246 void vp9_fdct32x32_1_sse2(const int16_t *input, tran_low_t *output, int stride);
242 #define vp9_fdct32x32_1 vp9_fdct32x32_1_sse2 247 #define vp9_fdct32x32_1 vp9_fdct32x32_1_sse2
243 248
244 void vp9_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride); 249 void vp9_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride);
245 void vp9_fdct32x32_rd_sse2(const int16_t *input, tran_low_t *output, int stride) ; 250 void vp9_fdct32x32_rd_sse2(const int16_t *input, tran_low_t *output, int stride) ;
246 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_sse2 251 void vp9_fdct32x32_rd_avx2(const int16_t *input, tran_low_t *output, int stride) ;
252 RTCD_EXTERN void (*vp9_fdct32x32_rd)(const int16_t *input, tran_low_t *output, i nt stride);
247 253
248 void vp9_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride); 254 void vp9_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride);
249 void vp9_fdct4x4_sse2(const int16_t *input, tran_low_t *output, int stride); 255 void vp9_fdct4x4_sse2(const int16_t *input, tran_low_t *output, int stride);
250 #define vp9_fdct4x4 vp9_fdct4x4_sse2 256 #define vp9_fdct4x4 vp9_fdct4x4_sse2
251 257
252 void vp9_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride); 258 void vp9_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride);
253 void vp9_fdct4x4_1_sse2(const int16_t *input, tran_low_t *output, int stride); 259 void vp9_fdct4x4_1_sse2(const int16_t *input, tran_low_t *output, int stride);
254 #define vp9_fdct4x4_1 vp9_fdct4x4_1_sse2 260 #define vp9_fdct4x4_1 vp9_fdct4x4_1_sse2
255 261
256 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); 262 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride);
(...skipping 29 matching lines...) Expand all
286 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); 292 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);
287 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); 293 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);
288 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); 294 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);
289 295
290 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); 296 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
291 void vp9_fwht4x4_mmx(const int16_t *input, tran_low_t *output, int stride); 297 void vp9_fwht4x4_mmx(const int16_t *input, tran_low_t *output, int stride);
292 #define vp9_fwht4x4 vp9_fwht4x4_mmx 298 #define vp9_fwht4x4 vp9_fwht4x4_mmx
293 299
294 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); 300 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);
295 void vp9_get16x16var_sse2(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 301 void vp9_get16x16var_sse2(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
296 #define vp9_get16x16var vp9_get16x16var_sse2 302 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);
303 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);
297 304
298 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); 305 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);
299 void vp9_get8x8var_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 306 void vp9_get8x8var_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
300 #define vp9_get8x8var vp9_get8x8var_sse2 307 #define vp9_get8x8var vp9_get8x8var_sse2
301 308
302 unsigned int vp9_get_mb_ss_c(const int16_t *); 309 unsigned int vp9_get_mb_ss_c(const int16_t *);
303 unsigned int vp9_get_mb_ss_sse2(const int16_t *); 310 unsigned int vp9_get_mb_ss_sse2(const int16_t *);
304 #define vp9_get_mb_ss vp9_get_mb_ss_sse2 311 #define vp9_get_mb_ss vp9_get_mb_ss_sse2
305 312
306 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 313 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 #define vp9_iht8x8_64_add vp9_iht8x8_64_add_sse2 387 #define vp9_iht8x8_64_add vp9_iht8x8_64_add_sse2
381 388
382 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e); 389 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e);
383 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c 390 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c
384 391
385 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride ); 392 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride );
386 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c 393 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c
387 394
388 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); 395 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);
389 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); 396 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);
390 #define vp9_lpf_horizontal_16 vp9_lpf_horizontal_16_sse2 397 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);
398 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);
391 399
392 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); 400 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);
393 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); 401 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);
394 #define vp9_lpf_horizontal_4 vp9_lpf_horizontal_4_mmx 402 #define vp9_lpf_horizontal_4 vp9_lpf_horizontal_4_mmx
395 403
396 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); 404 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);
397 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); 405 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);
398 #define vp9_lpf_horizontal_4_dual vp9_lpf_horizontal_4_dual_sse2 406 #define vp9_lpf_horizontal_4_dual vp9_lpf_horizontal_4_dual_sse2
399 407
400 void vp9_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); 408 void vp9_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
(...skipping 23 matching lines...) Expand all
424 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); 432 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);
425 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); 433 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);
426 #define vp9_lpf_vertical_8 vp9_lpf_vertical_8_sse2 434 #define vp9_lpf_vertical_8 vp9_lpf_vertical_8_sse2
427 435
428 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); 436 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);
429 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); 437 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);
430 #define vp9_lpf_vertical_8_dual vp9_lpf_vertical_8_dual_sse2 438 #define vp9_lpf_vertical_8_dual vp9_lpf_vertical_8_dual_sse2
431 439
432 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); 440 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);
433 unsigned int vp9_mse16x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 441 unsigned int vp9_mse16x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
434 #define vp9_mse16x16 vp9_mse16x16_sse2 442 unsigned int vp9_mse16x16_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
443 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);
435 444
436 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); 445 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);
437 unsigned int vp9_mse16x8_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 446 unsigned int vp9_mse16x8_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
438 #define vp9_mse16x8 vp9_mse16x8_sse2 447 #define vp9_mse16x8 vp9_mse16x8_sse2
439 448
440 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); 449 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);
441 unsigned int vp9_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 450 unsigned int vp9_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
442 #define vp9_mse8x16 vp9_mse8x16_sse2 451 #define vp9_mse8x16 vp9_mse8x16_sse2
443 452
444 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); 453 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);
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 519
511 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); 520 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);
512 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); 521 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);
513 #define vp9_sad16x8x4d vp9_sad16x8x4d_sse2 522 #define vp9_sad16x8x4d vp9_sad16x8x4d_sse2
514 523
515 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array); 524 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
516 #define vp9_sad16x8x8 vp9_sad16x8x8_c 525 #define vp9_sad16x8x8 vp9_sad16x8x8_c
517 526
518 unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 527 unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
519 unsigned int vp9_sad32x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 528 unsigned int vp9_sad32x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
520 #define vp9_sad32x16 vp9_sad32x16_sse2 529 unsigned int vp9_sad32x16_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
530 RTCD_EXTERN unsigned int (*vp9_sad32x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
521 531
522 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); 532 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);
523 unsigned int vp9_sad32x16_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 533 unsigned int vp9_sad32x16_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
524 #define vp9_sad32x16_avg vp9_sad32x16_avg_sse2 534 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);
535 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);
525 536
526 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); 537 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);
527 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); 538 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);
528 #define vp9_sad32x16x4d vp9_sad32x16x4d_sse2 539 #define vp9_sad32x16x4d vp9_sad32x16x4d_sse2
529 540
530 unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 541 unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
531 unsigned int vp9_sad32x32_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 542 unsigned int vp9_sad32x32_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
532 #define vp9_sad32x32 vp9_sad32x32_sse2 543 unsigned int vp9_sad32x32_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
544 RTCD_EXTERN unsigned int (*vp9_sad32x32)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
533 545
534 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); 546 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);
535 unsigned int vp9_sad32x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 547 unsigned int vp9_sad32x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
536 #define vp9_sad32x32_avg vp9_sad32x32_avg_sse2 548 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);
549 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);
537 550
538 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array); 551 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
539 #define vp9_sad32x32x3 vp9_sad32x32x3_c 552 #define vp9_sad32x32x3 vp9_sad32x32x3_c
540 553
541 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); 554 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);
542 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); 555 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);
543 #define vp9_sad32x32x4d vp9_sad32x32x4d_sse2 556 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);
557 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);
544 558
545 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); 559 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);
546 #define vp9_sad32x32x8 vp9_sad32x32x8_c 560 #define vp9_sad32x32x8 vp9_sad32x32x8_c
547 561
548 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 562 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
549 unsigned int vp9_sad32x64_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 563 unsigned int vp9_sad32x64_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
550 #define vp9_sad32x64 vp9_sad32x64_sse2 564 unsigned int vp9_sad32x64_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
565 RTCD_EXTERN unsigned int (*vp9_sad32x64)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
551 566
552 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); 567 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);
553 unsigned int vp9_sad32x64_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 568 unsigned int vp9_sad32x64_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
554 #define vp9_sad32x64_avg vp9_sad32x64_avg_sse2 569 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);
570 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);
555 571
556 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); 572 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);
557 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); 573 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);
558 #define vp9_sad32x64x4d vp9_sad32x64x4d_sse2 574 #define vp9_sad32x64x4d vp9_sad32x64x4d_sse2
559 575
560 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride); 576 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
561 unsigned int vp9_sad4x4_sse(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 577 unsigned int vp9_sad4x4_sse(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
562 #define vp9_sad4x4 vp9_sad4x4_sse 578 #define vp9_sad4x4 vp9_sad4x4_sse
563 579
564 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); 580 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);
(...skipping 21 matching lines...) Expand all
586 602
587 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); 603 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);
588 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); 604 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);
589 #define vp9_sad4x8x4d vp9_sad4x8x4d_sse 605 #define vp9_sad4x8x4d vp9_sad4x8x4d_sse
590 606
591 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); 607 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);
592 #define vp9_sad4x8x8 vp9_sad4x8x8_c 608 #define vp9_sad4x8x8 vp9_sad4x8x8_c
593 609
594 unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 610 unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
595 unsigned int vp9_sad64x32_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 611 unsigned int vp9_sad64x32_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
596 #define vp9_sad64x32 vp9_sad64x32_sse2 612 unsigned int vp9_sad64x32_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
613 RTCD_EXTERN unsigned int (*vp9_sad64x32)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
597 614
598 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); 615 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);
599 unsigned int vp9_sad64x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 616 unsigned int vp9_sad64x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
600 #define vp9_sad64x32_avg vp9_sad64x32_avg_sse2 617 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);
618 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);
601 619
602 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); 620 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);
603 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); 621 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);
604 #define vp9_sad64x32x4d vp9_sad64x32x4d_sse2 622 #define vp9_sad64x32x4d vp9_sad64x32x4d_sse2
605 623
606 unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 624 unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
607 unsigned int vp9_sad64x64_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 625 unsigned int vp9_sad64x64_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
608 #define vp9_sad64x64 vp9_sad64x64_sse2 626 unsigned int vp9_sad64x64_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
627 RTCD_EXTERN unsigned int (*vp9_sad64x64)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
609 628
610 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); 629 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);
611 unsigned int vp9_sad64x64_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 630 unsigned int vp9_sad64x64_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
612 #define vp9_sad64x64_avg vp9_sad64x64_avg_sse2 631 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);
632 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);
613 633
614 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array); 634 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
615 #define vp9_sad64x64x3 vp9_sad64x64x3_c 635 #define vp9_sad64x64x3 vp9_sad64x64x3_c
616 636
617 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); 637 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);
618 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); 638 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);
619 #define vp9_sad64x64x4d vp9_sad64x64x4d_sse2 639 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);
640 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);
620 641
621 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); 642 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);
622 #define vp9_sad64x64x8 vp9_sad64x64x8_c 643 #define vp9_sad64x64x8 vp9_sad64x64x8_c
623 644
624 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride); 645 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride);
625 unsigned int vp9_sad8x16_sse2(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride); 646 unsigned int vp9_sad8x16_sse2(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride);
626 #define vp9_sad8x16 vp9_sad8x16_sse2 647 #define vp9_sad8x16 vp9_sad8x16_sse2
627 648
628 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); 649 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);
629 unsigned int vp9_sad8x16_avg_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 650 unsigned int vp9_sad8x16_avg_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance16x8)(const uint8_t *src_pt r, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref _stride, unsigned int *sse, const uint8_t *second_pred); 711 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance16x8)(const uint8_t *src_pt r, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref _stride, unsigned int *sse, const uint8_t *second_pred);
691 712
692 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); 713 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);
693 unsigned int vp9_sub_pixel_avg_variance32x16_sse2(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); 714 unsigned int vp9_sub_pixel_avg_variance32x16_sse2(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);
694 unsigned int vp9_sub_pixel_avg_variance32x16_ssse3(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); 715 unsigned int vp9_sub_pixel_avg_variance32x16_ssse3(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
695 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance32x16)(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); 716 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance32x16)(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);
696 717
697 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); 718 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);
698 unsigned int vp9_sub_pixel_avg_variance32x32_sse2(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); 719 unsigned int vp9_sub_pixel_avg_variance32x32_sse2(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);
699 unsigned int vp9_sub_pixel_avg_variance32x32_ssse3(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); 720 unsigned int vp9_sub_pixel_avg_variance32x32_ssse3(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
721 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);
700 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); 722 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);
701 723
702 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); 724 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);
703 unsigned int vp9_sub_pixel_avg_variance32x64_sse2(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); 725 unsigned int vp9_sub_pixel_avg_variance32x64_sse2(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);
704 unsigned int vp9_sub_pixel_avg_variance32x64_ssse3(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); 726 unsigned int vp9_sub_pixel_avg_variance32x64_ssse3(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
705 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance32x64)(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); 727 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance32x64)(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);
706 728
707 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); 729 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);
708 unsigned int vp9_sub_pixel_avg_variance4x4_sse(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); 730 unsigned int vp9_sub_pixel_avg_variance4x4_sse(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);
709 unsigned int vp9_sub_pixel_avg_variance4x4_ssse3(const uint8_t *src_ptr, int sou rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, u nsigned int *sse, const uint8_t *second_pred); 731 unsigned int vp9_sub_pixel_avg_variance4x4_ssse3(const uint8_t *src_ptr, int sou rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, u nsigned int *sse, const uint8_t *second_pred);
710 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance4x4)(const uint8_t *src_ptr , int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_ stride, unsigned int *sse, const uint8_t *second_pred); 732 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance4x4)(const uint8_t *src_ptr , int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_ stride, unsigned int *sse, const uint8_t *second_pred);
711 733
712 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); 734 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);
713 unsigned int vp9_sub_pixel_avg_variance4x8_sse(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse, const uint8_t *second_pred); 735 unsigned int vp9_sub_pixel_avg_variance4x8_sse(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse, const uint8_t *second_pred);
714 unsigned int vp9_sub_pixel_avg_variance4x8_ssse3(const uint8_t *src_ptr, int sou rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, un signed int *sse, const uint8_t *second_pred); 736 unsigned int vp9_sub_pixel_avg_variance4x8_ssse3(const uint8_t *src_ptr, int sou rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, un signed int *sse, const uint8_t *second_pred);
715 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance4x8)(const uint8_t *src_ptr , int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_s tride, unsigned int *sse, const uint8_t *second_pred); 737 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance4x8)(const uint8_t *src_ptr , int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_s tride, unsigned int *sse, const uint8_t *second_pred);
716 738
717 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); 739 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);
718 unsigned int vp9_sub_pixel_avg_variance64x32_sse2(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); 740 unsigned int vp9_sub_pixel_avg_variance64x32_sse2(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);
719 unsigned int vp9_sub_pixel_avg_variance64x32_ssse3(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); 741 unsigned int vp9_sub_pixel_avg_variance64x32_ssse3(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
720 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance64x32)(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); 742 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance64x32)(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);
721 743
722 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); 744 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);
723 unsigned int vp9_sub_pixel_avg_variance64x64_sse2(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); 745 unsigned int vp9_sub_pixel_avg_variance64x64_sse2(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);
724 unsigned int vp9_sub_pixel_avg_variance64x64_ssse3(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); 746 unsigned int vp9_sub_pixel_avg_variance64x64_ssse3(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
747 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);
725 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); 748 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);
726 749
727 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); 750 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);
728 unsigned int vp9_sub_pixel_avg_variance8x16_sse2(const uint8_t *src_ptr, int sou rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, u nsigned int *sse, const uint8_t *second_pred); 751 unsigned int vp9_sub_pixel_avg_variance8x16_sse2(const uint8_t *src_ptr, int sou rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, u nsigned int *sse, const uint8_t *second_pred);
729 unsigned int vp9_sub_pixel_avg_variance8x16_ssse3(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); 752 unsigned int vp9_sub_pixel_avg_variance8x16_ssse3(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);
730 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance8x16)(const uint8_t *src_pt r, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref _stride, unsigned int *sse, const uint8_t *second_pred); 753 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance8x16)(const uint8_t *src_pt r, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref _stride, unsigned int *sse, const uint8_t *second_pred);
731 754
732 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); 755 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);
733 unsigned int vp9_sub_pixel_avg_variance8x4_sse2(const uint8_t *src_ptr, int sour ce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred); 756 unsigned int vp9_sub_pixel_avg_variance8x4_sse2(const uint8_t *src_ptr, int sour ce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred);
734 unsigned int vp9_sub_pixel_avg_variance8x4_ssse3(const uint8_t *src_ptr, int sou rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, un signed int *sse, const uint8_t *second_pred); 757 unsigned int vp9_sub_pixel_avg_variance8x4_ssse3(const uint8_t *src_ptr, int sou rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, un signed int *sse, const uint8_t *second_pred);
(...skipping 20 matching lines...) Expand all
755 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance16x8)(const uint8_t *src_ptr, i nt source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_str ide, unsigned int *sse); 778 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance16x8)(const uint8_t *src_ptr, i nt source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_str ide, unsigned int *sse);
756 779
757 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); 780 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);
758 unsigned int vp9_sub_pixel_variance32x16_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse); 781 unsigned int vp9_sub_pixel_variance32x16_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
759 unsigned int vp9_sub_pixel_variance32x16_ssse3(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); 782 unsigned int vp9_sub_pixel_variance32x16_ssse3(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);
760 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance32x16)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse); 783 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance32x16)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse);
761 784
762 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); 785 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);
763 unsigned int vp9_sub_pixel_variance32x32_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse); 786 unsigned int vp9_sub_pixel_variance32x32_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
764 unsigned int vp9_sub_pixel_variance32x32_ssse3(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); 787 unsigned int vp9_sub_pixel_variance32x32_ssse3(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);
788 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);
765 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); 789 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);
766 790
767 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); 791 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);
768 unsigned int vp9_sub_pixel_variance32x64_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse); 792 unsigned int vp9_sub_pixel_variance32x64_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
769 unsigned int vp9_sub_pixel_variance32x64_ssse3(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); 793 unsigned int vp9_sub_pixel_variance32x64_ssse3(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);
770 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance32x64)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse); 794 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance32x64)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse);
771 795
772 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); 796 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);
773 unsigned int vp9_sub_pixel_variance4x4_sse(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); 797 unsigned int vp9_sub_pixel_variance4x4_sse(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);
774 unsigned int vp9_sub_pixel_variance4x4_ssse3(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse); 798 unsigned int vp9_sub_pixel_variance4x4_ssse3(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse);
775 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance4x4)(const uint8_t *src_ptr, in t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stri de, unsigned int *sse); 799 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance4x4)(const uint8_t *src_ptr, in t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stri de, unsigned int *sse);
776 800
777 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); 801 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);
778 unsigned int vp9_sub_pixel_variance4x8_sse(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 802 unsigned int vp9_sub_pixel_variance4x8_sse(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
779 unsigned int vp9_sub_pixel_variance4x8_ssse3(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse); 803 unsigned int vp9_sub_pixel_variance4x8_ssse3(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse);
780 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance4x8)(const uint8_t *src_ptr, in t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_strid e, unsigned int *sse); 804 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance4x8)(const uint8_t *src_ptr, in t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_strid e, unsigned int *sse);
781 805
782 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); 806 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);
783 unsigned int vp9_sub_pixel_variance64x32_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse); 807 unsigned int vp9_sub_pixel_variance64x32_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
784 unsigned int vp9_sub_pixel_variance64x32_ssse3(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); 808 unsigned int vp9_sub_pixel_variance64x32_ssse3(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);
785 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance64x32)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse); 809 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance64x32)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse);
786 810
787 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); 811 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);
788 unsigned int vp9_sub_pixel_variance64x64_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse); 812 unsigned int vp9_sub_pixel_variance64x64_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
789 unsigned int vp9_sub_pixel_variance64x64_ssse3(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); 813 unsigned int vp9_sub_pixel_variance64x64_ssse3(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);
814 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);
790 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); 815 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);
791 816
792 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); 817 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);
793 unsigned int vp9_sub_pixel_variance8x16_sse2(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse); 818 unsigned int vp9_sub_pixel_variance8x16_sse2(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse);
794 unsigned int vp9_sub_pixel_variance8x16_ssse3(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse); 819 unsigned int vp9_sub_pixel_variance8x16_ssse3(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
795 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance8x16)(const uint8_t *src_ptr, i nt source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_str ide, unsigned int *sse); 820 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance8x16)(const uint8_t *src_ptr, i nt source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_str ide, unsigned int *sse);
796 821
797 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); 822 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);
798 unsigned int vp9_sub_pixel_variance8x4_sse2(const uint8_t *src_ptr, int source_s tride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 823 unsigned int vp9_sub_pixel_variance8x4_sse2(const uint8_t *src_ptr, int source_s tride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
799 unsigned int vp9_sub_pixel_variance8x4_ssse3(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse); 824 unsigned int vp9_sub_pixel_variance8x4_ssse3(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 864 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
840 void vp9_v_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 865 void vp9_v_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
841 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_sse 866 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_sse
842 867
843 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 868 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
844 void vp9_v_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 869 void vp9_v_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
845 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_sse 870 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_sse
846 871
847 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); 872 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);
848 unsigned int vp9_variance16x16_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 873 unsigned int vp9_variance16x16_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
849 #define vp9_variance16x16 vp9_variance16x16_sse2 874 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);
875 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);
850 876
851 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); 877 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);
852 unsigned int vp9_variance16x32_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 878 unsigned int vp9_variance16x32_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
853 #define vp9_variance16x32 vp9_variance16x32_sse2 879 #define vp9_variance16x32 vp9_variance16x32_sse2
854 880
855 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 881 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
856 unsigned int vp9_variance16x8_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 882 unsigned int vp9_variance16x8_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
857 #define vp9_variance16x8 vp9_variance16x8_sse2 883 #define vp9_variance16x8 vp9_variance16x8_sse2
858 884
859 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); 885 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);
860 unsigned int vp9_variance32x16_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 886 unsigned int vp9_variance32x16_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
861 #define vp9_variance32x16 vp9_variance32x16_sse2 887 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);
888 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);
862 889
863 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); 890 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);
864 unsigned int vp9_variance32x32_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 891 unsigned int vp9_variance32x32_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
865 #define vp9_variance32x32 vp9_variance32x32_sse2 892 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);
893 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);
866 894
867 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); 895 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);
868 unsigned int vp9_variance32x64_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 896 unsigned int vp9_variance32x64_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
869 #define vp9_variance32x64 vp9_variance32x64_sse2 897 #define vp9_variance32x64 vp9_variance32x64_sse2
870 898
871 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 899 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
872 unsigned int vp9_variance4x4_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 900 unsigned int vp9_variance4x4_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
873 #define vp9_variance4x4 vp9_variance4x4_sse2 901 #define vp9_variance4x4 vp9_variance4x4_sse2
874 902
875 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 903 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
876 unsigned int vp9_variance4x8_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 904 unsigned int vp9_variance4x8_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
877 #define vp9_variance4x8 vp9_variance4x8_sse2 905 #define vp9_variance4x8 vp9_variance4x8_sse2
878 906
879 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); 907 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);
880 unsigned int vp9_variance64x32_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 908 unsigned int vp9_variance64x32_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
881 #define vp9_variance64x32 vp9_variance64x32_sse2 909 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);
910 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);
882 911
883 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); 912 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);
884 unsigned int vp9_variance64x64_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 913 unsigned int vp9_variance64x64_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
885 #define vp9_variance64x64 vp9_variance64x64_sse2 914 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);
915 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);
886 916
887 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 917 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
888 unsigned int vp9_variance8x16_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 918 unsigned int vp9_variance8x16_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
889 #define vp9_variance8x16 vp9_variance8x16_sse2 919 #define vp9_variance8x16 vp9_variance8x16_sse2
890 920
891 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 921 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
892 unsigned int vp9_variance8x4_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 922 unsigned int vp9_variance8x4_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
893 #define vp9_variance8x4 vp9_variance8x4_sse2 923 #define vp9_variance8x4 vp9_variance8x4_sse2
894 924
895 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 925 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
896 unsigned int vp9_variance8x8_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 926 unsigned int vp9_variance8x8_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
897 #define vp9_variance8x8 vp9_variance8x8_sse2 927 #define vp9_variance8x8 vp9_variance8x8_sse2
898 928
899 void vp9_rtcd(void); 929 void vp9_rtcd(void);
900 930
901 #ifdef RTCD_C 931 #ifdef RTCD_C
902 #include "vpx_ports/x86.h" 932 #include "vpx_ports/x86.h"
903 static void setup_rtcd_internal(void) 933 static void setup_rtcd_internal(void)
904 { 934 {
905 int flags = x86_simd_caps(); 935 int flags = x86_simd_caps();
906 936
907 (void)flags; 937 (void)flags;
908 938
939 vp9_block_error = vp9_block_error_sse2;
940 if (flags & HAS_AVX2) vp9_block_error = vp9_block_error_avx2;
909 vp9_convolve8 = vp9_convolve8_sse2; 941 vp9_convolve8 = vp9_convolve8_sse2;
910 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3; 942 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3;
943 if (flags & HAS_AVX2) vp9_convolve8 = vp9_convolve8_avx2;
911 vp9_convolve8_avg = vp9_convolve8_avg_sse2; 944 vp9_convolve8_avg = vp9_convolve8_avg_sse2;
912 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3; 945 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3;
913 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2; 946 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2;
914 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss e3; 947 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss e3;
915 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2; 948 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2;
916 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3 ; 949 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3 ;
917 vp9_convolve8_horiz = vp9_convolve8_horiz_sse2; 950 vp9_convolve8_horiz = vp9_convolve8_horiz_sse2;
918 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3; 951 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3;
952 if (flags & HAS_AVX2) vp9_convolve8_horiz = vp9_convolve8_horiz_avx2;
919 vp9_convolve8_vert = vp9_convolve8_vert_sse2; 953 vp9_convolve8_vert = vp9_convolve8_vert_sse2;
920 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3; 954 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3;
955 if (flags & HAS_AVX2) vp9_convolve8_vert = vp9_convolve8_vert_avx2;
921 vp9_d153_predictor_16x16 = vp9_d153_predictor_16x16_c; 956 vp9_d153_predictor_16x16 = vp9_d153_predictor_16x16_c;
922 if (flags & HAS_SSSE3) vp9_d153_predictor_16x16 = vp9_d153_predictor_16x16_s sse3; 957 if (flags & HAS_SSSE3) vp9_d153_predictor_16x16 = vp9_d153_predictor_16x16_s sse3;
923 vp9_d153_predictor_4x4 = vp9_d153_predictor_4x4_c; 958 vp9_d153_predictor_4x4 = vp9_d153_predictor_4x4_c;
924 if (flags & HAS_SSSE3) vp9_d153_predictor_4x4 = vp9_d153_predictor_4x4_ssse3 ; 959 if (flags & HAS_SSSE3) vp9_d153_predictor_4x4 = vp9_d153_predictor_4x4_ssse3 ;
925 vp9_d153_predictor_8x8 = vp9_d153_predictor_8x8_c; 960 vp9_d153_predictor_8x8 = vp9_d153_predictor_8x8_c;
926 if (flags & HAS_SSSE3) vp9_d153_predictor_8x8 = vp9_d153_predictor_8x8_ssse3 ; 961 if (flags & HAS_SSSE3) vp9_d153_predictor_8x8 = vp9_d153_predictor_8x8_ssse3 ;
927 vp9_d207_predictor_16x16 = vp9_d207_predictor_16x16_c; 962 vp9_d207_predictor_16x16 = vp9_d207_predictor_16x16_c;
928 if (flags & HAS_SSSE3) vp9_d207_predictor_16x16 = vp9_d207_predictor_16x16_s sse3; 963 if (flags & HAS_SSSE3) vp9_d207_predictor_16x16 = vp9_d207_predictor_16x16_s sse3;
929 vp9_d207_predictor_32x32 = vp9_d207_predictor_32x32_c; 964 vp9_d207_predictor_32x32 = vp9_d207_predictor_32x32_c;
930 if (flags & HAS_SSSE3) vp9_d207_predictor_32x32 = vp9_d207_predictor_32x32_s sse3; 965 if (flags & HAS_SSSE3) vp9_d207_predictor_32x32 = vp9_d207_predictor_32x32_s sse3;
(...skipping 10 matching lines...) Expand all
941 vp9_d45_predictor_8x8 = vp9_d45_predictor_8x8_c; 976 vp9_d45_predictor_8x8 = vp9_d45_predictor_8x8_c;
942 if (flags & HAS_SSSE3) vp9_d45_predictor_8x8 = vp9_d45_predictor_8x8_ssse3; 977 if (flags & HAS_SSSE3) vp9_d45_predictor_8x8 = vp9_d45_predictor_8x8_ssse3;
943 vp9_d63_predictor_16x16 = vp9_d63_predictor_16x16_c; 978 vp9_d63_predictor_16x16 = vp9_d63_predictor_16x16_c;
944 if (flags & HAS_SSSE3) vp9_d63_predictor_16x16 = vp9_d63_predictor_16x16_sss e3; 979 if (flags & HAS_SSSE3) vp9_d63_predictor_16x16 = vp9_d63_predictor_16x16_sss e3;
945 vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_c; 980 vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_c;
946 if (flags & HAS_SSSE3) vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_sss e3; 981 if (flags & HAS_SSSE3) vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_sss e3;
947 vp9_d63_predictor_4x4 = vp9_d63_predictor_4x4_c; 982 vp9_d63_predictor_4x4 = vp9_d63_predictor_4x4_c;
948 if (flags & HAS_SSSE3) vp9_d63_predictor_4x4 = vp9_d63_predictor_4x4_ssse3; 983 if (flags & HAS_SSSE3) vp9_d63_predictor_4x4 = vp9_d63_predictor_4x4_ssse3;
949 vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_c; 984 vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_c;
950 if (flags & HAS_SSSE3) vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_ssse3; 985 if (flags & HAS_SSSE3) vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_ssse3;
986 vp9_fdct32x32 = vp9_fdct32x32_sse2;
987 if (flags & HAS_AVX2) vp9_fdct32x32 = vp9_fdct32x32_avx2;
988 vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2;
989 if (flags & HAS_AVX2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_avx2;
951 vp9_fdct8x8 = vp9_fdct8x8_sse2; 990 vp9_fdct8x8 = vp9_fdct8x8_sse2;
952 if (flags & HAS_SSSE3) vp9_fdct8x8 = vp9_fdct8x8_ssse3; 991 if (flags & HAS_SSSE3) vp9_fdct8x8 = vp9_fdct8x8_ssse3;
953 vp9_fdct8x8_quant = vp9_fdct8x8_quant_sse2; 992 vp9_fdct8x8_quant = vp9_fdct8x8_quant_sse2;
954 if (flags & HAS_SSSE3) vp9_fdct8x8_quant = vp9_fdct8x8_quant_ssse3; 993 if (flags & HAS_SSSE3) vp9_fdct8x8_quant = vp9_fdct8x8_quant_ssse3;
955 vp9_full_search_sad = vp9_full_search_sad_c; 994 vp9_full_search_sad = vp9_full_search_sad_c;
956 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; 995 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3;
957 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; 996 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8;
997 vp9_get16x16var = vp9_get16x16var_sse2;
998 if (flags & HAS_AVX2) vp9_get16x16var = vp9_get16x16var_avx2;
958 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; 999 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c;
959 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3; 1000 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3;
960 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; 1001 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c;
961 if (flags & HAS_SSSE3) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_ssse3; 1002 if (flags & HAS_SSSE3) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_ssse3;
962 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; 1003 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c;
963 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3; 1004 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3;
964 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; 1005 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c;
965 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3; 1006 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3;
966 vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2; 1007 vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2;
967 if (flags & HAS_SSSE3) vp9_idct16x16_10_add = vp9_idct16x16_10_add_ssse3; 1008 if (flags & HAS_SSSE3) vp9_idct16x16_10_add = vp9_idct16x16_10_add_ssse3;
968 vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2; 1009 vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2;
969 if (flags & HAS_SSSE3) vp9_idct16x16_256_add = vp9_idct16x16_256_add_ssse3; 1010 if (flags & HAS_SSSE3) vp9_idct16x16_256_add = vp9_idct16x16_256_add_ssse3;
970 vp9_idct8x8_12_add = vp9_idct8x8_12_add_sse2; 1011 vp9_idct8x8_12_add = vp9_idct8x8_12_add_sse2;
971 if (flags & HAS_SSSE3) vp9_idct8x8_12_add = vp9_idct8x8_12_add_ssse3; 1012 if (flags & HAS_SSSE3) vp9_idct8x8_12_add = vp9_idct8x8_12_add_ssse3;
972 vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2; 1013 vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2;
973 if (flags & HAS_SSSE3) vp9_idct8x8_64_add = vp9_idct8x8_64_add_ssse3; 1014 if (flags & HAS_SSSE3) vp9_idct8x8_64_add = vp9_idct8x8_64_add_ssse3;
1015 vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_sse2;
1016 if (flags & HAS_AVX2) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_avx2;
1017 vp9_mse16x16 = vp9_mse16x16_sse2;
1018 if (flags & HAS_AVX2) vp9_mse16x16 = vp9_mse16x16_avx2;
974 vp9_quantize_b = vp9_quantize_b_sse2; 1019 vp9_quantize_b = vp9_quantize_b_sse2;
975 if (flags & HAS_SSSE3) vp9_quantize_b = vp9_quantize_b_ssse3; 1020 if (flags & HAS_SSSE3) vp9_quantize_b = vp9_quantize_b_ssse3;
976 vp9_quantize_b_32x32 = vp9_quantize_b_32x32_c; 1021 vp9_quantize_b_32x32 = vp9_quantize_b_32x32_c;
977 if (flags & HAS_SSSE3) vp9_quantize_b_32x32 = vp9_quantize_b_32x32_ssse3; 1022 if (flags & HAS_SSSE3) vp9_quantize_b_32x32 = vp9_quantize_b_32x32_ssse3;
978 vp9_quantize_fp = vp9_quantize_fp_sse2; 1023 vp9_quantize_fp = vp9_quantize_fp_sse2;
979 if (flags & HAS_SSSE3) vp9_quantize_fp = vp9_quantize_fp_ssse3; 1024 if (flags & HAS_SSSE3) vp9_quantize_fp = vp9_quantize_fp_ssse3;
980 vp9_quantize_fp_32x32 = vp9_quantize_fp_32x32_c; 1025 vp9_quantize_fp_32x32 = vp9_quantize_fp_32x32_c;
981 if (flags & HAS_SSSE3) vp9_quantize_fp_32x32 = vp9_quantize_fp_32x32_ssse3; 1026 if (flags & HAS_SSSE3) vp9_quantize_fp_32x32 = vp9_quantize_fp_32x32_ssse3;
982 vp9_sad16x16x3 = vp9_sad16x16x3_c; 1027 vp9_sad16x16x3 = vp9_sad16x16x3_c;
983 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3; 1028 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3;
984 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3; 1029 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3;
985 vp9_sad16x8x3 = vp9_sad16x8x3_c; 1030 vp9_sad16x8x3 = vp9_sad16x8x3_c;
986 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3; 1031 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3;
987 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3; 1032 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3;
1033 vp9_sad32x16 = vp9_sad32x16_sse2;
1034 if (flags & HAS_AVX2) vp9_sad32x16 = vp9_sad32x16_avx2;
1035 vp9_sad32x16_avg = vp9_sad32x16_avg_sse2;
1036 if (flags & HAS_AVX2) vp9_sad32x16_avg = vp9_sad32x16_avg_avx2;
1037 vp9_sad32x32 = vp9_sad32x32_sse2;
1038 if (flags & HAS_AVX2) vp9_sad32x32 = vp9_sad32x32_avx2;
1039 vp9_sad32x32_avg = vp9_sad32x32_avg_sse2;
1040 if (flags & HAS_AVX2) vp9_sad32x32_avg = vp9_sad32x32_avg_avx2;
1041 vp9_sad32x32x4d = vp9_sad32x32x4d_sse2;
1042 if (flags & HAS_AVX2) vp9_sad32x32x4d = vp9_sad32x32x4d_avx2;
1043 vp9_sad32x64 = vp9_sad32x64_sse2;
1044 if (flags & HAS_AVX2) vp9_sad32x64 = vp9_sad32x64_avx2;
1045 vp9_sad32x64_avg = vp9_sad32x64_avg_sse2;
1046 if (flags & HAS_AVX2) vp9_sad32x64_avg = vp9_sad32x64_avg_avx2;
988 vp9_sad4x4x3 = vp9_sad4x4x3_c; 1047 vp9_sad4x4x3 = vp9_sad4x4x3_c;
989 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3; 1048 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3;
1049 vp9_sad64x32 = vp9_sad64x32_sse2;
1050 if (flags & HAS_AVX2) vp9_sad64x32 = vp9_sad64x32_avx2;
1051 vp9_sad64x32_avg = vp9_sad64x32_avg_sse2;
1052 if (flags & HAS_AVX2) vp9_sad64x32_avg = vp9_sad64x32_avg_avx2;
1053 vp9_sad64x64 = vp9_sad64x64_sse2;
1054 if (flags & HAS_AVX2) vp9_sad64x64 = vp9_sad64x64_avx2;
1055 vp9_sad64x64_avg = vp9_sad64x64_avg_sse2;
1056 if (flags & HAS_AVX2) vp9_sad64x64_avg = vp9_sad64x64_avg_avx2;
1057 vp9_sad64x64x4d = vp9_sad64x64x4d_sse2;
1058 if (flags & HAS_AVX2) vp9_sad64x64x4d = vp9_sad64x64x4d_avx2;
990 vp9_sad8x16x3 = vp9_sad8x16x3_c; 1059 vp9_sad8x16x3 = vp9_sad8x16x3_c;
991 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3; 1060 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3;
992 vp9_sad8x8x3 = vp9_sad8x8x3_c; 1061 vp9_sad8x8x3 = vp9_sad8x8x3_c;
993 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3; 1062 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3;
994 vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_variance16x16_sse2; 1063 vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_variance16x16_sse2;
995 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_v ariance16x16_ssse3; 1064 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_v ariance16x16_ssse3;
996 vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_variance16x32_sse2; 1065 vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_variance16x32_sse2;
997 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_v ariance16x32_ssse3; 1066 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_v ariance16x32_ssse3;
998 vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_variance16x8_sse2; 1067 vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_variance16x8_sse2;
999 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_va riance16x8_ssse3; 1068 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_va riance16x8_ssse3;
1000 vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_variance32x16_sse2; 1069 vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_variance32x16_sse2;
1001 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_v ariance32x16_ssse3; 1070 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_v ariance32x16_ssse3;
1002 vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_variance32x32_sse2; 1071 vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_variance32x32_sse2;
1003 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_v ariance32x32_ssse3; 1072 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_v ariance32x32_ssse3;
1073 if (flags & HAS_AVX2) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_va riance32x32_avx2;
1004 vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_variance32x64_sse2; 1074 vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_variance32x64_sse2;
1005 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_v ariance32x64_ssse3; 1075 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_v ariance32x64_ssse3;
1006 vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_variance4x4_sse; 1076 vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_variance4x4_sse;
1007 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_var iance4x4_ssse3; 1077 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_var iance4x4_ssse3;
1008 vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_variance4x8_sse; 1078 vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_variance4x8_sse;
1009 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_var iance4x8_ssse3; 1079 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_var iance4x8_ssse3;
1010 vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_variance64x32_sse2; 1080 vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_variance64x32_sse2;
1011 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_v ariance64x32_ssse3; 1081 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_v ariance64x32_ssse3;
1012 vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_variance64x64_sse2; 1082 vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_variance64x64_sse2;
1013 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_v ariance64x64_ssse3; 1083 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_v ariance64x64_ssse3;
1084 if (flags & HAS_AVX2) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_va riance64x64_avx2;
1014 vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_variance8x16_sse2; 1085 vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_variance8x16_sse2;
1015 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_va riance8x16_ssse3; 1086 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_va riance8x16_ssse3;
1016 vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_variance8x4_sse2; 1087 vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_variance8x4_sse2;
1017 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_var iance8x4_ssse3; 1088 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_var iance8x4_ssse3;
1018 vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_variance8x8_sse2; 1089 vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_variance8x8_sse2;
1019 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_var iance8x8_ssse3; 1090 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_var iance8x8_ssse3;
1020 vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16x16_sse2; 1091 vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16x16_sse2;
1021 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance1 6x16_ssse3; 1092 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance1 6x16_ssse3;
1022 vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance16x32_sse2; 1093 vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance16x32_sse2;
1023 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance1 6x32_ssse3; 1094 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance1 6x32_ssse3;
1024 vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16x8_sse2; 1095 vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16x8_sse2;
1025 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16 x8_ssse3; 1096 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16 x8_ssse3;
1026 vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance32x16_sse2; 1097 vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance32x16_sse2;
1027 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance3 2x16_ssse3; 1098 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance3 2x16_ssse3;
1028 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_sse2; 1099 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_sse2;
1029 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance3 2x32_ssse3; 1100 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance3 2x32_ssse3;
1101 if (flags & HAS_AVX2) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32 x32_avx2;
1030 vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance32x64_sse2; 1102 vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance32x64_sse2;
1031 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance3 2x64_ssse3; 1103 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance3 2x64_ssse3;
1032 vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4_sse; 1104 vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4_sse;
1033 if (flags & HAS_SSSE3) vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4 _ssse3; 1105 if (flags & HAS_SSSE3) vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4 _ssse3;
1034 vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8_sse; 1106 vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8_sse;
1035 if (flags & HAS_SSSE3) vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8 _ssse3; 1107 if (flags & HAS_SSSE3) vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8 _ssse3;
1036 vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance64x32_sse2; 1108 vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance64x32_sse2;
1037 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance6 4x32_ssse3; 1109 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance6 4x32_ssse3;
1038 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_sse2; 1110 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_sse2;
1039 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance6 4x64_ssse3; 1111 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance6 4x64_ssse3;
1112 if (flags & HAS_AVX2) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64 x64_avx2;
1040 vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x16_sse2; 1113 vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x16_sse2;
1041 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x 16_ssse3; 1114 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x 16_ssse3;
1042 vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4_sse2; 1115 vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4_sse2;
1043 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4 _ssse3; 1116 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4 _ssse3;
1044 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_sse2; 1117 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_sse2;
1045 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8 _ssse3; 1118 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8 _ssse3;
1119 vp9_variance16x16 = vp9_variance16x16_sse2;
1120 if (flags & HAS_AVX2) vp9_variance16x16 = vp9_variance16x16_avx2;
1121 vp9_variance32x16 = vp9_variance32x16_sse2;
1122 if (flags & HAS_AVX2) vp9_variance32x16 = vp9_variance32x16_avx2;
1123 vp9_variance32x32 = vp9_variance32x32_sse2;
1124 if (flags & HAS_AVX2) vp9_variance32x32 = vp9_variance32x32_avx2;
1125 vp9_variance64x32 = vp9_variance64x32_sse2;
1126 if (flags & HAS_AVX2) vp9_variance64x32 = vp9_variance64x32_avx2;
1127 vp9_variance64x64 = vp9_variance64x64_sse2;
1128 if (flags & HAS_AVX2) vp9_variance64x64 = vp9_variance64x64_avx2;
1046 } 1129 }
1047 #endif 1130 #endif
1048 1131
1049 #ifdef __cplusplus 1132 #ifdef __cplusplus
1050 } // extern "C" 1133 } // extern "C"
1051 #endif 1134 #endif
1052 1135
1053 #endif 1136 #endif
OLDNEW
« no previous file with comments | « source/config/linux/mipsel/vpx_config.c ('k') | source/config/linux/x64/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698