diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-09-09 13:48:26 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-09-09 13:48:26 +0400 |
commit | cf8cddf07a34fe34ccb1223215c38de9effe6688 (patch) | |
tree | c5dea10e70e3043aa093ab7f97dffbe514b7cc09 /source/blender/imbuf/IMB_colormanagement.h | |
parent | 0392acc607d26f3fb2681c7d8b0e5ad3a2d50d9a (diff) |
Film response curves implemented as a looks
This commit implement's OCIO's Looks idea which
is about applying some color correction on the
buffer before it get's affected by a display
transform.
This is mainly used to modify images in an
artistics way.
Currently we've got looks generated from film
response curves for all sorts of cameras.
Patch by both of me and Brecht.
Diffstat (limited to 'source/blender/imbuf/IMB_colormanagement.h')
-rw-r--r-- | source/blender/imbuf/IMB_colormanagement.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/imbuf/IMB_colormanagement.h b/source/blender/imbuf/IMB_colormanagement.h index 1f1fdedfa40..3c936458a37 100644 --- a/source/blender/imbuf/IMB_colormanagement.h +++ b/source/blender/imbuf/IMB_colormanagement.h @@ -130,6 +130,10 @@ const char *IMB_colormanagement_display_get_none_name(void); int IMB_colormanagement_view_get_named_index(const char *name); const char *IMB_colormanagement_view_get_indexed_name(int index); +/* ** Look funcrions ** */ +int IMB_colormanagement_look_get_named_index(const char *name); +const char *IMB_colormanagement_look_get_indexed_name(int index); + /* ** Color space functions ** */ int IMB_colormanagement_colorspace_get_named_index(const char *name); const char *IMB_colormanagement_colorspace_get_indexed_name(int index); @@ -140,6 +144,7 @@ void IMB_colormanagment_colorspace_from_ibuf_ftype(struct ColorManagedColorspace /* ** RNA helper functions ** */ void IMB_colormanagement_display_items_add(struct EnumPropertyItem **items, int *totitem); void IMB_colormanagement_view_items_add(struct EnumPropertyItem **items, int *totitem, const char *display_name); +void IMB_colormanagement_look_items_add(struct EnumPropertyItem **items, int *totitem); void IMB_colormanagement_colorspace_items_add(struct EnumPropertyItem **items, int *totitem); /* ** Tile-based buffer management ** */ |