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.

How to bypass Image Processor and write image directly to SDRAM in DM36x?

Other Parts Discussed in Thread: TVP5146

Hi guys,

We would like to use grayscale images (8 bit pixel array) provided from our imager and place it directly to SDRAM, since there is not much sense to run Image Processor on grayscale images. So, in vpfe_capture.c file it is stated that is possible to bypass Image Processor and write image directly to SDRAM. Here's that excerpt:

Linux/drivers/media/video/davinci/vpfe_capture.c - http://lxr.free-electrons.com/source/drivers/media/video/davinci/vpfe_capture.c?v=2.6.35

*     decoder(TVP5146/                   YUV/
*         MT9T001)                --> Raw Bayer RGB ---> MUX -> VPFE (CCDC/ISIF)
*                                                       data input                               |               |
*                                                                                                    V              |
*                                                                                                SDRAM       |
*                                                                                                                    V
*                                                                                                        Image Processor
*                                                                                                                     |
*                                                                                                                    V
*                                                                                                               SDRAM

Does anyone have some pointers how to proceed in doing this?

Thanks,

Teo

  • Hi Teo,

    If I understand correctly, you want to bypass IPIPE module which does lots of Image processing.

    IPIPE can be bypassed and Image can be written to SDRAM directly from ISIF, using the righ configuration of ISP.
    Please refer ISIF & IPIPIPEIF register configurations & settings in DM36X data sheet. 


    Hope it will help.

  • Hello,

    Yes that’s  possible and already supported in the latest dvsdk based on media controller driver. I have attached the possible combinations which the driver supports. And there are sample apps which demonstrate this paths.

    Hope that helps.

    Cheers,

    --Prabhakar Lad

  • Oops sorry! @ravikiran this is pretty old post scratched, just for increasing the points is it ?

    Thanks,
    --Prabhakar Lad
  • I didn't check the dates of post !! Since it showed in dm3x forum as not answered I replied.
    Does "All recent questions and discussions" + "Ascending" | "Descending" option of TI wants to humiliate some one? My mistake of not checking dates leads to it
    Any way nice thought & hinting a trick @Prabhakar Lad. may I know if you tried it any time :p 

    [By writing this non technical comment I got 10 points .. huh]