| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  *  Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2  *  Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 
| 3  * | 3  * | 
| 4  *  Use of this source code is governed by a BSD-style license | 4  *  Use of this source code is governed by a BSD-style license | 
| 5  *  that can be found in the LICENSE file in the root of the source | 5  *  that can be found in the LICENSE file in the root of the source | 
| 6  *  tree. An additional intellectual property rights grant can be found | 6  *  tree. An additional intellectual property rights grant can be found | 
| 7  *  in the file PATENTS.  All contributing project authors may | 7  *  in the file PATENTS.  All contributing project authors may | 
| 8  *  be found in the AUTHORS file in the root of the source tree. | 8  *  be found in the AUTHORS file in the root of the source tree. | 
| 9  */ | 9  */ | 
| 10 | 10 | 
| (...skipping 23 matching lines...) Expand all  Loading... | 
| 34 extern prototype_subpixvariance(vp8_sub_pixel_variance8x8_mmx); | 34 extern prototype_subpixvariance(vp8_sub_pixel_variance8x8_mmx); | 
| 35 extern prototype_subpixvariance(vp8_sub_pixel_variance8x16_mmx); | 35 extern prototype_subpixvariance(vp8_sub_pixel_variance8x16_mmx); | 
| 36 extern prototype_subpixvariance(vp8_sub_pixel_variance16x8_mmx); | 36 extern prototype_subpixvariance(vp8_sub_pixel_variance16x8_mmx); | 
| 37 extern prototype_subpixvariance(vp8_sub_pixel_variance16x16_mmx); | 37 extern prototype_subpixvariance(vp8_sub_pixel_variance16x16_mmx); | 
| 38 extern prototype_variance(vp8_variance_halfpixvar16x16_h_mmx); | 38 extern prototype_variance(vp8_variance_halfpixvar16x16_h_mmx); | 
| 39 extern prototype_variance(vp8_variance_halfpixvar16x16_v_mmx); | 39 extern prototype_variance(vp8_variance_halfpixvar16x16_v_mmx); | 
| 40 extern prototype_variance(vp8_variance_halfpixvar16x16_hv_mmx); | 40 extern prototype_variance(vp8_variance_halfpixvar16x16_hv_mmx); | 
| 41 extern prototype_subpixvariance(vp8_sub_pixel_mse16x16_mmx); | 41 extern prototype_subpixvariance(vp8_sub_pixel_mse16x16_mmx); | 
| 42 extern prototype_getmbss(vp8_get_mb_ss_mmx); | 42 extern prototype_getmbss(vp8_get_mb_ss_mmx); | 
| 43 extern prototype_variance(vp8_mse16x16_mmx); | 43 extern prototype_variance(vp8_mse16x16_mmx); | 
| 44 extern prototype_sad(vp8_get16x16pred_error_mmx); |  | 
| 45 extern prototype_variance2(vp8_get8x8var_mmx); | 44 extern prototype_variance2(vp8_get8x8var_mmx); | 
| 46 extern prototype_variance2(vp8_get16x16var_mmx); | 45 extern prototype_get16x16prederror(vp8_get4x4sse_cs_mmx); | 
| 47 extern prototype_sad(vp8_get4x4sse_cs_mmx); |  | 
| 48 | 46 | 
| 49 #if !CONFIG_RUNTIME_CPU_DETECT | 47 #if !CONFIG_RUNTIME_CPU_DETECT | 
| 50 #undef  vp8_variance_sad4x4 | 48 #undef  vp8_variance_sad4x4 | 
| 51 #define vp8_variance_sad4x4 vp8_sad4x4_mmx | 49 #define vp8_variance_sad4x4 vp8_sad4x4_mmx | 
| 52 | 50 | 
| 53 #undef  vp8_variance_sad8x8 | 51 #undef  vp8_variance_sad8x8 | 
| 54 #define vp8_variance_sad8x8 vp8_sad8x8_mmx | 52 #define vp8_variance_sad8x8 vp8_sad8x8_mmx | 
| 55 | 53 | 
| 56 #undef  vp8_variance_sad8x16 | 54 #undef  vp8_variance_sad8x16 | 
| 57 #define vp8_variance_sad8x16 vp8_sad8x16_mmx | 55 #define vp8_variance_sad8x16 vp8_sad8x16_mmx | 
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 103 | 101 | 
| 104 #undef  vp8_variance_subpixmse16x16 | 102 #undef  vp8_variance_subpixmse16x16 | 
| 105 #define vp8_variance_subpixmse16x16 vp8_sub_pixel_mse16x16_mmx | 103 #define vp8_variance_subpixmse16x16 vp8_sub_pixel_mse16x16_mmx | 
| 106 | 104 | 
| 107 #undef  vp8_variance_getmbss | 105 #undef  vp8_variance_getmbss | 
| 108 #define vp8_variance_getmbss vp8_get_mb_ss_mmx | 106 #define vp8_variance_getmbss vp8_get_mb_ss_mmx | 
| 109 | 107 | 
| 110 #undef  vp8_variance_mse16x16 | 108 #undef  vp8_variance_mse16x16 | 
| 111 #define vp8_variance_mse16x16 vp8_mse16x16_mmx | 109 #define vp8_variance_mse16x16 vp8_mse16x16_mmx | 
| 112 | 110 | 
| 113 #undef  vp8_variance_get16x16prederror |  | 
| 114 #define vp8_variance_get16x16prederror vp8_get16x16pred_error_mmx |  | 
| 115 |  | 
| 116 #undef  vp8_variance_get8x8var |  | 
| 117 #define vp8_variance_get8x8var vp8_get8x8var_mmx |  | 
| 118 |  | 
| 119 #undef  vp8_variance_get16x16var |  | 
| 120 #define vp8_variance_get16x16var vp8_get16x16var_mmx |  | 
| 121 |  | 
| 122 #undef  vp8_variance_get4x4sse_cs | 111 #undef  vp8_variance_get4x4sse_cs | 
| 123 #define vp8_variance_get4x4sse_cs vp8_get4x4sse_cs_mmx | 112 #define vp8_variance_get4x4sse_cs vp8_get4x4sse_cs_mmx | 
| 124 | 113 | 
| 125 #endif | 114 #endif | 
| 126 #endif | 115 #endif | 
| 127 | 116 | 
| 128 | 117 | 
| 129 #if HAVE_SSE2 | 118 #if HAVE_SSE2 | 
| 130 extern prototype_sad(vp8_sad4x4_wmt); | 119 extern prototype_sad(vp8_sad4x4_wmt); | 
| 131 extern prototype_sad(vp8_sad8x8_wmt); | 120 extern prototype_sad(vp8_sad8x8_wmt); | 
| 132 extern prototype_sad(vp8_sad8x16_wmt); | 121 extern prototype_sad(vp8_sad8x16_wmt); | 
| 133 extern prototype_sad(vp8_sad16x8_wmt); | 122 extern prototype_sad(vp8_sad16x8_wmt); | 
| 134 extern prototype_sad(vp8_sad16x16_wmt); | 123 extern prototype_sad(vp8_sad16x16_wmt); | 
|  | 124 extern prototype_sad(vp8_copy32xn_sse2); | 
| 135 extern prototype_variance(vp8_variance4x4_wmt); | 125 extern prototype_variance(vp8_variance4x4_wmt); | 
| 136 extern prototype_variance(vp8_variance8x8_wmt); | 126 extern prototype_variance(vp8_variance8x8_wmt); | 
| 137 extern prototype_variance(vp8_variance8x16_wmt); | 127 extern prototype_variance(vp8_variance8x16_wmt); | 
| 138 extern prototype_variance(vp8_variance16x8_wmt); | 128 extern prototype_variance(vp8_variance16x8_wmt); | 
| 139 extern prototype_variance(vp8_variance16x16_wmt); | 129 extern prototype_variance(vp8_variance16x16_wmt); | 
| 140 extern prototype_subpixvariance(vp8_sub_pixel_variance4x4_wmt); | 130 extern prototype_subpixvariance(vp8_sub_pixel_variance4x4_wmt); | 
| 141 extern prototype_subpixvariance(vp8_sub_pixel_variance8x8_wmt); | 131 extern prototype_subpixvariance(vp8_sub_pixel_variance8x8_wmt); | 
| 142 extern prototype_subpixvariance(vp8_sub_pixel_variance8x16_wmt); | 132 extern prototype_subpixvariance(vp8_sub_pixel_variance8x16_wmt); | 
| 143 extern prototype_subpixvariance(vp8_sub_pixel_variance16x8_wmt); | 133 extern prototype_subpixvariance(vp8_sub_pixel_variance16x8_wmt); | 
| 144 extern prototype_subpixvariance(vp8_sub_pixel_variance16x16_wmt); | 134 extern prototype_subpixvariance(vp8_sub_pixel_variance16x16_wmt); | 
| 145 extern prototype_variance(vp8_variance_halfpixvar16x16_h_wmt); | 135 extern prototype_variance(vp8_variance_halfpixvar16x16_h_wmt); | 
| 146 extern prototype_variance(vp8_variance_halfpixvar16x16_v_wmt); | 136 extern prototype_variance(vp8_variance_halfpixvar16x16_v_wmt); | 
| 147 extern prototype_variance(vp8_variance_halfpixvar16x16_hv_wmt); | 137 extern prototype_variance(vp8_variance_halfpixvar16x16_hv_wmt); | 
| 148 extern prototype_subpixvariance(vp8_sub_pixel_mse16x16_wmt); | 138 extern prototype_subpixvariance(vp8_sub_pixel_mse16x16_wmt); | 
| 149 extern prototype_getmbss(vp8_get_mb_ss_sse2); | 139 extern prototype_getmbss(vp8_get_mb_ss_sse2); | 
| 150 extern prototype_variance(vp8_mse16x16_wmt); | 140 extern prototype_variance(vp8_mse16x16_wmt); | 
| 151 extern prototype_sad(vp8_get16x16pred_error_sse2); |  | 
| 152 extern prototype_variance2(vp8_get8x8var_sse2); | 141 extern prototype_variance2(vp8_get8x8var_sse2); | 
| 153 extern prototype_variance2(vp8_get16x16var_sse2); | 142 extern prototype_variance2(vp8_get16x16var_sse2); | 
| 154 | 143 | 
| 155 #if !CONFIG_RUNTIME_CPU_DETECT | 144 #if !CONFIG_RUNTIME_CPU_DETECT | 
| 156 #undef  vp8_variance_sad4x4 | 145 #undef  vp8_variance_sad4x4 | 
| 157 #define vp8_variance_sad4x4 vp8_sad4x4_wmt | 146 #define vp8_variance_sad4x4 vp8_sad4x4_wmt | 
| 158 | 147 | 
| 159 #undef  vp8_variance_sad8x8 | 148 #undef  vp8_variance_sad8x8 | 
| 160 #define vp8_variance_sad8x8 vp8_sad8x8_wmt | 149 #define vp8_variance_sad8x8 vp8_sad8x8_wmt | 
| 161 | 150 | 
| 162 #undef  vp8_variance_sad8x16 | 151 #undef  vp8_variance_sad8x16 | 
| 163 #define vp8_variance_sad8x16 vp8_sad8x16_wmt | 152 #define vp8_variance_sad8x16 vp8_sad8x16_wmt | 
| 164 | 153 | 
| 165 #undef  vp8_variance_sad16x8 | 154 #undef  vp8_variance_sad16x8 | 
| 166 #define vp8_variance_sad16x8 vp8_sad16x8_wmt | 155 #define vp8_variance_sad16x8 vp8_sad16x8_wmt | 
| 167 | 156 | 
| 168 #undef  vp8_variance_sad16x16 | 157 #undef  vp8_variance_sad16x16 | 
| 169 #define vp8_variance_sad16x16 vp8_sad16x16_wmt | 158 #define vp8_variance_sad16x16 vp8_sad16x16_wmt | 
| 170 | 159 | 
|  | 160 #undef  vp8_variance_copy32xn | 
|  | 161 #define vp8_variance_copy32xn vp8_copy32xn_sse2 | 
|  | 162 | 
| 171 #undef  vp8_variance_var4x4 | 163 #undef  vp8_variance_var4x4 | 
| 172 #define vp8_variance_var4x4 vp8_variance4x4_wmt | 164 #define vp8_variance_var4x4 vp8_variance4x4_wmt | 
| 173 | 165 | 
| 174 #undef  vp8_variance_var8x8 | 166 #undef  vp8_variance_var8x8 | 
| 175 #define vp8_variance_var8x8 vp8_variance8x8_wmt | 167 #define vp8_variance_var8x8 vp8_variance8x8_wmt | 
| 176 | 168 | 
| 177 #undef  vp8_variance_var8x16 | 169 #undef  vp8_variance_var8x16 | 
| 178 #define vp8_variance_var8x16 vp8_variance8x16_wmt | 170 #define vp8_variance_var8x16 vp8_variance8x16_wmt | 
| 179 | 171 | 
| 180 #undef  vp8_variance_var16x8 | 172 #undef  vp8_variance_var16x8 | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
| 209 | 201 | 
| 210 #undef  vp8_variance_subpixmse16x16 | 202 #undef  vp8_variance_subpixmse16x16 | 
| 211 #define vp8_variance_subpixmse16x16 vp8_sub_pixel_mse16x16_wmt | 203 #define vp8_variance_subpixmse16x16 vp8_sub_pixel_mse16x16_wmt | 
| 212 | 204 | 
| 213 #undef  vp8_variance_getmbss | 205 #undef  vp8_variance_getmbss | 
| 214 #define vp8_variance_getmbss vp8_get_mb_ss_sse2 | 206 #define vp8_variance_getmbss vp8_get_mb_ss_sse2 | 
| 215 | 207 | 
| 216 #undef  vp8_variance_mse16x16 | 208 #undef  vp8_variance_mse16x16 | 
| 217 #define vp8_variance_mse16x16 vp8_mse16x16_wmt | 209 #define vp8_variance_mse16x16 vp8_mse16x16_wmt | 
| 218 | 210 | 
| 219 #undef  vp8_variance_get16x16prederror |  | 
| 220 #define vp8_variance_get16x16prederror vp8_get16x16pred_error_sse2 |  | 
| 221 |  | 
| 222 #undef  vp8_variance_get8x8var |  | 
| 223 #define vp8_variance_get8x8var vp8_get8x8var_sse2 |  | 
| 224 |  | 
| 225 #undef  vp8_variance_get16x16var |  | 
| 226 #define vp8_variance_get16x16var vp8_get16x16var_sse2 |  | 
| 227 |  | 
| 228 #endif | 211 #endif | 
| 229 #endif | 212 #endif | 
| 230 | 213 | 
| 231 | 214 | 
| 232 #if HAVE_SSE3 | 215 #if HAVE_SSE3 | 
| 233 extern prototype_sad(vp8_sad16x16_sse3); | 216 extern prototype_sad(vp8_sad16x16_sse3); | 
| 234 extern prototype_sad(vp8_sad16x8_sse3); | 217 extern prototype_sad(vp8_sad16x8_sse3); | 
| 235 extern prototype_sad_multi_same_address(vp8_sad16x16x3_sse3); | 218 extern prototype_sad_multi_same_address(vp8_sad16x16x3_sse3); | 
| 236 extern prototype_sad_multi_same_address(vp8_sad16x8x3_sse3); | 219 extern prototype_sad_multi_same_address(vp8_sad16x8x3_sse3); | 
| 237 extern prototype_sad_multi_same_address(vp8_sad8x16x3_sse3); | 220 extern prototype_sad_multi_same_address(vp8_sad8x16x3_sse3); | 
| 238 extern prototype_sad_multi_same_address(vp8_sad8x8x3_sse3); | 221 extern prototype_sad_multi_same_address(vp8_sad8x8x3_sse3); | 
| 239 extern prototype_sad_multi_same_address(vp8_sad4x4x3_sse3); | 222 extern prototype_sad_multi_same_address(vp8_sad4x4x3_sse3); | 
| 240 | 223 | 
| 241 extern prototype_sad_multi_dif_address(vp8_sad16x16x4d_sse3); | 224 extern prototype_sad_multi_dif_address(vp8_sad16x16x4d_sse3); | 
| 242 extern prototype_sad_multi_dif_address(vp8_sad16x8x4d_sse3); | 225 extern prototype_sad_multi_dif_address(vp8_sad16x8x4d_sse3); | 
| 243 extern prototype_sad_multi_dif_address(vp8_sad8x16x4d_sse3); | 226 extern prototype_sad_multi_dif_address(vp8_sad8x16x4d_sse3); | 
| 244 extern prototype_sad_multi_dif_address(vp8_sad8x8x4d_sse3); | 227 extern prototype_sad_multi_dif_address(vp8_sad8x8x4d_sse3); | 
| 245 extern prototype_sad_multi_dif_address(vp8_sad4x4x4d_sse3); | 228 extern prototype_sad_multi_dif_address(vp8_sad4x4x4d_sse3); | 
|  | 229 extern prototype_sad(vp8_copy32xn_sse3); | 
| 246 | 230 | 
| 247 #if !CONFIG_RUNTIME_CPU_DETECT | 231 #if !CONFIG_RUNTIME_CPU_DETECT | 
| 248 | 232 | 
| 249 #undef  vp8_variance_sad16x16 | 233 #undef  vp8_variance_sad16x16 | 
| 250 #define vp8_variance_sad16x16 vp8_sad16x16_sse3 | 234 #define vp8_variance_sad16x16 vp8_sad16x16_sse3 | 
| 251 | 235 | 
| 252 #undef  vp8_variance_sad16x16x3 | 236 #undef  vp8_variance_sad16x16x3 | 
| 253 #define vp8_variance_sad16x16x3 vp8_sad16x16x3_sse3 | 237 #define vp8_variance_sad16x16x3 vp8_sad16x16x3_sse3 | 
| 254 | 238 | 
| 255 #undef  vp8_variance_sad16x8x3 | 239 #undef  vp8_variance_sad16x8x3 | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
| 272 | 256 | 
| 273 #undef  vp8_variance_sad8x16x4d | 257 #undef  vp8_variance_sad8x16x4d | 
| 274 #define vp8_variance_sad8x16x4d vp8_sad8x16x4d_sse3 | 258 #define vp8_variance_sad8x16x4d vp8_sad8x16x4d_sse3 | 
| 275 | 259 | 
| 276 #undef  vp8_variance_sad8x8x4d | 260 #undef  vp8_variance_sad8x8x4d | 
| 277 #define vp8_variance_sad8x8x4d vp8_sad8x8x4d_sse3 | 261 #define vp8_variance_sad8x8x4d vp8_sad8x8x4d_sse3 | 
| 278 | 262 | 
| 279 #undef  vp8_variance_sad4x4x4d | 263 #undef  vp8_variance_sad4x4x4d | 
| 280 #define vp8_variance_sad4x4x4d vp8_sad4x4x4d_sse3 | 264 #define vp8_variance_sad4x4x4d vp8_sad4x4x4d_sse3 | 
| 281 | 265 | 
|  | 266 #undef  vp8_variance_copy32xn | 
|  | 267 #define vp8_variance_copy32xn vp8_copy32xn_sse3 | 
|  | 268 | 
| 282 #endif | 269 #endif | 
| 283 #endif | 270 #endif | 
| 284 | 271 | 
| 285 | 272 | 
| 286 #if HAVE_SSSE3 | 273 #if HAVE_SSSE3 | 
| 287 extern prototype_sad_multi_same_address(vp8_sad16x16x3_ssse3); | 274 extern prototype_sad_multi_same_address(vp8_sad16x16x3_ssse3); | 
| 288 extern prototype_sad_multi_same_address(vp8_sad16x8x3_ssse3); | 275 extern prototype_sad_multi_same_address(vp8_sad16x8x3_ssse3); | 
| 289 extern prototype_subpixvariance(vp8_sub_pixel_variance16x8_ssse3); | 276 extern prototype_subpixvariance(vp8_sub_pixel_variance16x8_ssse3); | 
| 290 extern prototype_subpixvariance(vp8_sub_pixel_variance16x16_ssse3); | 277 extern prototype_subpixvariance(vp8_sub_pixel_variance16x16_ssse3); | 
| 291 | 278 | 
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 326 #undef  vp8_variance_sad8x8x8 | 313 #undef  vp8_variance_sad8x8x8 | 
| 327 #define vp8_variance_sad8x8x8 vp8_sad8x8x8_sse4 | 314 #define vp8_variance_sad8x8x8 vp8_sad8x8x8_sse4 | 
| 328 | 315 | 
| 329 #undef  vp8_variance_sad4x4x8 | 316 #undef  vp8_variance_sad4x4x8 | 
| 330 #define vp8_variance_sad4x4x8 vp8_sad4x4x8_sse4 | 317 #define vp8_variance_sad4x4x8 vp8_sad4x4x8_sse4 | 
| 331 | 318 | 
| 332 #endif | 319 #endif | 
| 333 #endif | 320 #endif | 
| 334 | 321 | 
| 335 #endif | 322 #endif | 
| OLD | NEW | 
|---|