nn::jpeg::CTR::JpegMpDecoder::GetMpImageSize Member Function

Syntax

#include <nn/jpeg.h>

static size_t GetMpImageSize(
     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 size in bytes of the individual image data.

Description

Gets the size in bytes of the individual image data. This size is included in the MP entry.

The application must confirm whether the region indicated by this obtained byte size and [pointer to the starting image + byte offset obtained from the GetMpImageOffset function] is a valid region.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL