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>SetAutoWhiteBalanceWindow</title> 8 </head> 9 <body> 10 <h1><CODE>nn::camera::CTR::SetAutoWhiteBalanceWindow</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> SetAutoWhiteBalanceWindow( 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 white balance.</p><p> 64 All cameras have the same initialization values, as follows. 65 </p><table><tr><th><SPAN class="argument">startX</SPAN></th><td>0</td></tr><tr><th><SPAN class="argument">startY</SPAN></th><td>0</td></tr><tr><th>width</th><td>640</td></tr><tr><th>height</th><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/09/13</dt> 70 <dd>Initial version.<br /> 71 </dd> 72 </dl> 73 </div> 74 <hr><p>CONFIDENTIAL</p></body> 75</html>