Blender V2.61 - r43446
Classes | Defines | Functions

logImageCore.c File Reference

#include "logImageCore.h"
#include <time.h>
#include <math.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/param.h>

Go to the source code of this file.

Classes

union  Hack

Defines

#define rint(x)   floor(x+0.5)
#define UNDEF_FLOAT   0x7F800000

Functions

static double convertTo (int inp, int white, float gamma)
static double convertFrom (double inp, int white, float gamma)
void setupLut (LogImageFile *logImage)
void setupLut16 (LogImageFile *logImage)
int pixelsToLongs (int numPixels)
R32 htonf (R32 f)
R32 ntohf (R32 f)
R32 undefined (void)
U16 reverseU16 (U16 value)
U32 reverseU32 (U32 value)
R32 reverseR32 (R32 value)

Detailed Description

Definition in file logImageCore.c.


Define Documentation

#define rint (   x)    floor(x+0.5)

Definition at line 30 of file logImageCore.c.

Referenced by setupLut(), and setupLut16().

#define UNDEF_FLOAT   0x7F800000

Definition at line 157 of file logImageCore.c.

Referenced by undefined().


Function Documentation

static double convertFrom ( double  inp,
int  white,
float  gamma 
) [static]

Definition at line 66 of file logImageCore.c.

Referenced by setupLut(), and setupLut16().

static double convertTo ( int  inp,
int  white,
float  gamma 
) [static]

Definition at line 60 of file logImageCore.c.

References pow().

Referenced by setupLut(), and setupLut16().

R32 htonf ( R32  f)
R32 ntohf ( R32  f)
int pixelsToLongs ( int  numPixels)
R32 reverseR32 ( R32  value)

Definition at line 203 of file logImageCore.c.

U16 reverseU16 ( U16  value)

Definition at line 168 of file logImageCore.c.

U32 reverseU32 ( U32  value)

Definition at line 184 of file logImageCore.c.

void setupLut ( LogImageFile logImage)
void setupLut16 ( LogImageFile logImage)
R32 undefined ( void  )

Definition at line 160 of file logImageCore.c.

References Hack::f, Hack::i, and UNDEF_FLOAT.

Referenced by fillCineonImageInfo(), and fillCineonOriginationInfo().