diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-06-24 14:11:38 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-06-24 14:11:38 +0000 |
commit | 19a1049830d57cd8507e0395efa369cf52a73c94 (patch) | |
tree | 01c88d947a23e01827429945cbf08293ce353636 /libvo | |
parent | e64f93b9a3a24a96ae58c57fc8de86278cd9c714 (diff) | |
download | mpv-19a1049830d57cd8507e0395efa369cf52a73c94.tar.bz2 mpv-19a1049830d57cd8507e0395efa369cf52a73c94.tar.xz |
Remove unused function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23654 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/font_load_ft.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libvo/font_load_ft.c b/libvo/font_load_ft.c index b545eda853..97d6cc6a69 100644 --- a/libvo/font_load_ft.c +++ b/libvo/font_load_ft.c @@ -454,22 +454,6 @@ void blur( } } -// 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; |