[vlc-commits] video_filter/deinterlace: algo_x: remove median (unused)

Filip Roséen git at videolan.org
Mon Mar 20 14:08:51 CET 2017


vlc | branch: master | Filip Roséen <filip at atch.se> | Fri Mar 17 03:36:00 2017 +0100| [a9a7a11b2c854a615b0b88a189f02ab5a44c8c2a] | committer: Hugo Beauzée-Luyssen

video_filter/deinterlace: algo_x: remove median (unused)

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a9a7a11b2c854a615b0b88a189f02ab5a44c8c2a
---

 modules/video_filter/deinterlace/algo_x.c | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/modules/video_filter/deinterlace/algo_x.c b/modules/video_filter/deinterlace/algo_x.c
index a4286104..fe08d61 100644
--- a/modules/video_filter/deinterlace/algo_x.c
+++ b/modules/video_filter/deinterlace/algo_x.c
@@ -448,23 +448,6 @@ static inline void XDeintNxN( uint8_t *dst, int i_dst, uint8_t *src, int i_src,
         XDeintNxNFrame( dst, i_dst, src, i_src, i_width, i_height );
 }
 
-static inline int median( int a, int b, int c )
-{
-    int min = a, max =a;
-    if( b < min )
-        min = b;
-    else
-        max = b;
-
-    if( c < min )
-        min = c;
-    else if( c > max )
-        max = c;
-
-    return a + b + c - min - max;
-}
-
-
 /* XDeintBand8x8:
  */
 static inline void XDeintBand8x8C( uint8_t *dst, int i_dst,



More information about the vlc-commits mailing list