babl: performance improvement in model-gray
authorThomas Manni <thomas.manni@free.fr>
Mon, 24 Jun 2019 10:12:38 +0000 (12:12 +0200)
committerØyvind Kolås <pippin@gimp.org>
Mon, 24 Jun 2019 10:37:37 +0000 (12:37 +0200)
commit788564e25e0629858216363b642e918a6f61c136
tree8d8f774d6b26230aa19f2674d58a17f5b65ef71f
parenta4e8d2119f1233eb66e4cc4d60285d97112767e4
babl: performance improvement in model-gray

Use multiplication by the inverse instead of division in
premultiplied to non-premultiplied alpha conversion functions.
babl/base/model-gray.c