Blender V5.3
conversion.cc File Reference
#include "BLI_array.hh"
#include "BLI_rect.hh"
#include "BLI_task.hh"
#include "IMB_filter.hh"
#include "IMB_imbuf.hh"
#include "IMB_imbuf_types.hh"
#include "IMB_colormanagement.hh"
#include "MEM_guardedalloc.h"
#include "OCIO_colorspace.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Generic Buffer Conversion
MINLINE uchar blender::ftochar (float value)
MINLINE void blender::float_to_byte_dither_v4 (uchar b[4], const float f[4], float dither, int x, int y)
bool blender::IMB_alpha_affects_rgb (const ImBuf *ibuf)
void blender::IMB_buffer_byte_from_float (unsigned char *dest, const float *src, int src_channels, float dither, bool predivide, int width, int height, int stride, int start_y=0)
void blender::IMB_buffer_byte_from_float_mask (unsigned char *dest, const float *src, int src_channels, float dither, int width, int height, const char *mask)
void blender::IMB_buffer_float_from_byte (float *dest, const unsigned char *src, int width, int height, int dest_stride, int src_stride)
void blender::IMB_buffer_float_rgba_from_float (float *dest, const float *src, int src_channels, int width, int height)
void blender::IMB_buffer_float_rgba_from_float_mask (float *dest, const float *src, int src_channels, int width, int height, const char *mask)
void blender::IMB_buffer_float_rgba_srgb_to_linear (float *buffer, int width, int height)
ImBuf Conversion
void blender::IMB_byte_from_float (ImBuf *ibuf)
void blender::IMB_float_from_byte_ex (ImBuf *dst, const ImBuf *src, const rcti *region_to_update)
void blender::IMB_float_from_byte (ImBuf *ibuf)
Color to Gray-Scale
void blender::IMB_color_to_bw (ImBuf *ibuf)
Alter Saturation
void blender::IMB_saturation (ImBuf *ibuf, float sat)