nn::jpeg::CTR::JpegMpDecoder::GetMpImageOffset Member Function

Syntax

#include <nn/jpeg.h>

static size_t GetMpImageOffset(
     const MpEntry * pEntry
);

Arguments

Name Description
in pEntry Specifies an MP entry. To get this ahead of time, use the GetMpEntry function.

Return Values

Returns the byte offset to the individual image data.
This offset is measured from the starting image data and already takes into account the MP format's offset address origin point.

Description

Gets the byte offset from the starting image to the individual image data. This offset is included in the MP entry.

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

Revision History

2010/06/14
Initial version.

CONFIDENTIAL