summaryrefslogtreecommitdiff
path: root/babl/base
diff options
context:
space:
mode:
authorØyvind Kolås <pippin@gimp.org>2019-07-22 17:10:08 +0200
committerØyvind Kolås <pippin@gimp.org>2019-07-22 17:10:10 +0200
commit615096b610b74bb24cab855866e3add42c48bac0 (patch)
tree884d2ae2fe8d250f473cbb1b58f444bdd905276d /babl/base
parentf1fdb86de56fb9b3066bf67b08f664a310181955 (diff)
docs: improve generated reference
When registering types, models, formats and components one can now specify override "doc" strings that end up in this reference.
Diffstat (limited to 'babl/base')
-rw-r--r--babl/base/model-ycbcr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/babl/base/model-ycbcr.c b/babl/base/model-ycbcr.c
index 21353e6..64db6a2 100644
--- a/babl/base/model-ycbcr.c
+++ b/babl/base/model-ycbcr.c
@@ -63,6 +63,7 @@ models (void)
{
babl_model_new (
"id", BABL_YCBCR,
+ "doc", "Y'CbCr video format model, NB! math is tuned to sRGB space",
babl_component_from_id (BABL_GRAY_NONLINEAR),
babl_component_from_id (BABL_CB),
babl_component_from_id (BABL_CR),
@@ -70,6 +71,7 @@ models (void)
babl_model_new (
"id", BABL_YCBCR_ALPHA,
+ "doc", "Y'CbCr video format model, separate alpha NB! math is tuned to sRGB space",
babl_component_from_id (BABL_GRAY_NONLINEAR),
babl_component_from_id (BABL_CB),
babl_component_from_id (BABL_CR),