multi-kernel.inc: drop use of KERNEL_CCSUFFIX to match oe-core
[glsdk/meta-ti-glsdk.git] / recipes-ti / codec-engine / ti-codecs-omap3530 / mp3dec_cs1omap3530.patch
1 diff -uNr -x .xdcenv.mak -x mp3dec cs1omap3530_1_00_01/packages/ti/sdo/server/cs/codec.cfg cs1omap3530_1_00_01_patches/packages/ti/sdo/server/cs/codec.cfg
2 --- cs1omap3530_1_00_01/packages/ti/sdo/server/cs/codec.cfg     2009-10-26 14:19:21.000000000 -0500
3 +++ cs1omap3530_1_00_01_patches/packages/ti/sdo/server/cs/codec.cfg     2009-10-26 14:36:03.000000000 -0500
4 @@ -92,6 +92,14 @@
5                  MPEG4ENC.alg.udataSection = "DDR2";
6                  MPEG4ENC.alg.dataSection = "DDR2";
7  
8 +    var MP3DEC = xdc.useModule('ti.sdo.codecs.mp3dec.ce.MP3DEC');
9 +
10 +     // Module Config
11 +                MP3DEC.alg.watermark = false;
12 +                MP3DEC.alg.codeSection = "DDR2";
13 +                MP3DEC.alg.udataSection = "DDR2";
14 +                MP3DEC.alg.dataSection = "DDR2";
15 +
16  /*
17   * The array of algorithms this server can serve up.  This array also
18   * configures details about the threads which will be created to run the
19 @@ -103,6 +111,11 @@
20          groupId : 1,
21      },
22  
23 +    {name: "mp3dec", mod: MP3DEC , threadAttrs: {
24 +        stackMemId: 0, priority: Server.MINPRI + 3},
25 +        groupId : 1,
26 +    },
27 +
28      {name: "g711dec", mod: G711DEC , threadAttrs: {
29          stackMemId: 0, priority: Server.MINPRI + 3},
30          groupId : 1,
31 diff -uNr -x .xdcenv.mak -x mp3dec cs1omap3530_1_00_01/packages/ti/sdo/server/cs/package.xs cs1omap3530_1_00_01_patches/packages/ti/sdo/server/cs/package.xs
32 --- cs1omap3530_1_00_01/packages/ti/sdo/server/cs/package.xs    2009-10-26 14:19:20.000000000 -0500
33 +++ cs1omap3530_1_00_01_patches/packages/ti/sdo/server/cs/package.xs    2009-10-26 14:53:40.000000000 -0500
34 @@ -17,6 +17,7 @@
35           validate_one_codec( "ti.sdo.codecs.mpeg2dec", "MPEG2DEC" );
36           validate_one_codec( "ti.sdo.codecs.mpeg4dec", "MPEG4DEC" );
37           validate_one_codec( "ti.sdo.codecs.mpeg4enc", "MPEG4ENC" );
38 +         validate_one_codec( "ti.sdo.codecs.mp3dec", "MP3DEC" );
39  }
40  
41  function validate_one_codec( packageName, moduleName ) {