nn::jpeg::CTR::JpegMpEncoder::SetMpBaseViewpointNum Member Function

Syntax

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

Arguments

Name Description
in value Specifies the base viewpoint number.

Return Values

None.

Description

Registers the base viewpoint number to embed in the MP Attribute IFD.

This function is enabled if the StartMpEncoderFirst or StartMpEncoderNext function is used as the encoding function. This is invalid when using StartMpEncoderLR. (The default value is stored.)

If you do not call this function, the library registers the default value (1). However, the value is not embedded even if the image's MP type (MpTypeCode) is MP_TYPE_CODE_MULTI_VIEW_DISPARITY_IMAGE (a stereoscopic image) or MP_TYPE_CODE_MULTI_VIEW_MULTI_ANGLE_IMAGE (a multi-angle image).

The same base viewpoint number must be embedded in all the individual images, so call this function before calling the StartMpEncoderFirst function. If this function is called before StartMpEncoderNext, it is ignored.

The values specified by this function are cleared after encoding of all the individual images completes, regardless of whether encoding succeeded or failed. The values specified by this function are also cleared if you call the ClearMpBaseViewpointNum 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