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.

TDA4VH-Q1: ISP uses LSC module, the output image appears red stripe.

Part Number: TDA4VH-Q1

Tool/software:

I added the LSC module to the ISP, where the LSC LUT used the MATLAB code provided by the TI official documentation, and the data format tried U8Q8 + 1 and U6Q6 + 1, but the LSC module did not seem to work properly, the resulting image shows an unusual red stripe, as shown below. However, when I set LSC LUT's gain to 1, the image output is normal without the red stripe

  • Hi es,

    Do you get the issue in tuning tool or on H/W?

    I suppose you are working with J721s2 (VPAC3).

    Please share your LSC xml file.

  • on H/W,and this is the xml file.the data format is U8Q6+1.

    lsc_lut_dec.txt
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    33,33,33,33,
    22,22,22,22,
    13,13,13,13,
    7,7,7,7,
    4,4,4,4,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    4,4,4,4,
    7,7,7,7,
    13,13,13,13,
    22,22,22,22,
    33,33,33,33,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    27,27,27,27,
    16,16,16,16,
    10,10,10,10,
    4,4,4,4,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    4,4,4,4,
    10,10,10,10,
    16,16,16,16,
    27,27,27,27,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    32,32,32,32,
    21,21,21,21,
    13,13,13,13,
    6,6,6,6,
    4,4,4,4,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    4,4,4,4,
    6,6,6,6,
    13,13,13,13,
    21,21,21,21,
    32,32,32,32,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    27,27,27,27,
    16,16,16,16,
    9,9,9,9,
    4,4,4,4,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    4,4,4,4,
    9,9,9,9,
    16,16,16,16,
    27,27,27,27,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    23,23,23,23,
    13,13,13,13,
    6,6,6,6,
    4,4,4,4,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    4,4,4,4,
    6,6,6,6,
    13,13,13,13,
    23,23,23,23,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    30,30,30,30,
    18,18,18,18,
    10,10,10,10,
    5,5,5,5,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    5,5,5,5,
    10,10,10,10,
    18,18,18,18,
    30,30,30,30,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    26,26,26,26,
    15,15,15,15,
    8,8,8,8,
    4,4,4,4,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    4,4,4,4,
    8,8,8,8,
    15,15,15,15,
    26,26,26,26,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    23,23,23,23,
    13,13,13,13,
    6,6,6,6,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    6,6,6,6,
    13,13,13,13,
    23,23,23,23,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    31,31,31,31,
    20,20,20,20,
    11,11,11,11,
    5,5,5,5,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    5,5,5,5,
    11,11,11,11,
    20,20,20,20,
    31,31,31,31,
    34,34,34,34,
    34,34,34,34,
    29,29,29,29,
    17,17,17,17,
    9,9,9,9,
    4,4,4,4,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    4,4,4,4,
    9,9,9,9,
    17,17,17,17,
    29,29,29,29,
    34,34,34,34,
    34,34,34,34,
    27,27,27,27,
    15,15,15,15,
    8,8,8,8,
    4,4,4,4,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    4,4,4,4,
    8,8,8,8,
    15,15,15,15,
    27,27,27,27,
    34,34,34,34,
    34,34,34,34,
    25,25,25,25,
    14,14,14,14,
    7,7,7,7,
    4,4,4,4,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    4,4,4,4,
    7,7,7,7,
    14,14,14,14,
    25,25,25,25,
    34,34,34,34,
    34,34,34,34,
    23,23,23,23,
    13,13,13,13,
    6,6,6,6,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    6,6,6,6,
    13,13,13,13,
    23,23,23,23,
    34,34,34,34,
    34,34,34,34,
    23,23,23,23,
    13,13,13,13,
    5,5,5,5,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    5,5,5,5,
    13,13,13,13,
    23,23,23,23,
    34,34,34,34,
    34,34,34,34,
    22,22,22,22,
    12,12,12,12,
    5,5,5,5,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    5,5,5,5,
    12,12,12,12,
    22,22,22,22,
    34,34,34,34,
    34,34,34,34,
    22,22,22,22,
    12,12,12,12,
    5,5,5,5,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    5,5,5,5,
    12,12,12,12,
    22,22,22,22,
    34,34,34,34,
    34,34,34,34,
    22,22,22,22,
    12,12,12,12,
    5,5,5,5,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    5,5,5,5,
    12,12,12,12,
    22,22,22,22,
    34,34,34,34,
    34,34,34,34,
    23,23,23,23,
    13,13,13,13,
    6,6,6,6,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    6,6,6,6,
    13,13,13,13,
    23,23,23,23,
    34,34,34,34,
    34,34,34,34,
    24,24,24,24,
    14,14,14,14,
    6,6,6,6,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    6,6,6,6,
    14,14,14,14,
    24,24,24,24,
    34,34,34,34,
    34,34,34,34,
    26,26,26,26,
    15,15,15,15,
    7,7,7,7,
    4,4,4,4,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    4,4,4,4,
    7,7,7,7,
    15,15,15,15,
    26,26,26,26,
    34,34,34,34,
    34,34,34,34,
    28,28,28,28,
    16,16,16,16,
    9,9,9,9,
    4,4,4,4,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    4,4,4,4,
    9,9,9,9,
    16,16,16,16,
    28,28,28,28,
    34,34,34,34,
    34,34,34,34,
    30,30,30,30,
    18,18,18,18,
    10,10,10,10,
    4,4,4,4,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    4,4,4,4,
    10,10,10,10,
    18,18,18,18,
    30,30,30,30,
    34,34,34,34,
    34,34,34,34,
    33,33,33,33,
    21,21,21,21,
    12,12,12,12,
    5,5,5,5,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    5,5,5,5,
    12,12,12,12,
    21,21,21,21,
    33,33,33,33,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    24,24,24,24,
    14,14,14,14,
    7,7,7,7,
    4,4,4,4,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    4,4,4,4,
    7,7,7,7,
    14,14,14,14,
    24,24,24,24,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    28,28,28,28,
    16,16,16,16,
    9,9,9,9,
    4,4,4,4,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    4,4,4,4,
    9,9,9,9,
    16,16,16,16,
    28,28,28,28,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    32,32,32,32,
    20,20,20,20,
    12,12,12,12,
    5,5,5,5,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    5,5,5,5,
    12,12,12,12,
    20,20,20,20,
    32,32,32,32,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    25,25,25,25,
    15,15,15,15,
    8,8,8,8,
    4,4,4,4,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    4,4,4,4,
    8,8,8,8,
    15,15,15,15,
    25,25,25,25,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    30,30,30,30,
    19,19,19,19,
    11,11,11,11,
    5,5,5,5,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    5,5,5,5,
    11,11,11,11,
    19,19,19,19,
    30,30,30,30,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    24,24,24,24,
    14,14,14,14,
    8,8,8,8,
    4,4,4,4,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    4,4,4,4,
    8,8,8,8,
    14,14,14,14,
    24,24,24,24,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    30,30,30,30,
    19,19,19,19,
    12,12,12,12,
    5,5,5,5,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    5,5,5,5,
    12,12,12,12,
    19,19,19,19,
    30,30,30,30,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    25,25,25,25,
    15,15,15,15,
    9,9,9,9,
    4,4,4,4,
    3,3,3,3,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    1,1,1,1,
    2,2,2,2,
    2,2,2,2,
    2,2,2,2,
    3,3,3,3,
    4,4,4,4,
    9,9,9,9,
    15,15,15,15,
    25,25,25,25,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    34,34,34,34,
    

  • Hi es,

    That is the LUT text file (not the xml file).

    Could you please share the complete LSC xml file exported from tuning tool?

  • Do you mean the full configuration includes XML like GAINFMT? I didn't used the tuning tool, I just configure the following.

    GAINFMT: U6Q6 + 1,

    Horzdsfactor: 64

    vertdsfactor: 64

    numtblentry: 1891

  • What is the raw image size?

  • 3840*1888

  • The LUT size and content look correct for 3840x1888.

    Do you store and pass the LUT to VISS driver correctly?

  • I confirm that this is true, and the fact that there are no exceptions when Lut's gain is all 1 should also prove this

  • Hi es,

    I suppose you don't use xml files and DCC for configuring LSC.
    Do you use both PDK driver and tiovx kernel for VISS?

    There is no known LSC issues on our side in either PDK driver or tiovx.

    Could you please share a test case with the problem?

  • BTW, I have confirmed that your LUT above is correct.

  • Can I read the parameters I set? This will make sure that what I write is the same as what I set. If there is such an interface, please provide it to me

  • Hi es,

    Can I read the parameters I set?

    There is no known issues in PDK for LSC.
    As long as you pass the correct LSC parameters to PDK driver, LSC should work properly.
    You may print or check the LSC parameters while calling the PDK driver.

  • Hi es,

    We tried using your LUT with tuning tool generated LSC xml file on J784S4 EVM and it works well.
    You might have some bug in your code.