nn::jpeg::CTR::JpegMpDecoder::GetMpTotalFrames Member Function

Syntax

#include <nn/jpeg.h>

static bool GetMpTotalFrames(
     u32 * pFrames,
     const MpIndex * pIndex
);

Arguments

Name Description
out pFrames Specifies the buffer that stores the total number of frames taken.
in pIndex Specifies the MP Index IFD. To get this ahead of time, use the GetMpIndex function.

Return Values

Returns true on success. Returns false on failure.

Description

Gets the total number of frames taken. This number is included in the MP Index IFD.

The total number of frames taken is an MP Format option tag and cannot necessarily be obtained for all images.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL