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 load raw image in use case?



Hi everyone,

     I want to analyze the encoder quality.  So I want to load raw image as the encoder 's input.

In RDK 1.6.0.11, the use case 2 can encode null src to bitstream.  If we run this use case after

reset, it will encode raw data which every entry all zero.  However, if we run other use case for

example use case 3 or 4, then run the use case 2, it will encode disorderly data.  So null src

seems to be disturbed by other environments.  In truth, we want to modify the null src link so

that we can load raw image.  But we do not know how the null src link generate the null data.

Is it in NullSrcLink_fillDataPattern?  But we change this function seems no effect.  Does

everyone have any idea about this? Thanks.

 

Sincerely,

James

  • Hi,

    NullSrcLink_fillDataPattern() is called from NullSrcLink_drvCreate(). This function is only called during the create time of NullSrc Link. We dont change the pattern during the runtime.

    If you modify the NullSrcLink_fillDataPattern() to put your own YUV data, NullSrc would send this same frame everytime to the encoder. Can you also check if the console log said that tiler is disabled? Can you share the console log with us to figure out the possible problem?

    Regards,

    Anshuman

  • Dear Anshuman,

         Modify nullsrc seems not work for our case because we want to load real image file to do encoder's qualtiy experiments.

    So, can I modify ipcFramesOut link to load real image? if can, how?

    Thanks,

    Sincerely,

    James

  • Dear Anshuman,

         Can I have any feaible method to load real image file for the encoder's input in RDK use case?

    Thanks.

    Sincerely,

    James