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

Side by Side Diff: source/libvpx/vp8/common/x86/variance_ssse3.c

Issue 1162573005: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 6 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/libvpx/vp8/common/x86/variance_sse2.c ('k') | source/libvpx/vp8/decoder/onyxd_if.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "./vp8_rtcd.h"
11 #include "vpx_config.h" 12 #include "vpx_config.h"
12 #include "vp8/common/variance.h" 13 #include "vp8/common/variance.h"
13 #include "vpx_ports/mem.h" 14 #include "vpx_ports/mem.h"
14 15
15 extern unsigned int vp8_get16x16var_sse2
16 (
17 const unsigned char *src_ptr,
18 int source_stride,
19 const unsigned char *ref_ptr,
20 int recon_stride,
21 unsigned int *SSE,
22 int *Sum
23 );
24 extern void vp8_half_horiz_vert_variance16x_h_sse2 16 extern void vp8_half_horiz_vert_variance16x_h_sse2
25 ( 17 (
26 const unsigned char *ref_ptr, 18 const unsigned char *ref_ptr,
27 int ref_pixels_per_line, 19 int ref_pixels_per_line,
28 const unsigned char *src_ptr, 20 const unsigned char *src_ptr,
29 int src_pixels_per_line, 21 int src_pixels_per_line,
30 unsigned int Height, 22 unsigned int Height,
31 int *sum, 23 int *sum,
32 unsigned int *sumsquared 24 unsigned int *sumsquared
33 ); 25 );
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 vp8_filter_block2d_bil_var_ssse3( 148 vp8_filter_block2d_bil_var_ssse3(
157 src_ptr, src_pixels_per_line, 149 src_ptr, src_pixels_per_line,
158 dst_ptr, dst_pixels_per_line, 8, 150 dst_ptr, dst_pixels_per_line, 8,
159 xoffset, yoffset, 151 xoffset, yoffset,
160 &xsum0, &xxsum0); 152 &xsum0, &xxsum0);
161 } 153 }
162 154
163 *sse = xxsum0; 155 *sse = xxsum0;
164 return (xxsum0 - (((unsigned int)xsum0 * xsum0) >> 7)); 156 return (xxsum0 - (((unsigned int)xsum0 * xsum0) >> 7));
165 } 157 }
OLDNEW
« no previous file with comments | « source/libvpx/vp8/common/x86/variance_sse2.c ('k') | source/libvpx/vp8/decoder/onyxd_if.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698