L_JP2_MEDIADATA_BOX

typedef struct _tagL_JP2_MEDIADATA_BOX
{
   L_UINT32 uStructSize;
   L_UINT8 * pData;
   L_SIZE_T uDataSize;
}L_JP2_MEDIADATA_BOX,   *pL_JP2_MEDIADATA_BOX;

The L_JP2_MEDIADATA_BOX structure provides information for a Media Data box.

Member

Description

uStructSize

Size of this structure, in bytes. Use the sizeof operator to calculate this value.

pData

Media data.

uDataSize

The size of media data.

Comments

The Media Data box contains a fragment of JPEG 2000 codestream or other media data, such as MPEG-4 audio data. This box is defined in JPX and above file formats. A JPEG 2000 file may contain zero or more Media Data boxes.

The L_JP2_MEDIADATA_BOX structure is used in the following functions:

LJp2FileFormat::ReadBox

LJp2FileFormat::AppendBoxes

LJp2FileFormat::ReadBoxMemory

LJp2FileFormat::AppendBoxesMemory

LJp2FileFormat::FreeBoxes

LJp2FileFormat::GetBoxes

LJp2FileFormat::SetBoxes