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.

DM355: Can I use IPIPE to resize the image when in CMOS-RAW-DATA input mode?

Dear all,

   I used a cmos RAW-Data input mode in DM355 and use IPIPE to generate image data in YCbCr-4:2:2 format from RAW CCD/CMOS data。 In the same time, I want to resize the image for display in my LCD, is this possible?

    like this:

CMOS RAW=======>YUV4:2:2=============>encoder===========>record

                                             ||

                                             ||

                                             ||============>   display

 IPIPE can be configured to operate in a resize only mode. Did this means that I can't use all the IPIPE's other functions?

Thanks.  Any reply is appreciated.

Wei

 

  • Hi Wei,

    as far as I know the IPIPE has two resizer channels (RSZ_A and RSZ_B). So it should be possible to save the incomming images in two different framebuffers with different sizes. By the way, the resizers can be configured in by-pass-mode. It is possible to use all the IPIPE functions without the resizer.

    CMOS RAW ==> IPIPEIF ==> ISIF (CCDC) ==> IPIPEIF ==> IPIPE ==> RSZ_A ==> SDRAM

                                                                                                          ==> RSZ_B ==> SDRAM

    Take a look at the users guide http://www.ti.com/litv/pdf/spruf71a.

    Sebastian

  • Hi Wei,

    As Sebastian mentioned, it is very much possible to achieve your use case. DM355 IPIPE has internally resizer module comprising of two separate resizer (RSZ_A and RSZ_B). Both the resizers get the same input and can give a different resolution output. The input to these resizers can come through IPIPE which will be doing the raw data to YUV processing or directly YUV data can be fed into these resizers from IPIPEIF by setting appropriate value in IPIPE_DPATHS.FMT register.

    Page 60 of  http://www.ti.com/litv/pdf/spruf71a VPFE guide shows how the data flow inside IPIPE works.

    If you have specific question for linux application on DM355, you can enable both the outputs and set their different resolutions. The output is controlled using the "resizer" linux driver. Generally in DVSDK applications output2 of rsz_<single shot / continuous>_config might be disabled but you can turn the output2 on and get the data in different DDR buffer.

    Hope this helps.

    Thanks Sebastian for providing your inputs.

    Regards,

    Anshuman

    PS: Please mark this post as verified if it has answered your question. Thanks.

  • Hi Anshuman,

       Thank you very much for your answer! I'll read the VPFE datasheet for further usage.

       I can't mark it again as you already did that:)

       Best Regards,

      Wei