[XviD-devel] PATCH: Per slices rendering

Christoph Lampert xvid-devel@xvid.org
Sun, 7 Jul 2002 20:07:28 +0200 (CEST)


On Sun, 7 Jul 2002, Alban Bedel wrote:

> Hi Christoph Lampert,
> 
> on Sun, 7 Jul 2002 18:48:41 +0200 (CEST) you wrote:
> 
> > On Sun, 7 Jul 2002, Alban Bedel wrote:
> > 
> > > 
> > > Hi all,
> > > 
> > > I'm working on MPlayer and recently found that your decoder was now as fast as
> > > libavcodec (even faster in some case). So I wanted to add somekind of direct
> > > rendering in xvid. I implemented what we call "slices" rendering wich alredy give
> > > a little speedup. Comments are welcome.
> > 
> > Are you sure there is a real difference to XVID_CSP_USER format which was
> > inspired by Mplayer, too? Both seem to simply return the pointers to
> > internal buffer instead of copying mem.
> 
> With XVID_CSP_USER you can access the internal buffer of xvid. Then you need to
> copy it to video memory. In this version xvid only copy the modified MB to a
> buffer provided by the host app (ussally in video memory) thus avoiding a few
> unneded copy. And as the copy append during the decoding the data might be
> copied from the L2 cache wich give more speedup. A few benchmaks :

I see. That looks fine. Does Mplayer has to be modified to support this
version of XviD, too? Or is this in Mplayers CVS already?

Christoph 

-- 
Christoph H. Lampert chl@math.uni-bonn.de | Diese Signature wurde maschi-     
Beringstr. 6, Raum 14 Tel. (0228) 73-2948 | nell erstellt und bedarf
Sprechstunden: keine, aber meistens da    | keiner Unterschrift. AZ 27B-6