[MPlayer-dev-eng] [PATCH] Make vo_gl / fragment programs work with Mesa

Matthias Hopf mat at mshopf.de
Thu Mar 1 11:26:45 CET 2007


On Feb 28, 07 21:27:24 +0100, Reimar Döffinger wrote:
> I think that any such solution will mean much more instructions and
> probably give speed problems for fullscreen videos.
> How about attached patch instead? It adds an interpolator that is
> cubic only in X-direction. Doesn't look too bad IMO.
> It could be further simplified if texture swizzles were supported *g*

I don't think having X only cubic interpolation will help much -
artifacts seen in bilinear interpolation are typically seen, because
horizontal/vertical interpolation is linear, while diagonal
interpolation is quadratic. If you interpolate cubic in X, this will not
change this basic property here. So I don't think it is worth the
hazzle.

I'll eventually try to update the code, and tell you how it performs on
i915 - which is about the least capable hardware ;)

Matthias

-- 
Matthias Hopf <mhopf at suse.de>      __        __   __
Maxfeldstr. 5 / 90409 Nuernberg   (_   | |  (_   |__          mat at mshopf.de
Phone +49-911-74053-715           __)  |_|  __)  |__  R & D   www.mshopf.de



More information about the MPlayer-dev-eng mailing list