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.

Android how to use TI codec engine?

we are trying to use hardware codec in android, it seems must through codec engine, right?

The biggest problem is the codec engine we can't modify and it had been built by TI tool chain(arm-gnu-gcc).

Android obviously adapt the different toolchain (arm-eabi without glibc).  

do you have any idea for using hardware codec in Android? 

 

 

 

  • Which device?

    The Codec Engine SW stack doesn't currently support android, though there are internal discussions going on about how best to add support and when.  Until that happens (no idea when yet), you're on your own.  This may help if you can somehow convince the GCArmv5T target to throw the right flags for android:

    http://tiexpressdsp.com/index.php/Rebuilding_Codec_Engine

    I think there will also be some minor OS porting as my understanding is that android doesn't support the full pthread API set, nor System V semaphores (both of which Codec Engine's OSAL uses).  If you make any progress, I'd welcome any patches!  ;)

    And if you're on a DM365 or DM355, you may need to _also_ rebuild the SW codecs - and I'm not sure those sources are available.  So even if you got Codec Engine rebuilt, you may fall short of the full SW stack required.

    Chris

  • HI Chris

    It's on the DM365. 

    I'm glad to hear you have plan to suport android, but it's still so far away.

     

    "may need to _also_ rebuild the SW codecs" 

    what 's the SW codecs you meant here?  It's H.264,Mpeg4 codec?

    do you have any idea about the effort that porting codec engine to android tool chain?


  • Hi Chris

    We download the codec engine src from the web site you provide.

    There're many error when we tried to build.

    Could you give me the hint about config.bld and Makefile, what should we must modify and what items should be removed?

    For example, DM365 didn't exist any DSP, so don't need C64P.   How to set Config.bld and Makefile? 

    And if the other part also need to rebuilt with Android toolchain XDC framework, dm365_codecs_01_00_06...etc

     

    BTW, my DVSDK is dvsdk_2_10_00_17 and codec_engine_2_24

    Thanks