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.

TMS320C6678L

Would like to know if this TMS320C6678L board support MJPEG compression/decompression? Read thru the features but only mention JPEG. Can I assume that it supports MJPEG as well? MJPEG decompress to Bitmap and later compress to JPEG. Can anyone help to clarify? thank you.

  • Shahirina,

    Just to clarify, are you asking whether the processors itself is capable of doing MJPEG compression/decompression, or whether there is a Codec available?  I wasn't able to quickly locate the benchmarking information on the MJPEG compression/decompression algorithm.  The stats on the 6788 are 320 Billion Multiply-Accumulate instructions per second or 160 Billion Floating instructions per second.  I suspect that this will be plenty or performance for the MJPEG algorithm, but you should verify based on the benchmarks for the appropriate algorithm.

    Regards,

    Dan

  • Hi,

    Thanks for the reply.  Could you please help to clarify is the codec for MJPEG is available on board?  Thanks,

     

    regards,
    Shahi

  • Are you asking about a hardware codec?  No, the 6678 EVM does not have an on-board MJPEG codec.

    Regards,

    Dan

  • Hi Dan, Thanks for the confirmation. nevertheless, there would be a way to program a MJPEG codec onto the board. Could you please elaborate what what needs to be done prior to downloading the MJPEG to the board? and perhaps how is it done? Thanks. Regards, Shahi
  • Shahirina,

    You're going to have to give me some more detail about what your looking for.  Are you asking how to write a MJPEG codec for the 6678? Or are you asking for something more specific?

    Regards,
    Dan

  • Hi  Dan,

     

    Thanks for the reply.

    Yes, I would like to know how to wirte a MJPEG codec for the 6678.  besides that, i would like to learn to access the MJPEG codec via the API.  How is the transfer of data from say memory to the codec and so on?

    Thanks.

    Regards,

    Shahi

  • Shahirina,

    The details of the inner workings of the MJPEC codec are way too much for me to detail here.  You'll need to research the algorithm.  In 5 minutes of searching, I found reference to the fact that MJpeg is not a universal standard like MPEG-2.  It's essentially just a concatenation of JPEG files in it's simplest form.  So, essentially, an MJPeg decoder is just a JPEG decoder that works on streams of JPEG data.  If you google for JPEG decoding algorithms, you'll find a number of documents that describe the JPEG decoding steps.

    Remember, in this case, the codec is a software codec.  There is no JPEG/MJPEG decoder hardware on the 6678 board.  So the transfer of data to/from the codec/memory woudl typically be a via pointer passing to a buffer of decodec/encoded data.

    The question that you may really be wanting to ask is how to transfer data to/from the memory of the 6678.  The 6678 has a number of peripherals that can be used to stream data in real-time to and from the device.  These include Ethernet, Serial Ports, I2C, UART, etc.  It depends on the type of application that you are trying to build.


    Regards,
    Dan

     

  • Hi Dan,

     

    I would like to know the OS(operating systenm)  for this board.  Is it Windows or Linux based?  Besides that, i would like to know if this board supports the dot net framework?  Thanks.

     

    Regards,

    Shahi

  • The McSDK comes with a linux image that can be used.  It does not support .NET.

     

     

  • Hi Dan,

     

    I have another question to ask.

    I have downloaded the JPEG  video codec and thus installed in my laptop.  However, I am not able to run the codes. However, I am not able to launch the program in any way.  It is always require the following file.  "h264enc_dm6467_1_20_00_08.exe".  Could you please help me to resolve this problem so that I can make the JPEG running.  Thanks.

     

    Regards,

    Shahi

  • Shahirina,

    The code that you are referring to is a codec for a DaVinci device.  I'm not sure what you mean by "It always requires h264enc_dm6467_1_20_00_08.exe".  I assume that this is the executable that allows you to extract the coded example to run on a DaVinci device.  This will likely not work out of the box with the C6678.  You're going to have to give me some more information on exactly what is happening.  If you need assistance with this Codec, I can move this thread tot eh DaVinci forum.

     

    Regards,

    Dan

     

     

  • Hi Dan,

     

    The decoder/encoder  that I downloaded was specifically on JPEG.  However, I am not sure why it would need a h264 executable file to run.  I believe both the codecs are independent of each other.  Could you please explain more why this happens?  Can you please suggest any JPEG encoder/decoder for any multicore DSP processor.  basically, I am trying to download a JPEG decoder /encoder to the TMS320C6678L evaluation board.  A suggestion on which JPEG decoder/encoder to be used will be great help.   Can I get some help on this matter?  Thanks,

     

    Regards,

    Shahi