| 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 |
| 11 #include "vpx_config.h" | 11 #include "vpx_config.h" |
| 12 #include "vp8/common/variance.h" | 12 #include "vp8/common/variance.h" |
| 13 #include "vp8/common/pragmas.h" | |
| 14 #include "vpx_ports/mem.h" | 13 #include "vpx_ports/mem.h" |
| 15 | 14 |
| 16 extern unsigned int vp8_get16x16var_sse2 | 15 extern unsigned int vp8_get16x16var_sse2 |
| 17 ( | 16 ( |
| 18 const unsigned char *src_ptr, | 17 const unsigned char *src_ptr, |
| 19 int source_stride, | 18 int source_stride, |
| 20 const unsigned char *ref_ptr, | 19 const unsigned char *ref_ptr, |
| 21 int recon_stride, | 20 int recon_stride, |
| 22 unsigned int *SSE, | 21 unsigned int *SSE, |
| 23 int *Sum | 22 int *Sum |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 vp8_filter_block2d_bil_var_ssse3( | 156 vp8_filter_block2d_bil_var_ssse3( |
| 158 src_ptr, src_pixels_per_line, | 157 src_ptr, src_pixels_per_line, |
| 159 dst_ptr, dst_pixels_per_line, 8, | 158 dst_ptr, dst_pixels_per_line, 8, |
| 160 xoffset, yoffset, | 159 xoffset, yoffset, |
| 161 &xsum0, &xxsum0); | 160 &xsum0, &xxsum0); |
| 162 } | 161 } |
| 163 | 162 |
| 164 *sse = xxsum0; | 163 *sse = xxsum0; |
| 165 return (xxsum0 - (((unsigned int)xsum0 * xsum0) >> 7)); | 164 return (xxsum0 - (((unsigned int)xsum0 * xsum0) >> 7)); |
| 166 } | 165 } |
| OLD | NEW |