[Ffmpeg-devel] [PATCH] targa rgba32 support

Kostya kostya.shishkov
Fri Nov 3 14:16:39 CET 2006


On Fri, Nov 03, 2006 at 11:03:22AM +0100, Baptiste Coudurier wrote:
> Kostya wrote:
> > On Thu, Nov 02, 2006 at 02:40:44PM +0100, Baptiste Coudurier wrote:
> >> Hi
> >>
> >> This patch activates rgba32 support for targa. Kostya do you want the
> >> sample ?
> > 
> > Yes. But your patch is not correct because it lacks RLE support and
> > does it work as supposed on big-endian? You may need to use PIX_FMT_RGBA
> > here instead.
> > 
> 
> Ok. It's working here on intel. PAL_VBI_COLOR_00000.tga on
> samples.mplayerhq.hu.

You definitely mean upload.mplayerhq.hu (at least I found such file there)
 
> RGBA does not work here:
>  Stream #0.0: Video: targa, bgr32, 720x608, 25.00 fps(r)
> 
> Press [q] to stop encoding
> pixel format conversion not handled
> frame=    1 q=1.6 Lsize=       0kB time=0.0 bitrate=   0.0kbits/s
> 
> With RGBA32:
> Stream #0.0: Video: targa, rgba32, 720x608, 25.00 fps(r)

Looks like those formats are reserved for future migration to SWS.

I've committed full support for RGBA32 (possible RLE, proper work on big-endian)
Enjoy.

> -- 
> Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
> SMARTJOG S.A.                                    http://www.smartjog.com
> Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
> Phone: +33 1 49966312
> 




More information about the ffmpeg-devel mailing list