nn::camera::CTR::SetTransferLines Function
void SetTransferLines(
Port port,
s16 lines,
s16 width,
s16 height
);
| Name | Description | |
|---|---|---|
| in | port | Specifies which port to set the number of lines for. |
| in | lines | Specifies the number of lines. All of the following conditions must be met. (1) The amount of transfer data (width * lines * 2) must be a multiple of 256 bytes. (2) The height argument must be a multiple of lines. (3) The amount of transfer data (width * lines * 2) must be 10 KB (10240 bytes) or less. |
| in | width | Specifies the width of the image to transfer. If trimming, specify (in pixels) the desired width of the trimmed image. |
| in | height | Specifies the height of the image to transfer. If trimming, specify (in pixels) the desired height of the trimmed image. |
Sets the number of lines to save in the buffer.
Note: Do not let the amount of data being saved exceed the capacity of the buffer (10 KB).
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