DM3xx integrate new codec in DVSDK 3.10
From Texas Instruments Embedded Processors Wiki
Translate this page to
Integrate New Codec for DM3xx
If a new codec needs to be added to the standard DVSDK release, both the codec bundle and application need to be modified.
- Copy the codecs packages into a temporary directory: ~\temp_audio and extract them
- Copy the codecs to the codec bundle (e.g., <codecs_package>\<codec_name>_#_#_##_production_dm365_mvl\packages-production\ittiam to the following location: dvsdk_#_##_##_##\dm365_codecs_#_##_##_##\packages)
- Delete the dvsdk_#_##_##_##\dm365_codecs_#_##_##_##\packages\ittiam\app folder. It will not be needed
- Make the following configuration file changes:
- Add the codec of choice to the configuration file (e.g., audio_decode_io1_dm3xx.cfg file).
var MP3_DEC = xdc.useModule('ittiam.codecs.mp3_dec.ce.MP3_DEC'); var Engine = xdc.useModule('ti.sdo.ce.Engine'); var myEngine = Engine.create("decode", [ {name: "aac_dec", mod: AAC_DEC, local: true}, {name: "mp3_dec", mod: MP3_DEC, local: true}, ]);
- Add the following lines in the same configuration file to set the cache enabling feature of CE for ARM-side algorithms (Please see codec_engine documentation for the details)
MP3_DEC.useCache = true;
