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.

how to pack rsz output of raw into 12bit?



I need to get isp processed RAW 12 bit data out of ipipe (case 2).

Therefore, I let data from ipipe go into rsz with the pass-through mode.

I got 16 bit RAW from rsz.

How can I get 16->12bit pack compression onto the 16bit RAW data? like ISIF does?

I cannot find any hints in the docs.

Thanks.

  • Hi,

     

    I could not get the question,

    are you trying to get 12bit packed data from resizer or from isif? I think they always output 12bit in 16bit container. i will check once again.

     

    Regards,

    Brijesh

  • Thanks, Brijesh,

    The output of rsz is 16bit/pixel within which 12bit carries data.

    ISIF can output to DRAM the packed 12 bit/pixel data without the padding 4 bits.

    Can I get the same format of 12bit/pixel output from rsz?

    My path is: ram (12 bit/pixel) -> ipipeif (unpack) -> ipipe (DPC process) -> rsz -> ram (raw12bit is expected here, but 16bit/pixel now).

    Removing 4-bit padding on software needs quite a lot computation which seems to be not able to meet out speed requirement. 

    Looking forward to your reply.

    Yuefeng

  • Hi Lu,

     

    Rsz does not store the output in a packed format, it receives 16 bit raw from the upper module and stores it as it is in the memory, it does not do any other operation.

    Whereas ISIF can pack the 12bit data and store it as packed data in the memory.

     

    Rgds,

    Brijesh

  • Hi Berijesh,

    So, unluckily, software way is the only way to removing those paddings between 12 bit and 16 bit.

    Yuefeng