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.

Linux/AM5718: VIP configuration

Guru 10235 points

Part Number: AM5718
Other Parts Discussed in Thread: TMDXIDK5718

Tool/software: Linux

Hello, TI Experts,

 

Our customer sent us questions about VIP function of AM5718 below condition.

- PROCESSOR-SDK-LINUX-RT-AM57X 05_02_00_10

- EVM: TMDXIDK5718

 

They tried to connect "12bit gray scale sensor" to vin1a and vin2a.

And they would like to know how to modify the related files in Linux-RT-SDK.

They also checked the description of "9.4.4.3 VIP Slice Processing Path Examples" in the below TRM.

     http://www.ti.com/lit/ug/spruhz7i/spruhz7i.pdf

But they cannot find any description for "12bit gray scale sensor" use-case.

 

Questions:

1:Could you tell us the recommended configuration values including like below setting to use "12bit gray scale sensor"?

        VIPx_CSC_SRC_SELECT =

        VIPx_SC_SRC_SELECT =

        VIPx_CHR_DS_1_SRC_SELECT =

        VIPx_CHR_DS_1_BYPASS =

        VIPx_CHR_DS_2_SRC_SELECT =

        VIPx_CHR_DS_2_BYPASS =

        VIPx_RGB_SRC_SELECT =

        VIPx_RGB_OUT_HI_SELECT =

        VIPx_RGB_OUT_LO_SELECT =

        VIPx_MULTI_CHANNEL_SELECT =

 

2: Those register settings are same as vin1a and vin2a.

     Is this understanding correct?

 

3: They thought that the VIP setting is in "drivers/media/platform/ti-vpe/vip.c".

     Is this understanding correct?

 

4: Are there any recommended modification files to use "12bit gray scale sensor" in Linux-RT-SDK

   other than vip.c?

 

5: Are there recommended way to realize to marge vin1a and vin2a data into one picture by using

   such as "9.4.8.7.1.1.6 Line Stride in TRM" function like below?

     - Left half image is vin1a 12bit gray scale data.

     - Right half image is vin2a 12bit gray scale data.  

   (Please refer attached pdf.)

 

We would also appreciate if you tell us the recommended way of realizing to marge" vin1a and vin2a 12bit gray scale data"

into one picture.

 

Best regards,

vip.pdf

  • Hello,

    This is the guide that you could refer for more information regarding VIP:

    http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components_Kernel_Drivers.html#vip

    Hope this helps.

    Best Regards,

    Margarita

  • Hi,

    Thank you very much for your kindness.

    I really appreciate your help.

    I'd like to send the answer to the customer.

    But we cannot find related information about below questions in previous post in below site .

    http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components_Kernel_Drivers.html#vip

     

    1:Could you tell us the recommended configuration values including like below setting to use "12bit gray scale sensor"?

            VIPx_CSC_SRC_SELECT =

            VIPx_SC_SRC_SELECT =

            VIPx_CHR_DS_1_SRC_SELECT =

            VIPx_CHR_DS_1_BYPASS =

            VIPx_CHR_DS_2_SRC_SELECT =

            VIPx_CHR_DS_2_BYPASS =

            VIPx_RGB_SRC_SELECT =

            VIPx_RGB_OUT_HI_SELECT =

            VIPx_RGB_OUT_LO_SELECT =

            VIPx_MULTI_CHANNEL_SELECT =

     

    5: Are there recommended way to realize to marge vin1a and vin2a data into one picture by using

       such as "9.4.8.7.1.1.6 Line Stride in TRM" function like below?

         - Left half image is vin1a 12bit gray scale data.

         - Right half image is vin2a 12bit gray scale data.  

     

    Questions:

    1: Does AM5718 support "12bit gray scale sensor"?

    2: Is it proper way to realize marge vin1a and vin2a data into one picture by using

         such as "9.4.8.7.1.1.6 Line Stride in TRM" function like below?

         - Left half image is vin1a 12bit gray scale data.

         - Right half image is vin2a 12bit gray scale data.

     

    3: Are there any information of below register setting values to use "12bit gray scale sensor"?

            VIPx_CSC_SRC_SELECT =

            VIPx_SC_SRC_SELECT =

            VIPx_CHR_DS_1_SRC_SELECT =

            VIPx_CHR_DS_1_BYPASS =

            VIPx_CHR_DS_2_SRC_SELECT =

            VIPx_CHR_DS_2_BYPASS =

            VIPx_RGB_SRC_SELECT =

            VIPx_RGB_OUT_HI_SELECT =

            VIPx_RGB_OUT_LO_SELECT =

            VIPx_MULTI_CHANNEL_SELECT =

     

    Best regards,