nn::camera::CTR::SetEffect Functionnn::Result SetEffect( CameraSelect select, Effect effect, Context context = CONTEXT_BOTH );
| Name | Description | |
|---|---|---|
| in | select | Specifies which camera to change settings for. |
| in | effect | Specifies the effect. |
| in | context | Specifies which context to change settings for. If omitted, the settings will be applied both to context A and context B. |
LEVEL_SUCCESS:SUMMARY_SUCCESS:MODULE_COMMON:DESCRIPTION_SUCCESS: Success.LEVEL_STATUS:SUMMARY_STATUS_CHANGED:MODULE_NN_CAMERA:DESCRIPTION_CAMERA_IS_SLEEPING: Asleep, and thus unavailable.LEVEL_FATAL:SUMMARY_INTERNAL:MODULE_NN_CAMERA:DESCRIPTION_CAMERA_FATAL_ERROR: There may be something physically wrong with the camera.Sets an image effect.
Both context A and context B for all cameras have an initial value of EFFECT_NONE.
Note: When you specify an effect with this function, you can vary the result of the effect by changing other settings at the same time.
EFFECT_NEGAFILM, you can emphasize red tones by raising the color temperature of WhiteBalance (moving it toward WHITE_BALANCE_SHADE).EFFECT_SEPIA, you can get a soft impression by lowering the Sharpness setting.Note that this function may block internally for an extended period if a camera is restarting.
CONFIDENTIAL