#include <stdio.h>#include <stdlib.h>#include <tiffio.h>#include <ImfInputFile.h>#include <ImfChannelList.h>#include <ImfFrameBuffer.h>#include <half.h>#include "pbrt.h"#include "film.h"#include "paramset.h"Go to the source code of this file.
Defines | |
| #define | ARG(name, var) |
Functions | |
| static bool | ReadEXR (const char *name, float *&rgba, int &xRes, int &yRes, bool &hasAlpha) |
| static void | WriteTIFF (const char *name, float *rgba, int xRes, int yRes, bool hasAlpha) |
| static void | usage () |
| int | main (int argc, char *argv[]) |
| #define ARG | ( | name, | |||
| var | ) |
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Definition at line 38 of file exrtotiff.cpp.
References ParamSet::AddFloat(), ApplyImagingPipeline(), ARG, pbrtCleanup(), pbrtInit(), ReadEXR(), usage(), and WriteTIFF().
| static bool ReadEXR | ( | const char * | name, | |
| float *& | rgba, | |||
| int & | xRes, | |||
| int & | yRes, | |||
| bool & | hasAlpha | |||
| ) | [static] |
Definition at line 164 of file exrtotiff.cpp.
| static void usage | ( | ) | [static] |
| void WriteTIFF | ( | const char * | name, | |
| float * | rgba, | |||
| int | xRes, | |||
| int | yRes, | |||
| bool | hasAlpha | |||
| ) | [static] |
1.5.6