diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-09 09:03:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-09 09:03:28 +0300 |
commit | af4c389f9955c5975058733858017da68792f509 (patch) | |
tree | 2b2f4751ad632ca7aeb292ae7065a1f1ea9475d4 /source/blender/imbuf/intern/cineon | |
parent | e118426e4695a97d67e65d69677f3c4e2db50a56 (diff) |
Cleanup: imbuf callback naming
Use `is_a` & `is_a_filepath` in callback names.
Diffstat (limited to 'source/blender/imbuf/intern/cineon')
-rw-r--r-- | source/blender/imbuf/intern/cineon/cineon_dpx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/imbuf/intern/cineon/cineon_dpx.c b/source/blender/imbuf/intern/cineon/cineon_dpx.c index eeccadf56c1..98082a97e0f 100644 --- a/source/blender/imbuf/intern/cineon/cineon_dpx.c +++ b/source/blender/imbuf/intern/cineon/cineon_dpx.c @@ -188,7 +188,7 @@ int imb_save_cineon(struct ImBuf *buf, const char *filepath, int flags) return imb_save_dpx_cineon(buf, filepath, 1, flags); } -int imb_is_cineon(const unsigned char *buf) +int imb_is_a_cineon(const unsigned char *buf) { return logImageIsCineon(buf); } @@ -198,7 +198,7 @@ ImBuf *imb_load_cineon(const unsigned char *mem, int flags, char colorspace[IM_MAX_SPACE]) { - if (imb_is_cineon(mem)) { + if (imb_is_a_cineon(mem)) { return imb_load_dpx_cineon(mem, size, 1, flags, colorspace); } return NULL; @@ -209,7 +209,7 @@ int imb_save_dpx(struct ImBuf *buf, const char *filepath, int flags) return imb_save_dpx_cineon(buf, filepath, 0, flags); } -int imb_is_dpx(const unsigned char *buf) +int imb_is_a_dpx(const unsigned char *buf) { return logImageIsDpx(buf); } @@ -219,7 +219,7 @@ ImBuf *imb_load_dpx(const unsigned char *mem, int flags, char colorspace[IM_MAX_SPACE]) { - if (imb_is_dpx(mem)) { + if (imb_is_a_dpx(mem)) { return imb_load_dpx_cineon(mem, size, 0, flags, colorspace); } return NULL; |