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

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

Issue 958693004: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/config/linux/x64/vpx_config.asm ('k') | source/config/mac/ia32/vpx_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef VP9_RTCD_H_ 1 #ifndef VP9_RTCD_H_
2 #define VP9_RTCD_H_ 2 #define VP9_RTCD_H_
3 3
4 #ifdef RTCD_C 4 #ifdef RTCD_C
5 #define RTCD_EXTERN 5 #define RTCD_EXTERN
6 #else 6 #else
7 #define RTCD_EXTERN extern 7 #define RTCD_EXTERN extern
8 #endif 8 #endif
9 9
10 /* 10 /*
(...skipping 20 matching lines...) Expand all
31 31
32 unsigned int vp9_avg_4x4_c(const uint8_t *, int p); 32 unsigned int vp9_avg_4x4_c(const uint8_t *, int p);
33 unsigned int vp9_avg_4x4_sse2(const uint8_t *, int p); 33 unsigned int vp9_avg_4x4_sse2(const uint8_t *, int p);
34 RTCD_EXTERN unsigned int (*vp9_avg_4x4)(const uint8_t *, int p); 34 RTCD_EXTERN unsigned int (*vp9_avg_4x4)(const uint8_t *, int p);
35 35
36 unsigned int vp9_avg_8x8_c(const uint8_t *, int p); 36 unsigned int vp9_avg_8x8_c(const uint8_t *, int p);
37 unsigned int vp9_avg_8x8_sse2(const uint8_t *, int p); 37 unsigned int vp9_avg_8x8_sse2(const uint8_t *, int p);
38 RTCD_EXTERN unsigned int (*vp9_avg_8x8)(const uint8_t *, int p); 38 RTCD_EXTERN unsigned int (*vp9_avg_8x8)(const uint8_t *, int p);
39 39
40 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, in tptr_t block_size, int64_t *ssz); 40 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, in tptr_t block_size, int64_t *ssz);
41 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_avx2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz); 42 int64_t vp9_block_error_avx2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
42 RTCD_EXTERN int64_t (*vp9_block_error)(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz); 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);
47 void vp9_convolve8_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil ter_y, int y_step_q4, int w, int h); 48 void vp9_convolve8_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil ter_y, int y_step_q4, int w, int h);
48 RTCD_EXTERN void (*vp9_convolve8)(const uint8_t *src, ptrdiff_t src_stride, uint 8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in t16_t *filter_y, int y_step_q4, int w, int h); 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);
49 50
50 void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi lter_y, int y_step_q4, int w, int h); 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);
(...skipping 17 matching lines...) Expand all
68 void vp9_convolve8_horiz_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_ t *filter_y, int y_step_q4, int w, int h); 69 void vp9_convolve8_horiz_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_ t *filter_y, int y_step_q4, int w, int h);
69 RTCD_EXTERN void (*vp9_convolve8_horiz)(const uint8_t *src, ptrdiff_t src_stride , uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, co nst int16_t *filter_y, int y_step_q4, int w, int h); 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);
70 71
71 void vp9_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst , ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *f ilter_y, int y_step_q4, int w, int h); 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);
72 void vp9_convolve8_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t * dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); 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);
73 void vp9_convolve8_vert_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_ t *filter_y, int y_step_q4, int w, int h); 74 void vp9_convolve8_vert_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_ t *filter_y, int y_step_q4, int w, int h);
74 void vp9_convolve8_vert_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t * dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); 75 void vp9_convolve8_vert_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t * dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
75 RTCD_EXTERN void (*vp9_convolve8_vert)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, con st int16_t *filter_y, int y_step_q4, int w, int h); 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);
76 77
77 void vp9_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil ter_y, int y_step_q4, int w, int h); 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);
78 #define vp9_convolve_avg vp9_convolve_avg_c 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);
80 RTCD_EXTERN void (*vp9_convolve_avg)(const uint8_t *src, ptrdiff_t src_stride, u int8_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);
79 81
80 void vp9_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi lter_y, int y_step_q4, int w, int h); 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);
81 #define vp9_convolve_copy vp9_convolve_copy_c 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);
84 RTCD_EXTERN void (*vp9_convolve_copy)(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);
82 85
83 void vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 86 void vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
84 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c 87 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c
85 88
86 void vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 89 void vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
87 #define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c 90 #define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c
88 91
89 void vp9_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 92 void vp9_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
90 #define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c 93 #define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c
91 94
92 void vp9_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 95 void vp9_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
93 #define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c 96 #define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c
94 97
95 void vp9_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 98 void vp9_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
96 #define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c 99 #define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c
97 100
98 void vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 101 void vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
99 #define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c 102 #define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c
100 103
101 void vp9_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 104 void vp9_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
102 #define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c 105 #define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c
103 106
104 void vp9_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 107 void vp9_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
105 #define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c 108 #define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c
106 109
107 void vp9_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 110 void vp9_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
108 #define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c 111 void vp9_d153_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint 8_t *above, const uint8_t *left);
112 RTCD_EXTERN void (*vp9_d153_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
109 113
110 void vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 114 void vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
111 #define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c 115 #define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c
112 116
113 void vp9_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 117 void vp9_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
114 #define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c 118 void vp9_d153_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
119 RTCD_EXTERN void (*vp9_d153_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
115 120
116 void vp9_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 121 void vp9_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
117 #define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c 122 void vp9_d153_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
123 RTCD_EXTERN void (*vp9_d153_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
118 124
119 void vp9_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 125 void vp9_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
120 #define vp9_d207_predictor_16x16 vp9_d207_predictor_16x16_c 126 void vp9_d207_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint 8_t *above, const uint8_t *left);
127 RTCD_EXTERN void (*vp9_d207_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
121 128
122 void vp9_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 129 void vp9_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
123 #define vp9_d207_predictor_32x32 vp9_d207_predictor_32x32_c 130 void vp9_d207_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint 8_t *above, const uint8_t *left);
131 RTCD_EXTERN void (*vp9_d207_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
124 132
125 void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 133 void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
126 #define vp9_d207_predictor_4x4 vp9_d207_predictor_4x4_c 134 void vp9_d207_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
135 RTCD_EXTERN void (*vp9_d207_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
127 136
128 void vp9_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 137 void vp9_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
129 #define vp9_d207_predictor_8x8 vp9_d207_predictor_8x8_c 138 void vp9_d207_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
139 RTCD_EXTERN void (*vp9_d207_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
130 140
131 void vp9_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left); 141 void vp9_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
132 #define vp9_d45_predictor_16x16 vp9_d45_predictor_16x16_c 142 void vp9_d45_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
143 RTCD_EXTERN void (*vp9_d45_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
133 144
134 void vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left); 145 void vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
135 #define vp9_d45_predictor_32x32 vp9_d45_predictor_32x32_c 146 void vp9_d45_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
147 RTCD_EXTERN void (*vp9_d45_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
136 148
137 void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 149 void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
138 #define vp9_d45_predictor_4x4 vp9_d45_predictor_4x4_c 150 void vp9_d45_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
151 RTCD_EXTERN void (*vp9_d45_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
139 152
140 void vp9_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 153 void vp9_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
141 #define vp9_d45_predictor_8x8 vp9_d45_predictor_8x8_c 154 void vp9_d45_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
155 RTCD_EXTERN void (*vp9_d45_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
142 156
143 void vp9_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left); 157 void vp9_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
144 #define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c 158 void vp9_d63_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
159 RTCD_EXTERN void (*vp9_d63_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
145 160
146 void vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left); 161 void vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
147 #define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c 162 void vp9_d63_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
163 RTCD_EXTERN void (*vp9_d63_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
148 164
149 void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 165 void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
150 #define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c 166 void vp9_d63_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
167 RTCD_EXTERN void (*vp9_d63_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
151 168
152 void vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 169 void vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
153 #define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c 170 void vp9_d63_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
171 RTCD_EXTERN void (*vp9_d63_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
154 172
155 void vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left); 173 void vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
156 #define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c 174 #define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c
157 175
158 void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left); 176 void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
159 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c 177 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c
160 178
161 void vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 179 void vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
162 #define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c 180 #define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c
163 181
164 void vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 182 void vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
165 #define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c 183 #define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c
166 184
167 void vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left); 185 void vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
168 #define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c 186 #define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c
169 187
170 void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left); 188 void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
171 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c 189 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c
172 190
173 void vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 191 void vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
174 #define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c 192 #define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c
175 193
176 void vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 194 void vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
177 #define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c 195 #define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c
178 196
179 void vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 197 void vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
180 #define vp9_dc_predictor_16x16 vp9_dc_predictor_16x16_c 198 void vp9_dc_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
199 RTCD_EXTERN void (*vp9_dc_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
181 200
182 void vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 201 void vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
183 #define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_c 202 void vp9_dc_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
203 RTCD_EXTERN void (*vp9_dc_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
184 204
185 void vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left); 205 void vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
186 #define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_c 206 void vp9_dc_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
207 RTCD_EXTERN void (*vp9_dc_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
187 208
188 void vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left); 209 void vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
189 #define vp9_dc_predictor_8x8 vp9_dc_predictor_8x8_c 210 void vp9_dc_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
211 RTCD_EXTERN void (*vp9_dc_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
190 212
191 void vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left); 213 void vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
192 #define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c 214 #define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c
193 215
194 void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left); 216 void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
195 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c 217 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c
196 218
197 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 219 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
198 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c 220 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c
199 221
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 286
265 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site _config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_p er_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *c enter_mv); 287 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site _config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_p er_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *c enter_mv);
266 #define vp9_full_range_search vp9_full_range_search_c 288 #define vp9_full_range_search vp9_full_range_search_c
267 289
268 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st ruct mv *center_mv, struct mv *best_mv); 290 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st ruct mv *center_mv, struct mv *best_mv);
269 int vp9_full_search_sadx3(const struct macroblock *x, const struct mv *ref_mv, i nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st ruct mv *center_mv, struct mv *best_mv); 291 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);
270 int vp9_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, i nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st ruct mv *center_mv, struct mv *best_mv); 292 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);
271 RTCD_EXTERN int (*vp9_full_search_sad)(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ ptr, const struct mv *center_mv, struct mv *best_mv); 293 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);
272 294
273 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); 295 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
274 #define vp9_fwht4x4 vp9_fwht4x4_c 296 void vp9_fwht4x4_mmx(const int16_t *input, tran_low_t *output, int stride);
297 RTCD_EXTERN void (*vp9_fwht4x4)(const int16_t *input, tran_low_t *output, int st ride);
275 298
276 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 299 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_sse2(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
277 void vp9_get16x16var_avx2(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 301 void vp9_get16x16var_avx2(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
278 RTCD_EXTERN void (*vp9_get16x16var)(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 302 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);
279 303
280 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sse, int *sum); 304 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);
281 #define vp9_get8x8var vp9_get8x8var_c 305 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 RTCD_EXTERN void (*vp9_get8x8var)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
282 307
283 unsigned int vp9_get_mb_ss_c(const int16_t *); 308 unsigned int vp9_get_mb_ss_c(const int16_t *);
284 #define vp9_get_mb_ss vp9_get_mb_ss_c 309 unsigned int vp9_get_mb_ss_sse2(const int16_t *);
310 RTCD_EXTERN unsigned int (*vp9_get_mb_ss)(const int16_t *);
285 311
286 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 312 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
287 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c 313 void vp9_h_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
314 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
288 315
289 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 316 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
290 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c 317 void vp9_h_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
318 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
291 319
292 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 320 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
293 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c 321 void vp9_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
322 RTCD_EXTERN void (*vp9_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
294 323
295 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 324 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
296 #define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c 325 void vp9_h_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
326 RTCD_EXTERN void (*vp9_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
297 327
298 void vp9_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str ide); 328 void vp9_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str ide);
299 void vp9_idct16x16_10_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_ stride); 329 void vp9_idct16x16_10_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_ stride);
300 void vp9_idct16x16_10_add_ssse3(const tran_low_t *input, uint8_t *dest, int dest _stride); 330 void vp9_idct16x16_10_add_ssse3(const tran_low_t *input, uint8_t *dest, int dest _stride);
301 RTCD_EXTERN void (*vp9_idct16x16_10_add)(const tran_low_t *input, uint8_t *dest, int dest_stride); 331 RTCD_EXTERN void (*vp9_idct16x16_10_add)(const tran_low_t *input, uint8_t *dest, int dest_stride);
302 332
303 void vp9_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri de); 333 void vp9_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri de);
304 void vp9_idct16x16_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s tride); 334 void vp9_idct16x16_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s tride);
305 RTCD_EXTERN void (*vp9_idct16x16_1_add)(const tran_low_t *input, uint8_t *dest, int dest_stride); 335 RTCD_EXTERN void (*vp9_idct16x16_1_add)(const tran_low_t *input, uint8_t *dest, int dest_stride);
306 336
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 RTCD_EXTERN void (*vp9_iht16x16_256_add)(const tran_low_t *input, uint8_t *outpu t, int pitch, int tx_type); 376 RTCD_EXTERN void (*vp9_iht16x16_256_add)(const tran_low_t *input, uint8_t *outpu t, int pitch, int tx_type);
347 377
348 void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride , int tx_type); 378 void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride , int tx_type);
349 void vp9_iht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str ide, int tx_type); 379 void vp9_iht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str ide, int tx_type);
350 RTCD_EXTERN void (*vp9_iht4x4_16_add)(const tran_low_t *input, uint8_t *dest, in t dest_stride, int tx_type); 380 RTCD_EXTERN void (*vp9_iht4x4_16_add)(const tran_low_t *input, uint8_t *dest, in t dest_stride, int tx_type);
351 381
352 void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride , int tx_type); 382 void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride , int tx_type);
353 void vp9_iht8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str ide, int tx_type); 383 void vp9_iht8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str ide, int tx_type);
354 RTCD_EXTERN void (*vp9_iht8x8_64_add)(const tran_low_t *input, uint8_t *dest, in t dest_stride, int tx_type); 384 RTCD_EXTERN void (*vp9_iht8x8_64_add)(const tran_low_t *input, uint8_t *dest, in t dest_stride, int tx_type);
355 385
386 int16_t vp9_int_pro_col_c(uint8_t const *ref, const int width);
387 int16_t vp9_int_pro_col_sse2(uint8_t const *ref, const int width);
388 RTCD_EXTERN int16_t (*vp9_int_pro_col)(uint8_t const *ref, const int width);
389
390 void vp9_int_pro_row_c(int16_t *hbuf, uint8_t const *ref, const int ref_stride, const int height);
391 void vp9_int_pro_row_sse2(int16_t *hbuf, uint8_t const *ref, const int ref_strid e, const int height);
392 RTCD_EXTERN void (*vp9_int_pro_row)(int16_t *hbuf, uint8_t const *ref, const int ref_stride, const int height);
393
356 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e); 394 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e);
357 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c 395 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c
358 396
359 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride ); 397 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride );
360 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c 398 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c
361 399
362 void vp9_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); 400 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);
363 void vp9_lpf_horizontal_16_sse2(uint8_t *s, int pitch, const uint8_t *blimit, co nst uint8_t *limit, const uint8_t *thresh, int count); 401 void vp9_lpf_horizontal_16_sse2(uint8_t *s, int pitch, const uint8_t *blimit, co nst uint8_t *limit, const uint8_t *thresh, int count);
364 void vp9_lpf_horizontal_16_avx2(uint8_t *s, int pitch, const uint8_t *blimit, co nst uint8_t *limit, const uint8_t *thresh, int count); 402 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);
365 RTCD_EXTERN void (*vp9_lpf_horizontal_16)(uint8_t *s, int pitch, const uint8_t * blimit, const uint8_t *limit, const uint8_t *thresh, int count); 403 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);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 436
399 void vp9_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui nt8_t *limit, const uint8_t *thresh, int count); 437 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);
400 void vp9_lpf_vertical_8_sse2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); 438 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);
401 RTCD_EXTERN void (*vp9_lpf_vertical_8)(uint8_t *s, int pitch, const uint8_t *bli mit, const uint8_t *limit, const uint8_t *thresh, int count); 439 RTCD_EXTERN void (*vp9_lpf_vertical_8)(uint8_t *s, int pitch, const uint8_t *bli mit, const uint8_t *limit, const uint8_t *thresh, int count);
402 440
403 void vp9_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8 _t *limit1, const uint8_t *thresh1); 441 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);
404 void vp9_lpf_vertical_8_dual_sse2(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const ui nt8_t *limit1, const uint8_t *thresh1); 442 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);
405 RTCD_EXTERN void (*vp9_lpf_vertical_8_dual)(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1 , const uint8_t *limit1, const uint8_t *thresh1); 443 RTCD_EXTERN void (*vp9_lpf_vertical_8_dual)(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1 , const uint8_t *limit1, const uint8_t *thresh1);
406 444
407 unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int recon_stride, unsigned int *sse); 445 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);
446 unsigned int vp9_mse16x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
408 unsigned int vp9_mse16x16_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 447 unsigned int vp9_mse16x16_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
409 RTCD_EXTERN unsigned int (*vp9_mse16x16)(const uint8_t *src_ptr, int source_str ide, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 448 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);
410 449
411 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse); 450 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);
412 #define vp9_mse16x8 vp9_mse16x8_c 451 unsigned int vp9_mse16x8_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
452 RTCD_EXTERN unsigned int (*vp9_mse16x8)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
413 453
414 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse); 454 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);
415 #define vp9_mse8x16 vp9_mse8x16_c 455 unsigned int vp9_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
456 RTCD_EXTERN unsigned int (*vp9_mse8x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
416 457
417 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int recon_stride, unsigned int *sse); 458 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);
418 #define vp9_mse8x8 vp9_mse8x8_c 459 unsigned int vp9_mse8x8_sse2(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int recon_stride, unsigned int *sse);
460 RTCD_EXTERN unsigned int (*vp9_mse8x8)(const uint8_t *src_ptr, int source_strid e, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
419 461
420 void vp9_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p tr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const in t16_t *iscan); 462 void vp9_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p tr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const in t16_t *iscan);
421 void vp9_quantize_b_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int ski p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant _ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoef f_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); 463 void vp9_quantize_b_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int ski p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant _ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoef f_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
422 RTCD_EXTERN void (*vp9_quantize_b)(const tran_low_t *coeff_ptr, intptr_t n_coeff s, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int1 6_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low _t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *s can, const int16_t *iscan); 464 RTCD_EXTERN void (*vp9_quantize_b)(const tran_low_t *coeff_ptr, intptr_t n_coeff s, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int1 6_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low _t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *s can, const int16_t *iscan);
423 465
424 void vp9_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qu ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc oeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, co nst int16_t *iscan); 466 void vp9_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qu ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc oeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, co nst int16_t *iscan);
425 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c 467 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c
426 468
427 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_ block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_p tr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const i nt16_t *iscan); 469 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_ block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_p tr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const i nt16_t *iscan);
428 void vp9_quantize_fp_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int sk ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan t_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoe ff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, cons t int16_t *iscan); 470 void vp9_quantize_fp_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int sk ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan t_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoe ff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, cons t int16_t *iscan);
429 RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coef fs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int 16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_lo w_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t * scan, const int16_t *iscan); 471 RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coef fs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int 16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_lo w_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t * scan, const int16_t *iscan);
430 472
431 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *q uant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dq coeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, c onst int16_t *iscan); 473 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *q uant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dq coeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, c onst int16_t *iscan);
432 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c 474 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c
433 475
434 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 476 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
435 #define vp9_sad16x16 vp9_sad16x16_c 477 unsigned int vp9_sad16x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
478 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
436 479
437 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 480 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
438 #define vp9_sad16x16_avg vp9_sad16x16_avg_c 481 unsigned int vp9_sad16x16_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
482 RTCD_EXTERN unsigned int (*vp9_sad16x16_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
439 483
440 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array); 484 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
441 void vp9_sad16x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array); 485 void vp9_sad16x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array);
442 void vp9_sad16x16x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sad_array); 486 void vp9_sad16x16x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sad_array);
443 RTCD_EXTERN void (*vp9_sad16x16x3)(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 487 RTCD_EXTERN void (*vp9_sad16x16x3)(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
444 488
445 void vp9_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 489 void vp9_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
446 void vp9_sad16x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 490 void vp9_sad16x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
447 RTCD_EXTERN void (*vp9_sad16x16x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 491 RTCD_EXTERN void (*vp9_sad16x16x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
448 492
449 void vp9_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array); 493 void vp9_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array);
450 #define vp9_sad16x16x8 vp9_sad16x16x8_c 494 #define vp9_sad16x16x8 vp9_sad16x16x8_c
451 495
452 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 496 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
453 #define vp9_sad16x32 vp9_sad16x32_c 497 unsigned int vp9_sad16x32_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
498 RTCD_EXTERN unsigned int (*vp9_sad16x32)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
454 499
455 unsigned int vp9_sad16x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 500 unsigned int vp9_sad16x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
456 #define vp9_sad16x32_avg vp9_sad16x32_avg_c 501 unsigned int vp9_sad16x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
502 RTCD_EXTERN unsigned int (*vp9_sad16x32_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
457 503
458 void vp9_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 504 void vp9_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
459 void vp9_sad16x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 505 void vp9_sad16x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
460 RTCD_EXTERN void (*vp9_sad16x32x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 506 RTCD_EXTERN void (*vp9_sad16x32x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
461 507
462 unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride); 508 unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride);
463 #define vp9_sad16x8 vp9_sad16x8_c 509 unsigned int vp9_sad16x8_sse2(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride);
510 RTCD_EXTERN unsigned int (*vp9_sad16x8)(const uint8_t *src_ptr, int source_strid e, const uint8_t *ref_ptr, int ref_stride);
464 511
465 unsigned int vp9_sad16x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 512 unsigned int vp9_sad16x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
466 #define vp9_sad16x8_avg vp9_sad16x8_avg_c 513 unsigned int vp9_sad16x8_avg_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
514 RTCD_EXTERN unsigned int (*vp9_sad16x8_avg)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
467 515
468 void vp9_sad16x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sad_array); 516 void vp9_sad16x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sad_array);
469 void vp9_sad16x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 517 void vp9_sad16x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
470 void vp9_sad16x8x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array); 518 void vp9_sad16x8x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array);
471 RTCD_EXTERN void (*vp9_sad16x8x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 519 RTCD_EXTERN void (*vp9_sad16x8x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
472 520
473 void vp9_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array); 521 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);
474 void vp9_sad16x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 522 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);
475 RTCD_EXTERN void (*vp9_sad16x8x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 523 RTCD_EXTERN void (*vp9_sad16x8x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
476 524
477 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array); 525 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
478 #define vp9_sad16x8x8 vp9_sad16x8x8_c 526 #define vp9_sad16x8x8 vp9_sad16x8x8_c
479 527
480 unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 528 unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
529 unsigned int vp9_sad32x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
481 unsigned int vp9_sad32x16_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 530 unsigned int vp9_sad32x16_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
482 RTCD_EXTERN unsigned int (*vp9_sad32x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride); 531 RTCD_EXTERN unsigned int (*vp9_sad32x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
483 532
484 unsigned int vp9_sad32x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 533 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);
534 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);
485 unsigned int vp9_sad32x16_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 535 unsigned int vp9_sad32x16_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
486 RTCD_EXTERN unsigned int (*vp9_sad32x16_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 536 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);
487 537
488 void vp9_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 538 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);
489 void vp9_sad32x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 539 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);
490 RTCD_EXTERN void (*vp9_sad32x16x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 540 RTCD_EXTERN void (*vp9_sad32x16x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
491 541
492 unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 542 unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
543 unsigned int vp9_sad32x32_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
493 unsigned int vp9_sad32x32_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 544 unsigned int vp9_sad32x32_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
494 RTCD_EXTERN unsigned int (*vp9_sad32x32)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride); 545 RTCD_EXTERN unsigned int (*vp9_sad32x32)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
495 546
496 unsigned int vp9_sad32x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 547 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);
548 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);
497 unsigned int vp9_sad32x32_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 549 unsigned int vp9_sad32x32_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
498 RTCD_EXTERN unsigned int (*vp9_sad32x32_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 550 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);
499 551
500 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array); 552 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
501 #define vp9_sad32x32x3 vp9_sad32x32x3_c 553 #define vp9_sad32x32x3 vp9_sad32x32x3_c
502 554
503 void vp9_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 555 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);
504 void vp9_sad32x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 556 void vp9_sad32x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
505 void vp9_sad32x32x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 557 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);
506 RTCD_EXTERN void (*vp9_sad32x32x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 558 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);
507 559
508 void vp9_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array); 560 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);
509 #define vp9_sad32x32x8 vp9_sad32x32x8_c 561 #define vp9_sad32x32x8 vp9_sad32x32x8_c
510 562
511 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 563 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
564 unsigned int vp9_sad32x64_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
512 unsigned int vp9_sad32x64_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 565 unsigned int vp9_sad32x64_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
513 RTCD_EXTERN unsigned int (*vp9_sad32x64)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride); 566 RTCD_EXTERN unsigned int (*vp9_sad32x64)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
514 567
515 unsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 568 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);
569 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);
516 unsigned int vp9_sad32x64_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 570 unsigned int vp9_sad32x64_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
517 RTCD_EXTERN unsigned int (*vp9_sad32x64_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 571 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);
518 572
519 void vp9_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 573 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);
520 void vp9_sad32x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 574 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);
521 RTCD_EXTERN void (*vp9_sad32x64x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 575 RTCD_EXTERN void (*vp9_sad32x64x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
522 576
523 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride); 577 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
524 #define vp9_sad4x4 vp9_sad4x4_c 578 unsigned int vp9_sad4x4_sse(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
579 RTCD_EXTERN unsigned int (*vp9_sad4x4)(const uint8_t *src_ptr, int source_stride , const uint8_t *ref_ptr, int ref_stride);
525 580
526 unsigned int vp9_sad4x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 581 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);
527 #define vp9_sad4x4_avg vp9_sad4x4_avg_c 582 unsigned int vp9_sad4x4_avg_sse(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
583 RTCD_EXTERN unsigned int (*vp9_sad4x4_avg)(const uint8_t *src_ptr, int source_st ride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
528 584
529 void vp9_sad4x4x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array); 585 void vp9_sad4x4x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array);
530 void vp9_sad4x4x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 586 void vp9_sad4x4x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
531 RTCD_EXTERN void (*vp9_sad4x4x3)(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 587 RTCD_EXTERN void (*vp9_sad4x4x3)(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
532 588
533 void vp9_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array); 589 void vp9_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array);
534 void vp9_sad4x4x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 590 void vp9_sad4x4x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
535 RTCD_EXTERN void (*vp9_sad4x4x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 591 RTCD_EXTERN void (*vp9_sad4x4x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
536 592
537 void vp9_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array); 593 void vp9_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array);
538 #define vp9_sad4x4x8 vp9_sad4x4x8_c 594 #define vp9_sad4x4x8 vp9_sad4x4x8_c
539 595
540 unsigned int vp9_sad4x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride); 596 unsigned int vp9_sad4x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
541 #define vp9_sad4x8 vp9_sad4x8_c 597 unsigned int vp9_sad4x8_sse(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
598 RTCD_EXTERN unsigned int (*vp9_sad4x8)(const uint8_t *src_ptr, int source_stride , const uint8_t *ref_ptr, int ref_stride);
542 599
543 unsigned int vp9_sad4x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 600 unsigned int vp9_sad4x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
544 #define vp9_sad4x8_avg vp9_sad4x8_avg_c 601 unsigned int vp9_sad4x8_avg_sse(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
602 RTCD_EXTERN unsigned int (*vp9_sad4x8_avg)(const uint8_t *src_ptr, int source_st ride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
545 603
546 void vp9_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array); 604 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);
547 void vp9_sad4x8x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array); 605 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);
548 RTCD_EXTERN void (*vp9_sad4x8x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 606 RTCD_EXTERN void (*vp9_sad4x8x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
549 607
550 void vp9_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array); 608 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);
551 #define vp9_sad4x8x8 vp9_sad4x8x8_c 609 #define vp9_sad4x8x8 vp9_sad4x8x8_c
552 610
553 unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 611 unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
612 unsigned int vp9_sad64x32_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
554 unsigned int vp9_sad64x32_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 613 unsigned int vp9_sad64x32_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
555 RTCD_EXTERN unsigned int (*vp9_sad64x32)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride); 614 RTCD_EXTERN unsigned int (*vp9_sad64x32)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
556 615
557 unsigned int vp9_sad64x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 616 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);
617 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);
558 unsigned int vp9_sad64x32_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 618 unsigned int vp9_sad64x32_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
559 RTCD_EXTERN unsigned int (*vp9_sad64x32_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 619 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);
560 620
561 void vp9_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 621 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);
562 void vp9_sad64x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 622 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);
563 RTCD_EXTERN void (*vp9_sad64x32x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 623 RTCD_EXTERN void (*vp9_sad64x32x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
564 624
565 unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 625 unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
626 unsigned int vp9_sad64x64_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
566 unsigned int vp9_sad64x64_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 627 unsigned int vp9_sad64x64_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
567 RTCD_EXTERN unsigned int (*vp9_sad64x64)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride); 628 RTCD_EXTERN unsigned int (*vp9_sad64x64)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
568 629
569 unsigned int vp9_sad64x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 630 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);
631 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);
570 unsigned int vp9_sad64x64_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 632 unsigned int vp9_sad64x64_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
571 RTCD_EXTERN unsigned int (*vp9_sad64x64_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 633 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);
572 634
573 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array); 635 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
574 #define vp9_sad64x64x3 vp9_sad64x64x3_c 636 #define vp9_sad64x64x3 vp9_sad64x64x3_c
575 637
576 void vp9_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 638 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);
577 void vp9_sad64x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 639 void vp9_sad64x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
578 void vp9_sad64x64x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 640 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);
579 RTCD_EXTERN void (*vp9_sad64x64x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 641 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);
580 642
581 void vp9_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array); 643 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);
582 #define vp9_sad64x64x8 vp9_sad64x64x8_c 644 #define vp9_sad64x64x8 vp9_sad64x64x8_c
583 645
584 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride); 646 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride);
585 #define vp9_sad8x16 vp9_sad8x16_c 647 unsigned int vp9_sad8x16_sse2(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride);
648 RTCD_EXTERN unsigned int (*vp9_sad8x16)(const uint8_t *src_ptr, int source_strid e, const uint8_t *ref_ptr, int ref_stride);
586 649
587 unsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 650 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);
588 #define vp9_sad8x16_avg vp9_sad8x16_avg_c 651 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);
652 RTCD_EXTERN unsigned int (*vp9_sad8x16_avg)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
589 653
590 void vp9_sad8x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sad_array); 654 void vp9_sad8x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sad_array);
591 void vp9_sad8x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 655 void vp9_sad8x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
592 RTCD_EXTERN void (*vp9_sad8x16x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 656 RTCD_EXTERN void (*vp9_sad8x16x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
593 657
594 void vp9_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array); 658 void vp9_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array);
595 void vp9_sad8x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 659 void vp9_sad8x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
596 RTCD_EXTERN void (*vp9_sad8x16x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 660 RTCD_EXTERN void (*vp9_sad8x16x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
597 661
598 void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array); 662 void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
599 #define vp9_sad8x16x8 vp9_sad8x16x8_c 663 #define vp9_sad8x16x8 vp9_sad8x16x8_c
600 664
601 unsigned int vp9_sad8x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride); 665 unsigned int vp9_sad8x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
602 #define vp9_sad8x4 vp9_sad8x4_c 666 unsigned int vp9_sad8x4_sse2(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int ref_stride);
667 RTCD_EXTERN unsigned int (*vp9_sad8x4)(const uint8_t *src_ptr, int source_stride , const uint8_t *ref_ptr, int ref_stride);
603 668
604 unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 669 unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
605 #define vp9_sad8x4_avg vp9_sad8x4_avg_c 670 unsigned int vp9_sad8x4_avg_sse2(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
671 RTCD_EXTERN unsigned int (*vp9_sad8x4_avg)(const uint8_t *src_ptr, int source_st ride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
606 672
607 void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array); 673 void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array);
608 void vp9_sad8x4x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 674 void vp9_sad8x4x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
609 RTCD_EXTERN void (*vp9_sad8x4x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 675 RTCD_EXTERN void (*vp9_sad8x4x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
610 676
611 void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array); 677 void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
612 #define vp9_sad8x4x8 vp9_sad8x4x8_c 678 #define vp9_sad8x4x8 vp9_sad8x4x8_c
613 679
614 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride); 680 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
615 #define vp9_sad8x8 vp9_sad8x8_c 681 unsigned int vp9_sad8x8_sse2(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int ref_stride);
682 RTCD_EXTERN unsigned int (*vp9_sad8x8)(const uint8_t *src_ptr, int source_stride , const uint8_t *ref_ptr, int ref_stride);
616 683
617 unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 684 unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
618 #define vp9_sad8x8_avg vp9_sad8x8_avg_c 685 unsigned int vp9_sad8x8_avg_sse2(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
686 RTCD_EXTERN unsigned int (*vp9_sad8x8_avg)(const uint8_t *src_ptr, int source_st ride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
619 687
620 void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array); 688 void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array);
621 void vp9_sad8x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 689 void vp9_sad8x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
622 RTCD_EXTERN void (*vp9_sad8x8x3)(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 690 RTCD_EXTERN void (*vp9_sad8x8x3)(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
623 691
624 void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array); 692 void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array);
625 void vp9_sad8x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 693 void vp9_sad8x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
626 RTCD_EXTERN void (*vp9_sad8x8x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 694 RTCD_EXTERN void (*vp9_sad8x8x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
627 695
628 void vp9_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array); 696 void vp9_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array);
629 #define vp9_sad8x8x8 vp9_sad8x8x8_c 697 #define vp9_sad8x8x8 vp9_sad8x8x8_c
630 698
631 unsigned int vp9_sub_pixel_avg_variance16x16_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); 699 unsigned int vp9_sub_pixel_avg_variance16x16_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);
632 #define vp9_sub_pixel_avg_variance16x16 vp9_sub_pixel_avg_variance16x16_c 700 unsigned int vp9_sub_pixel_avg_variance16x16_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);
701 unsigned int vp9_sub_pixel_avg_variance16x16_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);
702 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance16x16)(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);
633 703
634 unsigned int vp9_sub_pixel_avg_variance16x32_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred); 704 unsigned int vp9_sub_pixel_avg_variance16x32_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred);
635 #define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c 705 unsigned int vp9_sub_pixel_avg_variance16x32_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);
706 unsigned int vp9_sub_pixel_avg_variance16x32_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);
707 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance16x32)(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);
636 708
637 unsigned int vp9_sub_pixel_avg_variance16x8_c(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse, const uint8_t *second_pred); 709 unsigned int vp9_sub_pixel_avg_variance16x8_c(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse, const uint8_t *second_pred);
638 #define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c 710 unsigned int vp9_sub_pixel_avg_variance16x8_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);
711 unsigned int vp9_sub_pixel_avg_variance16x8_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);
712 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);
639 713
640 unsigned int vp9_sub_pixel_avg_variance32x16_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred); 714 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);
641 #define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c 715 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);
716 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);
717 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);
642 718
643 unsigned int vp9_sub_pixel_avg_variance32x32_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred); 719 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);
720 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);
721 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);
644 unsigned int vp9_sub_pixel_avg_variance32x32_avx2(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); 722 unsigned int vp9_sub_pixel_avg_variance32x32_avx2(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
645 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance32x32)(const uint8_t *src_p tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re f_stride, unsigned int *sse, const uint8_t *second_pred); 723 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);
646 724
647 unsigned int vp9_sub_pixel_avg_variance32x64_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred); 725 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);
648 #define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c 726 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);
727 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);
728 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);
649 729
650 unsigned int vp9_sub_pixel_avg_variance4x4_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse, const uint8_t *second_pred); 730 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);
651 #define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c 731 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);
732 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);
733 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);
652 734
653 unsigned int vp9_sub_pixel_avg_variance4x8_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse, const uint8_t *second_pred); 735 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);
654 #define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c 736 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);
737 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);
738 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);
655 739
656 unsigned int vp9_sub_pixel_avg_variance64x32_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred); 740 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);
657 #define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c 741 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);
742 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);
743 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);
658 744
659 unsigned int vp9_sub_pixel_avg_variance64x64_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred); 745 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);
746 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);
747 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);
660 unsigned int vp9_sub_pixel_avg_variance64x64_avx2(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); 748 unsigned int vp9_sub_pixel_avg_variance64x64_avx2(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
661 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance64x64)(const uint8_t *src_p tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re f_stride, unsigned int *sse, const uint8_t *second_pred); 749 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);
662 750
663 unsigned int vp9_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse, const uint8_t *second_pred); 751 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);
664 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c 752 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);
753 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);
754 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);
665 755
666 unsigned int vp9_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse, const uint8_t *second_pred); 756 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);
667 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c 757 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);
758 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);
759 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance8x4)(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);
668 760
669 unsigned int vp9_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse, const uint8_t *second_pred); 761 unsigned int vp9_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse, const uint8_t *second_pred);
670 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c 762 unsigned int vp9_sub_pixel_avg_variance8x8_sse2(const uint8_t *src_ptr, int sour ce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, un signed int *sse, const uint8_t *second_pred);
763 unsigned int vp9_sub_pixel_avg_variance8x8_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);
764 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance8x8)(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);
671 765
672 unsigned int vp9_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 766 unsigned int vp9_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
673 #define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c 767 unsigned int vp9_sub_pixel_variance16x16_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);
768 unsigned int vp9_sub_pixel_variance16x16_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);
769 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance16x16)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse);
674 770
675 unsigned int vp9_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 771 unsigned int vp9_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
676 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c 772 unsigned int vp9_sub_pixel_variance16x32_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);
773 unsigned int vp9_sub_pixel_variance16x32_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);
774 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance16x32)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse);
677 775
678 unsigned int vp9_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 776 unsigned int vp9_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
679 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c 777 unsigned int vp9_sub_pixel_variance16x8_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);
778 unsigned int vp9_sub_pixel_variance16x8_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);
779 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);
680 780
681 unsigned int vp9_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 781 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);
682 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c 782 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);
783 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);
784 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);
683 785
684 unsigned int vp9_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 786 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);
787 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);
788 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);
685 unsigned int vp9_sub_pixel_variance32x32_avx2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse); 789 unsigned int vp9_sub_pixel_variance32x32_avx2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
686 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance32x32)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse); 790 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);
687 791
688 unsigned int vp9_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 792 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);
689 #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c 793 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);
794 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);
795 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);
690 796
691 unsigned int vp9_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 797 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);
692 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c 798 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);
799 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);
800 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);
693 801
694 unsigned int vp9_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i nt *sse); 802 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);
695 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c 803 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);
804 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);
805 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);
696 806
697 unsigned int vp9_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 807 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);
698 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c 808 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);
809 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);
810 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);
699 811
700 unsigned int vp9_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 812 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);
813 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);
814 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);
701 unsigned int vp9_sub_pixel_variance64x64_avx2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse); 815 unsigned int vp9_sub_pixel_variance64x64_avx2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
702 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance64x64)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse); 816 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);
703 817
704 unsigned int vp9_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 818 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);
705 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c 819 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);
820 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);
821 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);
706 822
707 unsigned int vp9_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i nt *sse); 823 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);
708 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c 824 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);
825 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);
826 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance8x4)(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);
709 827
710 unsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 828 unsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
711 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c 829 unsigned int vp9_sub_pixel_variance8x8_sse2(const uint8_t *src_ptr, int source_s tride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse);
830 unsigned int vp9_sub_pixel_variance8x8_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);
831 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance8x8)(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);
712 832
713 void vp9_subtract_block_c(int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_ stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, p trdiff_t pred_stride); 833 void vp9_subtract_block_c(int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_ stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, p trdiff_t pred_stride);
714 #define vp9_subtract_block vp9_subtract_block_c 834 void vp9_subtract_block_sse2(int rows, int cols, int16_t *diff_ptr, ptrdiff_t di ff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr , ptrdiff_t pred_stride);
835 RTCD_EXTERN void (*vp9_subtract_block)(int rows, int cols, int16_t *diff_ptr, pt rdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride);
715 836
716 void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t * frame2, unsigned int block_width, unsigned int block_height, int strength, int f ilter_weight, unsigned int *accumulator, uint16_t *count); 837 void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t * frame2, unsigned int block_width, unsigned int block_height, int strength, int f ilter_weight, unsigned int *accumulator, uint16_t *count);
717 void vp9_temporal_filter_apply_sse2(uint8_t *frame1, unsigned int stride, uint8_ t *frame2, unsigned int block_width, unsigned int block_height, int strength, in t filter_weight, unsigned int *accumulator, uint16_t *count); 838 void vp9_temporal_filter_apply_sse2(uint8_t *frame1, unsigned int stride, uint8_ t *frame2, unsigned int block_width, unsigned int block_height, int strength, in t filter_weight, unsigned int *accumulator, uint16_t *count);
718 RTCD_EXTERN void (*vp9_temporal_filter_apply)(uint8_t *frame1, unsigned int stri de, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int st rength, int filter_weight, unsigned int *accumulator, uint16_t *count); 839 RTCD_EXTERN void (*vp9_temporal_filter_apply)(uint8_t *frame1, unsigned int stri de, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int st rength, int filter_weight, unsigned int *accumulator, uint16_t *count);
719 840
720 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 841 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
721 #define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_c 842 void vp9_tm_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
843 RTCD_EXTERN void (*vp9_tm_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
722 844
723 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 845 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
724 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c 846 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c
725 847
726 void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left); 848 void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
727 #define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_c 849 void vp9_tm_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
850 RTCD_EXTERN void (*vp9_tm_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
728 851
729 void vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left); 852 void vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
730 #define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_c 853 void vp9_tm_predictor_8x8_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
854 RTCD_EXTERN void (*vp9_tm_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
731 855
732 void vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 856 void vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
733 #define vp9_v_predictor_16x16 vp9_v_predictor_16x16_c 857 void vp9_v_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
858 RTCD_EXTERN void (*vp9_v_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
734 859
735 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 860 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
736 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c 861 void vp9_v_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
862 RTCD_EXTERN void (*vp9_v_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
737 863
738 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);
739 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c 865 void vp9_v_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
866 RTCD_EXTERN void (*vp9_v_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
740 867
741 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);
742 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c 869 void vp9_v_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
870 RTCD_EXTERN void (*vp9_v_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
743 871
744 unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
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);
745 unsigned int vp9_variance16x16_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
746 RTCD_EXTERN unsigned int (*vp9_variance16x16)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
747 876
748 unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
749 #define vp9_variance16x32 vp9_variance16x32_c 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);
879 RTCD_EXTERN unsigned int (*vp9_variance16x32)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
750 880
751 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
752 #define vp9_variance16x8 vp9_variance16x8_c 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);
883 RTCD_EXTERN unsigned int (*vp9_variance16x8)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
753 884
754 unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
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);
755 unsigned int vp9_variance32x16_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
756 RTCD_EXTERN unsigned int (*vp9_variance32x16)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
757 889
758 unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
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);
759 unsigned int vp9_variance32x32_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
760 RTCD_EXTERN unsigned int (*vp9_variance32x32)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
761 894
762 unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
763 #define vp9_variance32x64 vp9_variance32x64_c 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);
897 RTCD_EXTERN unsigned int (*vp9_variance32x64)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
764 898
765 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
766 #define vp9_variance4x4 vp9_variance4x4_c 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);
901 RTCD_EXTERN unsigned int (*vp9_variance4x4)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
767 902
768 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
769 #define vp9_variance4x8 vp9_variance4x8_c 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);
905 RTCD_EXTERN unsigned int (*vp9_variance4x8)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
770 906
771 unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
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);
772 unsigned int vp9_variance64x32_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
773 RTCD_EXTERN unsigned int (*vp9_variance64x32)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
774 911
775 unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
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);
776 unsigned int vp9_variance64x64_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
777 RTCD_EXTERN unsigned int (*vp9_variance64x64)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
778 916
779 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
780 #define vp9_variance8x16 vp9_variance8x16_c 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);
919 RTCD_EXTERN unsigned int (*vp9_variance8x16)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
781 920
782 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
783 #define vp9_variance8x4 vp9_variance8x4_c 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);
923 RTCD_EXTERN unsigned int (*vp9_variance8x4)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
784 924
785 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 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);
786 #define vp9_variance8x8 vp9_variance8x8_c 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);
927 RTCD_EXTERN unsigned int (*vp9_variance8x8)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
928
929 int vp9_vector_sad_c(int16_t const *ref, int16_t const *src, const int width);
930 int vp9_vector_sad_sse2(int16_t const *ref, int16_t const *src, const int width) ;
931 RTCD_EXTERN int (*vp9_vector_sad)(int16_t const *ref, int16_t const *src, const int width);
787 932
788 void vp9_rtcd(void); 933 void vp9_rtcd(void);
789 934
790 #ifdef RTCD_C 935 #ifdef RTCD_C
791 #include "vpx_ports/x86.h" 936 #include "vpx_ports/x86.h"
792 static void setup_rtcd_internal(void) 937 static void setup_rtcd_internal(void)
793 { 938 {
794 int flags = x86_simd_caps(); 939 int flags = x86_simd_caps();
795 940
796 (void)flags; 941 (void)flags;
797 942
798 vp9_avg_4x4 = vp9_avg_4x4_c; 943 vp9_avg_4x4 = vp9_avg_4x4_c;
799 if (flags & HAS_SSE2) vp9_avg_4x4 = vp9_avg_4x4_sse2; 944 if (flags & HAS_SSE2) vp9_avg_4x4 = vp9_avg_4x4_sse2;
800 vp9_avg_8x8 = vp9_avg_8x8_c; 945 vp9_avg_8x8 = vp9_avg_8x8_c;
801 if (flags & HAS_SSE2) vp9_avg_8x8 = vp9_avg_8x8_sse2; 946 if (flags & HAS_SSE2) vp9_avg_8x8 = vp9_avg_8x8_sse2;
802 vp9_block_error = vp9_block_error_c; 947 vp9_block_error = vp9_block_error_c;
948 if (flags & HAS_SSE2) vp9_block_error = vp9_block_error_sse2;
803 if (flags & HAS_AVX2) vp9_block_error = vp9_block_error_avx2; 949 if (flags & HAS_AVX2) vp9_block_error = vp9_block_error_avx2;
804 vp9_convolve8 = vp9_convolve8_c; 950 vp9_convolve8 = vp9_convolve8_c;
805 if (flags & HAS_SSE2) vp9_convolve8 = vp9_convolve8_sse2; 951 if (flags & HAS_SSE2) vp9_convolve8 = vp9_convolve8_sse2;
806 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3; 952 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3;
807 if (flags & HAS_AVX2) vp9_convolve8 = vp9_convolve8_avx2; 953 if (flags & HAS_AVX2) vp9_convolve8 = vp9_convolve8_avx2;
808 vp9_convolve8_avg = vp9_convolve8_avg_c; 954 vp9_convolve8_avg = vp9_convolve8_avg_c;
809 if (flags & HAS_SSE2) vp9_convolve8_avg = vp9_convolve8_avg_sse2; 955 if (flags & HAS_SSE2) vp9_convolve8_avg = vp9_convolve8_avg_sse2;
810 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3; 956 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3;
811 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; 957 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c;
812 if (flags & HAS_SSE2) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2 ; 958 if (flags & HAS_SSE2) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2 ;
813 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss e3; 959 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss e3;
814 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; 960 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c;
815 if (flags & HAS_SSE2) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2; 961 if (flags & HAS_SSE2) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2;
816 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3 ; 962 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3 ;
817 vp9_convolve8_horiz = vp9_convolve8_horiz_c; 963 vp9_convolve8_horiz = vp9_convolve8_horiz_c;
818 if (flags & HAS_SSE2) vp9_convolve8_horiz = vp9_convolve8_horiz_sse2; 964 if (flags & HAS_SSE2) vp9_convolve8_horiz = vp9_convolve8_horiz_sse2;
819 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3; 965 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3;
820 if (flags & HAS_AVX2) vp9_convolve8_horiz = vp9_convolve8_horiz_avx2; 966 if (flags & HAS_AVX2) vp9_convolve8_horiz = vp9_convolve8_horiz_avx2;
821 vp9_convolve8_vert = vp9_convolve8_vert_c; 967 vp9_convolve8_vert = vp9_convolve8_vert_c;
822 if (flags & HAS_SSE2) vp9_convolve8_vert = vp9_convolve8_vert_sse2; 968 if (flags & HAS_SSE2) vp9_convolve8_vert = vp9_convolve8_vert_sse2;
823 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3; 969 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3;
824 if (flags & HAS_AVX2) vp9_convolve8_vert = vp9_convolve8_vert_avx2; 970 if (flags & HAS_AVX2) vp9_convolve8_vert = vp9_convolve8_vert_avx2;
971 vp9_convolve_avg = vp9_convolve_avg_c;
972 if (flags & HAS_SSE2) vp9_convolve_avg = vp9_convolve_avg_sse2;
973 vp9_convolve_copy = vp9_convolve_copy_c;
974 if (flags & HAS_SSE2) vp9_convolve_copy = vp9_convolve_copy_sse2;
975 vp9_d153_predictor_16x16 = vp9_d153_predictor_16x16_c;
976 if (flags & HAS_SSSE3) vp9_d153_predictor_16x16 = vp9_d153_predictor_16x16_s sse3;
977 vp9_d153_predictor_4x4 = vp9_d153_predictor_4x4_c;
978 if (flags & HAS_SSSE3) vp9_d153_predictor_4x4 = vp9_d153_predictor_4x4_ssse3 ;
979 vp9_d153_predictor_8x8 = vp9_d153_predictor_8x8_c;
980 if (flags & HAS_SSSE3) vp9_d153_predictor_8x8 = vp9_d153_predictor_8x8_ssse3 ;
981 vp9_d207_predictor_16x16 = vp9_d207_predictor_16x16_c;
982 if (flags & HAS_SSSE3) vp9_d207_predictor_16x16 = vp9_d207_predictor_16x16_s sse3;
983 vp9_d207_predictor_32x32 = vp9_d207_predictor_32x32_c;
984 if (flags & HAS_SSSE3) vp9_d207_predictor_32x32 = vp9_d207_predictor_32x32_s sse3;
985 vp9_d207_predictor_4x4 = vp9_d207_predictor_4x4_c;
986 if (flags & HAS_SSSE3) vp9_d207_predictor_4x4 = vp9_d207_predictor_4x4_ssse3 ;
987 vp9_d207_predictor_8x8 = vp9_d207_predictor_8x8_c;
988 if (flags & HAS_SSSE3) vp9_d207_predictor_8x8 = vp9_d207_predictor_8x8_ssse3 ;
989 vp9_d45_predictor_16x16 = vp9_d45_predictor_16x16_c;
990 if (flags & HAS_SSSE3) vp9_d45_predictor_16x16 = vp9_d45_predictor_16x16_sss e3;
991 vp9_d45_predictor_32x32 = vp9_d45_predictor_32x32_c;
992 if (flags & HAS_SSSE3) vp9_d45_predictor_32x32 = vp9_d45_predictor_32x32_sss e3;
993 vp9_d45_predictor_4x4 = vp9_d45_predictor_4x4_c;
994 if (flags & HAS_SSSE3) vp9_d45_predictor_4x4 = vp9_d45_predictor_4x4_ssse3;
995 vp9_d45_predictor_8x8 = vp9_d45_predictor_8x8_c;
996 if (flags & HAS_SSSE3) vp9_d45_predictor_8x8 = vp9_d45_predictor_8x8_ssse3;
997 vp9_d63_predictor_16x16 = vp9_d63_predictor_16x16_c;
998 if (flags & HAS_SSSE3) vp9_d63_predictor_16x16 = vp9_d63_predictor_16x16_sss e3;
999 vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_c;
1000 if (flags & HAS_SSSE3) vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_sss e3;
1001 vp9_d63_predictor_4x4 = vp9_d63_predictor_4x4_c;
1002 if (flags & HAS_SSSE3) vp9_d63_predictor_4x4 = vp9_d63_predictor_4x4_ssse3;
1003 vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_c;
1004 if (flags & HAS_SSSE3) vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_ssse3;
1005 vp9_dc_predictor_16x16 = vp9_dc_predictor_16x16_c;
1006 if (flags & HAS_SSE2) vp9_dc_predictor_16x16 = vp9_dc_predictor_16x16_sse2;
1007 vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_c;
1008 if (flags & HAS_SSE2) vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_sse2;
1009 vp9_dc_predictor_4x4 = vp9_dc_predictor_4x4_c;
1010 if (flags & HAS_SSE) vp9_dc_predictor_4x4 = vp9_dc_predictor_4x4_sse;
1011 vp9_dc_predictor_8x8 = vp9_dc_predictor_8x8_c;
1012 if (flags & HAS_SSE) vp9_dc_predictor_8x8 = vp9_dc_predictor_8x8_sse;
825 vp9_denoiser_filter = vp9_denoiser_filter_c; 1013 vp9_denoiser_filter = vp9_denoiser_filter_c;
826 if (flags & HAS_SSE2) vp9_denoiser_filter = vp9_denoiser_filter_sse2; 1014 if (flags & HAS_SSE2) vp9_denoiser_filter = vp9_denoiser_filter_sse2;
827 vp9_fdct16x16 = vp9_fdct16x16_c; 1015 vp9_fdct16x16 = vp9_fdct16x16_c;
828 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2; 1016 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2;
829 vp9_fdct16x16_1 = vp9_fdct16x16_1_c; 1017 vp9_fdct16x16_1 = vp9_fdct16x16_1_c;
830 if (flags & HAS_SSE2) vp9_fdct16x16_1 = vp9_fdct16x16_1_sse2; 1018 if (flags & HAS_SSE2) vp9_fdct16x16_1 = vp9_fdct16x16_1_sse2;
831 vp9_fdct32x32 = vp9_fdct32x32_c; 1019 vp9_fdct32x32 = vp9_fdct32x32_c;
832 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2; 1020 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2;
833 if (flags & HAS_AVX2) vp9_fdct32x32 = vp9_fdct32x32_avx2; 1021 if (flags & HAS_AVX2) vp9_fdct32x32 = vp9_fdct32x32_avx2;
834 vp9_fdct32x32_1 = vp9_fdct32x32_1_c; 1022 vp9_fdct32x32_1 = vp9_fdct32x32_1_c;
(...skipping 14 matching lines...) Expand all
849 if (flags & HAS_SSSE3) vp9_fdct8x8_quant = vp9_fdct8x8_quant_ssse3; 1037 if (flags & HAS_SSSE3) vp9_fdct8x8_quant = vp9_fdct8x8_quant_ssse3;
850 vp9_fht16x16 = vp9_fht16x16_c; 1038 vp9_fht16x16 = vp9_fht16x16_c;
851 if (flags & HAS_SSE2) vp9_fht16x16 = vp9_fht16x16_sse2; 1039 if (flags & HAS_SSE2) vp9_fht16x16 = vp9_fht16x16_sse2;
852 vp9_fht4x4 = vp9_fht4x4_c; 1040 vp9_fht4x4 = vp9_fht4x4_c;
853 if (flags & HAS_SSE2) vp9_fht4x4 = vp9_fht4x4_sse2; 1041 if (flags & HAS_SSE2) vp9_fht4x4 = vp9_fht4x4_sse2;
854 vp9_fht8x8 = vp9_fht8x8_c; 1042 vp9_fht8x8 = vp9_fht8x8_c;
855 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2; 1043 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2;
856 vp9_full_search_sad = vp9_full_search_sad_c; 1044 vp9_full_search_sad = vp9_full_search_sad_c;
857 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; 1045 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3;
858 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; 1046 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8;
1047 vp9_fwht4x4 = vp9_fwht4x4_c;
1048 if (flags & HAS_MMX) vp9_fwht4x4 = vp9_fwht4x4_mmx;
859 vp9_get16x16var = vp9_get16x16var_c; 1049 vp9_get16x16var = vp9_get16x16var_c;
1050 if (flags & HAS_SSE2) vp9_get16x16var = vp9_get16x16var_sse2;
860 if (flags & HAS_AVX2) vp9_get16x16var = vp9_get16x16var_avx2; 1051 if (flags & HAS_AVX2) vp9_get16x16var = vp9_get16x16var_avx2;
1052 vp9_get8x8var = vp9_get8x8var_c;
1053 if (flags & HAS_SSE2) vp9_get8x8var = vp9_get8x8var_sse2;
1054 vp9_get_mb_ss = vp9_get_mb_ss_c;
1055 if (flags & HAS_SSE2) vp9_get_mb_ss = vp9_get_mb_ss_sse2;
1056 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c;
1057 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3;
1058 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c;
1059 if (flags & HAS_SSSE3) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_ssse3;
1060 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c;
1061 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3;
1062 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c;
1063 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3;
861 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c; 1064 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c;
862 if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2; 1065 if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2;
863 if (flags & HAS_SSSE3) vp9_idct16x16_10_add = vp9_idct16x16_10_add_ssse3; 1066 if (flags & HAS_SSSE3) vp9_idct16x16_10_add = vp9_idct16x16_10_add_ssse3;
864 vp9_idct16x16_1_add = vp9_idct16x16_1_add_c; 1067 vp9_idct16x16_1_add = vp9_idct16x16_1_add_c;
865 if (flags & HAS_SSE2) vp9_idct16x16_1_add = vp9_idct16x16_1_add_sse2; 1068 if (flags & HAS_SSE2) vp9_idct16x16_1_add = vp9_idct16x16_1_add_sse2;
866 vp9_idct16x16_256_add = vp9_idct16x16_256_add_c; 1069 vp9_idct16x16_256_add = vp9_idct16x16_256_add_c;
867 if (flags & HAS_SSE2) vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2; 1070 if (flags & HAS_SSE2) vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2;
868 if (flags & HAS_SSSE3) vp9_idct16x16_256_add = vp9_idct16x16_256_add_ssse3; 1071 if (flags & HAS_SSSE3) vp9_idct16x16_256_add = vp9_idct16x16_256_add_ssse3;
869 vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c; 1072 vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c;
870 if (flags & HAS_SSE2) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_sse2; 1073 if (flags & HAS_SSE2) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_sse2;
(...skipping 10 matching lines...) Expand all
881 vp9_idct8x8_1_add = vp9_idct8x8_1_add_c; 1084 vp9_idct8x8_1_add = vp9_idct8x8_1_add_c;
882 if (flags & HAS_SSE2) vp9_idct8x8_1_add = vp9_idct8x8_1_add_sse2; 1085 if (flags & HAS_SSE2) vp9_idct8x8_1_add = vp9_idct8x8_1_add_sse2;
883 vp9_idct8x8_64_add = vp9_idct8x8_64_add_c; 1086 vp9_idct8x8_64_add = vp9_idct8x8_64_add_c;
884 if (flags & HAS_SSE2) vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2; 1087 if (flags & HAS_SSE2) vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2;
885 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c; 1088 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c;
886 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2; 1089 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2;
887 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c; 1090 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c;
888 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2; 1091 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2;
889 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; 1092 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c;
890 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2; 1093 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2;
1094 vp9_int_pro_col = vp9_int_pro_col_c;
1095 if (flags & HAS_SSE2) vp9_int_pro_col = vp9_int_pro_col_sse2;
1096 vp9_int_pro_row = vp9_int_pro_row_c;
1097 if (flags & HAS_SSE2) vp9_int_pro_row = vp9_int_pro_row_sse2;
891 vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_c; 1098 vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_c;
892 if (flags & HAS_SSE2) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_sse2; 1099 if (flags & HAS_SSE2) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_sse2;
893 if (flags & HAS_AVX2) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_avx2; 1100 if (flags & HAS_AVX2) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_avx2;
894 vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_c; 1101 vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_c;
895 if (flags & HAS_MMX) vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_mmx; 1102 if (flags & HAS_MMX) vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_mmx;
896 vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_c; 1103 vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_c;
897 if (flags & HAS_SSE2) vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_ sse2; 1104 if (flags & HAS_SSE2) vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_ sse2;
898 vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_c; 1105 vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_c;
899 if (flags & HAS_SSE2) vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_sse2; 1106 if (flags & HAS_SSE2) vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_sse2;
900 vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_c; 1107 vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_c;
901 if (flags & HAS_SSE2) vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_ sse2; 1108 if (flags & HAS_SSE2) vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_ sse2;
902 vp9_lpf_vertical_16 = vp9_lpf_vertical_16_c; 1109 vp9_lpf_vertical_16 = vp9_lpf_vertical_16_c;
903 if (flags & HAS_SSE2) vp9_lpf_vertical_16 = vp9_lpf_vertical_16_sse2; 1110 if (flags & HAS_SSE2) vp9_lpf_vertical_16 = vp9_lpf_vertical_16_sse2;
904 vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_c; 1111 vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_c;
905 if (flags & HAS_SSE2) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ss e2; 1112 if (flags & HAS_SSE2) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ss e2;
906 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c; 1113 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c;
907 if (flags & HAS_MMX) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_mmx; 1114 if (flags & HAS_MMX) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_mmx;
908 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c; 1115 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c;
909 if (flags & HAS_SSE2) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_sse2 ; 1116 if (flags & HAS_SSE2) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_sse2 ;
910 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c; 1117 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c;
911 if (flags & HAS_SSE2) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_sse2; 1118 if (flags & HAS_SSE2) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_sse2;
912 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c; 1119 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c;
913 if (flags & HAS_SSE2) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_sse2 ; 1120 if (flags & HAS_SSE2) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_sse2 ;
914 vp9_mse16x16 = vp9_mse16x16_c; 1121 vp9_mse16x16 = vp9_mse16x16_c;
1122 if (flags & HAS_SSE2) vp9_mse16x16 = vp9_mse16x16_sse2;
915 if (flags & HAS_AVX2) vp9_mse16x16 = vp9_mse16x16_avx2; 1123 if (flags & HAS_AVX2) vp9_mse16x16 = vp9_mse16x16_avx2;
1124 vp9_mse16x8 = vp9_mse16x8_c;
1125 if (flags & HAS_SSE2) vp9_mse16x8 = vp9_mse16x8_sse2;
1126 vp9_mse8x16 = vp9_mse8x16_c;
1127 if (flags & HAS_SSE2) vp9_mse8x16 = vp9_mse8x16_sse2;
1128 vp9_mse8x8 = vp9_mse8x8_c;
1129 if (flags & HAS_SSE2) vp9_mse8x8 = vp9_mse8x8_sse2;
916 vp9_quantize_b = vp9_quantize_b_c; 1130 vp9_quantize_b = vp9_quantize_b_c;
917 if (flags & HAS_SSE2) vp9_quantize_b = vp9_quantize_b_sse2; 1131 if (flags & HAS_SSE2) vp9_quantize_b = vp9_quantize_b_sse2;
918 vp9_quantize_fp = vp9_quantize_fp_c; 1132 vp9_quantize_fp = vp9_quantize_fp_c;
919 if (flags & HAS_SSE2) vp9_quantize_fp = vp9_quantize_fp_sse2; 1133 if (flags & HAS_SSE2) vp9_quantize_fp = vp9_quantize_fp_sse2;
1134 vp9_sad16x16 = vp9_sad16x16_c;
1135 if (flags & HAS_SSE2) vp9_sad16x16 = vp9_sad16x16_sse2;
1136 vp9_sad16x16_avg = vp9_sad16x16_avg_c;
1137 if (flags & HAS_SSE2) vp9_sad16x16_avg = vp9_sad16x16_avg_sse2;
920 vp9_sad16x16x3 = vp9_sad16x16x3_c; 1138 vp9_sad16x16x3 = vp9_sad16x16x3_c;
921 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3; 1139 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3;
922 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3; 1140 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3;
923 vp9_sad16x16x4d = vp9_sad16x16x4d_c; 1141 vp9_sad16x16x4d = vp9_sad16x16x4d_c;
924 if (flags & HAS_SSE2) vp9_sad16x16x4d = vp9_sad16x16x4d_sse2; 1142 if (flags & HAS_SSE2) vp9_sad16x16x4d = vp9_sad16x16x4d_sse2;
1143 vp9_sad16x32 = vp9_sad16x32_c;
1144 if (flags & HAS_SSE2) vp9_sad16x32 = vp9_sad16x32_sse2;
1145 vp9_sad16x32_avg = vp9_sad16x32_avg_c;
1146 if (flags & HAS_SSE2) vp9_sad16x32_avg = vp9_sad16x32_avg_sse2;
925 vp9_sad16x32x4d = vp9_sad16x32x4d_c; 1147 vp9_sad16x32x4d = vp9_sad16x32x4d_c;
926 if (flags & HAS_SSE2) vp9_sad16x32x4d = vp9_sad16x32x4d_sse2; 1148 if (flags & HAS_SSE2) vp9_sad16x32x4d = vp9_sad16x32x4d_sse2;
1149 vp9_sad16x8 = vp9_sad16x8_c;
1150 if (flags & HAS_SSE2) vp9_sad16x8 = vp9_sad16x8_sse2;
1151 vp9_sad16x8_avg = vp9_sad16x8_avg_c;
1152 if (flags & HAS_SSE2) vp9_sad16x8_avg = vp9_sad16x8_avg_sse2;
927 vp9_sad16x8x3 = vp9_sad16x8x3_c; 1153 vp9_sad16x8x3 = vp9_sad16x8x3_c;
928 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3; 1154 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3;
929 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3; 1155 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3;
930 vp9_sad16x8x4d = vp9_sad16x8x4d_c; 1156 vp9_sad16x8x4d = vp9_sad16x8x4d_c;
931 if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2; 1157 if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2;
932 vp9_sad32x16 = vp9_sad32x16_c; 1158 vp9_sad32x16 = vp9_sad32x16_c;
1159 if (flags & HAS_SSE2) vp9_sad32x16 = vp9_sad32x16_sse2;
933 if (flags & HAS_AVX2) vp9_sad32x16 = vp9_sad32x16_avx2; 1160 if (flags & HAS_AVX2) vp9_sad32x16 = vp9_sad32x16_avx2;
934 vp9_sad32x16_avg = vp9_sad32x16_avg_c; 1161 vp9_sad32x16_avg = vp9_sad32x16_avg_c;
1162 if (flags & HAS_SSE2) vp9_sad32x16_avg = vp9_sad32x16_avg_sse2;
935 if (flags & HAS_AVX2) vp9_sad32x16_avg = vp9_sad32x16_avg_avx2; 1163 if (flags & HAS_AVX2) vp9_sad32x16_avg = vp9_sad32x16_avg_avx2;
936 vp9_sad32x16x4d = vp9_sad32x16x4d_c; 1164 vp9_sad32x16x4d = vp9_sad32x16x4d_c;
937 if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2; 1165 if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2;
938 vp9_sad32x32 = vp9_sad32x32_c; 1166 vp9_sad32x32 = vp9_sad32x32_c;
1167 if (flags & HAS_SSE2) vp9_sad32x32 = vp9_sad32x32_sse2;
939 if (flags & HAS_AVX2) vp9_sad32x32 = vp9_sad32x32_avx2; 1168 if (flags & HAS_AVX2) vp9_sad32x32 = vp9_sad32x32_avx2;
940 vp9_sad32x32_avg = vp9_sad32x32_avg_c; 1169 vp9_sad32x32_avg = vp9_sad32x32_avg_c;
1170 if (flags & HAS_SSE2) vp9_sad32x32_avg = vp9_sad32x32_avg_sse2;
941 if (flags & HAS_AVX2) vp9_sad32x32_avg = vp9_sad32x32_avg_avx2; 1171 if (flags & HAS_AVX2) vp9_sad32x32_avg = vp9_sad32x32_avg_avx2;
942 vp9_sad32x32x4d = vp9_sad32x32x4d_c; 1172 vp9_sad32x32x4d = vp9_sad32x32x4d_c;
943 if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2; 1173 if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2;
944 if (flags & HAS_AVX2) vp9_sad32x32x4d = vp9_sad32x32x4d_avx2; 1174 if (flags & HAS_AVX2) vp9_sad32x32x4d = vp9_sad32x32x4d_avx2;
945 vp9_sad32x64 = vp9_sad32x64_c; 1175 vp9_sad32x64 = vp9_sad32x64_c;
1176 if (flags & HAS_SSE2) vp9_sad32x64 = vp9_sad32x64_sse2;
946 if (flags & HAS_AVX2) vp9_sad32x64 = vp9_sad32x64_avx2; 1177 if (flags & HAS_AVX2) vp9_sad32x64 = vp9_sad32x64_avx2;
947 vp9_sad32x64_avg = vp9_sad32x64_avg_c; 1178 vp9_sad32x64_avg = vp9_sad32x64_avg_c;
1179 if (flags & HAS_SSE2) vp9_sad32x64_avg = vp9_sad32x64_avg_sse2;
948 if (flags & HAS_AVX2) vp9_sad32x64_avg = vp9_sad32x64_avg_avx2; 1180 if (flags & HAS_AVX2) vp9_sad32x64_avg = vp9_sad32x64_avg_avx2;
949 vp9_sad32x64x4d = vp9_sad32x64x4d_c; 1181 vp9_sad32x64x4d = vp9_sad32x64x4d_c;
950 if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2; 1182 if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2;
1183 vp9_sad4x4 = vp9_sad4x4_c;
1184 if (flags & HAS_SSE) vp9_sad4x4 = vp9_sad4x4_sse;
1185 vp9_sad4x4_avg = vp9_sad4x4_avg_c;
1186 if (flags & HAS_SSE) vp9_sad4x4_avg = vp9_sad4x4_avg_sse;
951 vp9_sad4x4x3 = vp9_sad4x4x3_c; 1187 vp9_sad4x4x3 = vp9_sad4x4x3_c;
952 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3; 1188 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3;
953 vp9_sad4x4x4d = vp9_sad4x4x4d_c; 1189 vp9_sad4x4x4d = vp9_sad4x4x4d_c;
954 if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse; 1190 if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse;
1191 vp9_sad4x8 = vp9_sad4x8_c;
1192 if (flags & HAS_SSE) vp9_sad4x8 = vp9_sad4x8_sse;
1193 vp9_sad4x8_avg = vp9_sad4x8_avg_c;
1194 if (flags & HAS_SSE) vp9_sad4x8_avg = vp9_sad4x8_avg_sse;
955 vp9_sad4x8x4d = vp9_sad4x8x4d_c; 1195 vp9_sad4x8x4d = vp9_sad4x8x4d_c;
956 if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse; 1196 if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse;
957 vp9_sad64x32 = vp9_sad64x32_c; 1197 vp9_sad64x32 = vp9_sad64x32_c;
1198 if (flags & HAS_SSE2) vp9_sad64x32 = vp9_sad64x32_sse2;
958 if (flags & HAS_AVX2) vp9_sad64x32 = vp9_sad64x32_avx2; 1199 if (flags & HAS_AVX2) vp9_sad64x32 = vp9_sad64x32_avx2;
959 vp9_sad64x32_avg = vp9_sad64x32_avg_c; 1200 vp9_sad64x32_avg = vp9_sad64x32_avg_c;
1201 if (flags & HAS_SSE2) vp9_sad64x32_avg = vp9_sad64x32_avg_sse2;
960 if (flags & HAS_AVX2) vp9_sad64x32_avg = vp9_sad64x32_avg_avx2; 1202 if (flags & HAS_AVX2) vp9_sad64x32_avg = vp9_sad64x32_avg_avx2;
961 vp9_sad64x32x4d = vp9_sad64x32x4d_c; 1203 vp9_sad64x32x4d = vp9_sad64x32x4d_c;
962 if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2; 1204 if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2;
963 vp9_sad64x64 = vp9_sad64x64_c; 1205 vp9_sad64x64 = vp9_sad64x64_c;
1206 if (flags & HAS_SSE2) vp9_sad64x64 = vp9_sad64x64_sse2;
964 if (flags & HAS_AVX2) vp9_sad64x64 = vp9_sad64x64_avx2; 1207 if (flags & HAS_AVX2) vp9_sad64x64 = vp9_sad64x64_avx2;
965 vp9_sad64x64_avg = vp9_sad64x64_avg_c; 1208 vp9_sad64x64_avg = vp9_sad64x64_avg_c;
1209 if (flags & HAS_SSE2) vp9_sad64x64_avg = vp9_sad64x64_avg_sse2;
966 if (flags & HAS_AVX2) vp9_sad64x64_avg = vp9_sad64x64_avg_avx2; 1210 if (flags & HAS_AVX2) vp9_sad64x64_avg = vp9_sad64x64_avg_avx2;
967 vp9_sad64x64x4d = vp9_sad64x64x4d_c; 1211 vp9_sad64x64x4d = vp9_sad64x64x4d_c;
968 if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2; 1212 if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2;
969 if (flags & HAS_AVX2) vp9_sad64x64x4d = vp9_sad64x64x4d_avx2; 1213 if (flags & HAS_AVX2) vp9_sad64x64x4d = vp9_sad64x64x4d_avx2;
1214 vp9_sad8x16 = vp9_sad8x16_c;
1215 if (flags & HAS_SSE2) vp9_sad8x16 = vp9_sad8x16_sse2;
1216 vp9_sad8x16_avg = vp9_sad8x16_avg_c;
1217 if (flags & HAS_SSE2) vp9_sad8x16_avg = vp9_sad8x16_avg_sse2;
970 vp9_sad8x16x3 = vp9_sad8x16x3_c; 1218 vp9_sad8x16x3 = vp9_sad8x16x3_c;
971 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3; 1219 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3;
972 vp9_sad8x16x4d = vp9_sad8x16x4d_c; 1220 vp9_sad8x16x4d = vp9_sad8x16x4d_c;
973 if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2; 1221 if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2;
1222 vp9_sad8x4 = vp9_sad8x4_c;
1223 if (flags & HAS_SSE2) vp9_sad8x4 = vp9_sad8x4_sse2;
1224 vp9_sad8x4_avg = vp9_sad8x4_avg_c;
1225 if (flags & HAS_SSE2) vp9_sad8x4_avg = vp9_sad8x4_avg_sse2;
974 vp9_sad8x4x4d = vp9_sad8x4x4d_c; 1226 vp9_sad8x4x4d = vp9_sad8x4x4d_c;
975 if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2; 1227 if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2;
1228 vp9_sad8x8 = vp9_sad8x8_c;
1229 if (flags & HAS_SSE2) vp9_sad8x8 = vp9_sad8x8_sse2;
1230 vp9_sad8x8_avg = vp9_sad8x8_avg_c;
1231 if (flags & HAS_SSE2) vp9_sad8x8_avg = vp9_sad8x8_avg_sse2;
976 vp9_sad8x8x3 = vp9_sad8x8x3_c; 1232 vp9_sad8x8x3 = vp9_sad8x8x3_c;
977 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3; 1233 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3;
978 vp9_sad8x8x4d = vp9_sad8x8x4d_c; 1234 vp9_sad8x8x4d = vp9_sad8x8x4d_c;
979 if (flags & HAS_SSE2) vp9_sad8x8x4d = vp9_sad8x8x4d_sse2; 1235 if (flags & HAS_SSE2) vp9_sad8x8x4d = vp9_sad8x8x4d_sse2;
1236 vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_variance16x16_c;
1237 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_va riance16x16_sse2;
1238 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_v ariance16x16_ssse3;
1239 vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_variance16x32_c;
1240 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_va riance16x32_sse2;
1241 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_v ariance16x32_ssse3;
1242 vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_variance16x8_c;
1243 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_var iance16x8_sse2;
1244 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_va riance16x8_ssse3;
1245 vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_variance32x16_c;
1246 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_va riance32x16_sse2;
1247 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_v ariance32x16_ssse3;
980 vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_variance32x32_c; 1248 vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_variance32x32_c;
1249 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_va riance32x32_sse2;
1250 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_v ariance32x32_ssse3;
981 if (flags & HAS_AVX2) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_va riance32x32_avx2; 1251 if (flags & HAS_AVX2) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_va riance32x32_avx2;
1252 vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_variance32x64_c;
1253 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_va riance32x64_sse2;
1254 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_v ariance32x64_ssse3;
1255 vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_variance4x4_c;
1256 if (flags & HAS_SSE) vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_varia nce4x4_sse;
1257 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_var iance4x4_ssse3;
1258 vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_variance4x8_c;
1259 if (flags & HAS_SSE) vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_varia nce4x8_sse;
1260 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_var iance4x8_ssse3;
1261 vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_variance64x32_c;
1262 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_va riance64x32_sse2;
1263 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_v ariance64x32_ssse3;
982 vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_variance64x64_c; 1264 vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_variance64x64_c;
1265 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_va riance64x64_sse2;
1266 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_v ariance64x64_ssse3;
983 if (flags & HAS_AVX2) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_va riance64x64_avx2; 1267 if (flags & HAS_AVX2) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_va riance64x64_avx2;
1268 vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_variance8x16_c;
1269 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_var iance8x16_sse2;
1270 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_va riance8x16_ssse3;
1271 vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_variance8x4_c;
1272 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_vari ance8x4_sse2;
1273 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_var iance8x4_ssse3;
1274 vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_variance8x8_c;
1275 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_vari ance8x8_sse2;
1276 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_var iance8x8_ssse3;
1277 vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16x16_c;
1278 if (flags & HAS_SSE2) vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16 x16_sse2;
1279 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance1 6x16_ssse3;
1280 vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance16x32_c;
1281 if (flags & HAS_SSE2) vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance16 x32_sse2;
1282 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance1 6x32_ssse3;
1283 vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16x8_c;
1284 if (flags & HAS_SSE2) vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16x 8_sse2;
1285 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16 x8_ssse3;
1286 vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance32x16_c;
1287 if (flags & HAS_SSE2) vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance32 x16_sse2;
1288 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance3 2x16_ssse3;
984 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_c; 1289 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_c;
1290 if (flags & HAS_SSE2) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32 x32_sse2;
1291 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance3 2x32_ssse3;
985 if (flags & HAS_AVX2) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32 x32_avx2; 1292 if (flags & HAS_AVX2) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32 x32_avx2;
1293 vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance32x64_c;
1294 if (flags & HAS_SSE2) vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance32 x64_sse2;
1295 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance3 2x64_ssse3;
1296 vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4_c;
1297 if (flags & HAS_SSE) vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4_s se;
1298 if (flags & HAS_SSSE3) vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4 _ssse3;
1299 vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8_c;
1300 if (flags & HAS_SSE) vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8_s se;
1301 if (flags & HAS_SSSE3) vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8 _ssse3;
1302 vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance64x32_c;
1303 if (flags & HAS_SSE2) vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance64 x32_sse2;
1304 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance6 4x32_ssse3;
986 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_c; 1305 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_c;
1306 if (flags & HAS_SSE2) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64 x64_sse2;
1307 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance6 4x64_ssse3;
987 if (flags & HAS_AVX2) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64 x64_avx2; 1308 if (flags & HAS_AVX2) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64 x64_avx2;
1309 vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x16_c;
1310 if (flags & HAS_SSE2) vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x1 6_sse2;
1311 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x 16_ssse3;
1312 vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4_c;
1313 if (flags & HAS_SSE2) vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4_ sse2;
1314 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4 _ssse3;
1315 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_c;
1316 if (flags & HAS_SSE2) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_ sse2;
1317 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8 _ssse3;
1318 vp9_subtract_block = vp9_subtract_block_c;
1319 if (flags & HAS_SSE2) vp9_subtract_block = vp9_subtract_block_sse2;
988 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c; 1320 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c;
989 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_ sse2; 1321 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_ sse2;
1322 vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_c;
1323 if (flags & HAS_SSE2) vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_sse2;
1324 vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_c;
1325 if (flags & HAS_SSE) vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_sse;
1326 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c;
1327 if (flags & HAS_SSE2) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_sse2;
1328 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c;
1329 if (flags & HAS_SSE2) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_sse2;
1330 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c;
1331 if (flags & HAS_SSE2) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_sse2;
1332 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c;
1333 if (flags & HAS_SSE) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_sse;
1334 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c;
1335 if (flags & HAS_SSE) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_sse;
990 vp9_variance16x16 = vp9_variance16x16_c; 1336 vp9_variance16x16 = vp9_variance16x16_c;
1337 if (flags & HAS_SSE2) vp9_variance16x16 = vp9_variance16x16_sse2;
991 if (flags & HAS_AVX2) vp9_variance16x16 = vp9_variance16x16_avx2; 1338 if (flags & HAS_AVX2) vp9_variance16x16 = vp9_variance16x16_avx2;
1339 vp9_variance16x32 = vp9_variance16x32_c;
1340 if (flags & HAS_SSE2) vp9_variance16x32 = vp9_variance16x32_sse2;
1341 vp9_variance16x8 = vp9_variance16x8_c;
1342 if (flags & HAS_SSE2) vp9_variance16x8 = vp9_variance16x8_sse2;
992 vp9_variance32x16 = vp9_variance32x16_c; 1343 vp9_variance32x16 = vp9_variance32x16_c;
1344 if (flags & HAS_SSE2) vp9_variance32x16 = vp9_variance32x16_sse2;
993 if (flags & HAS_AVX2) vp9_variance32x16 = vp9_variance32x16_avx2; 1345 if (flags & HAS_AVX2) vp9_variance32x16 = vp9_variance32x16_avx2;
994 vp9_variance32x32 = vp9_variance32x32_c; 1346 vp9_variance32x32 = vp9_variance32x32_c;
1347 if (flags & HAS_SSE2) vp9_variance32x32 = vp9_variance32x32_sse2;
995 if (flags & HAS_AVX2) vp9_variance32x32 = vp9_variance32x32_avx2; 1348 if (flags & HAS_AVX2) vp9_variance32x32 = vp9_variance32x32_avx2;
1349 vp9_variance32x64 = vp9_variance32x64_c;
1350 if (flags & HAS_SSE2) vp9_variance32x64 = vp9_variance32x64_sse2;
1351 vp9_variance4x4 = vp9_variance4x4_c;
1352 if (flags & HAS_SSE2) vp9_variance4x4 = vp9_variance4x4_sse2;
1353 vp9_variance4x8 = vp9_variance4x8_c;
1354 if (flags & HAS_SSE2) vp9_variance4x8 = vp9_variance4x8_sse2;
996 vp9_variance64x32 = vp9_variance64x32_c; 1355 vp9_variance64x32 = vp9_variance64x32_c;
1356 if (flags & HAS_SSE2) vp9_variance64x32 = vp9_variance64x32_sse2;
997 if (flags & HAS_AVX2) vp9_variance64x32 = vp9_variance64x32_avx2; 1357 if (flags & HAS_AVX2) vp9_variance64x32 = vp9_variance64x32_avx2;
998 vp9_variance64x64 = vp9_variance64x64_c; 1358 vp9_variance64x64 = vp9_variance64x64_c;
1359 if (flags & HAS_SSE2) vp9_variance64x64 = vp9_variance64x64_sse2;
999 if (flags & HAS_AVX2) vp9_variance64x64 = vp9_variance64x64_avx2; 1360 if (flags & HAS_AVX2) vp9_variance64x64 = vp9_variance64x64_avx2;
1361 vp9_variance8x16 = vp9_variance8x16_c;
1362 if (flags & HAS_SSE2) vp9_variance8x16 = vp9_variance8x16_sse2;
1363 vp9_variance8x4 = vp9_variance8x4_c;
1364 if (flags & HAS_SSE2) vp9_variance8x4 = vp9_variance8x4_sse2;
1365 vp9_variance8x8 = vp9_variance8x8_c;
1366 if (flags & HAS_SSE2) vp9_variance8x8 = vp9_variance8x8_sse2;
1367 vp9_vector_sad = vp9_vector_sad_c;
1368 if (flags & HAS_SSE2) vp9_vector_sad = vp9_vector_sad_sse2;
1000 } 1369 }
1001 #endif 1370 #endif
1002 1371
1003 #ifdef __cplusplus 1372 #ifdef __cplusplus
1004 } // extern "C" 1373 } // extern "C"
1005 #endif 1374 #endif
1006 1375
1007 #endif 1376 #endif
OLDNEW
« no previous file with comments | « source/config/linux/x64/vpx_config.asm ('k') | source/config/mac/ia32/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698