<ul class="entry_type_enum">
<li>
+ <span class="entry_type_enum_name">OFF</span>
+ <span class="entry_type_enum_notes">Autoexposure lock is disabled; the AE algorithm
+ is free to update its parameters.<wbr></span>
+ </li>
+ <li>
<span class="entry_type_enum_name">ON</span>
<span class="entry_type_enum_notes">Autoexposure lock is enabled; the AE algorithm
must not update the exposure and sensitivity parameters
while the lock is active</span>
</li>
- <li>
- <span class="entry_type_enum_name">OFF</span>
- <span class="entry_type_enum_notes">Autoexposure lock is disabled; the AE algorithm
- is free to update its parameters.<wbr></span>
- </li>
</ul>
</td> <!-- entry_type -->
<ul class="entry_type_enum">
<li>
- <span class="entry_type_enum_name">ON</span>
- <span class="entry_type_enum_notes">Auto-whitebalance lock is enabled; the AWB
- algorithm must not update the exposure and sensitivity
- parameters while the lock is active</span>
- </li>
- <li>
<span class="entry_type_enum_name">OFF</span>
<span class="entry_type_enum_notes">Auto-whitebalance lock is disabled; the AWB
algorithm is free to update its parameters if in AUTO
mode.<wbr></span>
</li>
+ <li>
+ <span class="entry_type_enum_name">ON</span>
+ <span class="entry_type_enum_notes">Auto-whitebalance lock is enabled; the AWB
+ algorithm must not update the exposure and sensitivity
+ parameters while the lock is active</span>
+ </li>
</ul>
</td> <!-- entry_type -->
<tr class="entry" id="controls_android.tonemap.curveBlue">
<td class="entry_name">android.<wbr>tonemap.<wbr>curve<wbr>Blue</td>
<td class="entry_type">
- <span class="entry_type_name">byte</span>
+ <span class="entry_type_name">float</span>
<tr class="entry" id="controls_android.tonemap.curveGreen">
<td class="entry_name">android.<wbr>tonemap.<wbr>curve<wbr>Green</td>
<td class="entry_type">
- <span class="entry_type_name">byte</span>
+ <span class="entry_type_name">float</span>
<tr class="entry" id="dynamic_android.tonemap.curveBlue">
<td class="entry_name">android.<wbr>tonemap.<wbr>curve<wbr>Blue</td>
<td class="entry_type">
- <span class="entry_type_name">byte</span>
+ <span class="entry_type_name">float</span>
<tr class="entry" id="dynamic_android.tonemap.curveGreen">
<td class="entry_name">android.<wbr>tonemap.<wbr>curve<wbr>Green</td>
<td class="entry_type">
- <span class="entry_type_name">byte</span>
+ <span class="entry_type_name">float</span>
</entry>
<entry name="aeLock" type="byte" enum="true">
<enum>
+ <value>OFF
+ <notes>Autoexposure lock is disabled; the AE algorithm
+ is free to update its parameters.</notes></value>
<value>ON
<notes>Autoexposure lock is enabled; the AE algorithm
must not update the exposure and sensitivity parameters
while the lock is active</notes></value>
- <value>OFF
- <notes>Autoexposure lock is disabled; the AE algorithm
- is free to update its parameters.</notes></value>
</enum>
<description>Whether AE is currently locked to its latest
calculated values</description>
</entry>
<entry name="awbLock" type="byte" enum="true">
<enum>
- <value>ON
- <notes>Auto-whitebalance lock is enabled; the AWB
- algorithm must not update the exposure and sensitivity
- parameters while the lock is active</notes></value>
<value>OFF
<notes>Auto-whitebalance lock is disabled; the AWB
algorithm is free to update its parameters if in AUTO
mode.</notes></value>
+ <value>ON
+ <notes>Auto-whitebalance lock is enabled; the AWB
+ algorithm must not update the exposure and sensitivity
+ parameters while the lock is active</notes></value>
</enum>
<description>Whether AWB is currently locked to its
latest calculated values</description>
</section>
<section name="tonemap">
<controls>
- <entry name="curveBlue" type="byte">
+ <entry name="curveBlue" type="float">
<description>Table mapping blue input values to output
values</description>
<units>same as android.tonemap.curveRed</units>
<range>same as android.tonemap.curveRed</range>
</entry>
- <entry name="curveGreen" type="byte">
+ <entry name="curveGreen" type="float">
<description>Table mapping green input values to output
values</description>
<units>same as android.tonemap.curveRed</units>
// ANDROID_CONTROL_AE_LOCK
typedef enum camera_metadata_enum_android_control_ae_lock {
- ANDROID_CONTROL_AE_LOCK_ON,
ANDROID_CONTROL_AE_LOCK_OFF,
+ ANDROID_CONTROL_AE_LOCK_ON,
} camera_metadata_enum_android_control_ae_lock_t;
// ANDROID_CONTROL_AE_MODE
// ANDROID_CONTROL_AWB_LOCK
typedef enum camera_metadata_enum_android_control_awb_lock {
- ANDROID_CONTROL_AWB_LOCK_ON,
ANDROID_CONTROL_AWB_LOCK_OFF,
+ ANDROID_CONTROL_AWB_LOCK_ON,
} camera_metadata_enum_android_control_awb_lock_t;
// ANDROID_CONTROL_AWB_MODE
static tag_info_t android_tonemap[ANDROID_TONEMAP_END -
ANDROID_TONEMAP_START] = {
[ ANDROID_TONEMAP_CURVE_BLUE - ANDROID_TONEMAP_START ] =
- { "curveBlue", TYPE_BYTE },
+ { "curveBlue", TYPE_FLOAT },
[ ANDROID_TONEMAP_CURVE_GREEN - ANDROID_TONEMAP_START ] =
- { "curveGreen", TYPE_BYTE },
+ { "curveGreen", TYPE_FLOAT },
[ ANDROID_TONEMAP_CURVE_RED - ANDROID_TONEMAP_START ] =
{ "curveRed", TYPE_FLOAT },
[ ANDROID_TONEMAP_MODE - ANDROID_TONEMAP_START ] =
}
case ANDROID_CONTROL_AE_LOCK: {
switch (value) {
- case ANDROID_CONTROL_AE_LOCK_ON:
- msg = "ON";
- ret = 0;
- break;
case ANDROID_CONTROL_AE_LOCK_OFF:
msg = "OFF";
ret = 0;
break;
+ case ANDROID_CONTROL_AE_LOCK_ON:
+ msg = "ON";
+ ret = 0;
+ break;
default:
msg = "error: enum value out of range";
}
}
case ANDROID_CONTROL_AWB_LOCK: {
switch (value) {
- case ANDROID_CONTROL_AWB_LOCK_ON:
- msg = "ON";
- ret = 0;
- break;
case ANDROID_CONTROL_AWB_LOCK_OFF:
msg = "OFF";
ret = 0;
break;
+ case ANDROID_CONTROL_AWB_LOCK_ON:
+ msg = "ON";
+ ret = 0;
+ break;
default:
msg = "error: enum value out of range";
}