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

Ramiro Polla ramiro.polla
Wed May 6 17:26:39 CEST 2009


On Tue, May 5, 2009 at 8:30 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> 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

Applied.

> but you are missing a changelog update

I failed to find one that reflects the importance of such a commit =).
Maybe the documentation gurus can help me out.

Ramiro Polla



More information about the ffmpeg-devel mailing list