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.

MPEG4 CODEC PORTING ON DM355.

Hi all.

Before question, explain my system.

1) I do not use Linux system(Non-os type).

2) All codes are excuted in UBOOT.

3) now, YUV frame data is srored SDRAM(buffer).

 

Q)

I want to use embedded MPEG4 CODEC. But it is difficult to non linux environment.

I heard that use a xMD API generally. but I have no any imformation of xDM API.

Can anyone tell me how to set MPEG4 CODEC on non linux environment using the xDM API.

I mention it only as an aside........ is it impossible???

Thanks all.

kiwoo

  • This is a very unique question but quite interesting.

    Just to give you some background, xDM builds on xDAIS which is a standard for allowing different algorithms potentially written by different vendors to co-exists in an environment; it accomplishes this by mandating that algorithms not take any resources themselves but rather ask the framework for resources.  Therefore, the xDM algorithm without the framework is not very valuable.  Our framework, which for practical purposes can be referred to as Codec Engine (more popular name), is written for a variety of OSes hence here is where we start running into difficulties with your request.  FYI, the framework controls resources and manages how many instances of the various algorithms can co-exists, and as you can imagine, managing of the various resources (DMA channels, memory, interrupts...) is much easier with the help of an OS.  I am not aware of an OSless implementation, but anything is possible...however, it would not be as trivial as writting code to use the XDAIS APIs, as the algorithms expect the framework to manage resources and instances, hence this can translate into quite a but of code.

  • Thanks for your answer.

    I have more question.

    According to your answer,  "it is possible".

    I am wondering how to that is possible in detail.

    Maybe do you have a example of applied embedded MPEG4 codec on dm355(OSless) or implementation methods.

    Thanks Juan Gonzales.

  • unfortunately I have no examples, and even though it may be possible, it would require quite a bit of work as you will in essense be writting your own OS to support the memory managment and other tasks needed; this is no trivial task so even though it should be possible I would not encourage this path. 

    If I may ask, wWhat is preventing you from using Linux?

  • My main purpose using dm355,  need a only MPEG4 motion vector which applying object tracking.

    A reason of  does not applying linux is very simple, linux is heavy and has a long booting time.. And i think it was more simple way.

    As you say,  if i do not use Linux is going to be a difficult job.

    This job will ask for Ti's developers level.

    I have to think about whether it will be applied.

    Thanks, Juan Gonzales.

     

    from South korea.