Blender  V2.59
Functions
divers.c File Reference
#include "BLI_blenlib.h"
#include "BLI_rand.h"
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "imbuf.h"
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
#include "IMB_allocimbuf.h"
#include "BKE_colortools.h"
#include "MEM_guardedalloc.h"

Go to the source code of this file.

Functions

void IMB_de_interlace (struct ImBuf *ibuf)
void IMB_interlace (struct ImBuf *ibuf)
void IMB_rect_from_float (struct ImBuf *ibuf)
void IMB_partial_rect_from_float (struct ImBuf *ibuf, float *buffer, int x, int y, int w, int h)
static void imb_float_from_rect_nonlinear (struct ImBuf *ibuf, float *fbuf)
static void imb_float_from_rect_linear (struct ImBuf *ibuf, float *fbuf)
void IMB_float_from_rect (struct ImBuf *ibuf)
void IMB_float_from_rect_simple (struct ImBuf *ibuf)
void IMB_convert_profile (struct ImBuf *ibuf, int profile)
float * IMB_float_profile_ensure (struct ImBuf *ibuf, int profile, int *alloc)
void IMB_color_to_bw (struct ImBuf *ibuf)

Detailed Description

Definition in file divers.c.


Function Documentation

void IMB_color_to_bw ( struct ImBuf ibuf)
void IMB_convert_profile ( struct ImBuf ibuf,
int  profile 
)
void IMB_de_interlace ( struct ImBuf ibuf)
Attention:
Defined in divers.c

Definition at line 51 of file divers.c.

References ImBuf::flags, IB_fields, IB_rect, IMB_allocImBuf(), IMB_freeImBuf(), IMB_rectcpy(), NULL, ImBuf::rect, ImBuf::x, and ImBuf::y.

Referenced by de_interlace(), and IMB_loadiffname().

void IMB_float_from_rect ( struct ImBuf ibuf)
static void imb_float_from_rect_linear ( struct ImBuf ibuf,
float *  fbuf 
) [static]

Definition at line 347 of file divers.c.

References i, ImBuf::rect, srgb_to_linearrgb(), ImBuf::x, and ImBuf::y.

Referenced by IMB_float_from_rect(), and IMB_float_profile_ensure().

static void imb_float_from_rect_nonlinear ( struct ImBuf ibuf,
float *  fbuf 
) [static]

Definition at line 329 of file divers.c.

References i, ImBuf::rect, ImBuf::x, and ImBuf::y.

Referenced by IMB_float_from_rect(), IMB_float_from_rect_simple(), and IMB_float_profile_ensure().

void IMB_float_from_rect_simple ( struct ImBuf ibuf)
float* IMB_float_profile_ensure ( struct ImBuf ibuf,
int  profile,
int *  alloc 
)
void IMB_interlace ( struct ImBuf ibuf)
void IMB_partial_rect_from_float ( struct ImBuf ibuf,
float *  buffer,
int  x,
int  y,
int  w,
int  h 
)
void IMB_rect_from_float ( struct ImBuf ibuf)