On Wed, Nov 14, 2012 at 3:29 AM, Øyvind Kolås <pip...@gimp.org> 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@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

Reply via email to