Blender V2.61 - r43446
|
#include "logImageCore.h"
Go to the source code of this file.
Typedefs | |
typedef struct _Log_Image_File_t_ | DpxFile |
Functions | |
void | dpxSetVerbose (int) |
DpxFile * | dpxOpen (const char *filename) |
DpxFile * | dpxCreate (const char *filename, int xsize, int ysize, int channels) |
DpxFile * | dpxOpenFromMem (unsigned char *buffer, unsigned int size) |
int | dpxIsMemFileCineon (void *buffer) |
int | dpxGetRowBytes (DpxFile *dpx, unsigned short *row, int y) |
int | dpxSetRowBytes (DpxFile *dpx, const unsigned short *row, int y) |
void | dpxClose (DpxFile *dpx) |
void | dpxDump (const char *filename) |
Definition in file dpxlib.h.
typedef struct _Log_Image_File_t_ DpxFile |
void dpxClose | ( | DpxFile * | dpx | ) |
Definition at line 660 of file dpxlib.c.
References _Log_Image_File_t_::file, addon::engine::free(), _Log_Image_File_t_::lineBuffer, and _Log_Image_File_t_::pixelBuffer.
Referenced by dpxCreate(), and intern_dpxOpen().
DpxFile* dpxCreate | ( | const char * | filename, |
int | xsize, | ||
int | ysize, | ||
int | channels | ||
) |
Definition at line 571 of file dpxlib.c.
References _Log_Image_File_t_::bitsPerPixel, DpxImageInformation::channel, _Log_Image_File_t_::close, d_printf, _Log_Image_File_t_::depth, LogImageByteConversionParameters::doLogarithm, dpxClose(), dpxSetRowBytes(), _Log_Image_File_t_::file, _Log_Image_File_t_::fileYPos, _Log_Image_File_t_::getRow, _Log_Image_File_t_::height, DpxMainHeader::imageInfo, _Log_Image_File_t_::imageOffset, initDpxMainHeader(), _Log_Image_File_t_::lineBuffer, _Log_Image_File_t_::lineBufferLength, logImageGetByteConversionDefaults(), _Log_Image_File_t_::params, _Log_Image_File_t_::pixelBuffer, _Log_Image_File_t_::pixelBufferUsed, pixelsToLongs(), _Log_Image_File_t_::reading, _Log_Image_File_t_::setRow, setupLut(), DpxChannelInformation::transfer_characteristics, verbose, and _Log_Image_File_t_::width.
Referenced by logImageCreate().
void dpxDump | ( | const char * | filename | ) |
Definition at line 685 of file dpxlib.c.
References d_printf, and dumpDpxMainHeader().
Referenced by logImageDump().
int dpxGetRowBytes | ( | DpxFile * | dpx, |
unsigned short * | row, | ||
int | y | ||
) |
Definition at line 228 of file dpxlib.c.
References d_printf, _Log_Image_File_t_::depth, LogImageByteConversionParameters::doLogarithm, _Log_Image_File_t_::fileYPos, _Log_Image_File_t_::imageOffset, _Log_Image_File_t_::lineBuffer, logimage_fread(), logimage_fseek(), _Log_Image_File_t_::lut10_16, _Log_Image_File_t_::params, _Log_Image_File_t_::pixelBuffer, _Log_Image_File_t_::pixelBufferUsed, pixelsToLongs(), verbose, and _Log_Image_File_t_::width.
Referenced by intern_dpxOpen().
int dpxIsMemFileCineon | ( | void * | buffer | ) |
DpxFile* dpxOpen | ( | const char * | filename | ) |
Definition at line 553 of file dpxlib.c.
References intern_dpxOpen(), and LFREALFILE.
Referenced by logImageOpen().
DpxFile* dpxOpenFromMem | ( | unsigned char * | buffer, |
unsigned int | size | ||
) |
Definition at line 558 of file dpxlib.c.
References intern_dpxOpen(), and LFMEMFILE.
Referenced by logImageOpenFromMem().
int dpxSetRowBytes | ( | DpxFile * | dpx, |
const unsigned short * | row, | ||
int | y | ||
) |
Definition at line 306 of file dpxlib.c.
References d_printf, _Log_Image_File_t_::depth, LogImageByteConversionParameters::doLogarithm, _Log_Image_File_t_::file, _Log_Image_File_t_::fileYPos, _Log_Image_File_t_::height, _Log_Image_File_t_::imageOffset, _Log_Image_File_t_::lineBuffer, logimage_fseek(), _Log_Image_File_t_::lut16_16, _Log_Image_File_t_::params, _Log_Image_File_t_::pixelBuffer, _Log_Image_File_t_::pixelBufferUsed, pixelsToLongs(), verbose, and _Log_Image_File_t_::width.
Referenced by dpxCreate().
void dpxSetVerbose | ( | int | ) |