nn::camera::CTR::GetMaxBytes Function| Name | Description | |
|---|---|---|
| in | width | Specifies the horizontal width (in pixels). If trimming, specify (in pixels) the desired width of the trimmed image. |
| in | height | Specifies the vertical height (in pixels). If trimming, specify the desired height (in pixels) of the trimmed image. |
Gets the maximum number of bytes that can be saved in the buffer.
The buffer can save up to a maximum of 10 KB of data, but to avoid buffer errors this function instead takes 5 KB (half of that maximum value) as its standard when it returns the number of bytes.
Execution halts within this function if the following condition is not met.
• The amount of data per image frame (width * height * 2) must be a multiple of 256 bytes.
CONFIDENTIAL