Blender V5.0
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)

Detailed Description

Function declarations for filter.cc.

Definition in file IMB_filter.hh.

Function Documentation

◆ IMB_premultiply_rect()

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

Definition at line 335 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 363 of file filter.cc.

References w(), x, and y.

Referenced by do_processor_transform_thread(), and IMB_premultiply_alpha().

◆ IMB_unpremultiply_rect()

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

Definition at line 396 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 425 of file filter.cc.

References w(), x, and y.

Referenced by IMB_byte_from_float(), and IMB_unpremultiply_alpha().