gegl: add awareness of Y~aA babl models

Not neccesary to fix the crash in issue #151, but adds these now fully expected
in babl encodings to what GEGL also expects.
parent b4d2132b
Pipeline #80866 failed with stages
in 21 minutes and 46 seconds
......@@ -61,6 +61,7 @@ gegl_babl_format_linear_float (const Babl *format)
else if (babl_model_is (model, "YA") ||
babl_model_is (model, "Y'A") ||
babl_model_is (model, "Y~A") ||
babl_model_is (model, "Y~aA") ||
babl_model_is (model, "YaA") ||
babl_model_is (model, "Y'aA"))
{
......@@ -119,6 +120,7 @@ gegl_babl_format_perceptual_float (const Babl *format)
else if (babl_model_is (model, "YA") ||
babl_model_is (model, "Y'A") ||
babl_model_is (model, "Y~A") ||
babl_model_is (model, "Y~aA") ||
babl_model_is (model, "YaA") ||
babl_model_is (model, "Y'aA"))
{
......@@ -177,6 +179,7 @@ gegl_babl_format_nonlinear_float (const Babl *format)
else if (babl_model_is (model, "YA") ||
babl_model_is (model, "Y'A") ||
babl_model_is (model, "Y~A") ||
babl_model_is (model, "Y~aA") ||
babl_model_is (model, "YaA") ||
babl_model_is (model, "Y'aA"))
{
......@@ -232,6 +235,7 @@ gegl_babl_format_premultiplied_linear_float (const Babl *format)
babl_model_is (model, "YA") ||
babl_model_is (model, "Y'A") ||
babl_model_is (model, "Y~A") ||
babl_model_is (model, "Y~aA") ||
babl_model_is (model, "YaA") ||
babl_model_is (model, "Y'aA"))
{
......@@ -285,6 +289,7 @@ gegl_babl_format_premultiplied_perceptual_float (const Babl *format)
babl_model_is (model, "YA") ||
babl_model_is (model, "Y'A") ||
babl_model_is (model, "Y~A") ||
babl_model_is (model, "Y~aA") ||
babl_model_is (model, "YaA") ||
babl_model_is (model, "Y'aA"))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment