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

Syntax

#include <nn/jpeg.h>

static size_t GetMpImageUidListOffset(
     const MpIndex * pIndex
);

Arguments

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 individual image unique ID list.
Returns 0 on failure.

Description

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

The individual unique image ID list is an MP Format option tag and cannot 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 byte size obtained from the GetMpImagUidListSize function is a valid region.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL