[FFmpeg-devel] [RFC] Scalar color conversion utils (colorutils.[hc])?

Michael Niedermayer michaelni
Wed May 6 01:30:03 CEST 2009


On Tue, May 05, 2009 at 07:56:17PM -0300, Ramiro Polla wrote:
> On Tue, May 5, 2009 at 7:10 PM, Stefano Sabatini
> <stefano.sabatini-lala at poste.it> wrote:
> > On date Tuesday 2009-05-05 01:56:30 +0200, Michael Niedermayer encoded:
> >> On Mon, May 04, 2009 at 09:23:21PM +0200, Stefano Sabatini wrote:
> [...]
> >> > Result of test is:
> >> >
> >> > Testing av_parse_color()
> >> > Cannot find color 'foo'
> >> > Cannot find color 'red'
> >> > Cannot find color 'Red '
> >> > Cannot find color 'RED'
> >> > Violet -> R(238) G(130) B(238) A(0)
> >> > Yellow -> R(255) G(255) B(0) A(0)
> >> > Red -> R(255) G(0) B(0) A(0)
> >> > 0x000000 -> R(0) G(0) B(0) A(0)
> >> > 0x3e34ff -> R(62) G(52) B(255) A(0)
> >> > 0x3e34ffaa -> R(62) G(52) B(255) A(170)
> >> > Invalid RGB[A] color string: '0xfoobar'
> >> > Invalid RGB[A] color string: '0xffffeeeeeeee'
> [...]
> > Committed.
> 
> Have fun with attached patch =)
> 
> Ramiro Polla

>  parseutils.c |    9 +++++++++
>  1 file changed, 9 insertions(+)
> 07cdbf8e52b9d7eb4a0b86ff5079fe161de1332a  bikeshed.diff

ok but you are missing a changelog update

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090506/9e7fb6f4/attachment.pgp>



More information about the ffmpeg-devel mailing list