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 #include "vp8/common/x86/filter_x86.h" | 14 #include "vp8/common/x86/filter_x86.h" |
16 | 15 |
17 extern void filter_block1d_h6_mmx | 16 extern void filter_block1d_h6_mmx |
18 ( | 17 ( |
19 const unsigned char *src_ptr, | 18 const unsigned char *src_ptr, |
20 unsigned short *output_ptr, | 19 unsigned short *output_ptr, |
21 unsigned int src_pixels_per_line, | 20 unsigned int src_pixels_per_line, |
22 unsigned int pixel_step, | 21 unsigned int pixel_step, |
23 unsigned int output_height, | 22 unsigned int output_height, |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 unsigned int vp8_variance_halfpixvar16x16_hv_mmx( | 388 unsigned int vp8_variance_halfpixvar16x16_hv_mmx( |
390 const unsigned char *src_ptr, | 389 const unsigned char *src_ptr, |
391 int source_stride, | 390 int source_stride, |
392 const unsigned char *ref_ptr, | 391 const unsigned char *ref_ptr, |
393 int recon_stride, | 392 int recon_stride, |
394 unsigned int *sse) | 393 unsigned int *sse) |
395 { | 394 { |
396 return vp8_sub_pixel_variance16x16_mmx(src_ptr, source_stride, 4, 4, | 395 return vp8_sub_pixel_variance16x16_mmx(src_ptr, source_stride, 4, 4, |
397 ref_ptr, recon_stride, sse); | 396 ref_ptr, recon_stride, sse); |
398 } | 397 } |
OLD | NEW |