Public Member Functions | Static Public Member Functions | Public Attributes
GLTexInput Class Reference

#include <GLTexImage.h>

Inheritance diagram for GLTexInput:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 GLTexInput ()
int LoadImageFile (char *imagepath, int &w, int &h)
int SetImageData (int width, int height, const void *data, unsigned int gl_format, unsigned int gl_type)
void VerifyTexture ()
virtual ~GLTexInput ()

Static Public Member Functions

static int DownSamplePixelDataF (unsigned int gl_format, int width, int height, int ds, const float *pin, float *pout, int skip=0)
template<class Uint >
static int DownSamplePixelDataI (unsigned int gl_format, int width, int height, int ds, const Uint *pin, Uint *pout)
template<class Uint >
static int DownSamplePixelDataI2F (unsigned int gl_format, int width, int height, int ds, const Uint *pin, float *pout, int skip=0)
static int IsSimpleGlFormat (unsigned int gl_format, unsigned int gl_type)
static int TruncateWidthCU (int w)

Public Attributes

float * _converted_data
int _data_modified
int _down_sampled
const void * _pixel_data
int _rgb_converted

Detailed Description

Definition at line 95 of file GLTexImage.h.


Constructor & Destructor Documentation

GLTexInput::GLTexInput ( ) [inline]

Definition at line 127 of file GLTexImage.h.

GLTexInput::~GLTexInput ( ) [virtual]

Definition at line 1080 of file GLTexImage.cpp.


Member Function Documentation

int GLTexInput::DownSamplePixelDataF ( unsigned int  gl_format,
int  width,
int  height,
int  ds,
const float *  pin,
float *  pout,
int  skip = 0 
) [static]

Definition at line 864 of file GLTexImage.cpp.

template<class Uint >
int GLTexInput::DownSamplePixelDataI ( unsigned int  gl_format,
int  width,
int  height,
int  ds,
const Uint *  pin,
Uint *  pout 
) [static]

Definition at line 744 of file GLTexImage.cpp.

template<class Uint >
int GLTexInput::DownSamplePixelDataI2F ( unsigned int  gl_format,
int  width,
int  height,
int  ds,
const Uint *  pin,
float *  pout,
int  skip = 0 
) [static]

Definition at line 808 of file GLTexImage.cpp.

static int GLTexInput::IsSimpleGlFormat ( unsigned int  gl_format,
unsigned int  gl_type 
) [inline, static]

Definition at line 106 of file GLTexImage.h.

int GLTexInput::LoadImageFile ( char *  imagepath,
int &  w,
int &  h 
)

Definition at line 1086 of file GLTexImage.cpp.

int GLTexInput::SetImageData ( int  width,
int  height,
const void *  data,
unsigned int  gl_format,
unsigned int  gl_type 
)

Definition at line 918 of file GLTexImage.cpp.

static int GLTexInput::TruncateWidthCU ( int  w) [inline, static]

Definition at line 125 of file GLTexImage.h.

Definition at line 1236 of file GLTexImage.cpp.


Member Data Documentation

Definition at line 103 of file GLTexImage.h.

Definition at line 100 of file GLTexImage.h.

Definition at line 98 of file GLTexImage.h.

Definition at line 104 of file GLTexImage.h.

Definition at line 99 of file GLTexImage.h.


The documentation for this class was generated from the following files:


siftgpu
Author(s): Changchang Wu
autogenerated on Wed Aug 26 2015 15:24:06