Blender V4.3
IMB_filter.hh File Reference

Function declarations for filter.cc. More...

#include "BLI_sys_types.h"

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 533 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 561 of file filter.cc.

References w(), x, and y.

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

◆ IMB_unpremultiply_rect()

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

Definition at line 594 of file filter.cc.

References float, 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 623 of file filter.cc.

References w(), x, and y.

Referenced by IMB_rect_from_float(), and IMB_unpremultiply_alpha().