Blender V4.5
IMB_filter.hh File Reference

Function declarations for filter.cc. More...

#include <cstdint>

Go to the source code of this file.

Functions

void IMB_premultiply_rect (uint8_t *rect, char planes, int w, int h)
void IMB_premultiply_rect_float (float *rect_float, int channels, int w, int h)
void IMB_unpremultiply_rect (uint8_t *rect, char planes, int w, int h)
void IMB_unpremultiply_rect_float (float *rect_float, int channels, int w, int h)
void imb_onehalf_no_alloc (ImBuf *ibuf2, ImBuf *ibuf1)

Detailed Description

Function declarations for filter.cc.

Definition in file IMB_filter.hh.

Function Documentation

◆ imb_onehalf_no_alloc()

void imb_onehalf_no_alloc ( ImBuf * ibuf2,
ImBuf * ibuf1 )

◆ IMB_premultiply_rect()

void IMB_premultiply_rect ( uint8_t * rect,
char planes,
int w,
int h )

Definition at line 531 of file filter.cc.

References w(), x, and y.

Referenced by IMB_premultiply_alpha().

◆ IMB_premultiply_rect_float()

void IMB_premultiply_rect_float ( float * rect_float,
int channels,
int w,
int h )

Definition at line 559 of file filter.cc.

References w(), x, and y.

Referenced by do_processor_transform_thread(), IMB_float_from_byte_ex(), and IMB_premultiply_alpha().

◆ IMB_unpremultiply_rect()

void IMB_unpremultiply_rect ( uint8_t * rect,
char planes,
int w,
int h )

Definition at line 592 of file filter.cc.

References unit_float_to_uchar_clamp(), w(), x, and y.

Referenced by IMB_unpremultiply_alpha().

◆ IMB_unpremultiply_rect_float()

void IMB_unpremultiply_rect_float ( float * rect_float,
int channels,
int w,
int h )

Definition at line 621 of file filter.cc.

References w(), x, and y.

Referenced by IMB_byte_from_float(), and IMB_unpremultiply_alpha().