PCIe Pipeline Adaptation
In the previous section, you learned how to build a basic pipeline and test it on the DevKit. However, that setup doesn’t yet allow you to transfer data from the host to the DevKit or retrieve data from the DevKit back to the host over PCIe. To enable this functionality, you’ll need to modify the pipeline to incorporate PCIe plugins. Here’s the general concept:
Update the
gst-launchcommand in theapplication.jsonby :replacing the
simaaisrcinput plugin with thepciesocsrcplugin, and include the required parameters.swapping the
simple_overlayoutput plugin for thepciesocsinkplugin, and provide the necessary parameters.Make other necessary changes to
application.jsonto accommodate to the PCIe system architecture.
Develop a host-side application using the PCIe Host Side C++ or Python APIs to exchange data with the DevKit.
Alternatively, you can utilize the
pciehosthost side plugin provided by SiMa to test the pipeline without having to write any host side code.