Blender  V2.93
IMB_filter.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  *
16  * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
17  * All rights reserved.
18  */
19 
25 #pragma once
26 
27 struct ImBuf;
28 
29 void imb_filterx(struct ImBuf *ibuf);
30 
31 void IMB_premultiply_rect(unsigned int *rect, char planes, int w, int h);
32 void IMB_premultiply_rect_float(float *rect_float, int channels, int w, int h);
33 
34 void IMB_unpremultiply_rect(unsigned int *rect, char planes, int w, int h);
35 void IMB_unpremultiply_rect_float(float *rect_float, int channels, int w, int h);
36 
37 void imb_onehalf_no_alloc(struct ImBuf *ibuf2, struct ImBuf *ibuf1);
void IMB_unpremultiply_rect_float(float *rect_float, int channels, int w, int h)
Definition: filter.c:731
void IMB_premultiply_rect_float(float *rect_float, int channels, int w, int h)
Definition: filter.c:669
void imb_onehalf_no_alloc(struct ImBuf *ibuf2, struct ImBuf *ibuf1)
Definition: scaling.c:376
void IMB_premultiply_rect(unsigned int *rect, char planes, int w, int h)
Definition: filter.c:641
void imb_filterx(struct ImBuf *ibuf)
Definition: filter.c:160
void IMB_unpremultiply_rect(unsigned int *rect, char planes, int w, int h)
Definition: filter.c:702
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
Definition: btQuadWord.h:119
int channels
unsigned char planes
unsigned int * rect
float * rect_float