[FFmpeg-devel] [PATCH] imlib2's rgb.txt
Michael Niedermayer
michaelni
Mon Jun 18 23:07:05 CEST 2007
Hi
On Mon, Jun 18, 2007 at 02:13:12PM -0300, Ramiro Ribeiro Polla wrote:
> Michael Niedermayer wrote:
> >Hi
> >
> >On Sat, Jun 16, 2007 at 09:40:46PM -0300, Ramiro Ribeiro Polla wrote:
> >[...]
> >
> >>>>>This is interesting. Used with output_example's video, you get quite a
> >>>>>psychedelic output =).
> >>>>>Patch attached (and then another commit to reindent).
> >>>>>
> >>>>>
> >>>>While you're on it, what about adding the alpha channel too (R,G,B,A)?
> >>>>-A max(255,N) would produce a nice fade in text.
> >>>>
> >>>>
> >>>Oops, I really mean -A min(255,N)
> >>>
> >>>
> >>Patch attached =)
> >>
> >[...]
> >
> >>@@ -333,9 +338,18 @@
> >> }
> >> }
> >>
> >>- if (!ci->eval_colors)
> >>- imlib_context_set_color(ci->r, ci->g, ci->b, 255);
> >>+ if (ci->expr_A) {
> >>+ if (!(ci->eval_a = ff_parse(ci->expr_A, const_names, NULL, NULL,
> >>NULL, NULL, NULL))){
> >>+ av_log(NULL, AV_LOG_ERROR, "Couldn't parse A expression '%s'\n",
> >>ci->expr_A);
> >>+ return -1;
> >>+ }
> >>
> >
> >indention
> >
> >
> >
>
> Fixed, and also fixed the freeing of expr_ and eval_ following Limin
> Wang's patch.
looks ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070618/10336027/attachment.pgp>
More information about the ffmpeg-devel
mailing list