[FFmpeg-devel] [PATCH] internal error argb -> rgba converter

Ramiro Polla ramiro.polla
Mon Dec 7 04:48:12 CET 2009

On Mon, Nov 30, 2009 at 8:55 PM, Ramiro Polla <ramiro.polla at gmail.com> wrote:
> On Mon, Nov 30, 2009 at 8:13 PM, Stefano Sabatini
> <stefano.sabatini-lala at poste.it> wrote:
>> Hi,
>> stefano at geppetto ~/s/l/ffmpeg> ffplay -loglevel info in.avi -vfilters "format=argb, format=rgba"
>> [...]
>> [format @ 0x94bc1a0]auto-inserting filter 'scale'
>> [format @ 0x94ca650]auto-inserting filter 'scale'
>> [ffplay_output @ 0x94bbb10]auto-inserting filter 'scale'
>> [swscaler @ 0x94cb610]No accelerated colorspace conversion found.
>> [scale @ 0x94cae70]w:464 h:352 fmt:argb
>> [scale @ 0x94cb0d0]w:464 h:352 fmt:rgba
>> [scale @ 0x94cb5b0]w:464 h:352 fmt:yuv420p
>> [swscaler @ 0x94dacb0]internal error argb -> rgba converter
>> ? 1.41 A-V: ?0.005 aq= ?246KB vq= 1037KB sq= ? ?0B
>> Note that the reverse conversion (rgba -> argb) works fine.
>> Can someone have a look at that?
> I had a patch for that, it's either somewhere in -devel or -soc from a
> few months ago. I can't find it right now, and I'm quite busy for
> another week or so...

Actually there was no patch. It was
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/95858 I was
thinking of.

I don't quite understand the difference between those two should pixel
formats. A plain memcpy like in attached patch (not-for-review) seems
to work except probably for the alpha plane (swscale-example gives an
ssd of 165).

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: argb.diff
Type: text/x-diff
Size: 1033 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091207/728dacb2/attachment.diff>

More information about the ffmpeg-devel mailing list