[MPlayer-dev-eng] [PATCH] tga loader for libmpcodecs
Arpi
arpi at thot.banki.hu
Wed Sep 11 00:08:10 CEST 2002
Hi,
> > *final++ = chans.r;
> > *final++ = chans.g;
> > *final++ = chans.b;
> > *final++ = chans.a = (info.bpp == 32) ? *data++ : 255;
> >
> > the 4th write to final[] should not be done if mpi->bpp==24
> > for now i've removed BGR24 from codecs.conf.
> >
> > anyway the code could be optimized a lot, by doing memcpy() for the cases
> > when input and output bpp matches.
>
> Is it possible to use the demuxer buffer in an export-type mpi? Seems
> like that would be optimal, for uncompressed tga's.
hmm
at first look i would say no, but as the demuxer buffer is free'd only when
reading the next frame, it may work.
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list