Commit 6a893450 authored by Vincent Penquerc'h's avatar Vincent Penquerc'h Committed by Rémi Denis-Courmont

Remove the conversion from premultiplied alpha, ...

...as I found a case where it makes the output almost unreadable, and
cannot find another test case where it makes it better, which I'm
pretty sure I had when I did this.
Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent 16f75b88
......@@ -824,6 +824,7 @@ static void SubpictureReleaseRegions( subpicture_t *p_subpic )
}
}
#if 0
/*
* We get premultiplied alpha, but VLC doesn't expect this, so we demultiply
* alpha to avoid double multiply (and thus thinner text than we should)).
......@@ -874,6 +875,7 @@ static void PostprocessTigerImage( plane_t *p_plane, unsigned int i_width )
}
PROFILE_STOP( tiger_renderer_postprocess );
}
#endif
/* Tiger renders can end up looking a bit crap since they get overlaid on top of
a subsampled YUV image, so there can be a fair amount of chroma bleeding.
......@@ -975,7 +977,9 @@ static void TigerUpdateRegions( spu_t *p_spu, subpicture_t *p_subpic, const vide
}
PROFILE_STOP( tiger_renderer_render );
#if 0
PostprocessTigerImage( p_plane, fmt.i_width );
#endif
p_subpic->p_region = p_r;
p_sys->b_dirty = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment