From 428fce642df139a66401d97b72f0ac31cb611685 Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Tue, 28 Apr 2015 21:00:16 +0000 Subject: [PATCH] remove unused function ScalePlaneBoxRow_* which was for slow box filter that is no longer used. BUG=432 TESTED=try bots R=bcornell@google.com Review URL: https://webrtc-codereview.appspot.com/51779004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1387 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- source/scale.cc | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/source/scale.cc b/source/scale.cc index 1791fb37b..54269853c 100644 --- a/source/scale.cc +++ b/source/scale.cc @@ -657,34 +657,6 @@ static __inline uint32 SumBox_16(int iboxwidth, int iboxheight, return sum; } -static void ScalePlaneBoxRow_C(int dst_width, int boxheight, - int x, int dx, ptrdiff_t src_stride, - const uint8* src_ptr, uint8* dst_ptr) { - int i; - int boxwidth; - for (i = 0; i < dst_width; ++i) { - int ix = x >> 16; - x += dx; - boxwidth = MIN1((x >> 16) - ix); - *dst_ptr++ = SumBox(boxwidth, boxheight, src_stride, src_ptr + ix) / - (boxwidth * boxheight); - } -} - -static void ScalePlaneBoxRow_16_C(int dst_width, int boxheight, - int x, int dx, ptrdiff_t src_stride, - const uint16* src_ptr, uint16* dst_ptr) { - int i; - int boxwidth; - for (i = 0; i < dst_width; ++i) { - int ix = x >> 16; - x += dx; - boxwidth = MIN1((x >> 16) - ix); - *dst_ptr++ = SumBox_16(boxwidth, boxheight, src_stride, src_ptr + ix) / - (boxwidth * boxheight); - } -} - static __inline uint32 SumPixels(int iboxwidth, const uint16* src_ptr) { uint32 sum = 0u; int x;