Blender V5.3
IMB_filter.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9
10#pragma once
11
12#include <cstdint>
13
14#include "DNA_image_enums.h"
15
16namespace blender {
17
18struct ImBuf;
19
20void IMB_premultiply_rect(uint8_t *rect, ImColorMode color_mode, int w, int h);
21void IMB_premultiply_rect_float(float *rect_float, int channels, int w, int h);
22
23void IMB_unpremultiply_rect(uint8_t *rect, ImColorMode color_mode, int w, int h);
24void IMB_unpremultiply_rect_float(float *rect_float, int channels, int w, int h);
25
26} // namespace blender
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
Definition btQuadWord.h:119
BMesh Iterators.
void IMB_premultiply_rect_float(float *rect_float, int channels, int w, int h)
Definition filter.cc:364
void IMB_premultiply_rect(uint8_t *rect, ImColorMode color_mode, int w, int h)
Definition filter.cc:336
unsigned char uint8_t
Definition BKE_text.h:79
void IMB_unpremultiply_rect_float(float *rect_float, int channels, int w, int h)
Definition filter.cc:426
void IMB_unpremultiply_rect(uint8_t *rect, ImColorMode color_mode, int w, int h)
Definition filter.cc:397