SCM Library
Spherical Cube Map rendering library
 All Classes Files Functions Variables Friends Pages
Classes | Typedefs | Functions
scm-file.hpp File Reference
#include <string>
#include <vector>
#include <tiffio.h>
#include <SDL.h>
#include <SDL_thread.h>
#include "scm-queue.hpp"
#include "scm-guard.hpp"
#include "scm-task.hpp"
#include "scm-sample.hpp"

Go to the source code of this file.

Classes

class  scm_file
 An scm_file encapsulates an open SCM data file. More...
 

Typedefs

typedef std::vector< SDL_Thread * > thread_v
 
typedef std::vector
< SDL_Thread * >::iterator 
thread_i
 

Functions

bool scm_load_page (const char *, long long, TIFF *, uint64, int, int, int, int, void *)
 Load a page from a TIFF file. More...
 

Function Documentation

bool scm_load_page ( const char *  name,
long long  i,
TIFF *  T,
uint64  o,
int  w,
int  h,
int  c,
int  b,
void *  p 
)

Load a page from a TIFF file.

Confirm the image parameters and return success.

Parameters
nameTIFF name
iPage index
TTIFF file
oTIFF offset
wPage width
hPage height
cPage channels per pixel
bPage bits per channel
pDestination pixel buffer