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.

IPIPE Configuration



Hi,

H/W: DM8127

S/w: IPNC_RDK release 3.00

      Can we set IPIPE to process 10-bit data?

Currently it is configured to process 12 bit data. if I pass 12 bit data to it, it works fine.

But I am using 10 bit sensor.So I am shifting 2-bit to pass 12 bit data.

Regards

Ravikiran

  • Ravikiran,

    Yes, it is possible. In iss_02_00_00_00/packages/ti/psp/iss/drivers/capture/src/issdrv_captureApi.c:2176 you'll see eMsbPos set to MSP_IPIPE_BAYER_MSB_BIT11.

    Change this to BIT9 and you're good.

    There are other definitions littered around the code that should do things (iss_params_default.c:1539 -- #ifdef SENSOR_12BIT) but I haven't been successful with anything but what I described above.


    Good luck!

    Chris

  • Hi Chris,

                            I did exactly the same thing as u suggested (Sorry for not writing about the these experiments I did).

    1. ISIF_CGAMMAWD register configured for 10th bit as MSB.

    2. issdrv_captureApi.c  eMsbPos set to BIT9.

    3. iss_params_default.c ignored the macro #ifdef SENSOR_12BIT and forced everything to work with 10-bit data. (BIT9)

     4. Using ISIF_SDRAM_PACK_16BITS (iss_drv_isif.c) for SDRAM write. (using isif register settings accordingly.) (RAW-dump)

    Please find the image available in below link.(YUV-streaming screen shot)

     http://1.bp.blogspot.com/-6AHObx4_a6k/UFhJXEUak3I/AAAAAAAAAAc/dugwLaBGWDE/s1600/Screenshot-1.png

    I observe some kind of saturation in the bright areas.

    Thats why I reverted all my above (1 to 4) changes and Now made CGAMAWD to support 12 bit data, & that works, give a proper picture!!

    As I mentioned earlier, it is 10-bit OV sensor. By verifying the raw data I saw the 12 bit data is xxData[9:0]. {11th & 12th bits are Zeros which is expected.}

    That means I am passing proper data to IPIPE & IPIPE process this data as 12-bit data & no issue there....!!

    Instead of giving 12-bit data as input, I want to pass only 10-bits i.e. Data[9:0] to IPIPE & those changes does not work !!

    Looking for help to correct it :)

    Thanks you.

    Regards

    Ravikiran

  • Hi Chris,

    Is der any other way/ hooks to do this ? Plz help.

    Thanks in advance

    Regards

    Ravikiran