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>Context</title>
8  </head>
9  <body>
10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/camera/Overview.html">camera</a>::<a href="../../../nn/camera/CTR/Overview.html">CTR</a>::Context</CODE> Enumerated Type</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14enum Context;
15</pre>
16    </div>
17<h2>Value</h2>
18    <div class="section">
19      <table class="arguments">
20        <thead>
21          <tr>
22<th>Value</th>
23<td>Description</td>
24          </tr>
25        </thead>
26        <tr>
27<th>CONTEXT_NONE</th>
28<td>Specifies no contexts.</td>
29        </tr>
30        <tr>
31<th>CONTEXT_A</th>
32<td>Specifies context A.</td>
33        </tr>
34        <tr>
35<th>CONTEXT_B</th>
36<td>Specifies context B.</td>
37        </tr>
38        <tr>
39<th>CONTEXT_BOTH</th>
40<td>Specifies both context A and context B.</td>
41        </tr>
42      </table> </div>
43<h2>Description</h2>
44    <div class="section">
45<p>Enumerated type that indicates the camera context.</p><P>
46Think of a &quot;context&quot; here as a place to save the state for camera settings.
47            </P><P>
48You can save combinations of three settings (resolution, effects, and flipping) in two contexts: A and B. By default, the inner camera and left and right outer cameras all use context A when started.
49            </P><P>
50The way to use the contexts is to configure the following settings as needed for context B: <CODE><a href="../../../nn/camera/CTR/SetSize.html">nn::camera::CTR::SetSize</a></CODE>, <CODE><a href="../../../nn/camera/CTR/SetDetailSize.html">nn::camera::CTR::SetDetailSize</a></CODE>, <CODE><a href="../../../nn/camera/CTR/FlipImage.html">nn::camera::CTR::FlipImage</a></CODE>, <CODE>ref def=&quot;SetEffect&quot;</CODE>.<br /><//> If this is done, when those settings are necessary you can call <CODE><a href="../../../nn/camera/CTR/SwitchContext.html">nn::camera::CTR::SwitchContext</a></CODE> to change the current context to context B. Accordingly, you can switch settings faster by doing this than by changing camera settings separately when the need arises.
51            </P></div>
52<h2>Revision History</h2>
53    <div class="section">
54      <dl class="history">
55        <dt>2010/04/09</dt>
56<dd>Added description text.<br />
57        </dd>
58        <dt>2010/01/07</dt>
59<dd>Initial version.<br />
60        </dd>
61      </dl>
62    </div>
63  <hr><p>CONFIDENTIAL</p></body>
64</html>
65