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.

Can DM365 decode jpeg file compressed by DM642?

Hello, everyone.

I tried to decode jpeg file on DM365 EVM but failed to do so. The jpeg file is generated by DM642 EVM.

I also tried other jpeg files which are not generated by DM642, and it works well. So I guess maybe the jpeg file generated by DM642 has different file format to normal ones. Is it true?

Could someone give me some hints? Thanks a lot!

  • It has been a while since I used a DM642 for JPEG compression, I assume you are using a TI JPEG codec? The file format should be standard JPEG, can you open the DM642 generated images on a PC?

    The limitations of the JPEG encoder on the DM365 can be found within the codec data sheet found within dvsdk_2_10_00_17\dm365_codecs_01_00_06\packages\ti\sdo\codecs\jpegdec\docs, so if the image happens to have an unsupported property that could explain the failure, though I am not familiar enough with the D642 JPEG decoder to say.

  • Yes, I am using TI JPEG codec to generate the jpeg file. The jpeg file can be open on PC, but can't be decompressed by DM365.

    And now, I found the reason. DM642's TI JPEG codec generated jpeg file in non-interleaved style, but DM365 doesn't support it. So DM365 can't decompress jpeg file which generated by DM642.

    Anyway, thanks for your response! ^_^

  • Hi Jiayang LI.

       did you succeed in your goal? I have the same problem and as you said it is due to the non-interleaved output of the DM642. I tried with the libjpeg of the independent jpeg group the decode output with this library is fine but the performances are far from that of the TI library as you can see in my post:

    http://e2e.ti.com/support/embedded/f/356/p/66286/245939.aspx#245939