Blender V2.61 - r43446
Functions

readimage.c File Reference

#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "imbuf.h"
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
#include "IMB_filetype.h"

Go to the source code of this file.

Functions

ImBufIMB_ibImageFromMemory (unsigned char *mem, size_t size, int flags, const char *descr)
ImBufIMB_loadifffile (int file, int flags, const char *descr)
static void imb_cache_filename (char *filename, const char *name, int flags)
ImBufIMB_loadiffname (const char *filepath, int flags)
ImBufIMB_testiffname (const char *filepath, int flags)
static void imb_loadtilefile (ImBuf *ibuf, int file, int tx, int ty, unsigned int *rect)
void imb_loadtile (ImBuf *ibuf, int tx, int ty, unsigned int *rect)

Detailed Description

Definition in file readimage.c.


Function Documentation

static void imb_cache_filename ( char *  filename,
const char *  name,
int  flags 
) [static]
ImBuf* IMB_ibImageFromMemory ( unsigned char *  mem,
size_t  size,
int  flags,
const char *  descr 
) [read]
ImBuf* IMB_loadifffile ( int  file,
int  flags,
const char *  descr 
) [read]
Attention:
defined in readimage.c
Deprecated:

Only here for backwards compatibility of the

plugin system.

Definition at line 82 of file readimage.c.

References BLI_file_descriptor_size(), IMB_ibImageFromMemory(), MAP_SHARED, mmap(), munmap(), NULL, PROT_READ, and size().

Referenced by IMB_loadiffname(), IMB_testiffname(), and loadifffile().

ImBuf* IMB_loadiffname ( const char *  filepath,
int  flags 
) [read]
void imb_loadtile ( ImBuf ibuf,
int  tx,
int  ty,
unsigned int *  rect 
)

Definition at line 194 of file readimage.c.

References ImBuf::cachename, imb_loadtilefile(), and O_BINARY.

Referenced by imb_global_cache_tile_load().

static void imb_loadtilefile ( ImBuf ibuf,
int  file,
int  tx,
int  ty,
unsigned int *  rect 
) [static]
ImBuf* IMB_testiffname ( const char *  filepath,
int  flags 
) [read]