Blender  V2.93
Classes | Macros | Functions | Variables
BlenderThumb.cpp File Reference
#include <new>
#include <shlwapi.h>
#include <thumbcache.h>
#include "Wincodec.h"
#include <math.h>
#include <zlib.h>

Go to the source code of this file.

Classes

class  CBlendThumb
 

Macros

#define RED_BYTE   pRGBA[i]
 
#define BLUE_BYTE   pRGBA[i + 2]
 

Functions

HRESULT CBlendThumb_CreateInstance (REFIID riid, void **ppv)
 

Variables

const unsigned char gzip_magic [3] = {0x1f, 0x8b, 0x08}
 

Macro Definition Documentation

◆ BLUE_BYTE

#define BLUE_BYTE   pRGBA[i + 2]

◆ RED_BYTE

#define RED_BYTE   pRGBA[i]

Function Documentation

◆ CBlendThumb_CreateInstance()

HRESULT CBlendThumb_CreateInstance ( REFIID  riid,
void **  ppv 
)

Definition at line 75 of file BlenderThumb.cpp.

References CBlendThumb::QueryInterface().

Variable Documentation

◆ gzip_magic

const unsigned char gzip_magic[3] = {0x1f, 0x8b, 0x08}

Definition at line 100 of file BlenderThumb.cpp.

Referenced by CBlendThumb::GetThumbnail().