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>nn::camera::CTR::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 "context" 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> 50Contexts are used as follows. If you use the <CODE>SetSize</CODE>, <CODE>SetDetailSize</CODE>, <CODE>FlipImage</CODE>, and <CODE>SetEffect</CODE> functions to set the necessary values in context B ahead of time, you can then call the <CODE>SwitchContext</CODE> function to switch the current context to context B when those settings are required. It is faster to switch settings in this way than to change camera settings individually on demand. 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>