[MPlayer-cvslog] r27441 - trunk/libass/ass_bitmap.c
eugeni
subversion at mplayerhq.hu
Fri Aug 8 00:20:59 CEST 2008
Author: eugeni
Date: Fri Aug 8 00:20:58 2008
New Revision: 27441
Log:
If (has outline) blur(outline) else blur(glyph).
If there is an outline, the glyph itself should not be blurred. Keeps
the border between glyph and outline clear (unblurred), which is
probably how it should be.
Patch by Diogo Franco (diogomfranco gmail com).
Modified:
trunk/libass/ass_bitmap.c
Modified: trunk/libass/ass_bitmap.c
==============================================================================
--- trunk/libass/ass_bitmap.c (original)
+++ trunk/libass/ass_bitmap.c Fri Aug 8 00:20:58 2008
@@ -274,9 +274,10 @@ int glyph_to_bitmap(ass_synth_priv_t* pr
resize_tmp(priv, (*bm_g)->w, (*bm_g)->h);
if (be) {
- blur((*bm_g)->buffer, priv->tmp, (*bm_g)->w, (*bm_g)->h, (*bm_g)->w, (int*)priv->gt2, priv->g_r, priv->g_w);
if (*bm_o)
blur((*bm_o)->buffer, priv->tmp, (*bm_o)->w, (*bm_o)->h, (*bm_o)->w, (int*)priv->gt2, priv->g_r, priv->g_w);
+ else
+ blur((*bm_g)->buffer, priv->tmp, (*bm_g)->w, (*bm_g)->h, (*bm_g)->w, (int*)priv->gt2, priv->g_r, priv->g_w);
}
if (*bm_o)
More information about the MPlayer-cvslog
mailing list