libcineon  0.1
Classes | Namespaces | Macros | Typedefs | Enumerations
CineonHeader.h File Reference
#include <cstring>
#include <stdint.h>
#include "CineonStream.h"
Include dependency graph for CineonHeader.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  cineon::ImageElement
 Data Structure for Image Element. More...
 
struct  cineon::GenericHeader
 Generic File and Image Header Information. More...
 
struct  cineon::IndustryHeader
 Motion Picture and Television Industry Specific Information. More...
 
struct  cineon::Header
 Complete DPX Header. More...
 

Namespaces

 cineon
 libcineon namespace
 

Macros

#define SPEC_VERSION   "V4.5"
 Cineon format version. More...
 
#define MAX_ELEMENTS   8
 Maximum number of image elements. More...
 
#define MAX_COMPONENTS   8
 Maximum number of components per image element. More...
 
#define MAGIC_COOKIE   0x802A5FD7
 HEX value of 0x802A5FD7. More...
 

Typedefs

typedef unsigned char cineon::U8
 Unsigned 8 bit integer. More...
 
typedef unsigned short cineon::U16
 Unsigned 16 bit integer. More...
 
typedef unsigned int cineon::U32
 Unsigned 32 bit integer. More...
 
typedef signed int cineon::S32
 
typedef uint64_t cineon::U64
 Unsigned 64 bit integer. More...
 
typedef float cineon::R32
 32 bit floating point number More...
 
typedef double cineon::R64
 64 bit floating point number More...
 
typedef char cineon::ASCII
 ASCII character. More...
 

Enumerations

enum  cineon::DataSize { cineon::kByte, cineon::kWord, cineon::kInt, cineon::kLongLong }
 Component Data Storage Data Type. More...
 
enum  cineon::Orientation {
  cineon::kLeftToRightTopToBottom = 0, cineon::kRightToLeftTopToBottom = 1, cineon::kLeftToRightBottomToTop = 2, cineon::kRightToLeftBottomToTop = 3,
  cineon::kTopToBottomLeftToRight = 4, cineon::kTopToBottomRightToLeft = 5, cineon::kBottomToTopLeftToRight = 6, cineon::kBottomToTopRightToLeft = 7,
  cineon::kUndefinedOrientation = 0xff
}
 Image Orientation Code. More...
 
enum  cineon::Descriptor {
  cineon::kGrayscale = 0, cineon::kPrintingDensityRed = 1, cineon::kPrintingDensityGreen = 2, cineon::kPrintingDensityBlue = 3,
  cineon::kRec709Red = 4, cineon::kRec709Green = 5, cineon::kRec709Blue = 6, cineon::kUndefinedDescriptor = 0xff
}
 Image element Descriptor (second byte) More...
 
enum  cineon::Interleave { cineon::kPixel = 0, cineon::kLine = 1, cineon::kChannel = 2 }
 Component interleaving method. More...
 
enum  cineon::Packing {
  cineon::kPacked = 0, cineon::kByteLeft = 1, cineon::kByteRight = 2, cineon::kWordLeft = 3,
  cineon::kWordRight = 4, cineon::kLongWordLeft = 5, cineon::kLongWordRight = 6, cineon::kPackAsManyAsPossible = 0x80
}
 Component data packing method. More...
 

Macro Definition Documentation

#define MAGIC_COOKIE   0x802A5FD7

HEX value of 0x802A5FD7.

#define MAX_COMPONENTS   8

Maximum number of components per image element.

#define MAX_ELEMENTS   8

Maximum number of image elements.

#define SPEC_VERSION   "V4.5"

Cineon format version.