Main Page | Modules | Class Hierarchy | Data Structures | File List | Data Fields | Globals | Related Pages | Examples

JPEG2000INFOHEADER2 Initialization functions.

Some helper functions to properly initialize a JPEG2000INFOHEADER2. More...

Functions

static BOOL InitJP2KHdrRGB (PJPEG2000INFOHEADER2 pJP2K)
 Initialize a JPEG2000INFOHEADER2 to compress RGB 24 or 32-bits input data (8-bits per component).
static BOOL InitJP2KHdrY (PJPEG2000INFOHEADER2 pJP2K)
 Initialize a JPEG2000INFOHEADER2 to compress Y 8-bits (luminance) or RGB 8-bits (grayscale) input data.
static BOOL InitJP2KHdrYUV (PJPEG2000INFOHEADER2 pJP2K)
 Initialize a JPEG2000INFOHEADER2 to compress YUV 24-bits input data (8-bits per component, no subsampling).
static BOOL InitJP2KHdrYUV422 (PJPEG2000INFOHEADER2 pJP2K)
 Initialize a JPEG2000INFOHEADER2 to compress YUV 16-bits input data (8-bits per component, 4:2:2 subsampling).
static BOOL InitJP2KHdrYUV420 (PJPEG2000INFOHEADER2 pJP2K)
 Initialize a JPEG2000INFOHEADER2 to compress YUV 12-bits input data (8-bits per component, 4:2:0 subsampling).

Variables

static const JPEG2000INFOHEADER2 JP2K_RGB_DEF
 Default initialization table for RGB 24-bits.

Detailed Description

Some helper functions to properly initialize a JPEG2000INFOHEADER2.

Process:
ColorSpaceID:
SubSampling:

Function Documentation

static BOOL InitJP2KHdrRGB PJPEG2000INFOHEADER2  pJP2K  )  [static]
 

Initialize a JPEG2000INFOHEADER2 to compress RGB 24 or 32-bits input data (8-bits per component).

Examples:
jp2_encode.cpp, and jp2_encodeMT.cpp.

static BOOL InitJP2KHdrY PJPEG2000INFOHEADER2  pJP2K  )  [static]
 

Initialize a JPEG2000INFOHEADER2 to compress Y 8-bits (luminance) or RGB 8-bits (grayscale) input data.

Examples:
jp2_encode.cpp, and jp2_encodeMT.cpp.

static BOOL InitJP2KHdrYUV PJPEG2000INFOHEADER2  pJP2K  )  [static]
 

Initialize a JPEG2000INFOHEADER2 to compress YUV 24-bits input data (8-bits per component, no subsampling).

static BOOL InitJP2KHdrYUV422 PJPEG2000INFOHEADER2  pJP2K  )  [static]
 

Initialize a JPEG2000INFOHEADER2 to compress YUV 16-bits input data (8-bits per component, 4:2:2 subsampling).

Examples:
dat2avi.cpp, jp2_encode.cpp, and jp2_encodeMT.cpp.

static BOOL InitJP2KHdrYUV420 PJPEG2000INFOHEADER2  pJP2K  )  [static]
 

Initialize a JPEG2000INFOHEADER2 to compress YUV 12-bits input data (8-bits per component, 4:2:0 subsampling).

Examples:
jp2_encode.cpp, and jp2_encodeMT.cpp.


Variable Documentation

JP2K_RGB_DEF [static]
 

Default initialization table for RGB 24-bits.

	sizeof(JPEG2000INFOHEADER2), // Size
	0, // Interlace flags
	1, // MJP2 weights
	JP2K_sRGB_SPACE, // Colorspace ID
	0, // Native order
	8, // Bits per sample
	0, // Sample signed
	1, // V subsampling
	0, // V offset
	1, // H subsampling
	0, // H offset
	5, // Levels
	JP2K_PROCESS_R_53, // Process
	1, // Layers
	0, // Quality
	0, // Constant bit-rate
	0, // Bit-rate
	0, // Lossless
	sizeof(JPEG2000EXTRAHEADER), // Extra size
	2, // Profile
	0, // VSize
	0, // HSize
	0, // VOrigin
	0, // HOrigin
	0, // VTile
	0, // HTile
	0, // VTOrigin
	0, // HTOrigin
	0, // UseSOP
	0, // UseEPH
	JP2K_LRCP, // Order
	64, // VBlk
	64, // HBlk
	0, // VAlignBlkLast
	0, // HAlignBlkLast
	0, // Modes
	0, // SizeField1
	0, // SizeField2
	0, // ICCSize
	0  // J2CSize


   

© Morgan Multimedia 1990-2005