nn::camera::CTR::SetSize Functionnn::Result SetSize( CameraSelect select, Size size, Context context = CONTEXT_BOTH );
| Name | Description | |
|---|---|---|
| in | select | Specifies which camera to change settings for. |
| in | size | Specifies the resolution. |
| 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 the resolution.
The default values for each camera are shown below.
| Inner Camera | Right Outer Camera | Left Outer Camera | |
|---|---|---|---|
| Context A | SIZE_DS_LCD | SIZE_DS_LCD | SIZE_DS_LCD |
| Context B | SIZE_VGA | SIZE_VGA | SIZE_VGA |
Note that this function may block internally for an extended period if a camera is restarting.
CONFIDENTIAL