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.

Enabling and Disabling Resizers A and B in OMAP5

How to enable or disable the resizers in OMAP5 EVM ES 2.0? Should it be done in Ducati side? Or in Android? What is the procedure for disabling?

I'm referring to the following Release Note.

http://omapedia.org/wiki/Panda5AJ.1.5_Release_Notes

  • Hi,

    If your image data does not require resizing, then depending on the input data type the RSZ module can be put either in BYPASS or PASSTHROUGH mode, see Section 8.3.3.4.4 ISS ISP RSZ Integration:
     " The following constraints apply to the RSZ module:
    • The data coming from the IPIPEIF module can be RAW or YUV4:2:2 data. Because the RSZ module can rescale only YUV4:2:2 data, the RSZ module must be configured in pass-through mode when RAW data is received on VP 2. It is possible to bypass the resizer engine if YUV4:2:2 data is sent but rescaling is not needed (bypass mode).
    • The data coming from the IPIPE module can be RAW or YUV4:2:2 data. Eventually, YUV4:2:0 data can be sent through this path, but the data must be sent in two passes. Because the RSZ module can rescale only YUV4:2:2 data, the RSZ module must be configured in pass-through mode when RAW data is received on VP 1. It is possible to bypass the resizer engine if YUV4:2:2 data is sent but rescaling is not needed (bypass mode)."

    You can see appropriate configurations in Table 8-432. ISS ISP RSZ Module Modes: Register Settings. Basically the RSZ is set in: 
    1. PASS-THROUGH Mode: 

      - when RSZ_GCK_SDR[0]CORE = 0x0 and RSZ_SRC_FMT0.BYPASS = 1

     OR

     - when RSZ_GCK_SDR[0]CORE = 0x1 and RSZ_SRC_FMT0.BYPASS = 1

    2. Resizer is in BYPASS Mode when RSZ_GCK_SDR[0]CORE = 0x0 and RSZ_SRC_FMT0.BYPASS = 0

    The two RSZ engines RSZA & RSZB are enabled or disabled based on the settings of RZA_EN and  RZB_EN registers. Note that you must enable the resizer engines after setting all needed configuration parameters. 

    Best Regards,

    Yordan

  • To elaborate on your question:

    "Should it be done in Ducati side? Or in Android?"

    All ISS configurations are done in Ducati side.

    Best Regards,

    Yordan

  • Thanks.

    How to prevent the invoke of MSP.NODE.VIDEO_ISP which calls the MSP_VideoIspInit? I guess that is doing the resizing part. Am I right?

  • Hi,

    Ducati code is under NDA, and I cannot discuss it in a public forum.

    I've tested the steps described in my previous post with CCS on OMAP4 device (but OMAP5 ISS ISP is similar). You should locate the register settings in ducati code & update RSZ registers accordingly.

    Best Regards,
    Yordan