Blender V2.61 - r43446
Classes | Defines | Typedefs | Functions

logImageLib.h File Reference

Go to the source code of this file.

Classes

struct  LogImageByteConversionParameters

Defines

#define CINEON_FILE_MAGIC   0x802A5FD7
#define DPX_FILE_MAGIC   0x53445058

Typedefs

typedef struct _Log_Image_File_t_ LogImageFile

Functions

void logImageSetVerbose (int)
LogImageFilelogImageOpenFromMem (unsigned char *buffer, unsigned int size, int cineon)
LogImageFilelogImageOpen (const char *filename, int cineon)
int logImageGetSize (const LogImageFile *logImage, int *xsize, int *ysize, int *channels)
LogImageFilelogImageCreate (const char *filename, int cineon, int xsize, int ysize, int channels)
int logImageGetHeader (LogImageFile *, int *, void **)
int logImageSetHeader (LogImageFile *, int, void *)
int logImageGetByteConversionDefaults (LogImageByteConversionParameters *params)
int logImageGetByteConversion (const LogImageFile *logImage, LogImageByteConversionParameters *params)
int logImageSetByteConversion (LogImageFile *logImage, const LogImageByteConversionParameters *params)
int logImageGetRowBytes (LogImageFile *logImage, unsigned short *row, int y)
int logImageSetRowBytes (LogImageFile *logImage, const unsigned short *row, int y)
void logImageClose (LogImageFile *logImage)
void logImageDump (const char *filename)

Detailed Description

Definition in file logImageLib.h.


Define Documentation

#define CINEON_FILE_MAGIC   0x802A5FD7
#define DPX_FILE_MAGIC   0x53445058

Definition at line 43 of file logImageLib.h.

Referenced by dpxIsMemFileCineon(), fillDpxFileInfo(), intern_dpxOpen(), and logImageDump().


Typedef Documentation

Definition at line 36 of file logImageLib.h.


Function Documentation

void logImageClose ( LogImageFile logImage)

Definition at line 136 of file logImageLib.c.

References _Log_Image_File_t_::close.

Referenced by imb_load_dpx_cineon(), and imb_save_dpx_cineon().

LogImageFile* logImageCreate ( const char *  filename,
int  cineon,
int  xsize,
int  ysize,
int  channels 
)

Definition at line 73 of file logImageLib.c.

References cineonCreate(), and dpxCreate().

Referenced by imb_save_dpx_cineon().

void logImageDump ( const char *  filename)

Definition at line 141 of file logImageLib.c.

References CINEON_FILE_MAGIC, DPX_FILE_MAGIC, dpxDump(), and magic.

int logImageGetByteConversion ( const LogImageFile logImage,
LogImageByteConversionParameters params 
)
int logImageGetByteConversionDefaults ( LogImageByteConversionParameters params)
int logImageGetHeader ( LogImageFile ,
int *  ,
void **   
)
int logImageGetRowBytes ( LogImageFile logImage,
unsigned short *  row,
int  y 
)

Definition at line 126 of file logImageLib.c.

References _Log_Image_File_t_::getRow.

Referenced by imb_load_dpx_cineon().

int logImageGetSize ( const LogImageFile logImage,
int *  xsize,
int *  ysize,
int *  channels 
)
LogImageFile* logImageOpen ( const char *  filename,
int  cineon 
)

Definition at line 53 of file logImageLib.c.

References cineonOpen(), and dpxOpen().

LogImageFile* logImageOpenFromMem ( unsigned char *  buffer,
unsigned int  size,
int  cineon 
)

Definition at line 63 of file logImageLib.c.

References cineonOpenFromMem(), and dpxOpenFromMem().

Referenced by imb_load_dpx_cineon().

int logImageSetByteConversion ( LogImageFile logImage,
const LogImageByteConversionParameters params 
)
int logImageSetHeader ( LogImageFile ,
int  ,
void *   
)
int logImageSetRowBytes ( LogImageFile logImage,
const unsigned short *  row,
int  y 
)

Definition at line 131 of file logImageLib.c.

References _Log_Image_File_t_::setRow.

Referenced by imb_save_dpx_cineon().

void logImageSetVerbose ( int  )

Definition at line 47 of file logImageLib.c.

References cineonSetVerbose(), and dpxSetVerbose().

Referenced by imb_load_dpx_cineon(), and imb_save_dpx_cineon().