Changeset View
Changeset View
Standalone View
Standalone View
source/blender/imbuf/IMB_imbuf.h
| Show First 20 Lines • Show All 405 Lines • ▼ Show 20 Lines | |||||
| */ | */ | ||||
| #define FILTER_MASK_NULL 0 | #define FILTER_MASK_NULL 0 | ||||
| #define FILTER_MASK_MARGIN 1 | #define FILTER_MASK_MARGIN 1 | ||||
| #define FILTER_MASK_USED 2 | #define FILTER_MASK_USED 2 | ||||
| void IMB_filter(struct ImBuf *ibuf); | void IMB_filter(struct ImBuf *ibuf); | ||||
| void IMB_mask_filter_extend(char *mask, int width, int height); | void IMB_mask_filter_extend(char *mask, int width, int height); | ||||
| void IMB_mask_clear(struct ImBuf *ibuf, char *mask, int val); | void IMB_mask_clear(struct ImBuf *ibuf, const char *mask, int val); | ||||
| void IMB_filter_extend(struct ImBuf *ibuf, char *mask, int filter); | void IMB_filter_extend(struct ImBuf *ibuf, char *mask, int filter); | ||||
| void IMB_makemipmap(struct ImBuf *ibuf, int use_filter); | void IMB_makemipmap(struct ImBuf *ibuf, int use_filter); | ||||
| void IMB_remakemipmap(struct ImBuf *ibuf, int use_filter); | void IMB_remakemipmap(struct ImBuf *ibuf, int use_filter); | ||||
| struct ImBuf *IMB_getmipmap(struct ImBuf *ibuf, int level); | struct ImBuf *IMB_getmipmap(struct ImBuf *ibuf, int level); | ||||
| /** | /** | ||||
| * | * | ||||
| * \attention Defined in cache.c | * \attention Defined in cache.c | ||||
| ▲ Show 20 Lines • Show All 171 Lines • ▼ Show 20 Lines | |||||
| void nearest_interpolation_color_wrap( | void nearest_interpolation_color_wrap( | ||||
| struct ImBuf *in, unsigned char col[4], float col_float[4], float u, float v); | struct ImBuf *in, unsigned char col[4], float col_float[4], float u, float v); | ||||
| void bilinear_interpolation_color( | void bilinear_interpolation_color( | ||||
| struct ImBuf *in, unsigned char col[4], float col_float[4], float u, float v); | struct ImBuf *in, unsigned char col[4], float col_float[4], float u, float v); | ||||
| void bilinear_interpolation_color_wrap( | void bilinear_interpolation_color_wrap( | ||||
| struct ImBuf *in, unsigned char col[4], float col_float[4], float u, float v); | struct ImBuf *in, unsigned char col[4], float col_float[4], float u, float v); | ||||
| void IMB_alpha_under_color_float(float *rect_float, int x, int y, float backcol[3]); | void IMB_alpha_under_color_float(float *rect_float, int x, int y, float backcol[3]); | ||||
| void IMB_alpha_under_color_byte(unsigned char *rect, int x, int y, float backcol[3]); | void IMB_alpha_under_color_byte(unsigned char *rect, int x, int y, const float backcol[3]); | ||||
| void IMB_sampleImageAtLocation( | void IMB_sampleImageAtLocation( | ||||
| struct ImBuf *ibuf, float x, float y, bool make_linear_rgb, float color[4]); | struct ImBuf *ibuf, float x, float y, bool make_linear_rgb, float color[4]); | ||||
| /** | /** | ||||
| * | * | ||||
| * \attention defined in readimage.c | * \attention defined in readimage.c | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 159 Lines • Show Last 20 Lines | |||||