diff options
Diffstat (limited to 'source/blender/imbuf/intern/rectop.c')
-rw-r--r-- | source/blender/imbuf/intern/rectop.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/source/blender/imbuf/intern/rectop.c b/source/blender/imbuf/intern/rectop.c index 7150e41841b..7915f04b74e 100644 --- a/source/blender/imbuf/intern/rectop.c +++ b/source/blender/imbuf/intern/rectop.c @@ -213,7 +213,9 @@ void IMB_blend_color_float(float dst[4], } } -/** Crop */ +/* -------------------------------------------------------------------- */ +/** \name Crop + * \{ */ static void rect_crop_4bytes(void **buf_p, const int size_src[2], const rcti *crop) { @@ -279,8 +281,9 @@ void IMB_rect_crop(ImBuf *ibuf, const rcti *crop) ibuf->y = size_dst[1]; } -/** Re-alloc buffers at a new size */ - +/** + * Re-alloc buffers at a new size. + */ static void rect_realloc_4bytes(void **buf_p, const uint size[2]) { if (*buf_p == NULL) { @@ -318,6 +321,8 @@ void IMB_rect_size_set(ImBuf *ibuf, const uint size[2]) ibuf->y = size[1]; } +/** \} */ + /* clipping */ void IMB_rectclip(ImBuf *dbuf, |