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.

VPFE new device porting

hello everyone,

I wanted to use new device with VPFE in RAW Progressive mode.

I am using Dm355 and MV5 and EVM board.

I was just going through the datasheets of LSP2.10

in datasheet No.SPRUGP6  named "LSP 2.10 Davinci Linux VPFE Capture Driver"

 

   Adding New Decoder Support
VPFE capture driver is made such that if new decoder needs to be supported, it can be done by
implementing some standard functions. One common vid_decoder_if.h file is available describing the
interface for new decoder. To develop a new decoder driver, use existing drivers (that is close enough to
the driver being written) as template

 

My questions are,

  1. Were to find vid_decoder_if.h  file ??
  2. Can you elaborate the exact process a little bit , because I am not geting proper way to use micron sensor's ready driver as template !!

Thank you very much


  • the header file is found under linux kernel

       ti-davinci/include/media/davinci

    The encoder manager manages the encoder via the interface defined in this header file.  Hence you can use an existing decoder (such as ti-davinci/driver/media/video/davinci/mt9t001.c) as a template to implement the functions defined in vid_decoder_if.h

  • Thank you very much JUAN, i will come back to you if I struck somewhere.

    I am trying to port a new decoder to VPFE.I am using MV5.

    Can MV people help in this ??

  • I believe MV offers a wide range of services and prices, anything from providing you with annual subscription based e-mail support to doing your end-to-end design for you.

    Other thirds parties worth considering (in no particular order)

    1) RidgeRun which is familiar with Leopard Imaging software

    2) Leopard Imaging, which has Micron Sensor bases solutions... https://www.leopardimaging.com/5M_HD_Camera_Board.html  

    3) Logic PD, which also writes software and designs boards for many of our platforms.

  • Thank you Juan,

    I will look in that,

     I will first try to get through it myself , and will tell if i got struck somewhere ;)

  • Hello ,

    I ve almost got the idea , how to port new decoder but the only thing hindering my progress is ,

    how to add NEW STANDARD in v4l2 as they have added multiple STDS in local davinci_vpfe.c file (Not supported by V4l2 ) but I am not getting the timing relation of all those STDs and their FPS Rate infos? Plus there is no file named CCDC_COMMON.H (suppose to be having timing specs for all STDs as per VPFE Capture Driver USER GUIDE LSP 2.10)...Can you help me its URGENT !!!!!!!

     

    Thank you very much for your reply !!

  • Hi Juan:

      I saw your above reply.  I am also searching for the vid_decoder_if.h.  I have downloaded the linux-davinci-staging package.  I still could not find this header file.

    What package do I need to download in order to have it included?


    Thanks,


    TW