diff options
author | Ronald S. Bultje <rbultje@google.com> | 2013-02-15 10:15:42 -0800 |
---|---|---|
committer | Ronald S. Bultje <rbultje@google.com> | 2013-02-15 14:06:25 -0800 |
commit | 46dff5d23348ca1b5e3852a9f34ca0431c8eed10 (patch) | |
tree | 58eed1bd1a864675eef274d30b208a7b0b2583ff /vp9/encoder/vp9_satd_c.c | |
parent | 7755657ea77d29a611f800f0637c6f88f419e8b2 (diff) | |
download | libvpx-46dff5d23348ca1b5e3852a9f34ca0431c8eed10.tar libvpx-46dff5d23348ca1b5e3852a9f34ca0431c8eed10.tar.gz libvpx-46dff5d23348ca1b5e3852a9f34ca0431c8eed10.tar.bz2 libvpx-46dff5d23348ca1b5e3852a9f34ca0431c8eed10.zip |
Remove some Y2-related code.
Change-Id: I4f46d142c2a8d1e8a880cfac63702dcbfb999b78
Diffstat (limited to 'vp9/encoder/vp9_satd_c.c')
-rw-r--r-- | vp9/encoder/vp9_satd_c.c | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/vp9/encoder/vp9_satd_c.c b/vp9/encoder/vp9_satd_c.c deleted file mode 100644 index 212c2243d..000000000 --- a/vp9/encoder/vp9_satd_c.c +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) 2010 The WebM project authors. All Rights Reserved. - * - * Use of this source code is governed by a BSD-style license - * that can be found in the LICENSE file in the root of the source - * tree. An additional intellectual property rights grant can be found - * in the file PATENTS. All contributing project authors may - * be found in the AUTHORS file in the root of the source tree. - */ - -#include <stdlib.h> -#include "vpx_ports/mem.h" -#include "./vp9_rtcd.h" - -unsigned int vp9_satd16x16_c(const uint8_t *src_ptr, - int src_stride, - const uint8_t *ref_ptr, - int ref_stride, - unsigned int *psatd) { - int r, c, i; - unsigned int satd = 0; - DECLARE_ALIGNED(16, int16_t, diff_in[256]); - DECLARE_ALIGNED(16, int16_t, diff_out[16]); - int16_t *in; - - for (r = 0; r < 16; r++) { - for (c = 0; c < 16; c++) { - diff_in[r * 16 + c] = src_ptr[c] - ref_ptr[c]; - } - src_ptr += src_stride; - ref_ptr += ref_stride; - } - - in = diff_in; - for (r = 0; r < 16; r += 4) { - for (c = 0; c < 16; c += 4) { - vp9_short_walsh4x4_c(in + c, diff_out, 32); - for (i = 0; i < 16; i++) - satd += abs(diff_out[i]); - } - in += 64; - } - - if (psatd) - *psatd = satd; - - return satd; -} |