L_JP2_IMAGEINFO_ELEMENT

typedef struct _tagL_JP2_IMAGEINFO_ELEMENT
{
   L_UINT32  uStructSize;
   L_UINT32  uNumOfBoxes;
   L_SIZE_T * pBoxOffset;
   L_SIZE_T * pBoxSize;
   L_SIZE_T * pBoxDataOffset;
   L_SIZE_T * pBoxDataSize;
}L_JP2_IMAGEINFO_ELEMENT,   *pL_JP2_IMAGEINFO_ELEMENT;

The L_JP2_IMAGEINFO_ELEMENT structure provides one type of information about all boxes of the same type within one JPEG 2000 file.

Member

Description

uStructSize

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

uNumOfBoxes

Number of boxes. This field specifies the size of pBoxOffset array, pBoxSize array, pBoxDataOffset array, and pBoxDataSize array

pBoxOffset

Box start offset array. It specifies the offset in bytes to the start byte of the box and it is relative to the first byte of the file.

pBoxSize

Box size in bytes.

pBoxDataOffset

Box data start offset array. It specifies the offset in bytes to the start byte of the box data and it is relative to the first byte of the file.

pBoxDataSize

Box data size in bytes.

Comments

The L_JP2_IMAGEINFO_ELEMENT structure provides information for one of JPEG 2000 box’s type. This structure is use with the L_Jp2GetFileInfo function. It provides information about the number of boxes exist in the file of that type, start offsets, and data sizes.