><a href="#dynamic_android.statistics.oisXShifts">android.statistics.oisXShifts</a></li>
<li
><a href="#dynamic_android.statistics.oisYShifts">android.statistics.oisYShifts</a></li>
+ <li
+ ><a href="#dynamic_android.statistics.oisSamples">android.statistics.oisSamples</a></li>
</ul>
</li>
</ul> <!-- toc_section -->
<tr class="entry" id="controls_android.statistics.oisDataMode">
<td class="entry_name
- " rowspan="3">
+ " rowspan="1">
android.<wbr/>statistics.<wbr/>ois<wbr/>Data<wbr/>Mode
</td>
<td class="entry_type">
</td>
</tr>
- <tr class="entries_header">
- <th class="th_details" colspan="6">Details</th>
- </tr>
- <tr class="entry_cont">
- <td class="entry_details" colspan="6">
- <p>When set to ON,<wbr/>
-<a href="#dynamic_android.statistics.oisTimestamps">android.<wbr/>statistics.<wbr/>ois<wbr/>Timestamps</a>,<wbr/> android.<wbr/>statistics.<wbr/>ois<wbr/>Shift<wbr/>Pixel<wbr/>X,<wbr/>
-and android.<wbr/>statistics.<wbr/>ois<wbr/>Shift<wbr/>Pixel<wbr/>Y provide OIS data in the output result metadata.<wbr/></p>
- </td>
- </tr>
<tr class="entry_spacer"><td class="entry_spacer" colspan="7"></td></tr>
<tr class="entry" id="dynamic_android.statistics.oisDataMode">
<td class="entry_name
- " rowspan="3">
+ " rowspan="1">
android.<wbr/>statistics.<wbr/>ois<wbr/>Data<wbr/>Mode
</td>
<td class="entry_type">
</td>
</tr>
- <tr class="entries_header">
- <th class="th_details" colspan="6">Details</th>
- </tr>
- <tr class="entry_cont">
- <td class="entry_details" colspan="6">
- <p>When set to ON,<wbr/>
-<a href="#dynamic_android.statistics.oisTimestamps">android.<wbr/>statistics.<wbr/>ois<wbr/>Timestamps</a>,<wbr/> android.<wbr/>statistics.<wbr/>ois<wbr/>Shift<wbr/>Pixel<wbr/>X,<wbr/>
-and android.<wbr/>statistics.<wbr/>ois<wbr/>Shift<wbr/>Pixel<wbr/>Y provide OIS data in the output result metadata.<wbr/></p>
- </td>
- </tr>
<tr class="entry_spacer"><td class="entry_spacer" colspan="7"></td></tr>
<span class="entry_type_array">
n
</span>
- <span class="entry_type_visibility"> [public]</span>
+ <span class="entry_type_visibility"> [ndk_public]</span>
<span class="entry_type_array">
n
</span>
- <span class="entry_type_visibility"> [public]</span>
+ <span class="entry_type_visibility"> [ndk_public]</span>
<td class="entry_details" colspan="6">
<p>The array contains the amount of shifts in x direction,<wbr/> in pixels,<wbr/> based on OIS samples.<wbr/>
A positive value is a shift from left to right in active array coordinate system.<wbr/> For
-example,<wbr/> if the optical center is (1000,<wbr/> 500) in active array coordinates,<wbr/> an shift of
+example,<wbr/> if the optical center is (1000,<wbr/> 500) in active array coordinates,<wbr/> a shift of
(3,<wbr/> 0) puts the new optical center at (1003,<wbr/> 500).<wbr/></p>
<p>The number of shifts must match the number of timestamps in
<a href="#dynamic_android.statistics.oisTimestamps">android.<wbr/>statistics.<wbr/>ois<wbr/>Timestamps</a>.<wbr/></p>
<span class="entry_type_array">
n
</span>
- <span class="entry_type_visibility"> [public]</span>
+ <span class="entry_type_visibility"> [ndk_public]</span>
<td class="entry_details" colspan="6">
<p>The array contains the amount of shifts in y direction,<wbr/> in pixels,<wbr/> based on OIS samples.<wbr/>
A positive value is a shift from top to bottom in active array coordinate system.<wbr/> For
-example,<wbr/> if the optical center is (1000,<wbr/> 500) in active array coordinates,<wbr/> an shift of
+example,<wbr/> if the optical center is (1000,<wbr/> 500) in active array coordinates,<wbr/> a shift of
(0,<wbr/> 5) puts the new optical center at (1000,<wbr/> 505).<wbr/></p>
<p>The number of shifts must match the number of timestamps in
<a href="#dynamic_android.statistics.oisTimestamps">android.<wbr/>statistics.<wbr/>ois<wbr/>Timestamps</a>.<wbr/></p>
<tr class="entry_spacer"><td class="entry_spacer" colspan="7"></td></tr>
<!-- end of entry -->
+
+ <tr class="entry" id="dynamic_android.statistics.oisSamples">
+ <td class="entry_name
+ " rowspan="3">
+ android.<wbr/>statistics.<wbr/>ois<wbr/>Samples
+ </td>
+ <td class="entry_type">
+ <span class="entry_type_name">float</span>
+ <span class="entry_type_container">x</span>
+
+ <span class="entry_type_array">
+ n
+ </span>
+ <span class="entry_type_visibility"> [java_public as oisSample]</span>
+
+ <span class="entry_type_synthetic">[synthetic] </span>
+
+
+
+
+
+ </td> <!-- entry_type -->
+
+ <td class="entry_description">
+ <p>An array of OIS samples.<wbr/></p>
+ </td>
+
+ <td class="entry_units">
+ </td>
+
+ <td class="entry_range">
+ </td>
+
+ <td class="entry_hal_version">
+ <p>3.<wbr/>3</p>
+ </td>
+
+ <td class="entry_tags">
+ </td>
+
+ </tr>
+ <tr class="entries_header">
+ <th class="th_details" colspan="6">Details</th>
+ </tr>
+ <tr class="entry_cont">
+ <td class="entry_details" colspan="6">
+ <p>Each OIS sample contains the timestamp and the amount of shifts in x and y direction,<wbr/>
+in pixels,<wbr/> of the OIS sample.<wbr/></p>
+<p>A positive value for a shift in x direction is a shift from left to right in active array
+coordinate system.<wbr/> For example,<wbr/> if the optical center is (1000,<wbr/> 500) in active array
+coordinates,<wbr/> a shift of (3,<wbr/> 0) puts the new optical center at (1003,<wbr/> 500).<wbr/></p>
+<p>A positive value for a shift in y direction is a shift from top to bottom in active array
+coordinate system.<wbr/> For example,<wbr/> if the optical center is (1000,<wbr/> 500) in active array
+coordinates,<wbr/> a shift of (0,<wbr/> 5) puts the new optical center at (1000,<wbr/> 505).<wbr/></p>
+ </td>
+ </tr>
+
+
+ <tr class="entry_spacer"><td class="entry_spacer" colspan="7"></td></tr>
+ <!-- end of entry -->
+
<!-- end of kind -->
<typedef name="reprocessFormatsMap">
<language name="java">android.hardware.camera2.params.ReprocessFormatsMap</language>
</typedef>
+ <typedef name="oisSample">
+ <language name="java">android.hardware.camera2.params.OisSample</language>
+ </typedef>
</types>
<namespace name="android">
<value>OFF
<notes>Do not include OIS data in the capture result.</notes></value>
<value>ON
- <notes>Include OIS data in the capture result.</notes></value>
+ <notes>Include OIS data in the capture result.</notes>
+ <sdk_notes>android.statistics.oisSamples provides OIS sample data in the
+ output result metadata.
+ </sdk_notes>
+ <ndk_notes>android.statistics.oisTimestamps, android.statistics.oisXShifts,
+ and android.statistics.oisYShifts provide OIS data in the output result metadata.
+ </ndk_notes>
+ </value>
</enum>
<description>A control for selecting whether OIS position information is included in output
result metadata.</description>
<range>android.Statistics.info.availableOisDataModes</range>
- <details>When set to ON,
- android.statistics.oisTimestamps, android.statistics.oisShiftPixelX,
- and android.statistics.oisShiftPixelY provide OIS data in the output result metadata.
- </details>
</entry>
</controls>
<dynamic>
<clone entry="android.statistics.oisDataMode" kind="controls">
</clone>
- <entry name="oisTimestamps" type="int64" visibility="public" container="array" hal_version="3.3">
+ <entry name="oisTimestamps" type="int64" visibility="ndk_public" container="array" hal_version="3.3">
<array>
<size>n</size>
</array>
timebase as and comparable to android.sensor.timestamp.
</details>
</entry>
- <entry name="oisXShifts" type="float" visibility="public" container="array" hal_version="3.3">
+ <entry name="oisXShifts" type="float" visibility="ndk_public" container="array" hal_version="3.3">
<array>
<size>n</size>
</array>
<details>
The array contains the amount of shifts in x direction, in pixels, based on OIS samples.
A positive value is a shift from left to right in active array coordinate system. For
- example, if the optical center is (1000, 500) in active array coordinates, an shift of
+ example, if the optical center is (1000, 500) in active array coordinates, a shift of
(3, 0) puts the new optical center at (1003, 500).
The number of shifts must match the number of timestamps in
android.statistics.oisTimestamps.
</details>
</entry>
- <entry name="oisYShifts" type="float" visibility="public" container="array" hal_version="3.3">
+ <entry name="oisYShifts" type="float" visibility="ndk_public" container="array" hal_version="3.3">
<array>
<size>n</size>
</array>
<details>
The array contains the amount of shifts in y direction, in pixels, based on OIS samples.
A positive value is a shift from top to bottom in active array coordinate system. For
- example, if the optical center is (1000, 500) in active array coordinates, an shift of
+ example, if the optical center is (1000, 500) in active array coordinates, a shift of
(0, 5) puts the new optical center at (1000, 505).
The number of shifts must match the number of timestamps in
android.statistics.oisTimestamps.
</details>
</entry>
+ <entry name="oisSamples" type="float" visibility="java_public" synthetic="true"
+ container="array" typedef="oisSample" hal_version="3.3">
+ <array>
+ <size>n</size>
+ </array>
+ <description>
+ An array of OIS samples.
+ </description>
+ <details>
+ Each OIS sample contains the timestamp and the amount of shifts in x and y direction,
+ in pixels, of the OIS sample.
+
+ A positive value for a shift in x direction is a shift from left to right in active array
+ coordinate system. For example, if the optical center is (1000, 500) in active array
+ coordinates, a shift of (3, 0) puts the new optical center at (1003, 500).
+
+ A positive value for a shift in y direction is a shift from top to bottom in active array
+ coordinate system. For example, if the optical center is (1000, 500) in active array
+ coordinates, a shift of (0, 5) puts the new optical center at (1000, 505).
+ </details>
+ </entry>
</dynamic>
</section>
<section name="tonemap">