This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Question about v4l2 & fb & omx api?

hi Ti expert:   

      What is the releation between v4l2 api & fb api & omx api ?Are the independent to each other?
    We know that we should show osd using fb api and video using v4l2, can they show on a same screen?
    How to do this?
   Can we return to 6467 software architecture using DMAI?
  • Hi,

    V4L2 is standard application APIs on top of HDVPSS hardware for display and capture. OMX are application level APIs based on openMax media library. V4L2 is for display and capture. while open max supports encode, decode and processing APIs in addition to capture and display APIs. Details about open max could be found at http://www.khronos.org/openmax/

    You can do OSD using V4L2 and fbdev on same screen.   DMAI is not ported on DM816x/DM814x.

    Regards,

    Hardik Shah

  • Hi Hardik,

        Thanks  for your reply at first.

        It seems that the only way to use the function  "encode, decode and processing" is using the open max apis, is it right?

        Is there any sample application using the V4L2 & FB apis at the same time under  the psp packages?

       Regards,

      Chris Liu

  • Chris,

    Yes OMX is the only way to go for encode/decode and processing. As for the v4l2/fb sample, we do provide such examples in the PSP please check saLoopback, saLoopbackFBdev.

    Regards,

     

    yihe