nn::camera::CTR::SetTrimmingParamsCenter Function
void SetTrimmingParamsCenter(
Port port,
s16 trimWidth,
s16 trimHeight,
s16 camWidth,
s16 camHeight
);
| Name | Description | |
|---|---|---|
| in | port | Specifies which port to change settings for. |
| in | trimWidth | Trim width |
| in | trimHeight | Trim height |
| in | camWidth | Width (horizontal resolution) of images captured by the camera |
| in | camHeight | Height (vertical resolution) of images captured by the camera |
Sets the trimming positions relative to the center of the camera image.
The restrictions on the values that can be set using the SetTrimmingParams function also apply to this function.
To use this function, you must first enable trimming with the SetTrimming function.
No values are set if this function is called during image capture (while the IsBusy function returns true). To change settings, first call the StopCapture function to stop capturing, then wait for the IsBusy function's return value to change to false, and finally call this function.
CONFIDENTIAL