nn::jpeg::CTR::JpegMpEncoder::SetMpPanOrientation Member Function

Syntax

#include <nn/jpeg.h>
void SetMpPanOrientation(
     u32 value
);

Arguments

Name Description
in value Specifies the image placement.

Return Values

None.

Description

Registers the image placement to embed in the MP Attribute IFD.

This function is enabled if the StartMpEncoderFirst or StartMpEncoderNext function is used as the encoding function. This function is disabled if the StartMpEncoderLR function is used.

If this function is not called, or if the image's MP type (MpTypeCode) is not MP_TYPE_CODE_MULTI_VIEW_PANORAMA_IMAGE (panoramic image), this value is not embedded.

Call this function before calling the encoding function. The values specified by this function are cleared after the encoding function completes, regardless of whether the encoding function succeeded or failed. When encoding multiple times, you must call this function before each encoding function call. The values specified by this function are also cleared if you call the ClearMpPanOrientation function or if you reinitialize the encoder object using the Initialize function.

Revision History

2010/10/22
Added a link to MpTypeCode.
2010/06/14
Initial version.

CONFIDENTIAL