ON Semiconductor AP1302 Linux driver: Difference between revisions

m
no edit summary
mNo edit summary
Line 268: Line 268:
</table>
</table>


= AP1302 Features=
== AP1302 Features==


The AP1302 is an image sensor with the following features:
The AP1302 is an image sensor with the following features:
Line 318: Line 318:
** 4208x3120@15
** 4208x3120@15


=Enabling the driver=
==Enabling the driver==
In order to use this driver, you have to patch and compile the kernel source using JetPack:
In order to use this driver, you have to patch and compile the kernel source using JetPack:


Line 343: Line 343:
</pre>
</pre>


=Using the driver=
==Using the driver==


==Gstreamer examples==
===Gstreamer examples===


=== Capture ===
==== Capture ====


<pre style="background:#d6e4f1">
<pre style="background:#d6e4f1">
Line 361: Line 361:
</pre>
</pre>


=== Video Encoding ===
==== Video Encoding ====


<pre style="background:#d6e4f1">
<pre style="background:#d6e4f1">
Line 369: Line 369:
The sensor will capture in the 4208x3120@15 mode and the pipeline will encode the video and save it into test.ts file.
The sensor will capture in the 4208x3120@15 mode and the pipeline will encode the video and save it into test.ts file.


== Performance ==
=== Performance ===


=== ARM Load ===
==== ARM Load ====


Tegrastats display the following output when capturing with the sensor:
Tegrastats display the following output when capturing with the sensor:
Line 384: Line 384:
</pre>
</pre>


=== Framerate ===
==== Framerate ====
Using the next pipeline we were able to measure the framerate for single capture with the [https://github.com/RidgeRun/gst-perf perf] element:
Using the next pipeline we were able to measure the framerate for single capture with the [https://github.com/RidgeRun/gst-perf perf] element:
<pre style="background:#d6e4f1">
<pre style="background:#d6e4f1">
Line 414: Line 414:


<!--
<!--
=== Latency ===
==== Latency ====


The glass to glass latency measured is about TODO ms with nvcamerasrc.
The glass to glass latency measured is about TODO ms with nvcamerasrc.