|
SCM Library
Spherical Cube Map rendering library
|
#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... | |
| 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.
| name | TIFF name |
| i | Page index |
| T | TIFF file |
| o | TIFF offset |
| w | Page width |
| h | Page height |
| c | Page channels per pixel |
| b | Page bits per channel |
| p | Destination pixel buffer |
1.8.6