| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 | 140 |
| 141 xsum0 += xsum1; | 141 xsum0 += xsum1; |
| 142 xxsum0 += xxsum1; | 142 xxsum0 += xxsum1; |
| 143 | 143 |
| 144 *sse = xxsum0; | 144 *sse = xxsum0; |
| 145 return (xxsum0 - (((unsigned int)xsum0 * xsum0) >> 8)); | 145 return (xxsum0 - (((unsigned int)xsum0 * xsum0) >> 8)); |
| 146 | 146 |
| 147 | 147 |
| 148 } | 148 } |
| 149 | 149 |
| 150 unsigned int vp8_sub_pixel_mse16x16_mmx( | |
| 151 const unsigned char *src_ptr, | |
| 152 int src_pixels_per_line, | |
| 153 int xoffset, | |
| 154 int yoffset, | |
| 155 const unsigned char *dst_ptr, | |
| 156 int dst_pixels_per_line, | |
| 157 unsigned int *sse | |
| 158 ) | |
| 159 { | |
| 160 vp8_sub_pixel_variance16x16_mmx(src_ptr, src_pixels_per_line, xoffset, yoffs
et, dst_ptr, dst_pixels_per_line, sse); | |
| 161 return *sse; | |
| 162 } | |
| 163 | |
| 164 unsigned int vp8_sub_pixel_variance16x8_mmx | 150 unsigned int vp8_sub_pixel_variance16x8_mmx |
| 165 ( | 151 ( |
| 166 const unsigned char *src_ptr, | 152 const unsigned char *src_ptr, |
| 167 int src_pixels_per_line, | 153 int src_pixels_per_line, |
| 168 int xoffset, | 154 int xoffset, |
| 169 int yoffset, | 155 int yoffset, |
| 170 const unsigned char *dst_ptr, | 156 const unsigned char *dst_ptr, |
| 171 int dst_pixels_per_line, | 157 int dst_pixels_per_line, |
| 172 unsigned int *sse | 158 unsigned int *sse |
| 173 ) | 159 ) |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 unsigned int vp8_variance_halfpixvar16x16_hv_mmx( | 235 unsigned int vp8_variance_halfpixvar16x16_hv_mmx( |
| 250 const unsigned char *src_ptr, | 236 const unsigned char *src_ptr, |
| 251 int source_stride, | 237 int source_stride, |
| 252 const unsigned char *ref_ptr, | 238 const unsigned char *ref_ptr, |
| 253 int recon_stride, | 239 int recon_stride, |
| 254 unsigned int *sse) | 240 unsigned int *sse) |
| 255 { | 241 { |
| 256 return vp8_sub_pixel_variance16x16_mmx(src_ptr, source_stride, 4, 4, | 242 return vp8_sub_pixel_variance16x16_mmx(src_ptr, source_stride, 4, 4, |
| 257 ref_ptr, recon_stride, sse); | 243 ref_ptr, recon_stride, sse); |
| 258 } | 244 } |
| OLD | NEW |