nn::jpeg::CTR::JpegMpDecoder::GetMpImageUidListOffset Member Function

Syntax

#include <nn/jpeg.h>

static size_t GetMpImageUidListOffset(
     const MpIndex * pIndex
);

Parameters

Name Description
in pIndex Specifies the MP Index IFD. To get this ahead of time, use the GetMpIndex function.

Return Values

If successful, returns the byte offset to the unique ID list for individual images.
Returns 0 on failure.

Description

Gets the byte offset from the starting image to the unique ID list for individual images. This offset is included in the MP Index IFD.

The unique ID list for individual images is an MP format option tag and cannot necessarily be obtained for all images. Use the GetMpImageUidListSize function to get the size of the list in bytes.

The application must confirm whether the region indicated by this obtained byte offset and the size in bytes obtained from the GetMpImageSize function is a valid region.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL