Blender V2.61 - r43446
Defines | Functions

thumbs_blend.c File Reference

#include <string.h>
#include "zlib.h"
#include "BLI_utildefines.h"
#include "BKE_utildefines.h"
#include "BKE_global.h"
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
#include "IMB_thumbs.h"
#include "MEM_guardedalloc.h"

Go to the source code of this file.

Defines

#define MARGIN   2

Functions

static ImBufloadblend_thumb (gzFile gzfile)
ImBufIMB_loadblend_thumb (const char *path)
void IMB_overlayblend_thumb (unsigned int *thumb, int width, int height, float aspect)

Detailed Description

Definition in file thumbs_blend.c.


Define Documentation

#define MARGIN   2

Definition at line 144 of file thumbs_blend.c.

Referenced by IMB_overlayblend_thumb().


Function Documentation

ImBuf* IMB_loadblend_thumb ( const char *  path)

Definition at line 123 of file thumbs_blend.c.

References loadblend_thumb(), and NULL.

Referenced by IMB_thumb_create().

void IMB_overlayblend_thumb ( unsigned int *  thumb,
int  width,
int  height,
float  aspect 
)

Definition at line 146 of file thumbs_blend.c.

References CLAMP(), and MARGIN.

Referenced by blend_file_thumb().

static ImBuf* loadblend_thumb ( gzFile  gzfile) [static]