1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7<title>SetAutoExposureWindow</title>
8  </head>
9  <body>
10<h1><CODE>nn::camera::CTR::SetAutoExposureWindow</CODE> Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14<a href="../../../nn/Result/Overview.html">nn::Result</a> SetAutoExposureWindow(
15     <a href="../../../nn/camera/CTR/CameraSelect.html">CameraSelect</a> select,
16     s16 startX,
17     s16 startY,
18     s16 width ,
19     s16 height
20);
21</pre>
22    </div>
23<h2>Arguments</h2>
24    <div class="section">
25      <table class="arguments">
26        <thead>
27          <tr>
28            <td width="15" />
29<th>Name</th>
30<td>Description</td>
31          </tr>
32        </thead>
33        <tr>
34<td>in</td>
35<th>select</th>
36<td>Specifies which camera to change settings for.</td>
37        </tr>
38        <tr>
39<td>in</td>
40<th><SPAN class="argument">startX</SPAN></th>
41<td>Specifies the x-coordinate of the region's upper-left corner. If the x-coordinate of the image's upper-left corner is defined as 0, this argument can be specified in 40-pixel increments in the range [0, 600].</td>
42        </tr>
43        <tr>
44<td>in</td>
45<th><SPAN class="argument">startY</SPAN></th>
46<td>Specifies the y-coordinate of the region's upper-left corner. If the y-coordinate of the image's upper-left corner is defined as 0, this argument can be specified in 30-pixel increments in the range [0, 450].</td>
47        </tr>
48        <tr>
49<td>in</td>
50<th>width</th>
51<td>Specifies the region's width. This can be specified in 40-pixel increments in the range [0, 640].</td>
52        </tr>
53        <tr>
54<td>in</td>
55<th>height</th>
56<td>Specifies the region's height. This can be specified in 30-pixel increments in the range [0, 480].</td>
57        </tr> </table>
58    </div>
59<h2>Return Values</h2>
60<div class="section">Returns the result of the operation.<br /><CODE>LEVEL_SUCCESS:SUMMARY_SUCCESS:MODULE_COMMON:DESCRIPTION_SUCCESS</CODE>: Success.<br /><CODE>LEVEL_STATUS:SUMMARY_STATUS_CHANGED:MODULE_NN_CAMERA:DESCRIPTION_CAMERA_IS_SLEEPING</CODE>: Asleep, and thus unavailable.<br /><CODE>LEVEL_FATAL:SUMMARY_INTERNAL:MODULE_NN_CAMERA:DESCRIPTION_CAMERA_FATAL_ERROR</CODE>: There may be something physically wrong with the camera.<br /> </div>
61<h2>Description</h2>
62    <div class="section">
63<p>Sets the region within the view to use as the basis for calculating auto exposure.</p><P>
64				The default values for each camera are shown below.
65			</P><table><tr><th /><th>Inner Camera</th><th>Right Outer Camera</th><th>Left Outer Camera</th></tr><tr><th><SPAN class="argument">startX</SPAN></th><td>80</td><td>0</td><td>0</td></tr><tr><th><SPAN class="argument">startY</SPAN></th><td>60</td><td>0</td><td>0</td></tr><tr><th>width</th><td>480</td><td>640</td><td>640</td></tr><tr><th>height</th><td>360</td><td>480</td><td>480</td></tr></table><p>Note that this function may block internally for an extended period if a camera is restarting.</p></div>
66<h2>Revision History</h2>
67    <div class="section">
68      <dl class="history">
69        <dt>2010/07/17</dt>
70<dd>Added explanation about operation during restart.
71        </dd>
72        <dt>2010/04/13</dt>
73<dd>Initial version.<br />
74        </dd>
75      </dl>
76    </div>
77  <hr><p>CONFIDENTIAL</p></body>
78</html>
79