Hi,
We have a working V4L2 -> VPE - > VENC pipeline. We want to connect display to VPE output to enable user to preview video being encoded. We are trying to add Display (DRM) to output of VPE. To prevent a memcopy, we are trying to share buffers between VPE, VENC and DRM. To be able to do this I need to register buffer allocated by omap_bo_new with DRM.
(Please note using DRM buffers is not an option as display is optional in this use-case)
Will I be able to do this with drmModeAddFB2 API? If so is this demonstrated in any of the test applications. (Please note we are using custom framework and not Gstreamer)
Any help will be highly appreciated
Regards
Krishna