# /Users/patrick/Development/DPX/svn/source/DPXHeader.h File Reference

`#include <cstring>`
`#include "DPXstream.h"`
Include dependency graph for DPXHeader.h:
This graph shows which files directly or indirectly include this file:

## Classes
struct | dpx::ImageElement
| Data Structure for Image Element. More...
struct | dpx::GenericHeader
| Generic File and Image Header Information. More...
struct | dpx::IndustryHeader
| Motion Picture and Television Industry Specific Information. More...
struct | dpx::Header
| Complete DPX Header. More...
struct | dpx::UserDefinedData
| User Defined data. More...
## Namespaces
namespace | dpx

| OpenDPX namespace.
## Defines
#define | SMPTE_VERSION "V2.0"
| SMPTE 268M-2003 DPX Version.
#define | MAX_ELEMENTS 8
| Maximum number of image elements.
#define | MAX_COMPONENTS 8
| Maximum number of components per image element.
#define | MAGIC_COOKIE 0x53445058
| HEX value of "SDPX".
## Typedefs
typedef unsigned char | dpx::U8
| Unsigned 8 bit integer.
typedef unsigned short | dpx::U16
| Unsigned 16 bit integer.
typedef unsigned int | dpx::U32
| Unsigned 32 bit integer.
typedef float | dpx::R32
| 32 bit floating point number
typedef double | dpx::R64
| 64 bit floating point number
typedef char | dpx::ASCII
| ASCII character.
## Enumerations
enum | dpx::DataSize { dpx::kByte, dpx::kWord, dpx::kInt, dpx::kFloat, dpx::kDouble }
| Component Data Storage Data Type. More...
enum | dpx::Orientation { dpx::kLeftToRightTopToBottom = 0, dpx::kRightToLeftTopToBottom = 1, dpx::kLeftToRightBottomToTop = 2, dpx::kRightToLeftBottomToTop = 3, dpx::kTopToBottomLeftToRight = 4, dpx::kTopToBottomRightToLeft = 5, dpx::kBottomToTopLeftToRight = 6, dpx::kBottomToTopRightToLeft = 7, dpx::kUndefinedOrientation = 0xffff }
| Image Orientation Code. More...
enum | dpx::Descriptor { dpx::kUserDefinedDescriptor = 0, dpx::kRed = 1, dpx::kGreen = 2, dpx::kBlue = 3, dpx::kAlpha = 4, dpx::kLuma = 6, dpx::kColorDifference = 7, dpx::kDepth = 8, dpx::kCompositeVideo = 9, dpx::kRGB = 50, dpx::kRGBA = 51, dpx::kABGR = 52, dpx::kCbYCrY = 100, dpx::kCbYACrYA = 101, dpx::kCbYCr = 102, dpx::kCbYCrA = 103, dpx::kUserDefined2Comp = 150, dpx::kUserDefined3Comp = 151, dpx::kUserDefined4Comp = 152, dpx::kUserDefined5Comp = 153, dpx::kUserDefined6Comp = 154, dpx::kUserDefined7Comp = 155, dpx::kUserDefined8Comp = 156, dpx::kUndefinedDescriptor = 0xff }
| Image element Descriptor. More...
enum | dpx::Characteristic { dpx::kUserDefined = 0, dpx::kPrintingDensity, dpx::kLinear, dpx::kLogarithmic, dpx::kUnspecifiedVideo, dpx::kSMPTE274M, dpx::kITUR709, dpx::kITUR601, dpx::kITUR602, dpx::kNTSCCompositeVideo, dpx::kPALCompositeVideo, dpx::kZLinear, dpx::kZHomogeneous, dpx::kUndefinedCharacteristic = 0xff }
| Transfer Characteristic and Colorimetric Specification. More...
enum | dpx::VideoSignal { dpx::kUndefined = 0, dpx::kNTSC = 1, dpx::kPAL = 2, dpx::kPAL_M = 3, dpx::kSECAM = 4, dpx::k525LineInterlace43AR = 50, dpx::k625LineInterlace43AR = 51, dpx::k525LineInterlace169AR = 100, dpx::k625LineInterlace169AR = 101, dpx::k1050LineInterlace169AR = 150, dpx::k1125LineInterlace169AR_274 = 151, dpx::k1250LineInterlace169AR = 152, dpx::k1125LineInterlace169AR_240 = 153, dpx::k525LineProgressive169AR = 200, dpx::k625LineProgressive169AR = 201, dpx::k750LineProgressive169AR = 202, dpx::k1125LineProgressive169AR = 203 }
| Video Signal Standard. More...
enum | dpx::Packing { dpx::kPacked = 0, dpx::kFilledMethodA = 1, dpx::kFilledMethodB = 2 }
| Component data packing method. More...
enum | dpx::Encoding { dpx::kNone = 0, dpx::kRLE = 1 }
| Component data encoding method. More...

## Detailed Description

## Define Documentation

#define MAGIC_COOKIE 0x53445058

HEX value of "SDPX".

#define MAX_COMPONENTS 8

Maximum number of components per image element.

#define MAX_ELEMENTS 8

Maximum number of image elements.

#define SMPTE_VERSION "V2.0"

SMPTE 268M-2003 DPX Version.