Re: Overlay Mode - fix.

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

 



On Wed, Nov 14, 2012 at 3:29 AM, Øyvind Kolås <pippin@xxxxxxxx> wrote:
> babl_process (babl_format ("R'G'B'A u8"), babl_format ("RGBA float"),
> source_buffer, destination_buffer, n_pixels);

I should have looked up the header or some actual code first, the
first argument of babl_process is a babl-fish for the conversion that
can be cached, more correct code could be:

const Babl *fish = babl_fish (babl_format ("R'G'B'A u8"), babl_format
("RGBA float"));
..
babl_process (fish, source_buffer, destination_buffer, pixel_count);
-- 
@hodefoting
_______________________________________________
gimp-developer-list mailing list
gimp-developer-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gimp-developer-list



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux