[MPlayer-dev-eng] New Codec Interface
Michael Niedermayer
michaelni at gmx.at
Wed Feb 27 13:12:41 CET 2002
Hi
On Wednesday 27 February 2002 12:48, Arpi wrote:
[...]
> > I have a question about direct rendering (see A'rpi mail in DECODING
> > AHEAD thread): if a decoder uses method 2 (copy to video mem after each
> > macroblock/stride) it has to take care of color conversion: will
> > mplayer provide a library to do it, at least for most commonly used
> > block sizes (4x4, 8x8, 16x16)? We have rgb2rgb, but it works on a
> > linear buffer, not on blocks.
>
> I hope so. Michael? :)
imho doing a row/slice of blocks is easyer and faster, as the current cpus
dont have enough non temporal write buffers afaik for these blocks and for a
slice the data comes from L2 cache and is written to agp memory, the limiting
factor will be agp mem, a per block variant would read from L1 but it still
writes to agp mem so i wouldnt expect much speedup especially as the accesses
are not sequential anymore
[...]
Michael
More information about the MPlayer-dev-eng
mailing list