[mythtv] mythtv-vid branch needs testing

Mark Kendall mark.kendall at gmail.com
Thu Aug 16 15:36:50 UTC 2007

On 8/16/07, Daniel Burr <dburr at veritel.com.au> wrote:
> On Thu, 2007-08-09 at 18:48 +0100, Mark Kendall wrote:
> > The default scaling (when needed) is bilinear filtering.
> >
> > At some point in the next few months, I'll finish the code I started
> > for bicubic filtering which will be the first step towards true
> > 'upscaling'. This is likely to require sifnificant gpu horsepower
> > though.
> MPlayer is capable of doing GPU accelerated bicubic filtering with the
> -vo gl:yuv=2:lscale=1 flags.  libvo/gl_common.c from the MPlayer appears
> to contain implementations for programmable ATI and NV cards.  Does
> anyone think it would be useful to integrate these into MythTV?

This is essentially what I've started.

If you look closely at the mplayer code however (and the nvidia paper
the code was based on), you'll see that it only works (properly) when
using normal, 'power of two' textures. It will not work with
rectangular textures, which are the preferred choice from a quality
perspective and the default when available.



More information about the mythtv-dev mailing list