Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to add new codecs to IGEP GST FRAMEWORK

189 bytes added, 11:17, 3 February 2012
no edit summary
<span lang="EN-US" style="color:green">This will give a tar file extract that tar file.</span>
=== ''<span lang="EN-US">Step 3 - Copy your desired Codec inside the server.</span>'' ===
<span lang="EN-US">After extracting a tar file you need to copy
this package into the Codec Server package.</span><br>
<span lang="EN-US">e.g. in my case</span>
<span lang="EN-US" /><span lang="EN-US">c64xplus_aacheenc_1_20_005_production/dm6446_aacheenc_1_20_005_production/packages/ti/sdo/codecs/aacheenc&nbsp; </span><br>
<span lang="EN-US">to&nbsp; </span><br>
<span lang="EN-US">igep-dsp-gst-framework-3_20_00/codecs-omap3530_4_02_00_00/packages/ti/sdo/codecs</span>
=== ''<span lang="EN-US">Step 4 -&nbsp;</span><span lang="EN-US">Modifications inside the</span>'' Codec Server''===''  <span lang="EN-US">Once the Codec Package is integrated insidethe Codec Server, the server needs to be configured in order to be able to usethe new codec. </span>  <span lang="EN-US">Now open file&nbsp;</span><span lang="EN-US">igep-dsp-gst-framework-3_20_00/codecs-omap3530_4_02_00_00/packages/ti/sdo/server/cs/codec.cfg</span><br> <pre><span lang="EN-US">/* Declaration of new codec module */</span> <span lang="EN-US">var AACHEENC = xdc.useModule('ti.sdo.codecs.aacheenc.ce.AACHEENC' );</span> <span lang="EN-US">/*</span> <span lang="EN-US">The XDC file in the codec directory (i.e.AACHEENC.xdc) contains the different sections that are defined in the algorithmthat require to be mapped to defined memory sections by the server. Usuallythis memory definitions are contained in the TCF file (''server.tcf''). For example to fulfill the requirements for the AACHEencoder algorithm, and continuing with the variable defined before, thefollowing entries are added to the configuration file: </span> <span lang="EN-US">*/</span> <span lang="EN-US">/* in my case with aacheenc */</span><span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AACHEENC.serverFxns = "AUDENC1_SKEL";</span> <span lang="EN-US" /><span lang="EN-US">AACHEENC.stubFxns = "AUDENC1_STUBS";</span><span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;AACHEENC.useCache = false;</span> <span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AACHEENC.alg.watermark = false;</span> <span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AACHEENC.alg.codeSection = codeSection;</span> <span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AACHEENC.alg.udataSection = udataSection;</span> <span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AACHEENC.alg.dataSection = dataSection;</span> <span lang="EN-US">/* Add the Algorithm to the server by addinga new set to the ''Server.algs'' array.For example to add the AACHEENCODER algorithm, the following entry needs to beadded */</span>
<span lang="EN-US"><o:p>&nbsp;</o:p></span>
<span lang="EN-US">Once the Codec Package is integrated inside{name: "aacheenc", mod: AACHEENC ,threadAttrs: {</span> the Codec <span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;stackMemId: 0, priority: Server.MINPRI + 3}, the server needs to be configured in order to be able to use</span>the new codec. <span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;groupId : 2,</span>
<span lang="EN-US">Now open file&nbsp;</span><span lang="EN-US">igep-dsp-gst-framework-3_20_00/codecs-omap3530_4_02_00_00/packages/ti/sdo/server/cs/codec.cfg</span><br><pre><span lang="EN-US" /><span lang="EN-US">/* Declaration of new codec module */</span> <span lang="EN-US">var AACHEENC = xdc.useModule('ti.sdo.codecs.aacheenc.ce.AACHEENC')&nbsp;</span> <span lang="EN-US">/*</span> <span lang="EN-US">The XDC file in the codec directory (i.e. AACHEENC.xdc) contains the different sections that are defined in the algorithm that require to be mapped to defined memory sections by the server. Usually this memory definitions are contained in the TCF file (''server.tcf''). For example to fulfill the requirements for the AACHE encoder algorithm, and continuing with the variable defined before, the following entries are added to the configuration file: */</span> <span lang="EN-US"><o:p> </o:p></span> <span lang="EN-US">/* in my case with aacheenc */</span> <span lang="EN-US"> AACHEENC.serverFxns = "AUDENC1_SKEL";</span> <span lang="EN-US"> AACHEENC.stubFxns = "AUDENC1_STUBS"&nbsp;</span> <span lang="EN-US"> AACHEENC.useCache = false;</span> <span lang="EN-US"> AACHEENC.alg.watermark = false;</span> <span lang="EN-US"> AACHEENC.alg.codeSection = codeSection;</span> <span lang="EN-US"> AACHEENC.alg.udataSection = udataSection;</span> <span lang="EN-US"> AACHEENC.alg.dataSection = dataSection;</span> <span lang="EN-US">/* Add the Algorithm to the server by adding a new set to the ''Server.algs'' array. For example to add the AACHEENCODER algorithm, the following entry needs to be added */</span> <span lang="EN-US"><o:p> </o:p></span> <span lang="EN-US">{name: "aacheenc", mod: AACHEENC , threadAttrs: {</span> <span lang="EN-US"> stackMemId: 0, priority: Server.MINPRI + 3},</span> <span lang="EN-US"> groupId : 2,</span> <span lang="EN-US"> },</span></pre> <span lang="EN-US" /br>
=== ''<span lang="EN-US">Step 5 - Validation</span>'' ===