#include <string.h>#include <gandalf/image/io/cineon_io.h>#include <gandalf/image/io/dpx_io.h>#include <gandalf/image/image_gl_uint8.h>#include <gandalf/image/image_rgb_uint8.h>#include <gandalf/image/image_rgba_uint8.h>#include <gandalf/image/image_rgb_uint16.h>#include <gandalf/common/misc_error.h>#include <gandalf/common/allocate.h>#include <gandalf/common/compare.h>Defines | |
| #define | OFFSET_MAGIC 0 |
| #define | OFFSET_IMAGEOFFSET 4 |
| #define | OFFSET_GENERICSIZE 8 |
| #define | OFFSET_INDUSTRYSIZE 12 |
| #define | OFFSET_VARIABLESIZE 16 |
| #define | OFFSET_FILESIZE 20 |
| #define | OFFSET_VERSION 24 |
| #define | OFFSET_FILENAME 32 |
| #define | OFFSET_CREATIONDATE 132 |
| #define | OFFSET_CREATIONTIME 144 |
| #define | OFFSET_RESERVED 156 |
| #define | OFFSET_ORIENTATION 192 |
| #define | OFFSET_NUMBEROFCHANNELS 193 |
| #define | OFFSET_DESIGNATORBYTE0 196 |
| #define | OFFSET_DESIGNATORBYTE1 197 |
| #define | OFFSET_BITSPERPIXEL 198 |
| #define | OFFSET_PIXELSPERLINE 200 |
| #define | OFFSET_LINESPERIMAGE 204 |
| #define | OFFSET_MINIMUMDATAVALUE 208 |
| #define | OFFSET_MINIMUMQUANTITYREPRESENTED 212 |
| #define | OFFSET_MAXIMUMDATAVALUE 216 |
| #define | OFFSET_MAXIMUMQUANTITYREPRESENTED 220 |
| #define | OFFSET_CHROMATICITY 420 |
| #define | OFFSET_DATAINTERLEAVE 680 |
| #define | OFFSET_PACKING 681 |
| #define | OFFSET_SIGNED 682 |
| #define | OFFSET_EOLPADDING 684 |
| #define | OFFSET_EOIMAGEPADDING 688 |
| #define | OFFSET_XINPUTDEVICEPITCH 972 |
| #define | OFFSET_YINPUTDEVICEPITCH 976 |
| #define | OFFSET_IMAGEGAMMA 980 |
| #define | BIG_BUFFER_SIZE 2048 |
| #define | IMAGE_DATA_OFFSET 0x7e00 |
| #define | REVERSE_BYTES_IN_WRITE |
Functions | |
| Gan_Image * | gan_read_cineon_image_stream (FILE *infile, Gan_Image *image) |
| Reads a RGB colour image file in CINEON format from a stream. | |
| Gan_Image * | gan_read_cineon_image (const char *filename, Gan_Image *image) |
| Reads a RGB colour image file in CINEON format. | |
| void | gan_initialise_cineon_write_control_struct (Gan_CineonWriteControlStruct *controlstr) |
| Initialises the write control structure for Cineon files. | |
| Gan_Bool | gan_write_cineon_image_stream (FILE *outfile, Gan_Image *image, Gan_CineonWriteControlStruct *controlstr) |
| Writes a RGB colour image to a file stream in CINEON format. | |
| Gan_Bool | gan_write_cineon_image (const char *filename, Gan_Image *image, Gan_CineonWriteControlStruct *controlstr) |
| Writes a RGB colour image file in CINEON format. | |
Part of: Gandalf Library
1.4.3