From c92538dfaa5eb7e9b2773f158cbb310545116abe Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 1 Aug 2012 17:07:35 +0200 Subject: Remove dead code This was done with the help of callcatcher [1]. Only functions which are statically known to be unused are removed. Some unused functions are not removed yet, because they might be needed in the near future (such as open_output_stream for the encode branch). There is one user visible change: the --subcc option did nothing, and is removed with this commit. [1] http://www.skynet.ie/~caolan/Packages/callcatcher.html --- libvo/osd.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'libvo/osd.c') diff --git a/libvo/osd.c b/libvo/osd.c index 4fabc5c9ac..0b5ef8efa2 100644 --- a/libvo/osd.c +++ b/libvo/osd.c @@ -128,20 +128,6 @@ void vo_draw_alpha_yuy2(int w,int h, unsigned char* src, unsigned char *srca, in #endif } -void vo_draw_alpha_uyvy(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride){ -#if ARCH_X86 - // ordered by speed / fastest first - if(gCpuCaps.hasMMX2) - vo_draw_alpha_uyvy_MMX2(w, h, src, srca, srcstride, dstbase, dststride); - else if(gCpuCaps.hasMMX) - vo_draw_alpha_uyvy_MMX(w, h, src, srca, srcstride, dstbase, dststride); - else - vo_draw_alpha_uyvy_X86(w, h, src, srca, srcstride, dstbase, dststride); -#else - vo_draw_alpha_uyvy_C(w, h, src, srca, srcstride, dstbase, dststride); -#endif -} - void vo_draw_alpha_rgb24(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride){ #if ARCH_X86 // ordered by speed / fastest first -- cgit v1.2.3