Re: Operations that I require

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/10/07, Mark Probst <mark.probst@xxxxxxxxx> wrote:
> Ok, so here's my mono mixer, implemented as a generic filter.

Looks good, the filter plug-in API headers are not installed yet, this because
there will be changes made to it, already there have been changes to
the GEGL tree causing your filter not to compile with SVN trunk.

>   if ((result_rect->width > 0) && (result_rect->height > 0))
>   {
>       gint num_pixels = gegl_buffer_pixels (input);

Replace this with:
          gint num_pixels = result_rect->width * result_rect->height;

or use:
         gint num_pixels;
         g_object_get (input, "pixels", &num_pixels, NULL);

The function gegl_buffer_pixels was removed as gegl-buffer.h is being
prepared to be made more public.

/Øyvind K.

-- 
«The future is already here. It's just not very evenly distributed»
                                                 -- William Gibson
http://pippin.gimp.org/                            http://ffii.org/
_______________________________________________
Gegl-developer mailing list
Gegl-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer


[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux