nn::camera::CTR::FlipImage Function

Syntax

nn::Result FlipImage(
CameraSelect select,
Flip flip,
Context context = CONTEXT_BOTH
);

Arguments

Name Description
in select Specifies which camera to change settings for.
in flip Specifies flipping.
in context Specifies which context to change settings for. If omitted, the settings will be applied both to context A and context B.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.

Value Description
ResultSuccess Process was successful.
ResultIsSleeping Unusable because the system's cover is closed.
ResultFatalError There may be something physically wrong with the camera.

Description

Configures flipping of images.

The default values for each camera are shown below.

Inner CameraRight Outer CameraLeft Outer Camera
Context AFLIP_HORIZONTALFLIP_NONEFLIP_NONE
Context BFLIP_HORIZONTALFLIP_NONEFLIP_NONE

Note that this function may block internally for an extended period if a camera is restarting.

Revision History

2010/07/17
Added explanation about operation during restart.
2010/04/14
Added a description of the default values.
2010/02/02
Initial version.

CONFIDENTIAL