From 9f546d690899e05b25a6ef764cc8cf2f5db918b0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 9 Dec 2021 20:01:45 +1100 Subject: Cleanup: move public doc-strings into headers for 'imbuf' Ref T92709 --- source/blender/imbuf/intern/imageprocess.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source/blender/imbuf/intern/imageprocess.c') diff --git a/source/blender/imbuf/intern/imageprocess.c b/source/blender/imbuf/intern/imageprocess.c index 75d36e10498..450067f6c6c 100644 --- a/source/blender/imbuf/intern/imageprocess.c +++ b/source/blender/imbuf/intern/imageprocess.c @@ -40,7 +40,6 @@ #include "IMB_imbuf_types.h" #include -/* Only this one is used liberally here, and in imbuf */ void IMB_convert_rgba_to_abgr(struct ImBuf *ibuf) { size_t size; @@ -157,10 +156,6 @@ void bilinear_interpolation_color( /* function assumes out to be zero'ed, only does RGBA */ /* BILINEAR INTERPOLATION */ -/* Note about wrapping, the u/v still needs to be within the image bounds, - * just the interpolation is wrapped. - * This the same as bilinear_interpolation_color except it wraps - * rather than using empty and emptyI. */ void bilinear_interpolation_color_wrap( const struct ImBuf *in, unsigned char outI[4], float outF[4], float u, float v) { @@ -254,7 +249,6 @@ void bilinear_interpolation(const ImBuf *in, ImBuf *out, float u, float v, int x /** \name Nearest Interpolation * \{ */ -/* functions assumes out to be zero'ed, only does RGBA */ void nearest_interpolation_color_char( const struct ImBuf *in, unsigned char outI[4], float UNUSED(outF[4]), float u, float v) { @@ -502,7 +496,6 @@ void IMB_alpha_under_color_byte(unsigned char *rect, int x, int y, const float b /** \name Sample Pixel * \{ */ -/* Sample pixel of image using NEAREST method. */ void IMB_sampleImageAtLocation(ImBuf *ibuf, float x, float y, bool make_linear_rgb, float color[4]) { if (ibuf->rect_float) { -- cgit v1.2.3