changeset 23634:8cd44c7487fc

Remove unused function.
author reimar
date Sun, 24 Jun 2007 14:11:38 +0000
parents 7c5417ab16d4
children 1318a24d46cf
files libvo/font_load_ft.c
diffstat 1 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/font_load_ft.c	Sun Jun 24 14:09:53 2007 +0000
+++ b/libvo/font_load_ft.c	Sun Jun 24 14:11:38 2007 +0000
@@ -454,22 +454,6 @@
     }
 }
 
-// Gaussian matrix
-static unsigned gmatrix(unsigned char *m, int r, int w, double const A) {
-    unsigned volume = 0;		// volume under Gaussian area is exactly -pi*base/A
-    int mx, my;
-
-    for (my = 0; my<w; ++my) {
-	for (mx = 0; mx<w; ++mx) {
-	    m[mx+my*w] = (exp(A * ((mx-r)*(mx-r)+(my-r)*(my-r))) * base + .5);
-	    volume+= m[mx+my*w];
-	}
-    }
-    mp_msg(MSGT_OSD, MSGL_DBG2, "A= %f\n", A);
-    mp_msg(MSGT_OSD, MSGL_DBG2, "volume: %i; exact: %.0f; volume/exact: %.6f\n\n", volume, -M_PI*base/A, volume/(-M_PI*base/A));
-    return volume;
-}
-
 static void resample_alpha(unsigned char *abuf, unsigned char *bbuf, int width, int height, int stride, float factor)
 {
         int f=factor*256.0f;