#include <stdio.h>
#include <stdlib.h>
#include <ImfInputFile.h>
#include <ImfChannelList.h>
#include <ImfFrameBuffer.h>
#include <ImfRgbaFile.h>
#include <half.h>
#include <assert.h>
Go to the source code of this file.
Functions | |
static bool | ReadEXR (const char *name, float *&rgba, int &xRes, int &yRes, bool &hasAlpha) |
static void | WriteEXR (const char *name, float *pixels, int xRes, int yRes) |
static void | usage () |
int | main (int argc, char *argv[]) |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 24 of file exrdiff.cpp.
References ReadEXR(), usage(), and WriteEXR().
static bool ReadEXR | ( | const char * | name, | |
float *& | rgba, | |||
int & | xRes, | |||
int & | yRes, | |||
bool & | hasAlpha | |||
) | [static] |
Definition at line 111 of file exrdiff.cpp.
Referenced by main().
static void usage | ( | ) | [static] |
Definition at line 19 of file exrdiff.cpp.
Referenced by main().
static void WriteEXR | ( | const char * | name, | |
float * | pixels, | |||
int | xRes, | |||
int | yRes | |||
) | [static] |
Definition at line 152 of file exrdiff.cpp.
Referenced by main().