Merged PASDK 1.2.4 changes. Fixed following bugs: master
authorJianzhong Xu <xuj@ti.com>
Fri, 26 Apr 2019 18:38:39 +0000 (14:38 -0400)
committerJianzhong Xu <xuj@ti.com>
Fri, 26 Apr 2019 19:04:31 +0000 (15:04 -0400)
 - PASDK-514: Moved CB status to Non-cached memory.
 - PASDK-518: Move AAC status structure to Non-cache memory
 - PASDK-644: Fix for ASOT getting stuck in ASOT_STATE_INITSYNC_DEC_INFO1

42 files changed:
.gitattributes
build_all.bat
pasrc/common/aspDecOpCircBuf_common.c
pasrc/common/aspDecOpCircBuf_common.h
pasrc/test_arm/.cproject
pasrc/test_arm/framework/aspDecOpCircBuf_slave.c
pasrc/test_arm/framework/audioStreamDecodeProc.c
pasrc/test_arm/framework/itopo/patchs.c
pasrc/test_dsp/.cproject
pasrc/test_dsp/application/itopo/evmk2g/atboot.c
pasrc/test_dsp/framework/aspDecOpCircBuf_master.c
pasrc/test_dsp/framework/audioStreamInpDec.c
pasrc/test_dsp/framework/audioStreamInpProc.c
pasrc/test_dsp/framework/audioStreamInpProc.h
pasrc/test_dsp/framework/audioStreamOutProc.c
pasrc/test_dsp/io/ioConfig.h
pasrc/test_dsp/io/ioData.c
pasrc/test_dsp/mib/mib.c
pasrc/test_dsp/sap/sap.c
scripts/build_aac.bat [deleted file]
scripts/build_aacip_pkg.bat [deleted file]
scripts/build_ccs_projects.bat [deleted file]
scripts/build_dh_libs.bat [deleted file]
scripts/build_dhip_pkg.bat [deleted file]
scripts/build_dhip_pkgs.bat [deleted file]
scripts/build_dsd.bat [deleted file]
scripts/build_dsdip_pkg.bat [deleted file]
scripts/build_dtsx_libs.bat [deleted file]
scripts/build_dtsxip_pkg.bat [deleted file]
scripts/build_dtsxip_pkgs.bat [deleted file]
scripts/build_fd_pkg.bat [deleted file]
scripts/build_neo.bat [deleted file]
scripts/build_neoip_pkg.bat [deleted file]
scripts/build_os_pkg.bat [deleted file]
scripts/build_paf_libs.bat [deleted file]
scripts/build_parma_libs.bat [deleted file]
scripts/build_pdk_libs.bat [deleted file]
scripts/install_code.bat [deleted file]
scripts/install_dhip_pkgs.bat [deleted file]
scripts/install_dtsxip_pkgs.bat [deleted file]
scripts/libarch_setup_env.bat [deleted file]
scripts/setup_env.bat [deleted file]

index b9ddb5d2e7b54ad513e3d7bb4860e4397ef69436..9fb3f84c3b315da46e7a526fb5a54e1895fe1c31 100644 (file)
@@ -1,4 +1,7 @@
 # Denote all files as binary and should not be modified (do not convert LF to CR/LF).
 psdk_cust/ipc_3_43_00_00_eng/* text eol=lf
 .gitmodules merge=ours
-docs merge=ours
+./docs merge=ours
+./installer_builder merge=ours
+./psdk_cust merge=ours
+./ merge=ours
index 927092d69b43f3aab76c78e7c7a1541a6229f995..3465786190f6d69f9d2c57acaead2321e7dd4d33 100644 (file)
@@ -66,6 +66,10 @@ set OS_PKG_DIR=%RELEASE_DIR%\os_package
 set DHIP_PKG_DIR=%RELEASE_DIR%\dhip_package
 :: Set DTSX-IP package directory
 set DTSXIP_PKG_DIR=%RELEASE_DIR%\dtsxip_package
+:: Set AAC package directory
+set AACIP_PKG_DIR=%RELEASE_DIR%\k2gx_a15_aac
+:: Set AAC testapp package directory
+set AACIPTEST_PKG_DIR=%RELEASE_DIR%\k2gx_a15_aac_test
 
 if exist %RELEASE_DIR%\nul ( rmdir /S / Q %RELEASE_DIR% )
 
@@ -102,10 +106,11 @@ set TRUE=
 if "%1"=="DH" set TRUE=1
 if "%1"=="ALLIP" set TRUE=1
 if "%1"=="ALL" set TRUE=1
+if "%1"=="ALLDH" set TRUE=1
 if defined TRUE (
     rem Build Dolby Harmony component libraries
     @pushd scripts
-    @call build_dh_libs.bat
+       @call build_dh_libs_prsdk.bat
     @popd
 
     if "%3"=="SDF" (
@@ -126,11 +131,12 @@ set TRUE=
 if "%1"=="DTSX" set TRUE=1
 if "%1"=="ALLIP" set TRUE=1
 if "%1"=="ALL" set TRUE=1
+if "%1"=="ALLDTSX" set TRUE=1
 if defined TRUE (
     rem Build DTS:X component libraries
     @pushd scripts
-    @call build_dtsx_libs.bat
-    @call build_parma_libs.bat
+    @call build_dtsx_libs_prsdk.bat
+    @call build_parma_libs_prsdk.bat
     @popd
 
     if "%3"=="SDF" (
@@ -163,6 +169,46 @@ if "%3" NEQ "SDF" goto cleanupenv
 @call build_os_pkg.bat %OS_PKG_DIR%
 @popd
 
+:: Build AAC testapp and library
+@pushd scripts
+@call setup_env.bat
+@call build_aac.bat testapp
+@call build_aacip_pkg.bat aactestapp %AACIPTEST_PKG_DIR%
+@call setup_env.bat
+@call build_aac.bat lib
+@call build_aacip_pkg.bat aacdec %AACIP_PKG_DIR%
+@popd
+
+:build_installer_package
+@pushd installer_builder
+python generate_installer.py pasdk
+@popd
+set TRUE=
+if "%1"=="DTSX" set TRUE=1
+if "%1"=="ALLIP" set TRUE=1
+if "%1"=="COMBINEDIP" set TRUE=1
+if "%1"=="ALLDTSX" set TRUE=1
+if defined TRUE (
+       @pushd installer_builder
+       python generate_installer.py dts_withwrappersrc
+       @popd
+)
+
+set TRUE=
+if "%1"=="DH" set TRUE=1
+if "%1"=="ALLIP" set TRUE=1
+if "%1"=="ALL" set TRUE=1
+if "%1"=="ALLDH" set TRUE=1
+if defined TRUE (
+       @pushd installer_builder
+       python generate_installer.py dolby
+       python generate_installer.py dolby_withwrappersrc
+       @popd
+)
+
+@pushd installer_builder
+python generate_installer.py aac
+@popd
 
 :cleanupenv
 set PAROOT_DIR=
index 02e6bf2943f1d25347a16d05752c15642efe7165..8c04e8346be6bed3c53e7ceb1b55ede0e77ed8da 100644 (file)
@@ -166,6 +166,13 @@ Int cbReset(
         pCb->afWrtIdx = ASP_DECOP_CB_INIT_WRTIDX_DTS;
         pCb->afRdIdx = ASP_DECOP_CB_INIT_RDIDX_DTS;
     }
+    else if ((pCb->sourceSel == PAF_SOURCE_DSD1) ||
+             (pCb->sourceSel == PAF_SOURCE_DSD2) ||
+             (pCb->sourceSel == PAF_SOURCE_DSD3))
+    {
+        pCb->afWrtIdx = ASP_DECOP_CB_INIT_WRTIDX_DSD;
+        pCb->afRdIdx = ASP_DECOP_CB_INIT_RDIDX_DSD;
+    }
     else
     {
         //
index cea2d7239d3718957c2412b5a24805bcb1abe581..14ceec8e53810cddef462e8bbe7cdba5c2c9ef08 100644 (file)
@@ -135,6 +135,14 @@ All rights reserved.
 #define ASP_DECOP_CB_INIT_WRTIDX_DTS        ( 7 )
 #define ASP_DECOP_CB_INIT_RDIDX_DTS         ( 0 )
 
+#define ASP_DECOP_CB_MAX_NUM_AF_DSD ( 10 )
+#if (ASP_DECOP_CB_MAX_NUM_AF_DSD > ASP_DECOP_CB_MAX_NUM_AF)
+    #error "CB Max AF DSD error"
+#endif
+#define ASP_DECOP_CB_INIT_WRTIDX_DSD ( 0 )
+#define ASP_DECOP_CB_INIT_RDIDX_DSD ( 0 )
+#define ASP_DECOP_CB_TARGET_ND_SAMPS_DSD ( (4+1) * 256 )
+
 
 // Decoder output circular buffer status
 typedef struct PAF_AST_DecOpCircBufStatus
index fb808ecb223129ff6933d55cfd88099c4dbc2a19..e00c82e90c54273bb528842259c42fa1e5d72bb6 100644 (file)
@@ -32,7 +32,7 @@
                                        <stringMacro name="USB_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="UART_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="QMSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
-                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti/pdk_k2g_1_0_9/packages"/>
+                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti_tools/pdk_k2g_1_0_11/packages"/>
                                        <stringMacro name="SRIO_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="SA_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="PRUSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                                                        <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/pasrc/paf/pa/build/a15/release"/>
                                                                        <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/pasrc/paf/pa/util/da10x_misc/a15/release"/>
                                                                        <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/intrinsics/Dolby_Intrinsics_Imp/lib_float_A15"/>
-                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/ddp/Dolby_Digital_Plus_Decoder_Imp/Source_Code/make/ddp_udc_lib/a15"/>
-                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/ddp/Dolby_Digital_Plus_Decoder_Imp/Source_Code/make/ddp_udc_wrapper/a15"/>
-                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/mat-thd/Dolby_MAT_Decoder_Imp/Source_Code/mat_dec/make/dthd_dec_lib/a15"/>
-                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/mat-thd/Dolby_MAT_Decoder_Imp/Source_Code/mat_dec/make/mat_dec_lib/a15"/>
-                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/mat-thd/Dolby_MAT_Decoder_Imp/Source_Code/mat_dec/make/thd_alg_lib/a15"/>
+                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/ddp/Dolby_Digital_Plus_Decoder_Imp/Source_Code/make/ddp_udc_lib/a15/prsdk"/>
+                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/ddp/Dolby_Digital_Plus_Decoder_Imp/Source_Code/make/ddp_udc_wrapper/a15/prsdk"/>
+                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/mat-thd/Dolby_MAT_Decoder_Imp/Source_Code/mat_dec/make/dthd_dec_lib/a15/prsdk"/>
+                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/mat-thd/Dolby_MAT_Decoder_Imp/Source_Code/mat_dec/make/mat_dec_lib/a15/prsdk"/>
+                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/mat-thd/Dolby_MAT_Decoder_Imp/Source_Code/mat_dec/make/thd_alg_lib/a15/prsdk"/>
                                                                </option>
                                                                <option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_6.0.linkerID.OTHER_FLAGS.385781225" name="Other flags" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_6.0.linkerID.OTHER_FLAGS" valueType="stringList">
                                                                        <listOptionValue builtIn="false" value="&quot;--specs=nano.specs&quot;"/>
                                        <stringMacro name="USB_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="UART_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="QMSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
-                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti/pdk_k2g_1_0_9/packages"/>
+                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti_tools/pdk_k2g_1_0_11/packages"/>
                                        <stringMacro name="SRIO_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="SA_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="PRUSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="USB_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="UART_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="QMSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
-                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti/pdk_k2g_1_0_9/packages"/>
+                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti_tools/pdk_k2g_1_0_11/packages"/>
                                        <stringMacro name="SRIO_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="SA_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="PRUSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="USB_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="UART_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="QMSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
-                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti/pdk_k2g_1_0_9/packages"/>
+                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti_tools/pdk_k2g_1_0_11/packages"/>
                                        <stringMacro name="SRIO_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="SA_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="PRUSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="USB_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="UART_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="QMSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
-                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti/pdk_k2g_1_0_9/packages"/>
+                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti_tools/pdk_k2g_1_0_11/packages"/>
                                        <stringMacro name="SRIO_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="SA_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="PRUSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="USB_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="UART_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="QMSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
-                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti/pdk_k2g_1_0_9/packages"/>
+                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti_tools/pdk_k2g_1_0_11/packages"/>
                                        <stringMacro name="SRIO_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="SA_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="PRUSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
index 8cb8467ba6fd3e2fe2616bd41b24df875d4c0e30..48dfa91e6cb81621e01dd3911b7fe51d6a8ef0d4 100644 (file)
@@ -241,6 +241,18 @@ Int cbInitDecWrite(
         }
 #endif
     }
+    else if (sourceSelect == PAF_SOURCE_DSD1 || sourceSelect == PAF_SOURCE_DSD2 || sourceSelect == PAF_SOURCE_DSD3 )
+    {
+        pCb->maxNumAfCb = ASP_DECOP_CB_MAX_NUM_AF_DSD;
+        //pCb->afInitialLag = ASP_DECOP_CB_INIT_LAG_PCM;
+        pCb->targetNDSamps = ASP_DECOP_CB_TARGET_ND_SAMPS_DSD;
+        pCb->afWrtIdx = ASP_DECOP_CB_INIT_WRTIDX_DSD;
+        pCb->afRdIdx = ASP_DECOP_CB_INIT_RDIDX_DSD;
+        //same as PCM
+        pCb->maxAFChanNum = ASP_DECOP_CB_MAX_NUM_PCM_CH;
+        pCb->maxAFSampCount = DEF_DEC_OP_FRAME_LEN;
+        pCb->maxNumPcmSampsPerCh = (Int32)(pCb->pcmBufEnd - pCb->pcmBuf)/pCb->maxAFChanNum;
+    }
     else
     {
         //
index de0eee4a02faf36655e7122c39908e177761498d..d23819c554ae99a0330145b6c95c6970809660d9 100644 (file)
@@ -313,6 +313,14 @@ Void taskAsdpFxn(
     {
         TRACE_TERSE1("TaskAsdp: Gate Index %d:initialization status GateMP Fail.", GATEMP_INDEX_DTS);
     }
+    if (statusOp_Init(GATEMP_INDEX_DSD) == STATUSOP_INIT_FAIL)
+    {
+        TRACE_TERSE1("TaskAsdp: Gate Index %d:initialization status GateMP Fail.", GATEMP_INDEX_DSD);
+    }
+    if (statusOp_Init(GATEMP_INDEX_AAC) == STATUSOP_INIT_FAIL)
+    {
+        TRACE_TERSE1("TaskAsdp: Gate Index %d:initialization status GateMP Fail.", GATEMP_INDEX_AAC);
+    }
 #endif
     //
     // End of Initialization -- final memory usage report.
@@ -335,6 +343,8 @@ Void taskAsdpFxn(
     Cache_wb((Ptr)(&IACP_STD_BETA_TABLE.pStatus[STD_BETA_DTSUHDA]), sizeof(IALG_Status *), Cache_Type_ALLD, 0);
     Cache_wb((Ptr)(&IACP_STD_BETA_TABLE.pStatus[STD_BETA_AAC]), sizeof(IALG_Status *), Cache_Type_ALLD, 0);
     Cache_wb((Ptr)(&IACP_STD_BETA_TABLE.pStatus[STD_BETA_AAC2]), sizeof(IALG_Status *), Cache_Type_ALLD, 0);
+    Cache_wb((Ptr)(&IACP_STD_BETA_TABLE.pStatus[STD_BETA_DSD]), sizeof(IALG_Status *), Cache_Type_ALLD, 0);
+    Cache_wb((Ptr)(&IACP_STD_BETA_TABLE.pStatus[STD_BETA_DSD2]), sizeof(IALG_Status *), Cache_Type_ALLD, 0);
     Cache_wait();
     
     // Send initialization complete message to master
@@ -587,7 +597,10 @@ Void taskAsdpFxn(
                     // invalidate input data
                     pIpBufConfig = &pAstCfg->xInp[zI].inpBufConfig;
                     size = pIpBufConfig->frameLength * pIpBufConfig->sizeofElement;
-                    if (sourceSelect == PAF_SOURCE_PCM)
+                    if (sourceSelect == PAF_SOURCE_PCM ||
+                        sourceSelect == PAF_SOURCE_DSD1 ||
+                        sourceSelect == PAF_SOURCE_DSD2 ||
+                        sourceSelect == PAF_SOURCE_DSD3)
                     {
                         size *= pIpBufConfig->stride;
                     }
@@ -1590,6 +1603,11 @@ Int resetAf(
         case PAF_SOURCE_DTSALL:
             pAudioFrame->data.nSamples = 8192; // TODO: Need to set correct value, max Sample output
             break;
+        case PAF_SOURCE_DSD1:
+        case PAF_SOURCE_DSD2:
+        case PAF_SOURCE_DSD3:
+            pAudioFrame->data.nSamples = 1024;
+            break;
         default:  
             pAudioFrame->data.nSamples = FRAMELENGTH;
             break;
index 349285c91446d3b7f33f5331a102504015c617df..d67a76a90e3df50fdc50654de7ab4706d261b44d 100644 (file)
@@ -53,6 +53,14 @@ All rights reserved.
 #include <pcm.h>
 #include <pcm_mds.h>
 
+
+//#define _DSD_
+
+#ifdef _DSD_
+#include <dsd_tih.h>
+#include <dsd2pcm.h>
+#endif
+
 #ifdef DH_BUILD
 //
 // DH build
@@ -115,6 +123,10 @@ const PAF_ASP_LinkInit decLinkInitI13[] =
     PAF_ASP_LINKINIT(STD, DTSUHDA, TID),
 #endif
 
+#ifdef _DSD_
+    PAF_ASP_LINKINIT(STD, DSD, TIH),
+#endif
+
     PAF_ASP_LINKNONE,
 };
 
index 452fa8eff3575ca2877e154b8f8b19c0e13440fa..efde4a4e86d52f61f9e7e10cadc043e7d4b2ee63 100644 (file)
@@ -32,7 +32,7 @@
                                        <stringMacro name="USB_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="UART_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="QMSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
-                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti/pdk_k2g_1_0_9/packages"/>
+                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti_tools/pdk_k2g_1_0_11/packages"/>
                                        <stringMacro name="SRIO_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="SA_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="PRUSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                                                        <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/pasrc/paf/pa/build/c66x/release"/>
                                                                        <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/pasrc/paf/pa/util/da10x_misc/c66x/release"/>
                                                                        <listOptionValue builtIn="false" value="${TI_MAS_DSPLIB_C66X_INSTALL_DIR}/packages/ti/dsplib/lib"/>
-                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/oar/CCS_OAR_lib/make"/>
-                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/car/Source_Code/car/make/alg_car/tisim_eabi_c66_ccs"/>
-                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/car/Source_Code/car/make/libcar/tisim_eabi_c66_ccs"/>
-                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/bmda/Source_Code/make/c66x/release"/>
+                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/oar/CCS_OAR_lib/make/prsdk"/>
+                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/car/Source_Code/car/make/alg_car/tisim_eabi_c66_ccs/prsdk"/>
+                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/car/Source_Code/car/make/libcar/tisim_eabi_c66_ccs/prsdk"/>
+                                                                       <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/bmda/Source_Code/make/prsdk/c66x/release"/>
                                                                        <listOptionValue builtIn="false" value="${PROC_AUDIO_SDK_ROOT}/dolby_ip/intrinsics/Dolby_Intrinsics_Imp/lib_elf_C66"/>
                                                                </option>
                                                                <option id="com.ti.ccstudio.buildDefinitions.C6000_8.2.linkerID.DIAG_WRAP.1963594285" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.C6000_8.2.linkerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.C6000_8.2.linkerID.DIAG_WRAP.off" valueType="enumerated"/>
                                        <stringMacro name="USB_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="UART_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="QMSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
-                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti/pdk_k2g_1_0_9/packages"/>
+                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti_tools/pdk_k2g_1_0_11/packages"/>
                                        <stringMacro name="SRIO_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="SA_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="PRUSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                                                        <listOptionValue builtIn="false" value="&quot;${PROC_AUDIO_SDK_ROOT}/pasrc/paf/pa/build/c66x/release&quot;"/>
                                                                        <listOptionValue builtIn="false" value="&quot;${PROC_AUDIO_SDK_ROOT}/pasrc/paf/pa/util/da10x_misc/c66x/release&quot;"/>
                                                                        <listOptionValue builtIn="false" value="&quot;${TI_MAS_DSPLIB_C66X_INSTALL_DIR}/packages/ti/dsplib/lib&quot;"/>
-                                                                       <listOptionValue builtIn="false" value="&quot;${PROC_AUDIO_SDK_ROOT}/dolby_ip/oar/CCS_OAR_lib/make&quot;"/>
-                                                                       <listOptionValue builtIn="false" value="&quot;${PROC_AUDIO_SDK_ROOT}/dolby_ip/car/Source_Code/car/make/alg_car/tisim_eabi_c66_ccs&quot;"/>
-                                                                       <listOptionValue builtIn="false" value="&quot;${PROC_AUDIO_SDK_ROOT}/dolby_ip/car/Source_Code/car/make/libcar/tisim_eabi_c66_ccs&quot;"/>
-                                                                       <listOptionValue builtIn="false" value="&quot;${PROC_AUDIO_SDK_ROOT}/dolby_ip/bmda/Source_Code/make/c66x/release&quot;"/>
+                                                                       <listOptionValue builtIn="false" value="&quot;${PROC_AUDIO_SDK_ROOT}/dolby_ip/oar/CCS_OAR_lib/make/prsdk&quot;"/>
+                                                                       <listOptionValue builtIn="false" value="&quot;${PROC_AUDIO_SDK_ROOT}/dolby_ip/car/Source_Code/car/make/alg_car/tisim_eabi_c66_ccs/prsdk&quot;"/>
+                                                                       <listOptionValue builtIn="false" value="&quot;${PROC_AUDIO_SDK_ROOT}/dolby_ip/car/Source_Code/car/make/libcar/tisim_eabi_c66_ccs/prsdk&quot;"/>
+                                                                       <listOptionValue builtIn="false" value="&quot;${PROC_AUDIO_SDK_ROOT}/dolby_ip/bmda/Source_Code/make/prsdk/c66x/release&quot;"/>
                                                                        <listOptionValue builtIn="false" value="&quot;${PROC_AUDIO_SDK_ROOT}/dolby_ip/intrinsics/Dolby_Intrinsics_Imp/lib_elf_C66&quot;"/>
                                                                </option>
                                                                <option id="com.ti.ccstudio.buildDefinitions.C6000_8.2.linkerID.DIAG_WRAP.1262347669" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.C6000_8.2.linkerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.C6000_8.2.linkerID.DIAG_WRAP.off" valueType="enumerated"/>
                                        <stringMacro name="USB_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="UART_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="QMSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
-                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti/pdk_k2g_1_0_9/packages"/>
+                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti_tools/pdk_k2g_1_0_11/packages"/>
                                        <stringMacro name="SRIO_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="SA_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="PRUSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="USB_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="UART_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="QMSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
-                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti/pdk_k2g_1_0_9/packages"/>
+                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti_tools/pdk_k2g_1_0_11/packages"/>
                                        <stringMacro name="SRIO_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="SA_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="PRUSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="USB_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="UART_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="QMSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
-                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti/pdk_k2g_1_0_9/packages"/>
+                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti_tools/pdk_k2g_1_0_11/packages"/>
                                        <stringMacro name="SRIO_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="SA_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="PRUSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="USB_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="UART_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="QMSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
-                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti/pdk_k2g_1_0_9/packages"/>
+                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti_tools/pdk_k2g_1_0_11/packages"/>
                                        <stringMacro name="SRIO_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="SA_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="PRUSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="USB_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="UART_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="QMSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
-                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti/pdk_k2g_1_0_9/packages"/>
+                                       <stringMacro name="PDK_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti_tools/pdk_k2g_1_0_11/packages"/>
                                        <stringMacro name="SRIO_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="SA_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="PRUSS_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
index 4d7199eec79488cb0feab79bd2d711315f5b2159..2c06bb1cdbc85969bbe969b4239711da583b5cd8 100644 (file)
@@ -61,8 +61,8 @@ All rights reserved.
     writeVOLOffsetMasterN(0x7fff), \
     writeSYSRecreationModeDirect, \
     writeSYSChannelConfigurationRequestSurround4_1, \
-    execPAIInAnalog, \
-    execPAIOutAnalogSlave
+    execPAIInDigital, \
+    execPAIOutAnalog
 #else 
 //Not DTS_ATBOOT_CFG
 
index d7322d39e1e72bb1b796d2d9a6622311e349ef82..a011d2c02d6bc15bafa5487d915fa33762272d49 100644 (file)
@@ -432,6 +432,14 @@ Int cbReadAf(
         pAfRd->channelConfigurationStream = pAfCb->channelConfigurationStream;
         // Read CB AF bit-stream metadata information updated by decoder
         pAfRd->bsMetadata_type     = pAfCb->bsMetadata_type;        /* non zero if private metadata is attached. */
+
+               //set the metadata type to channel based for decoder output data from PCM,AAC,DSD1/2/3
+        if((pAfRd->bsMetadata_type == PAF_bsMetadata_none) &&
+                ( (pAfRd->sampleDecode == PAF_SOURCE_PCM) || (pAfRd->sampleDecode == PAF_SOURCE_AAC) ||
+                  (pAfRd->sampleDecode == PAF_SOURCE_DSD1) || (pAfRd->sampleDecode == PAF_SOURCE_DSD2) || (pAfRd->sampleDecode == PAF_SOURCE_DSD3)) )
+        {
+            pAfRd->bsMetadata_type = PAF_bsMetadata_channelData;
+        }
         pAfRd->pafBsMetadataUpdate = pAfCb->pafBsMetadataUpdate;    /* indicates whether bit-stream metadata update */
         pAfRd->bsMetadata_offset   = pAfCb->bsMetadata_offset;      /* offset into audio frame for change in bsMetadata_type field */
         //Following parameters are used in DTSX
index ed0d839c266231c31b26f48f6cbff526bc112c6f..02f1b588b6cd9d0c1879aa07d81b1b59096d1fac 100644 (file)
@@ -128,6 +128,14 @@ static Int decDecodeCompleteProcDecDecodeAck(
     char *decMsgBuf\r
 );\r
 \r
+// Processes unacknowledged Reset Ack messages in decDecodeComplete()\r
+static Int decDecodeCompleteProcDecResetAck(\r
+    const PAF_ASIT_Params *pP, \r
+    PAF_ASIT_Config *pAsitCfg,\r
+    Int z,\r
+    char *decMsgBuf\r
+);\r
+\r
 extern UInt32 gCbWrtAfErrCnt;\r
 \r
 \r
@@ -1425,6 +1433,16 @@ static Int decDecodeCompleteProcAck(
         case ASP_MASTER_DEC_DECODE_DONE: \r
             status = decDecodeCompleteProcDecDecodeAck(pP, pAsitCfg, z, decMsgBuf);\r
             break;\r
+               \r
+        // We need to acknowledge errors in reset state, as we do not pend for reset\r
+               //acknowledgement in decodeInitSnd\r
+               case ASP_MASTER_DEC_RESET_DONE:\r
+                   status = decDecodeCompleteProcDecResetAck(pP, pAsitCfg, z, decMsgBuf);\r
+                       break;\r
+\r
+               case ASP_MASTER_DEC_CONTROL_DONE:\r
+                   status = DEC_NO_ERR;\r
+                       break;\r
             \r
         default:\r
             status = DEC_ERR_COMPLETE_ACKMSG;\r
@@ -1550,4 +1568,36 @@ static Int decDecodeCompleteProcDecDecodeAck(
     return DEC_NO_ERR;\r
 }\r
 \r
+// Processes unacknowledged Reset Ack messages in decDecodeComplete()\r
+static Int decDecodeCompleteProcDecResetAck(\r
+    const PAF_ASIT_Params *pP, \r
+    PAF_ASIT_Config *pAsitCfg,\r
+    Int z,\r
+    char *decMsgBuf\r
+)\r
+{\r
+    PAF_AST_Config *pAstCfg;    // pointer to common (shared) ASIT/ASDT/ASOT configuration\r
+    Int argIdx;                 // message payload argument index\r
+    Int errno;\r
+    Int cbErrno;\r
+    \r
+    pAstCfg = pAsitCfg->pAstCfg;                // get pointer to common (shared) configuration\r
+    \r
+    // invalidate Dec configuration\r
+    Cache_inv(&pAstCfg->xDec[z], sizeof(PAF_AST_Decode), Cache_Type_ALLD, 0);\r
+    Cache_wait();\r
+    \r
+    // extract message payload\r
+    argIdx = 0; // get decErrno\r
+    errno = *(Int32 *)&decMsgBuf[argIdx];\r
+    \r
+    if (errno) \r
+    {\r
+        TRACE_TERSE1("decDecodeCompleteProcDecResetAck() return error errno 0x%x.", errno);\r
+        return DEC_ERR_COMPLETE_RESET_ACKMSG;\r
+    }\r
+    \r
+    return DEC_NO_ERR;\r
+}\r
+\r
 /* Nothing past this line */\r
index e959401b4c8f9a84386d89626c277fc48a4cbd5d..976798b7232416fcd3c856058cb7f602631e2195 100644 (file)
@@ -533,6 +533,8 @@ Void taskAsipFxnInit(
     Cache_inv((Ptr)(&IACP_STD_BETA_TABLE.pStatus[STD_BETA_DTSUHDA]), sizeof(IALG_Status *), Cache_Type_ALLD, 0);
     Cache_inv((Ptr)(&IACP_STD_BETA_TABLE.pStatus[STD_BETA_AAC]), sizeof(IALG_Status *), Cache_Type_ALLD, 0);
     Cache_inv((Ptr)(&IACP_STD_BETA_TABLE.pStatus[STD_BETA_AAC2]), sizeof(IALG_Status *), Cache_Type_ALLD, 0);
+    Cache_inv((Ptr)(&IACP_STD_BETA_TABLE.pStatus[STD_BETA_DSD]), sizeof(IALG_Status *), Cache_Type_ALLD, 0);
+    Cache_inv((Ptr)(&IACP_STD_BETA_TABLE.pStatus[STD_BETA_DSD2]), sizeof(IALG_Status *), Cache_Type_ALLD, 0);
     Cache_wait();
     if (!IACP_STD_BETA_TABLE.pStatus[STD_BETA_DECODE]) Log_info0("WARNING: beta unit for Dec==NULL");
     if (!IACP_STD_BETA_TABLE.pStatus[STD_BETA_PCM]) Log_info0("WARNING: beta unit for Dec==NULL");
@@ -544,7 +546,10 @@ Void taskAsipFxnInit(
     if (!IACP_STD_BETA_TABLE.pStatus[STD_BETA_DTSUHDA]) Log_info0("WARNING: beta unit for Dec==NULL");
     if (!IACP_STD_BETA_TABLE.pStatus[STD_BETA_AAC]) Log_info0("WARNING: beta unit for Dec==NULL");
     if (!IACP_STD_BETA_TABLE.pStatus[STD_BETA_AAC2]) Log_info0("WARNING: beta unit for Dec==NULL");
-
+    if (!IACP_STD_BETA_TABLE.pStatus[STD_BETA_DSD]) Log_info0("WARNING: beta unit for Dec==NULL");
+    if (!IACP_STD_BETA_TABLE.pStatus[STD_BETA_DSD2]) Log_info0("WARNING: beta unit for Dec==NULL");
+    
+    // (***) FL: revisit
     // invalidate Status structures for Beta Units initialized on Slave
     if (IACP_STD_BETA_TABLE.pStatus[STD_BETA_DECODE] != NULL)
     {
@@ -616,6 +621,19 @@ Void taskAsipFxnInit(
         Cache_inv((Ptr)(IACP_STD_BETA_TABLE.pStatus[STD_BETA_AAC2]), size, Cache_Type_ALLD, 0);
         Cache_wait();
     }
+    if (IACP_STD_BETA_TABLE.pStatus[STD_BETA_DSD] != NULL)
+    {
+        Cache_inv((Ptr)(IACP_STD_BETA_TABLE.pStatus[STD_BETA_DSD]), sizeof(Int), Cache_Type_ALLD, 0);
+        size = IACP_STD_BETA_TABLE.pStatus[STD_BETA_DSD]->size;
+        Cache_inv((Ptr)(IACP_STD_BETA_TABLE.pStatus[STD_BETA_DSD]), size, Cache_Type_ALLD, 0);
+        Cache_wait();
+    }
+     if (IACP_STD_BETA_TABLE.pStatus[STD_BETA_DSD2] != NULL)
+    {
+        Cache_inv((Ptr)(IACP_STD_BETA_TABLE.pStatus[STD_BETA_DSD2]), sizeof(Int), Cache_Type_ALLD, 0);
+        size = IACP_STD_BETA_TABLE.pStatus[STD_BETA_DSD2]->size;
+        Cache_inv((Ptr)(IACP_STD_BETA_TABLE.pStatus[STD_BETA_DSD2]), size, Cache_Type_ALLD, 0);
+    }
 
 #ifdef NON_CACHE_STATUS
     // Get the shared status structure GateMP handles. Initialized at slave.
@@ -639,6 +657,14 @@ Void taskAsipFxnInit(
     {
         Log_info1("TaskAfp: Gate Index %d:Open status GateMP Fail.", GATEMP_INDEX_DTS);
     }
+    if (statusOp_Init(GATEMP_INDEX_DSD) == STATUSOP_INIT_FAIL)
+    {
+        Log_info1("TaskAfp: Gate Index %d:Open status GateMP Fail.", GATEMP_INDEX_DSD);
+    }
+    if (statusOp_Init(GATEMP_INDEX_AAC) == STATUSOP_INIT_FAIL)
+    {
+        Log_info1("TaskAfp: Gate Index %d:Open status GateMP Fail.", GATEMP_INDEX_AAC);
+    }
 #endif
 
     // invalidate Dec configuration
@@ -1636,7 +1662,7 @@ PAF_ASIT_initPhaseDecOpCircBuf(
     zMS = pAstCfg->masterStr;
 
     // Decode output circular buffer memory
-    if (!(pAstCfg->xDecOpCb = Memory_calloc((IHeap_Handle)HEAP_INTERNAL1_SHM,
+    if (!(pAstCfg->xDecOpCb = Memory_calloc((IHeap_Handle)HEAP_EXTERNAL_NONCACHED_SHM,
         DECODEN * sizeof (*pAstCfg->xDecOpCb), 4, &eb)))
     {
         TRACE_TERSE1("PAF_ASIT_initPhaseDecOpCircBuf: AS%d: Memory_calloc failed", as+zMS);
@@ -3661,6 +3687,11 @@ Int getFrameLengthSourceSel(
         case PAF_SOURCE_DTSALL:
             frameLength = ASIP_FRAMELEN_SS_DTS;
             break;
+        case PAF_SOURCE_DSD1:
+        case PAF_SOURCE_DSD2:
+        case PAF_SOURCE_DSD3:
+            frameLength = 1024;
+            break;
         default:
             frameLength = ASIP_FRAMELEN_SS_DEFAULT;
             break;
index 58bce9554ea75e96f11bfcfffaf8e8bed3d5964f..0fb0db11bf88c1d3c30ecfab228f53bcf81ea87e 100644 (file)
@@ -243,7 +243,8 @@ enum {
     DEC_ERR_COMPLETE_MSG,
     DEC_ERR_COMPLETE_ACKMSG, 
     DEC_ERR_COMPLETE_INFO_ACKMSG,
-    DEC_ERR_COMPLETE_DECODE_ACKMSG
+    DEC_ERR_COMPLETE_DECODE_ACKMSG,
+       DEC_ERR_COMPLETE_RESET_ACKMSG
 };
 
 
index b4c001f0ad428b6bd18809e65da119d655bae99b..af168636294a11a481a4da2ed7adbae543f5bf55 100644 (file)
@@ -269,7 +269,14 @@ static Int PAF_ASOT_reselectDevices(
     Int frame, \r
     Bool *pOutDevSel\r
 );\r
-   \r
+\r
+//ASOT\r
+//Purpose : check OutIs Reset flag status\r
+int outIsResetFlagCheck(PAF_ASOT_Config *pAsotCfg);\r
+\r
+//ASOT\r
+//Purpose : check OutIs Reset and Info flag status\r
+int outIsResetInfoFlagCheck(PAF_ASOT_Config *pAsotCfg);\r
 \r
 // FL: debug, allow modification of Output frame length via JTAG.\r
 //Int16 gOutFrameLen=PAF_ASOT_FRAMELENGTH; // output frame length (PCM samples)\r
@@ -550,10 +557,23 @@ Void taskAsopFxn(
                     {\r
                         // FL, New IO: this is only necessary for Wake Timer, POLLING Init-Sync\r
                         // FL, New IO: can be removed once Rx ASDT messages are implemented for Init-Sync\r
+                        status = outIsResetFlagCheck(pAsotCfg);\r
+                        if(status == 1)\r
+                        {\r
+                            // FL, New IO: \r
+                        //Tx status==error message to ASDT;   // feedback message ASOT -> ASDT\r
                         \r
+                         // starting over with Output device selection in case of error\r
+                        pAsotCfg->state = ASOT_STATE_SEL_OUT_DEV;\r
+                        break;\r
+                        }\r
+                        else\r
+                        {\r
                         // Dec Reset Init-Sync not ready.\r
                         // Remain in current state.\r
-                        ;\r
+                            ;\r
+                        }\r
+                        \r
                     }\r
                     else\r
                     {\r
@@ -608,7 +628,20 @@ Void taskAsopFxn(
                         \r
                         // Dec Reset Init-Sync not ready.\r
                         // Remain in current state.\r
-                        ;\r
+                        status = outIsResetInfoFlagCheck(pAsotCfg);\r
+                        if(status == 1)\r
+                        {\r
+                            // FL, New IO: \r
+                        //Tx status==error message to ASDT;   // feedback message ASOT -> ASDT\r
+                        \r
+                                               // starting over with Output device selection in case of error\r
+                        pAsotCfg->state = ASOT_STATE_SEL_OUT_DEV;\r
+                        break;\r
+                        }\r
+                        else\r
+                        {\r
+                            ;\r
+                        }\r
                     }\r
                     else\r
                     {\r
@@ -1607,3 +1640,100 @@ static Int PAF_ASOT_reselectDevices(
     *pOutDevSel = outDevSel;\r
     return status;\r
 }\r
+\r
+//ASOT \r
+//Function to check if OutIs Reset Flag set or not\r
+//Return Value - 1 if flag is set, else 0\r
+ int outIsResetFlagCheck(PAF_ASOT_Config *pAsotCfg)\r
+ {\r
+    PAF_AST_OutInitSyncCtl *pOutIsCtl;  // Output Init-Sync control\r
+    Int8 decFlag,decFlag1; \r
+    Int zMD;    // dec stage flag\r
+    PAF_AST_OutInitSyncInfo *pOutIsi;\r
+    unsigned int status = 0;\r
+    PAF_AST_DecStageOutInitSyncInfo *pDecStageOutIsi;\r
+    IArg key;\r
+    GateMP_Handle gateHandle;\r
+    zMD = pAsotCfg->pAstCfg->masterDec;\r
+    pOutIsCtl = &pAsotCfg->pAspmCfg->outIsCtl;\r
+    // Get gate handle\r
+    gateHandle = pOutIsCtl->gateHandle;\r
+    // Enter gate\r
+    key = GateMP_enter(gateHandle);\r
+    \r
+    //\r
+    // Read decoder stage audio frame\r
+    // Read decoder stage flag\r
+    //\r
+    \r
+    // Get address of Output Init-Sync Info\r
+    pOutIsi = &((*pOutIsCtl->pXOutIsInfo)[zMD]);\r
+    // Get address of Decoder Output Init-Sync Info\r
+    pDecStageOutIsi = &pOutIsi->decStageOutInitSyncInfo[ASP_OUTIS_DEC_STAGE_RESET_IDX];\r
+    if(pDecStageOutIsi->decFlag == 0)\r
+    {\r
+        TRACE_VERBOSE0("outIsResetFlagCheck reset done\n");\r
+        status =  1;\r
+    }\r
+    // Dec Reset Init-Sync not ready.\r
+    // Remain in current state.\r
+    else\r
+    {\r
+        TRACE_VERBOSE0("outIsResetFlagCheck reset not done\n");\r
+        status =  0;\r
+    }\r
+        // Leave the gate\r
+    GateMP_leave(gateHandle, key);\r
+    return status;\r
+ }\r
+\r
+//ASOT \r
+//Function to check if OutIs Reset and Info Flag set or not \r
+//Returns value - 1 if any one or both set, else returns 0\r
+int outIsResetInfoFlagCheck(PAF_ASOT_Config *pAsotCfg)\r
+{\r
+    PAF_AST_OutInitSyncCtl *pOutIsCtl;  // Output Init-Sync control\r
+    Int8 decFlag,decFlag1; \r
+    Int zMD;    // dec stage flag\r
+    PAF_AST_OutInitSyncInfo *pOutIsi;\r
+    unsigned int status = 0;\r
+    PAF_AST_DecStageOutInitSyncInfo *pDecStageOutIsi;\r
+    IArg key;\r
+    GateMP_Handle gateHandle;\r
+    zMD = pAsotCfg->pAstCfg->masterDec;\r
+    pOutIsCtl = &pAsotCfg->pAspmCfg->outIsCtl;\r
+    // Get gate handle\r
+    gateHandle = pOutIsCtl->gateHandle;\r
+    // Enter gate\r
+    key = GateMP_enter(gateHandle);\r
+    \r
+    //\r
+    // Read decoder stage audio frame\r
+    // Read decoder stage flag\r
+    //\r
+    \r
+    // Get address of Output Init-Sync Info\r
+    pOutIsi = &((*pOutIsCtl->pXOutIsInfo)[zMD]);\r
+    // Get address of Decoder Output Init-Sync Info\r
+    pDecStageOutIsi = &pOutIsi->decStageOutInitSyncInfo[ASP_OUTIS_DEC_STAGE_RESET_IDX];\r
+       decFlag = pDecStageOutIsi->decFlag;\r
+       pDecStageOutIsi = NULL;\r
+       pDecStageOutIsi = &pOutIsi->decStageOutInitSyncInfo[ASP_OUTIS_DEC_STAGE_INFO1_IDX];\r
+       decFlag1 = pDecStageOutIsi->decFlag;\r
+    if( decFlag == 0 || decFlag1 == 0 )\r
+    {\r
+        TRACE_VERBOSE0("outIsResetInfoFlagCheck reset done\n");\r
+        status =  1;\r
+    }\r
+    // Dec Reset Init-Sync not ready.\r
+    // Remain in current state.\r
+    else\r
+    {\r
+        TRACE_VERBOSE0("outIsResetInfoFlagCheck reset not done\n");\r
+        status =  0;\r
+    }\r
+        // Leave the gate\r
+    GateMP_leave(gateHandle, key);\r
+    return status;\r
+}\r
+\r
index 1878196e0cfda1a498273eba6dc856bedeaef91c..41db9f69f09010d1530f1f4f6689f8b142714462 100644 (file)
@@ -64,7 +64,7 @@
 
 /* Number of submitted transfers in McASP LLD priming operation.
  * Due to McASP LLD issue, there must be 3 or more transfer submits in priming.  */
-#define NUM_PRIME_XFERS_INPUT   3   // 3 and above is good for input
+#define NUM_PRIME_XFERS_INPUT   4   // 4 and above is good for input
 #define NUM_PRIME_XFERS_OUTPUT  2   // 2 is good for output
 
 // Define McASP transfer element size: number of bytes in one word
index 0baa780745d74900fa7c9b7d8492257687985afb..8bb706f63e98fbda44ef694f573e44383741b704 100644 (file)
@@ -91,7 +91,7 @@ typedef struct autoDet_s {
   int_least32_t    timeOutCntr;
   uint_least32_t   zeroCount;
   uint_least32_t   numElementsRcvd;
-  uint_least32_t   distToFrameEnd;
+  int_least32_t   distToFrameEnd;
 
   uint_least16_t   preambleRef[IODATA_PREAMBLE_MAX_LEN];
   uint_least16_t   preambleBuf[IODATA_PREAMBLE_MAX_LEN];
@@ -544,7 +544,21 @@ void syncCheckInit(ioDataInst_t * pIoDataInst)
 
        pIoDataInst->autoDet.distToFrameEnd = pIoDataInst->autoDet.frameLength
                                                      - pIoDataInst->autoDet.numElementsRcvd;
-
+       
+    if(pIoDataInst->autoDet.distToFrameEnd < 0)
+       {
+        if((pIoDataInst->buff1 != NULL) && (pIoDataInst->size1 != 0))
+        {
+            if((pIoDataInst->buff2 != NULL) && (pIoDataInst->size2 != 0))
+            {
+                pIoDataInst->autoDet.distToFrameEnd += ((pIoDataInst->size1 + pIoDataInst->size2)/pIoDataInst->elementSize);
+            }
+            else
+            {
+                pIoDataInst->autoDet.distToFrameEnd += (pIoDataInst->size1/pIoDataInst->elementSize);
+            }
+        }
+    }
 //#ifdef ADJUST_XFER_SIZE_AFTER_AUTODET
 #if 1
        // Adjust the read size such that next read will contain the preamble of next
index c69c6f6474d08b0c6495080dad20c6a3344b1632..b7cc6c6d1387c8b3ed1280ba651d4de2a39793af 100644 (file)
@@ -1134,7 +1134,7 @@ Int DIB_requestFrame (DEV2_Handle device, PAF_InpBufConfig *pBufConfig)
     switch (pDevExt->syncState) {
         case SYNC_PCM:
         case SYNC_PCM_FORCED:
-                    
+            #if 0 //don't set framelength here
             if (pDevExt->sourceSelect == PAF_SOURCE_DSD1)
                 pDevExt->frameLength = 256;
             else if (pDevExt->sourceSelect == PAF_SOURCE_DSD2)
@@ -1142,6 +1142,7 @@ Int DIB_requestFrame (DEV2_Handle device, PAF_InpBufConfig *pBufConfig)
             else if (pDevExt->sourceSelect == PAF_SOURCE_DSD3)
                 pDevExt->frameLength = 64;
             else
+            #endif
                 pDevExt->frameLength = pDevExt->pcmFrameLength;
 
             pDevExt->lengthofData = pBufConfig->stride*pDevExt->frameLength;
index a2c6e626c29fefb5da904ccd8f77a23563946e8d..f55c828d1c05d252ea51eff8ff1d6c7b50476033 100644 (file)
@@ -927,7 +927,7 @@ Int SAP_open (DEV2_Handle device, String name)
     pDevExt = (SAP_DeviceExtension *) Memory_alloc (device->bufSeg, (sizeof(SAP_DeviceExtension)+3)/4*4, 4, &eb);
     if (pDevExt == NULL)
     {
-        printf("%s.%d:  MEM_alloc failed.\n", __FUNCTION__, __LINE__);
+        //printf("%s.%d:  MEM_alloc failed.\n", __FUNCTION__, __LINE__);
         //TRACE_TERSE((&TR_MOD, "%s.%d:  MEM_alloc failed.\n", __FUNCTION__, __LINE__));
         asm( " SWBP 0" );  // SW Breakpoint
         return SIO2_EALLOC;
diff --git a/scripts/build_aac.bat b/scripts/build_aac.bat
deleted file mode 100644 (file)
index 5682d92..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-@echo off
-
-:: *************************************************************************
-::  FILE           : build_aac.bat
-::  DESCRIPTION    :
-::
-::     Builds package for AAC component library.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-:: %1: Build lirary or test application (lib, testapp)
-@echo Executing:  %~fn0 %1
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..\
-
-:: Set PASDK local root directory
-set PASDK_LROOT_DIR=%PAROOT_DIR%pasrc
-:: Set PAF root directory
-set PAF_ROOT_DIR=%PASDK_LROOT_DIR%\paf
-
-
-pushd %PAF_ROOT_DIR%\pa\build
-sed -i -e "s/export ARCH   = c66x/export ARCH   = a15/g" target.mk
-popd
-
-
-SET AAC_SOURCE_PATH=..\3p-ip-fraunhofer\pa\dec\aac
-
-if /I "%1" == "lib" goto build_aac_lib
-if /I "%1" == "testapp" goto build_aac_testapp
-@echo "Invalid argument"
-goto end
-
-:build_aac_lib
-pushd %AAC_SOURCE_PATH%
-gmake clean
-gmake install
-popd
-goto end
-
-:build_aac_testapp
-
-pushd %PAF_ROOT_DIR%\pa\util\c67x_cintrins
-gmake clean
-gmake install
-popd
-
-pushd %PAF_ROOT_DIR%\pa\util\c66x_cintrins
-gmake clean
-gmake install
-popd
-
-pushd %PAF_ROOT_DIR%\pa\asp\std
-gmake clean
-gmake install
-popd
-
-pushd %PAF_ROOT_DIR%\pa\dec\com
-gmake clean
-gmake install
-popd
-
-pushd %PAF_ROOT_DIR%\pa\asp\com
-gmake clean
-gmake install
-popd
-
-pushd %AAC_SOURCE_PATH%\test\a15
-gmake clean
-gmake 
-popd
-goto end
-
-:end
-set AAC_SOURCE_PATH=
diff --git a/scripts/build_aacip_pkg.bat b/scripts/build_aacip_pkg.bat
deleted file mode 100644 (file)
index 2c7ee94..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : build_aacip_pkg.bat
-::  DESCRIPTION    :
-::
-::     Builds package for AAC component library.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-:: %1: package to build (aacdec, aactestapp). i.e. AAC library or AAC test app 
-:: %2: package destination directory
-@echo Executing:  %~fn0 %1 %2
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..\
-
-:: Set AAC IP local root directory
-set AAC_IP_LROOT=%PAROOT_DIR%3p-ip-fraunhofer\pa\dec\aac
-
-:: Set package directory
-if "%2"=="" goto def_prm_pkg_dest_dir
-
-:prm_pkg_dest_dir
-set AACIP_PKG_DEST_DIR=%2
-goto set_aacip_pkg_name
-
-:def_prm_pkg_dest_dir
-set AACIP_PKG_DEST_DIR=%~dp0
-
-
-:set_aacip_pkg_name
-:: Set package name
-for /f "tokens=2 delims==" %%a in ('wmic OS Get localdatetime /value') do set "dt=%%a"
-set DATESTR=%dt:~2,2%%dt:~4,2%%dt:~6,2%
-
-set AACIP_PKG_FNAME=pasrc
-if "%PASDK_TARGET_PLATFORM%" NEQ "" set AACIP_PKG_FNAME=%AACIP_PKG_FNAME%_%PASDK_TARGET_PLATFORM%
-set AACIP_PKG_FNAME=%AACIP_PKG_FNAME%_%DATESTR%_%2
-
-if /I "%1" == "aacdec" goto build_aacdec_pkg
-if /I "%1" == "aactestapp" goto build_aactestapp_pkg
-@echo "Invalid package"
-goto cleanupenv
-
-:build_aacdec_pkg
-:: Build AAC library package
-@echo Build package: %1 %AACIP_PKG_DEST_DIR%
-set AACDEC_ROOT_DIR=%AAC_IP_LROOT%
-if exist Temp\nul ( rmdir /S /Q Temp )
-if NOT exist %AACIP_PKG_DEST_DIR%\nul ( mkdir %AACIP_PKG_DEST_DIR% )
-@mkdir Temp
-@pushd Temp
-@mkdir pa\dec\aac\alg
-@mkdir pa\dec\aac\alpha
-@mkdir pa\build\a15\release
-@mkdir pa\docs
-@copy /Y %AACDEC_ROOT_DIR%\alg\aac.h pa\dec\aac\alg
-@copy /Y %AACDEC_ROOT_DIR%\alg\aac_tii.h pa\dec\aac\alg
-@copy /Y %AACDEC_ROOT_DIR%\alg\iaac.h pa\dec\aac\alg
-@copy /Y %AACDEC_ROOT_DIR%\alpha\aac_a.h pa\dec\aac\alpha
-@copy /Y %AACDEC_ROOT_DIR%\a15\release\aac_elf.lib pa\build\a15\release
-@copy /Y %AACDEC_ROOT_DIR%\doc\AACUsersGuide.pdf pa\docs
-7z a -tzip -r pkg.zip
-@popd
-@copy /Y Temp\pkg.zip %AACIP_PKG_DEST_DIR%\%AACIP_PKG_FNAME%.zip
-@rmdir /S /Q Temp
-set AACDEC_ROOT_DIR=
-goto cleanupenv
-
-
-:build_aactestapp_pkg
-:: Build AAC test application package
-@echo Build package: %1 %AACIP_PKG_DEST_DIR%
-set AACDEC_ROOT_DIR=%AAC_IP_LROOT%
-if exist Temp\nul ( rmdir /S /Q Temp )
-if NOT exist %AACIP_PKG_DEST_DIR%\nul ( mkdir %AACIP_PKG_DEST_DIR% )
-@mkdir Temp
-@pushd Temp
-@mkdir pa\dec\aac\test\a15
-@mkdir pa\dec\aac\test\test_vectors\config
-@mkdir pa\dec\aac\test\test_vectors\input
-@mkdir pa\dec\aac\test\test_vectors\output
-@mkdir pa\docs
-@copy /Y %AACDEC_ROOT_DIR%\test\a15\aac_test.out pa\dec\aac\test\a15
-@copy /Y %AACDEC_ROOT_DIR%\test\test_vectors\config\A15Testcases.txt pa\dec\aac\test\test_vectors\config
-@copy /Y %AACDEC_ROOT_DIR%\doc\AAC_Profiling_Info_A15.xlsx pa\dec\aac\test
-@copy /Y %AACDEC_ROOT_DIR%\doc\testappUsersGuide.txt pa\dec\aac\test
-7z a -tzip -r pkg.zip
-@popd
-@copy /Y Temp\pkg.zip %AACIP_PKG_DEST_DIR%\%AACIP_PKG_FNAME%.zip
-@rmdir /S /Q Temp
-set AACDEC_ROOT_DIR=
-goto cleanupenv
-
-
-
-:cleanupenv
-set AAC_IP_LROOT=
-set AACIP_PKG_DEST_DIR=
-set DATESTR=
-set AACIP_PKG_FNAME=
-
-
-:end
diff --git a/scripts/build_ccs_projects.bat b/scripts/build_ccs_projects.bat
deleted file mode 100644 (file)
index 3e9e418..0000000
+++ /dev/null
@@ -1,179 +0,0 @@
-@echo off
-@setlocal EnableDelayedExpansion
-
-:: *************************************************************************
-::  FILE           : build_ccs_projects.bat
-::  DESCRIPTION    :
-::
-::     Builds DSP PDK platform library.
-::     Builds ARM/DSP applications.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-:: %1: Build type: ALL, DH, or DTSX
-:: %2: Build profile: Debug, Release, or SDF
-@echo Executing:  %~fn0 %1 %2
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..
-
-:: Set PASDK local root directory
-set PASDK_LROOT_DIR=%PAROOT_DIR%\pasrc
-:: Set custom Processor SDK local root directory
-set PSDK_CUST_LROOT_DIR=%PAROOT_DIR%\psdk_cust
-
-:: Set custom PDK install directory
-::set PDK_VERSION=1_0_1_2_eng
-::set PDK_INSTALL_DIR=%PSDK_CUST_LROOT_DIR%\pdk_k2g_%PDK_VERSION%
-
-:: Set workspace directory
-set CCS_WRKSP_DIR=workspace_pasdk
-
-:: Work-around for bug with generated linker command file being read-only
-set SAVE_CYGWIN=%CYGWIN%
-set CYGWIN=nontsec
-
-
-:build_ccs_projects
-
-::
-:: Initialize RTSC tools discovery path
-::
-:: Performed three times because of bug in discovery functionality
-::eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.initialize -rtsc.productDiscoveryPath %PSDK_CUST_LROOT_DIR%
-::eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.initialize -rtsc.productDiscoveryPath %PSDK_CUST_LROOT_DIR%
-::eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.initialize -rtsc.productDiscoveryPath %PSDK_CUST_LROOT_DIR%
-
-:: Used in case custom PRSDK components are needed in build
-::echo eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.initialize -rtsc.productDiscoveryPath "%TI_PRSDK_DIR%;%PSDK_CUST_LROOT_DIR%"
-::eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.initialize -rtsc.productDiscoveryPath "%TI_PRSDK_DIR%;%PSDK_CUST_LROOT_DIR%"
-
-echo eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.initialize -rtsc.productDiscoveryPath "%TI_PRSDK_DIR%"
-eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.initialize -rtsc.productDiscoveryPath "%TI_PRSDK_DIR%"
-
-
-::
-:: Import projects into workspace
-::
-
-:: Import PDK platform library project into workspace
-::eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectImport -ccs.location "%PDK_INSTALL_DIR%\packages\ti\platform\evmk2g\platform_lib"
-
-:: Import ARM and DSP application projects to workspace
-echo eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectImport -ccs.location "%PASDK_LROOT_DIR%\test_arm"
-eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectImport -ccs.location "%PASDK_LROOT_DIR%\test_arm"
-echo eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectImport -ccs.location "%PASDK_LROOT_DIR%\test_dsp"
-eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectImport -ccs.location "%PASDK_LROOT_DIR%\test_dsp"
-
-::
-:: Build projects
-::
-
-:: Build PDK platform library project
-::set PDK_PLATFORM_LIB_BUILD_PROFILE=Debug
-::eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects platform_lib_evmk2g -ccs.configuration %PDK_PLATFORM_LIB_BUILD_PROFILE%
-
-:: Build Dolby Harmony projects
-set TRUE=
-if "%1"=="DH" set TRUE=1
-if "%1"=="ALLIP" set TRUE=1
-if "%1"=="ALL" set TRUE=1
-if defined TRUE (
-    rem Default is Debug build configuration
-    set ARM_APP_BUILD_PROFILE=Debug_DH
-    set DSP_APP_BUILD_PROFILE=Debug_DH
-
-    if "%2"=="Debug" (
-        set ARM_APP_BUILD_PROFILE=Debug_DH
-        set DSP_APP_BUILD_PROFILE=Debug_DH
-    )
-    
-    if "%2"=="Release" (
-        rem FL: currently we only have a "Release" profile for the DSP
-        set ARM_APP_BUILD_PROFILE=Debug_DH
-        set DSP_APP_BUILD_PROFILE=Release_DH
-    )
-    
-    if "%2"=="SDF" (
-        set ARM_APP_BUILD_PROFILE=Debug_DH_IPPkgs
-        set DSP_APP_BUILD_PROFILE=Debug_DH_IPPkgs
-    )
-    
-    rem Build ARM application project
-    echo eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects test_arm -ccs.configuration !ARM_APP_BUILD_PROFILE!
-    eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects test_arm -ccs.configuration !ARM_APP_BUILD_PROFILE!
-
-    rem Build DSP application project
-    echo eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects test_dsp -ccs.configuration !DSP_APP_BUILD_PROFILE!
-    eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects test_dsp -ccs.configuration !DSP_APP_BUILD_PROFILE!
-)
-
-:: Build DTS:X projects
-set TRUE=
-if "%1"=="DTSX" set TRUE=1
-if "%1"=="ALLIP" set TRUE=1
-if "%1"=="ALL" set TRUE=1
-if defined TRUE (
-    rem Default is Debug build configuration
-    set ARM_APP_BUILD_PROFILE=Debug_DTSX
-    set DSP_APP_BUILD_PROFILE=Debug_DTSX
-    
-    if "%2"=="Debug" (
-        set ARM_APP_BUILD_PROFILE=Debug_DTSX
-        set DSP_APP_BUILD_PROFILE=Debug_DTSX
-    )
-    
-    if "%2"=="Release" (
-        rem FL: currently we only have a "Release" profile for the DSP
-        set ARM_APP_BUILD_PROFILE=Debug_DTSX
-        set DSP_APP_BUILD_PROFILE=Release_DTSX
-    )
-    
-    if "%2"=="SDF" (
-        set ARM_APP_BUILD_PROFILE=Debug_DTSX_IPPkgs
-        set DSP_APP_BUILD_PROFILE=Debug_DTSX_IPPkgs        
-    )
-
-    rem Build ARM application project
-    echo eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects test_arm -ccs.configuration !ARM_APP_BUILD_PROFILE!
-    eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects test_arm -ccs.configuration !ARM_APP_BUILD_PROFILE!
-
-    rem Build DSP application project
-    echo eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects test_dsp -ccs.configuration !DSP_APP_BUILD_PROFILE!
-    eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects test_dsp -ccs.configuration !DSP_APP_BUILD_PROFILE!
-)
-
-:: Build No IP projects
-set TRUE=
-if "%1"=="NOIP" set TRUE=1
-if "%1"=="ALL" set TRUE=1
-if defined TRUE (
-    rem This is currently the only build configuration for No IP
-    set ARM_APP_BUILD_PROFILE=Debug_NoIP
-    set DSP_APP_BUILD_PROFILE=Debug_NoIP
-    
-    rem Build ARM application project
-    echo eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects test_arm -ccs.configuration !ARM_APP_BUILD_PROFILE!
-    eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects test_arm -ccs.configuration !ARM_APP_BUILD_PROFILE!
-
-    rem Build DSP application project
-    echo eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects test_dsp -ccs.configuration !DSP_APP_BUILD_PROFILE!
-    eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects test_dsp -ccs.configuration !DSP_APP_BUILD_PROFILE!
-)
-
-set CYGWIN=%SAVE_CYGWIN%
-
-:cleanupenv
-set PASDK_LROOT_DIR=
-set PSDK_CUST_LROOT_DIR=
-::set PDK_VERSION=
-::set PDK_INSTALL_DIR=
-set CCS_WRKSP_DIR=
-set SAVE_CYGWIN=
-::set PDK_PLATFORM_LIB_BUILD_PROFILE=
-set ARM_APP_BUILD_PROFILE=
-set DSP_APP_BUILD_PROFILE=
-set TRUE=
-
-
-:end
diff --git a/scripts/build_dh_libs.bat b/scripts/build_dh_libs.bat
deleted file mode 100644 (file)
index cdc4244..0000000
+++ /dev/null
@@ -1,193 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : build_dh_libs.bat
-::  DESCRIPTION    :
-::
-::     Builds ARM/DSP Atmos component libraries.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-@echo Executing:  %~fn0
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..
-
-:: Save path
-set PATH_ORG=%PATH%
-
-:: Set PASDK local root directory
-set PASDK_LROOT_DIR=%PAROOT_DIR%\pasrc
-:: Set PAF root directory
-set PAF_ROOT_DIR=%PASDK_LROOT_DIR%\paf
-:: Set Dolby IP local root directory
-set DOLBY_IP_LROOT=%PAROOT_DIR%\dolby_ip
-
-set TI_TOOLS_DIR_FS=%TI_TOOLS_DIR:\=/%
-set PASDK_ROOT_DIR_FS=%PAROOT_DIR:\=/%
-set DOLBY_IP_LROOT_FS=%DOLBY_IP_LROOT:\=/%
-set ARM_CGT_INSTALL_DIR_DH_DEC_FS=%ARM_CGT_INSTALL_DIR_DH_DEC:\=/%
-set C6X_CGT_INSTALL_DIR_DH_ASP_FS=%C6X_CGT_INSTALL_DIR_DH_ASP:\=/%
-
-::
-:: Set XDC tools, SYSBIOS, and XDAIS install directory overrides.
-:: For DH 1.1 certified components:
-::  - this information is hard-coded in make files for all DH components but BMDA
-::  - BMDA make file obtains this information from pa/build/tools.mk.
-::
-:: Here override information in tools.mk
-set XDC_INSTALL_DIR_DH_FS=%XDC_INSTALL_DIR_DH:\=/%
-set BIOS_INSTALL_DIR_DH_FS=%BIOS_INSTALL_DIR_DH:\=/%
-set XDAIS_INSTALL_DIR_DH_FS=%XDAIS_INSTALL_DIR_DH:\=/%
-
-
-::
-:: cygwin must be in path for all but OAR & BMDA makefiles
-::
-set PATH=%CYGWIN_INSTALL_DIR%;%PATH%
-
-rem
-rem ARM libraries
-rem
-
-:ddp_build
-::rem DDP Dec core library
-pushd %DOLBY_IP_LROOT%\ddp\Dolby_Digital_Plus_Decoder_Imp\Source_Code\make\ddp_udc_lib\a15
-echo.
-echo Building: DDP core library
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% A15TOOLS=%ARM_CGT_INSTALL_DIR_DH_DEC_FS%
-gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% A15TOOLS=%ARM_CGT_INSTALL_DIR_DH_DEC_FS%
-popd
-rem DDP Dec wrapper library
-pushd %DOLBY_IP_LROOT%\ddp\Dolby_Digital_Plus_Decoder_Imp\Source_Code\make\ddp_udc_wrapper\a15
-echo.
-echo Building: DDP wrapper library
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% A15TOOLS=%ARM_CGT_INSTALL_DIR_DH_DEC_FS%
-gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% A15TOOLS=%ARM_CGT_INSTALL_DIR_DH_DEC_FS%
-popd
-
-:matthd_build
-:: THD Dec core library
-pushd %DOLBY_IP_LROOT%\mat-thd\Dolby_MAT_Decoder_Imp\Source_Code\mat_dec\make\dthd_dec_lib\a15
-echo.
-echo Building: THD dec core library
-echo %cd%
-echo gmake clean_lib
-gmake clean_lib
-echo.
-echo %cd%
-echo gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% A15TOOLS=%ARM_CGT_INSTALL_DIR_DH_DEC_FS%
-gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% A15TOOLS=%ARM_CGT_INSTALL_DIR_DH_DEC_FS%
-popd
-:: MAT Dec core library
-pushd %DOLBY_IP_LROOT%\mat-thd\Dolby_MAT_Decoder_Imp\Source_Code\mat_dec\make\mat_dec_lib\a15
-echo.
-echo Building: MAT dec core library
-echo %cd%
-echo gmake clean_lib
-gmake clean_lib
-echo.
-echo %cd%
-echo gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% A15TOOLS=%ARM_CGT_INSTALL_DIR_DH_DEC_FS%
-gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% A15TOOLS=%ARM_CGT_INSTALL_DIR_DH_DEC_FS%
-popd
-:: MAT-THD Dec wrapper library
-pushd %DOLBY_IP_LROOT%\mat-thd\Dolby_MAT_Decoder_Imp\Source_Code\mat_dec\make\thd_alg_lib\a15
-echo.
-echo Building: MAT-THD wrapper library
-echo %cd%
-echo gmake clean_lib
-gmake clean_lib
-echo.
-echo %cd%
-echo gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% A15TOOLS=%ARM_CGT_INSTALL_DIR_DH_DEC_FS%
-gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% A15TOOLS=%ARM_CGT_INSTALL_DIR_DH_DEC_FS%
-popd
-
-rem
-rem DSP libraries
-rem
-
-:car_build
-:: CAR core library
-pushd %DOLBY_IP_LROOT%\car\Source_Code\car\make\libcar\tisim_eabi_c66_ccs
-echo.
-echo Building: CAR core library
-echo %cd%
-echo gmake cleanself
-gmake cleanself
-echo.
-echo %cd%
-echo gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% C66TOOLS=%C6X_CGT_INSTALL_DIR_DH_ASP_FS%
-gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% C66TOOLS=%C6X_CGT_INSTALL_DIR_DH_ASP_FS%
-popd
-:: CAR wrapper library
-pushd %DOLBY_IP_LROOT%\car\Source_Code\car\make\alg_car\tisim_eabi_c66_ccs
-echo.
-echo Building: CAR wrapper library
-echo %cd%
-echo gmake cleanself
-gmake cleanself
-echo.
-echo %cd%
-echo gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% CC66TOOLS=%C6X_CGT_INSTALL_DIR_DH_ASP_FS%
-gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% C66TOOLS=%C6X_CGT_INSTALL_DIR_DH_ASP_FS%
-popd
-
-::
-:: cygwin must not be in path for OAR & BMDA makefiles
-::
-set PATH=%PATH_ORG%
-
-:oar_build
-:: OAR combined core+wrapper library
-pushd %DOLBY_IP_LROOT%\oar\CCS_OAR_lib\make
-echo.
-echo Building: OAR core+wrapper library
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% C66TOOLS=%C6X_CGT_INSTALL_DIR_DH_ASP_FS%
-gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% C66TOOLS=%C6X_CGT_INSTALL_DIR_DH_ASP_FS%
-popd
-
-:bmda_build
-:: BMDA combined core+wrapper library
-pushd %DOLBY_IP_LROOT%\bmda\Source_Code\make
-echo.
-echo Building: BMDA core+wrapper library
-echo %cd%
-echo gmake clean TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% ARCH=c66x XDCROOT=%XDC_INSTALL_DIR_DH_FS% BIOSROOT=%BIOS_INSTALL_DIR_DH_FS% XDAISROOT=%XDAIS_INSTALL_DIR_DH_FS%
-gmake clean TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% ARCH=c66x XDCROOT=%XDC_INSTALL_DIR_DH_FS% BIOSROOT=%BIOS_INSTALL_DIR_DH_FS% XDAISROOT=%XDAIS_INSTALL_DIR_DH_FS%
-echo.
-echo %cd%
-echo gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% ARCH=c66x CG_TOOLS_c66x=%C6X_CGT_INSTALL_DIR_DH_ASP_FS% XDCROOT=%XDC_INSTALL_DIR_DH_FS% BIOSROOT=%BIOS_INSTALL_DIR_DH_FS% XDAISROOT=%XDAIS_INSTALL_DIR_DH_FS%
-gmake TI_TOOLS=%TI_TOOLS_DIR_FS% PASDK_ROOT=%PASDK_ROOT_DIR_FS% ARCH=c66x CG_TOOLS_c66x=%C6X_CGT_INSTALL_DIR_DH_ASP_FS% XDCROOT=%XDC_INSTALL_DIR_DH_FS% BIOSROOT=%BIOS_INSTALL_DIR_DH_FS% XDAISROOT=%XDAIS_INSTALL_DIR_DH_FS%
-popd
-
-
-:cleanupenv
-set PATH_ORG=
-set PASDK_LROOT_DIR=
-set PAF_ROOT_DIR=
-set DOLBY_IP_LROOT=
-set PASDK_ROOT_DIR_FS=
-set DOLBY_IP_LROOT_FS=
-set ARM_CGT_INSTALL_DIR_DH_DEC_FS=
-set C6X_CGT_INSTALL_DIR_DH_ASP_FS=
-set XDC_INSTALL_DIR_DH_FS=
-set BIOS_INSTALL_DIR_DH_FS=
-
-
-:end
diff --git a/scripts/build_dhip_pkg.bat b/scripts/build_dhip_pkg.bat
deleted file mode 100644 (file)
index 50159ff..0000000
+++ /dev/null
@@ -1,204 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : build_dhip_pkg.bat
-::  DESCRIPTION    :
-::
-::     Builds package for Atmos component library.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-:: %1: package to build (bmda, car, ddp, matthd, oar, intrinsics)
-:: %2: package destination directory
-@echo Executing:  %~fn0 %1 %2
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..
-
-:: Set Dolby IP local root directory
-set DOLBY_IP_LROOT=%PAROOT_DIR%\dolby_ip
-
-:: Set package directory
-if "%2"=="" goto def_prm_pkg_dest_dir
-
-:prm_pkg_dest_dir
-set DHIP_PKG_DEST_DIR=%2
-goto set_dhip_pkg_name
-
-:def_prm_pkg_dest_dir
-set DHIP_PKG_DEST_DIR=%~dp0
-
-
-:set_dhip_pkg_name
-:: Set package name
-for /f "tokens=2 delims==" %%a in ('wmic OS Get localdatetime /value') do set "dt=%%a"
-set DATESTR=%dt:~2,2%%dt:~4,2%%dt:~6,2%
-
-set DHIP_PKG_FNAME=pasrc
-if "%PASDK_TARGET_PLATFORM%" NEQ "" set DHIP_PKG_FNAME=%DHIP_PKG_FNAME%_%PASDK_TARGET_PLATFORM%
-set DHIP_PKG_FNAME=%DHIP_PKG_FNAME%_%DATESTR%_%1
-
-if /I "%1" == "bmda" goto build_bmda_pkg
-if /I "%1" == "car" goto build_car_pkg
-if /I "%1" == "ddp" goto build_ddp_pkg
-if /I "%1" == "matthd" goto build_matthd_pkg
-if /I "%1" == "oar" goto build_oar_pkg
-if /I "%1" == "intrinsics" goto build_intr_pkg
-@echo "Invalid package"
-goto cleanupenv
-
-
-:build_bmda_pkg
-@echo Build package: %1 %DHIP_PKG_DEST_DIR%
-set BMDA_ROOT_DIR=%DOLBY_IP_LROOT%\bmda
-if exist Temp\nul ( rmdir /S /Q Temp )
-if NOT exist %DHIP_PKG_DEST_DIR%\nul ( mkdir %DHIP_PKG_DEST_DIR% )
-@mkdir Temp
-@pushd Temp
-@mkdir asp\rel\bmda\alg
-@mkdir asp\rel\bmda\alpha
-@mkdir build\c66x\release
-@mkdir DOC
-@copy /Y %BMDA_ROOT_DIR%\Source_Code\alg\bmda.h asp\rel\bmda\alg
-@copy /Y %BMDA_ROOT_DIR%\Source_Code\alg\bmda_tig.h asp\rel\bmda\alg
-@copy /Y %BMDA_ROOT_DIR%\Source_Code\alg\ibmda.h asp\rel\bmda\alg
-@copy /Y %BMDA_ROOT_DIR%\Source_Code\alpha\bmda_a.h asp\rel\bmda\alpha
-@copy /Y %BMDA_ROOT_DIR%\Source_Code\make\c66x\release\bmda_elf.lib build\c66x\release
-@copy /Y %BMDA_ROOT_DIR%\doc\BMDAUsersGuide.pdf DOC
-7z a -tzip -r pkg.zip
-@popd
-@copy /Y Temp\pkg.zip %DHIP_PKG_DEST_DIR%\%DHIP_PKG_FNAME%.zip
-@rmdir /S /Q Temp
-set BMDA_ROOT_DIR=
-goto cleanupenv
-
-:build_car_pkg
-@echo Build package: %1 %DHIP_PKG_DEST_DIR%
-set CAR_ROOT_DIR=%DOLBY_IP_LROOT%\car
-if exist Temp\nul ( rmdir /S /Q Temp )
-if NOT exist %DHIP_PKG_DEST_DIR%\nul ( mkdir %DHIP_PKG_DEST_DIR% )
-@mkdir Temp
-@pushd Temp
-@mkdir asp\rel\car\alg
-@mkdir asp\rel\car\alpha
-@mkdir build\c66x\release
-@mkdir DOC
-@copy /Y %CAR_ROOT_DIR%\Source_Code\alg\car.h asp\rel\car\alg
-@copy /Y %CAR_ROOT_DIR%\Source_Code\alg\car_tig.h asp\rel\car\alg
-@copy /Y %CAR_ROOT_DIR%\Source_Code\alg\icar.h asp\rel\car\alg
-@copy /Y %CAR_ROOT_DIR%\Source_Code\alpha\car_a.h asp\rel\car\alpha
-@copy /Y %CAR_ROOT_DIR%\Source_Code\car\make\alg_car\tisim_eabi_c66_ccs\algcar_c66_float_release.lib build\c66x\release
-@copy /Y %CAR_ROOT_DIR%\Source_Code\car\make\libcar\tisim_eabi_c66_ccs\libcar_c66_float_release.lib build\c66x\release
-@copy /Y %CAR_ROOT_DIR%\doc\CARUsersGuide.pdf DOC
-7z a -tzip -r pkg.zip
-@popd
-@copy /Y Temp\pkg.zip %DHIP_PKG_DEST_DIR%\%DHIP_PKG_FNAME%.zip
-@rmdir /S /Q Temp
-set CAR_ROOT_DIR=
-goto cleanupenv
-
-:build_ddp_pkg
-@echo Build package: %1 %DHIP_PKG_DEST_DIR%
-set DDP_ROOT_DIR=%DOLBY_IP_LROOT%\ddp
-if exist Temp\nul ( rmdir /S /Q Temp )
-if NOT exist %DHIP_PKG_DEST_DIR%\nul ( mkdir %DHIP_PKG_DEST_DIR% )
-@mkdir Temp
-@pushd Temp
-@mkdir dec\rel\ddp2\alg
-@mkdir dec\rel\ddp2\alpha
-@mkdir build\a15\release
-@mkdir DOC
-@copy /Y %DDP_ROOT_DIR%\Dolby_Digital_Plus_Decoder_Imp\Source_Code\alg\ddpat.h dec\rel\ddp2\alg
-@copy /Y %DDP_ROOT_DIR%\Dolby_Digital_Plus_Decoder_Imp\Source_Code\alg\ddpat_tid.h dec\rel\ddp2\alg
-@copy /Y %DDP_ROOT_DIR%\Dolby_Digital_Plus_Decoder_Imp\Source_Code\alg\iddpat.h dec\rel\ddp2\alg
-@copy /Y %DDP_ROOT_DIR%\Dolby_Digital_Plus_Decoder_Imp\Source_Code\alpha\ddpat_a.h dec\rel\ddp2\alpha
-@copy /Y %DDP_ROOT_DIR%\Dolby_Digital_Plus_Decoder_Imp\Source_Code\make\ddp_udc_lib\a15\ddp_dec_lib_generic_float32_release.a build\a15\release
-@copy /Y %DDP_ROOT_DIR%\Dolby_Digital_Plus_Decoder_Imp\Source_Code\make\ddp_udc_wrapper\a15\ddp_dec_lib_generic_wrapper_release.a build\a15\release
-@copy /Y %DDP_ROOT_DIR%\Dolby_Digital_Plus_Decoder_Imp\doc\DDPAT_UG.pdf DOC
-7z a -tzip -r pkg.zip
-@popd
-@copy /Y Temp\pkg.zip %DHIP_PKG_DEST_DIR%\%DHIP_PKG_FNAME%.zip
-@rmdir /S /Q Temp
-set DDP_ROOT_DIR=
-goto cleanupenv
-
-:build_matthd_pkg
-@echo Build package: %1 %DHIP_PKG_DEST_DIR%
-set MATTHD_ROOT_DIR=%DOLBY_IP_LROOT%\mat-thd
-if exist Temp\nul ( rmdir /S /Q Temp )
-if NOT exist %DHIP_PKG_DEST_DIR%\nul ( mkdir %DHIP_PKG_DEST_DIR% )
-@mkdir Temp
-@pushd Temp
-@mkdir dec\rel\thd2\alg
-@mkdir dec\rel\thd2\alpha
-@mkdir build\a15\release
-@mkdir DOC
-@copy /Y %MATTHD_ROOT_DIR%\Dolby_MAT_Decoder_Imp\Source_Code\alg\ithd.h dec\rel\thd2\alg
-@copy /Y %MATTHD_ROOT_DIR%\Dolby_MAT_Decoder_Imp\Source_Code\alg\thd.h dec\rel\thd2\alg
-@copy /Y %MATTHD_ROOT_DIR%\Dolby_MAT_Decoder_Imp\Source_Code\alg\thd_tid.h dec\rel\thd2\alg
-@copy /Y %MATTHD_ROOT_DIR%\Dolby_MAT_Decoder_Imp\Source_Code\alpha\thd_a.h dec\rel\thd2\alpha
-@copy /Y %MATTHD_ROOT_DIR%\Dolby_MAT_Decoder_Imp\Source_Code\mat_dec\make\mat_dec_lib\a15\mat_dec_lib_generic_float32_release.lib build\a15\release
-@copy /Y %MATTHD_ROOT_DIR%\Dolby_MAT_Decoder_Imp\Source_Code\mat_dec\make\dthd_dec_lib\a15\dthd_dec_lib_generic_float32_release.lib build\a15\release
-@copy /Y %MATTHD_ROOT_DIR%\Dolby_MAT_Decoder_Imp\Source_Code\mat_dec\make\thd_alg_lib\a15\thd_alg_lib_generic_float32_release.lib build\a15\release
-@copy /Y %MATTHD_ROOT_DIR%\Dolby_MAT_Decoder_Imp\doc\MATTHD_UG.pdf DOC
-7z a -tzip -r pkg.zip
-@popd
-@copy /Y Temp\pkg.zip %DHIP_PKG_DEST_DIR%\%DHIP_PKG_FNAME%.zip
-@rmdir /S /Q Temp
-set MATTHD_ROOT_DIR=
-goto cleanupenv
-
-:build_oar_pkg
-@echo Build package: %1 %DHIP_PKG_DEST_DIR%
-set OAR_ROOT_DIR=%DOLBY_IP_LROOT%\oar
-set INTR_ROOT_DIR=%DOLBY_IP_LROOT%\intrinsics
-if exist Temp\nul ( rmdir /S /Q Temp )
-if NOT exist %DHIP_PKG_DEST_DIR%\nul ( mkdir %DHIP_PKG_DEST_DIR% )
-@mkdir Temp
-@pushd Temp
-@mkdir asp\rel\oar\alg
-@mkdir asp\rel\oar\alpha
-@mkdir asp\rel\oar\dlb_buffer\include
-@mkdir build\c66x\release
-@mkdir DOC
-@copy /Y %OAR_ROOT_DIR%\Source_Code\alg\ioar.h asp\rel\oar\alg
-@copy /Y %OAR_ROOT_DIR%\Source_Code\alg\oar.h asp\rel\oar\alg
-@copy /Y %OAR_ROOT_DIR%\Source_Code\alg\oar_tig.h asp\rel\oar\alg
-@copy /Y %OAR_ROOT_DIR%\Source_Code\alpha\oar_a.h asp\rel\oar\alpha
-@copy /Y %OAR_ROOT_DIR%\CCS_OAR_lib\make\dolby_oar_lib.lib build\c66x\release
-@copy /Y %OAR_ROOT_DIR%\doc\OARUsersGuide.pdf DOC
-@copy /Y %INTR_ROOT_DIR%\Dolby_Intrinsics_Imp\Source_Code\dlb_buffer\include asp\rel\oar\dlb_buffer\include
-7z a -tzip -r pkg.zip
-@popd
-@copy /Y Temp\pkg.zip %DHIP_PKG_DEST_DIR%\%DHIP_PKG_FNAME%.zip
-@rmdir /S /Q Temp
-set OAR_ROOT_DIR=
-set INTR_ROOT_DIR=
-goto cleanupenv
-
-:build_intr_pkg
-@echo Build package: %1 %DHIP_PKG_DEST_DIR%
-set INTR_ROOT_DIR=%DOLBY_IP_LROOT%\intrinsics
-if exist Temp\nul ( rmdir /S /Q Temp )
-if NOT exist %DHIP_PKG_DEST_DIR%\nul ( mkdir %DHIP_PKG_DEST_DIR% )
-@mkdir Temp
-@pushd Temp
-@mkdir build\c66x\release
-@mkdir build\a15\release
-@copy /Y %INTR_ROOT_DIR%\Dolby_Intrinsics_Imp\lib_elf_C66\dlb_intrinsics_c66_float_release.lib build\c66x\release
-@copy /Y %INTR_ROOT_DIR%\Dolby_Intrinsics_Imp\lib_float_A15\dlb_intrinsics_generic_float32_release.a build\a15\release
-7z a -tzip -r pkg.zip
-@popd
-@copy /Y Temp\pkg.zip %DHIP_PKG_DEST_DIR%\%DHIP_PKG_FNAME%.zip
-@rmdir /S /Q Temp
-set INTR_ROOT_DIR=
-goto cleanupenv
-
-
-:cleanupenv
-set DOLBY_IP_LROOT=
-set DHIP_PKG_DEST_DIR=
-set DATESTR=
-set DHIP_PKG_FNAME=
-
-
-:end
diff --git a/scripts/build_dhip_pkgs.bat b/scripts/build_dhip_pkgs.bat
deleted file mode 100644 (file)
index 2d89b3b..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : build_dhip_pkgs.bat
-::  DESCRIPTION    :
-::
-::     Builds DH-IP packages.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-:: %1: packages destination directory
-@echo Executing:  %~fn0 %1
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..
-
-if "%1"=="" goto def_prm_dhip_pkgs_dest_dir
-
-:: Set package directory
-:prm_dhip_pkgs_dest_dir
-set DHIP_PKGS_DEST_DIR=%1
-goto build_dhip_pkgs
-
-:def_prm_dhip_pkgs_dest_dir
-set DHIP_PKGS_DEST_DIR=%~dp0
-
-
-:build_dhip_pkgs
-::
-:: Build ARM/DSP component packages
-::
-
-:: Build Atmos component packages
-if NOT exist %DHIP_PKGS_DEST_DIR%\nul ( mkdir %DHIP_PKGS_DEST_DIR% )
-@call build_dhip_pkg bmda %DHIP_PKGS_DEST_DIR%
-@call build_dhip_pkg car %DHIP_PKGS_DEST_DIR%
-@call build_dhip_pkg ddp %DHIP_PKGS_DEST_DIR%
-@call build_dhip_pkg matthd %DHIP_PKGS_DEST_DIR%
-@call build_dhip_pkg oar %DHIP_PKGS_DEST_DIR%
-@call build_dhip_pkg intrinsics %DHIP_PKGS_DEST_DIR%
-
-if exist %PAROOT_DIR%\docs\PASDK_release_notes_dolby_ip.pdf (
-    @copy /Y %PAROOT_DIR%\docs\PASDK_release_notes_dolby_ip.pdf %DHIP_PKGS_DEST_DIR%\PASDK_release_notes_dolby_ip.pdf
-)
-
-
-:cleanupenv
-set DHIP_PKGS_DEST_DIR=
-
-
-:end
diff --git a/scripts/build_dsd.bat b/scripts/build_dsd.bat
deleted file mode 100644 (file)
index 5fd0523..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-@echo off
-
-:: *************************************************************************
-::  FILE           : build_dsd.bat
-::  DESCRIPTION    :
-::
-::     Builds package for DSD component library.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-:: %1: Build library or test application (lib, testapp)
-@echo Executing:  %~fn0 %1
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..
-
-:: Set PASDK local root directory
-set PASDK_LROOT_DIR=%PAROOT_DIR%\pasrc
-:: Set PAF root directory
-set PAF_ROOT_DIR=%PASDK_LROOT_DIR%\paf
-
-
-pushd %PAF_ROOT_DIR%\pa\build
-sed -i -e "s/export ARCH   = c66x/export ARCH   = a15/g" target.mk
-popd
-
-
-rem SET DSD_SOURCE_PATH=..\pasrc\paf\pa\dec\dsd2
-SET DSD_SOURCE_PATH=..\pasrc\3p-ip-ti\pa\dec\dsd2
-
-if /I "%1" == "lib" goto build_dsd_lib
-if /I "%1" == "testapp" goto build_dsd_testapp
-@echo "Invalid argument"
-goto end
-
-:build_dsd_lib
-pushd %DSD_SOURCE_PATH%
-gmake ROOTDIR=%PAF_ROOT_DIR% clean
-gmake ROOTDIR=%PAF_ROOT_DIR% install
-popd
-goto end
-
-:build_dsd_testapp
-
-pushd %PAF_ROOT_DIR%\pa\util\c67x_cintrins
-gmake clean
-gmake install
-popd
-
-pushd %PAF_ROOT_DIR%\pa\asp\std
-gmake clean
-gmake install
-popd
-
-pushd %PAF_ROOT_DIR%\pa\dec\com
-gmake clean
-gmake install
-popd
-
-pushd %PAF_ROOT_DIR%\pa\asp\com
-gmake clean
-gmake install
-popd
-
-pushd %DSD_SOURCE_PATH%\test\a15
-gmake clean
-gmake
-popd
-goto end
-
-:end
-set DSD_SOURCE_PATH=
diff --git a/scripts/build_dsdip_pkg.bat b/scripts/build_dsdip_pkg.bat
deleted file mode 100644 (file)
index 6845172..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : build_dsdip_pkg.bat
-::  DESCRIPTION    :
-::
-::     Builds package for DSD component library.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-:: %1: package to build (dsddec, dsdtestapp). i.e. DSD library or DSD test app 
-:: %2: package destination directory
-@echo Executing:  %~fn0 %1 %2
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..\
-
-:: Set DSD IP local root directory
-set DSD_IP_LROOT=%PAROOT_DIR%pasrc\paf\pa\dec\dsd2
-
-:: Set package directory
-if "%2"=="" goto def_prm_pkg_dest_dir
-
-:prm_pkg_dest_dir
-set DSDIP_PKG_DEST_DIR=%2
-goto set_dsdip_pkg_name
-
-:def_prm_pkg_dest_dir
-set DSDIP_PKG_DEST_DIR=%~dp0
-
-
-:set_dsdip_pkg_name
-:: Set package name
-for /f "tokens=2 delims==" %%a in ('wmic OS Get localdatetime /value') do set "dt=%%a"
-set DATESTR=%dt:~2,2%%dt:~4,2%%dt:~6,2%
-
-set DSDIP_PKG_FNAME=pasrc
-if "%PASDK_TARGET_PLATFORM%" NEQ "" set DSDIP_PKG_FNAME=%DSDIP_PKG_FNAME%_%PASDK_TARGET_PLATFORM%
-set DSDIP_PKG_FNAME=%DSDIP_PKG_FNAME%_%DATESTR%_%2
-
-if /I "%1" == "dsddec" goto build_dsddec_pkg
-if /I "%1" == "dsdtestapp" goto build_dsdtestapp_pkg
-@echo "Invalid package"
-goto cleanupenv
-
-:build_dsddec_pkg
-:: Build DSD library package
-@echo Build package: %1 %DSDIP_PKG_DEST_DIR%
-set DSDDEC_ROOT_DIR=%DSD_IP_LROOT%
-if exist Temp\nul ( rmdir /S /Q Temp )
-if NOT exist %DSDIP_PKG_DEST_DIR%\nul ( mkdir %DSDIP_PKG_DEST_DIR% )
-@mkdir Temp
-@pushd Temp
-@mkdir pa\dec\dsd2\alg
-@mkdir pa\dec\dsd2\alpha
-@mkdir pa\build\a15\release
-@mkdir pa\docs
-@copy /Y %DSDDEC_ROOT_DIR%\alg\dsd.h pa\dec\dsd2\alg
-@copy /Y %DSDDEC_ROOT_DIR%\alg\dsd_tih.h pa\dec\dsd2\alg
-@copy /Y %DSDDEC_ROOT_DIR%\alg\idsd.h pa\dec\dsd2\alg
-@copy /Y %DSDDEC_ROOT_DIR%\alpha\dsd_a.h pa\dec\dsd2\alpha
-@copy /Y %DSDDEC_ROOT_DIR%\a15\release\dsd2_elf.lib pa\build\a15\release
-@copy /Y %DSDDEC_ROOT_DIR%\doc\DSDUsersGuide.pdf pa\docs
-7z a -tzip -r pkg.zip
-@popd
-@copy /Y Temp\pkg.zip %DSDIP_PKG_DEST_DIR%\%DSDIP_PKG_FNAME%.zip
-@rmdir /S /Q Temp
-set DSDDEC_ROOT_DIR=
-goto cleanupenv
-
-
-:build_dsdtestapp_pkg
-:: Build DSD test application package
-@echo Build package: %1 %DSDIP_PKG_DEST_DIR%
-set DSDDEC_ROOT_DIR=%DSD_IP_LROOT%
-if exist Temp\nul ( rmdir /S /Q Temp )
-if NOT exist %DSDIP_PKG_DEST_DIR%\nul ( mkdir %DSDIP_PKG_DEST_DIR% )
-@mkdir Temp
-@pushd Temp
-@mkdir pa\dec\dsd2\test\a15
-@mkdir pa\dec\dsd2\test\test_vectors\config
-@mkdir pa\dec\dsd2\test\test_vectors\input
-@mkdir pa\dec\dsd2\test\test_vectors\output
-@mkdir pa\docs
-@copy /Y %DSDDEC_ROOT_DIR%\test\a15\dsd2_test_a15.out pa\dec\dsd2\test\a15
-@copy /Y %DSDDEC_ROOT_DIR%\test\test_vectors\config\A15Testcases.txt pa\dec\dsd2\test\test_vectors\config
-@copy /Y %DSDDEC_ROOT_DIR%\doc\DSD_Profiling_Info_A15.xlsx pa\dec\dsd2\test
-@copy /Y %DSDDEC_ROOT_DIR%\doc\testappUsersGuide.txt pa\dec\dsd2\test
-7z a -tzip -r pkg.zip
-@popd
-@copy /Y Temp\pkg.zip %DSDIP_PKG_DEST_DIR%\%DSDIP_PKG_FNAME%.zip
-@rmdir /S /Q Temp
-set DSDDEC_ROOT_DIR=
-goto cleanupenv
-
-
-
-:cleanupenv
-set DSD_IP_LROOT=
-set DSDIP_PKG_DEST_DIR=
-set DATESTR=
-set DSDIP_PKG_FNAME=
-
-
-:end
diff --git a/scripts/build_dtsx_libs.bat b/scripts/build_dtsx_libs.bat
deleted file mode 100644 (file)
index b0e5ccf..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : build_dtsx_libs.bat
-::  DESCRIPTION    :
-::
-::     Builds ARM/DSP DTS:X decoder component libraries.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-@echo Executing:  %~fn0
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..
-
-set PASDK_ROOT_DIR_FS=%PAROOT_DIR:\=/%
-set ARM_CGT_INSTALL_DIR_DTSX_DEC_FS=%ARM_CGT_INSTALL_DIR_DTSX_DEC:\=/%
-
-
-:: Save path
-set PATH_ORG=%PATH%
-set path=%CYGWIN_INSTALL_DIR%;%PATH%
-
-set DTSX_SOURCE_PATH=..\3p-ip-dts\Source_Code\sdk-dts-uhd-no-guidedparma-src
-
-
-pushd %DTSX_SOURCE_PATH%\parma-dec\misc\build\a15\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-gmake A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-popd
-
-pushd %DTSX_SOURCE_PATH%\la-strm-reconstruction\misc\build\a15\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-gmake A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-popd
-
-pushd %DTSX_SOURCE_PATH%\lbr\misc\build\a15\lbr\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-gmake A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-popd
-
-pushd  %DTSX_SOURCE_PATH%\lbr\misc\build\a15\lbrdec\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-gmake A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-popd
-
-pushd %DTSX_SOURCE_PATH%\dts-3d\misc\build\a15\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-gmake A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-popd
-
-pushd %DTSX_SOURCE_PATH%\dts-base\misc\build\a15\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-gmake A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-popd
-
-pushd %DTSX_SOURCE_PATH%\common-flib\misc\build\a15\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-gmake A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-popd
-
-pushd %DTSX_SOURCE_PATH%\dtshd-c-decoder\misc\build\a15\lib\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo PAROOT=%PASDK_ROOT_DIR_FS% A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-gmake PAROOT=%PASDK_ROOT_DIR_FS% A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-popd
-
-pushd %DTSX_SOURCE_PATH%\alg\misc\build\a15\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake PAROOT=%PASDK_ROOT_DIR_FS% A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-gmake PAROOT=%PASDK_ROOT_DIR_FS% A15TOOLS=%ARM_CGT_INSTALL_DIR_DTSX_DEC_FS%
-popd
-
-set path=%PATH_ORG%
-
-set PASDK_ROOT_DIR_FS=
-set ARM_CGT_INSTALL_DIR_DTSX_DEC_FS=
-set PATH_ORG=
-set DTSX_SOURCE_PATH=
diff --git a/scripts/build_dtsxip_pkg.bat b/scripts/build_dtsxip_pkg.bat
deleted file mode 100644 (file)
index fc2d041..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : build_dtsxip_pkg.bat
-::  DESCRIPTION    :
-::
-::     Builds package for DTS:X component libraries.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-:: %1: package to build (bmda, car, ddp, matthd, oar, intrinsics)
-:: %2: package destination directory
-@echo Executing:  %~fn0 %1 %2
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..
-
-:: Set DTSX IP local root directory
-set DTSX_IP_LROOT=%PAROOT_DIR%\3p-ip-dts
-
-:: Set package directory
-if "%2"=="" goto def_prm_pkg_dest_dir
-
-:prm_pkg_dest_dir
-set DTSXIP_PKG_DEST_DIR=%2
-goto set_dtsxip_pkg_name
-
-:def_prm_pkg_dest_dir
-set DTSXIP_PKG_DEST_DIR=%~dp0
-
-
-:set_dtsxip_pkg_name
-:: Set package name
-for /f "tokens=2 delims==" %%a in ('wmic OS Get localdatetime /value') do set "dt=%%a"
-set DATESTR=%dt:~2,2%%dt:~4,2%%dt:~6,2%
-
-set DTSXIP_PKG_FNAME=pasrc
-if "%PASDK_TARGET_PLATFORM%" NEQ "" set DTSXIP_PKG_FNAME=%DTSXIP_PKG_FNAME%_%PASDK_TARGET_PLATFORM%
-set DTSXIP_PKG_FNAME=%DTSXIP_PKG_FNAME%_%DATESTR%_%1
-
-if /I "%1" == "dtsxdec" goto build_dtsxdec_pkg
-if /I "%1" == "parma" goto build_parma_pkg
-@echo "Invalid package"
-goto cleanupenv
-
-
-:build_dtsxdec_pkg
-@echo Build package: %1 %DTSXIP_PKG_DEST_DIR%
-set DTSXDEC_ROOT_DIR=%DTSX_IP_LROOT%\Source_Code\sdk-dts-uhd-no-guidedparma-src
-if exist Temp\nul ( rmdir /S /Q Temp )
-if NOT exist %DTSXIP_PKG_DEST_DIR%\nul ( mkdir %DTSXIP_PKG_DEST_DIR% )
-@mkdir Temp
-@pushd Temp
-@mkdir dec\rel\dtsx\alg
-@mkdir dec\rel\dtsx\alpha
-@mkdir build\a15\release
-@mkdir DOC
-@copy /Y %DTSXDEC_ROOT_DIR%\alg\src\dtsuhda.h dec\rel\dtsx\alg
-@copy /Y %DTSXDEC_ROOT_DIR%\alg\src\dtsuhda_tid.h dec\rel\dtsx\alg
-@copy /Y %DTSXDEC_ROOT_DIR%\alg\src\idtsuhda.h dec\rel\dtsx\alg
-@copy /Y %DTSXDEC_ROOT_DIR%\alg\alpha\dtsuhda_a.h dec\rel\dtsx\alpha
-@copy /Y %DTSXDEC_ROOT_DIR%\parma-dec\misc\build\a15\Release\dts-parma-dec.lib build\a15\release
-@copy /Y %DTSXDEC_ROOT_DIR%\la-strm-reconstruction\misc\build\a15\Release\la-strm-reconstruction.lib build\a15\release
-@copy /Y %DTSXDEC_ROOT_DIR%\lbr\misc\build\a15\lbr\Release\dts-lbr.lib build\a15\release
-@copy /Y %DTSXDEC_ROOT_DIR%\lbr\misc\build\a15\lbrdec\Release\dts-lbr-dec.lib  build\a15\release
-@copy /Y %DTSXDEC_ROOT_DIR%\dts-3d\misc\build\a15\Release\dts-3d.lib build\a15\release
-@copy /Y %DTSXDEC_ROOT_DIR%\dts-base\misc\build\a15\Release\dts-base.lib build\a15\release
-@copy /Y %DTSXDEC_ROOT_DIR%\common-flib\misc\build\a15\Release\dts-flib.lib build\a15\release
-@copy /Y %DTSXDEC_ROOT_DIR%\dtshd-c-decoder\misc\build\a15\lib\Release\dtsx-c-decoder.lib build\a15\release
-@copy /Y %DTSXDEC_ROOT_DIR%\alg\misc\build\a15\Release\dts-alg.lib build\a15\release
-@copy /Y %DTSX_IP_LROOT%\doc\DTSX_userguide.pdf DOC
-7z a -tzip -r pkg.zip
-@popd
-@copy /Y Temp\pkg.zip %DTSXIP_PKG_DEST_DIR%\%DTSXIP_PKG_FNAME%.zip
-@rmdir /S /Q Temp
-set DTSXDEC_ROOT_DIR=
-goto cleanupenv
-
-
-:build_parma_pkg
-@echo Build package: %1 %DTSXIP_PKG_DEST_DIR%
-set PARMA_ROOT_DIR=%DTSX_IP_LROOT%\Source_Code\PARMA
-if exist Temp\nul ( rmdir /S /Q Temp )
-if NOT exist %DTSXIP_PKG_DEST_DIR%\nul ( mkdir %DTSXIP_PKG_DEST_DIR% )
-@mkdir Temp
-@pushd Temp
-@mkdir asp\rel\parma\alg
-@mkdir asp\rel\parma\alpha
-@mkdir build\c66x\release
-@mkdir DOC
-@copy /Y %PARMA_ROOT_DIR%\alg\src\dtsuhdb.h asp\rel\parma\alg
-@copy /Y %PARMA_ROOT_DIR%\alg\src\dtsuhdb_mds.h asp\rel\parma\alg
-@copy /Y %PARMA_ROOT_DIR%\alg\src\idtsuhdb.h asp\rel\parma\alg
-@copy /Y %PARMA_ROOT_DIR%\alg\alpha\dtsuhdb_a.h asp\rel\parma\alpha
-@copy /Y %PARMA_ROOT_DIR%\parma-dec\misc\build\c66x\Release\dts-parma-dec.lib build\c66x\release
-@copy /Y %PARMA_ROOT_DIR%\la-strm-reconstruction\misc\build\c66x\Release\la-strm-reconstruction.lib build\c66x\release
-@copy /Y %PARMA_ROOT_DIR%\lbr\misc\build\c66x\lbr\Release\dts-lbr.lib build\c66x\release
-@copy /Y %PARMA_ROOT_DIR%\lbr\misc\build\c66x\lbrdec\Release\dts-lbr-dec.lib build\c66x\release
-@copy /Y %PARMA_ROOT_DIR%\dts-3d\misc\build\c66x\Release\dts-3d.lib build\c66x\release
-@copy /Y %PARMA_ROOT_DIR%\dts-base\misc\build\c66x\Release\dts-base.lib build\c66x\release
-@copy /Y %PARMA_ROOT_DIR%\common-flib\misc\build\c66x\Release\dts-flib.lib build\c66x\release
-@copy /Y %PARMA_ROOT_DIR%\dtshd-c-decoder\misc\build\c66x\lib\Release\dtsx-c-decoder.lib build\c66x\release
-@copy /Y %PARMA_ROOT_DIR%\alg\misc\build\c66x\Release\dts-alg.lib build\c66x\release
-@copy /Y %DTSX_IP_LROOT%\doc\PARMA_userguide.pdf DOC
-7z a -tzip -r pkg.zip
-@popd
-@copy /Y Temp\pkg.zip %DTSXIP_PKG_DEST_DIR%\%DTSXIP_PKG_FNAME%.zip
-@rmdir /S /Q Temp
-set PARMA_ROOT_DIR=
-goto cleanupenv
-
-
-:cleanupenv
-set DTSX_IP_LROOT=
-set DTSXIP_PKG_DEST_DIR=
-set DATESTR=
-set DTSXIP_PKG_FNAME=
-
-
-:end
diff --git a/scripts/build_dtsxip_pkgs.bat b/scripts/build_dtsxip_pkgs.bat
deleted file mode 100644 (file)
index 5073ba4..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : build_dtsxip_pkgs.bat
-::  DESCRIPTION    :
-::
-::     Builds DTSX-IP packages.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-:: %1: packages destination directory
-@echo Executing:  %~fn0 %1
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..
-
-if "%1"=="" goto def_prm_dtsxip_pkgs_dest_dir
-
-:: Set package directory
-:prm_dtsxip_pkgs_dest_dir
-set DTSXIP_PKGS_DEST_DIR=%1
-goto build_dtsxip_pkgs
-
-:def_prm_dtsxip_pkgs_dest_dir
-set DTSXIP_PKGS_DEST_DIR=%~dp0
-
-
-:build_dtsxip_pkgs
-::
-:: Build ARM/DSP component packages
-::
-
-:: Build Atmos component packages
-if NOT exist %DTSXIP_PKGS_DEST_DIR%\nul ( mkdir %DTSXIP_PKGS_DEST_DIR% )
-@call build_dtsxip_pkg dtsxdec %DTSXIP_PKGS_DEST_DIR%
-@call build_dtsxip_pkg parma %DTSXIP_PKGS_DEST_DIR%
-
-if exist %PAROOT_DIR%\docs\PASDK_release_notes_dts_ip.pdf (
-    @copy /Y %PAROOT_DIR%\docs\PASDK_release_notes_dts_ip.pdf %DTSXIP_PKGS_DEST_DIR%\PASDK_release_notes_dts_ip.pdf
-)
-
-
-:cleanupenv
-set DTSXIP_PKGS_DEST_DIR=
-
-
-:end
diff --git a/scripts/build_fd_pkg.bat b/scripts/build_fd_pkg.bat
deleted file mode 100644 (file)
index 28c3f36..0000000
+++ /dev/null
@@ -1,171 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : build_fd_pkg.bat
-::  DESCRIPTION    :
-::
-::     Builds FD package.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-:: %1: package destination directory
-@echo Executing:  %~fn0 %1
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..
-if "%PAROOT%" == "" set PAROOT=%PAROOT_DIR%
-
-:: Set PASDK local root directory
-set PASDK_LROOT_DIR=%PAROOT_DIR%\pasrc
-:: Set PAF root directory
-set PAF_ROOT_DIR=%PASDK_LROOT_DIR%\paf
-:: Set ASP root directory
-set ASP_ROOT_DIR=%PAROOT_DIR%\asp
-:: Set 3P-IP-TI root directory
-set TP_IP_TI_ROOT_DIR=%PAROOT_DIR%\3p-ip-ti
-
-:: Set package destination directory
-if "%1"=="" goto def_prm_pkg_dest_dir
-
-:prm_pkg_dest_dir
-set FD_PKG_DEST_DIR=%1
-goto set_fd_pkg_name
-
-:def_prm_pkg_dest_dir
-set FD_PKG_DEST_DIR=%~dp0
-
-
-:set_fd_pkg_name
-:: Set package file name
-set FD_PKG_FNAME=pasdk_fd
-if "%PASDK_TARGET_PLATFORM%" NEQ "" set FD_PKG_FNAME=%FD_PKG_FNAME%_%PASDK_TARGET_PLATFORM%
-if "%FD_PKG_VERSION%" NEQ "" set FD_PKG_FNAME=%FD_PKG_FNAME%_%FD_PKG_VERSION%
-
-@echo Build FD package %FD_PKG_DEST_DIR%
-
-rem
-rem Build libraries
-rem
-
-:dsp_libs
-set ARCH=c66x
-
-:geq3_build
-:: Build GEQ3
-pushd %TP_IP_TI_ROOT_DIR%\pa\asp\geq3
-gmake clean ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS=%C6X_CGT_INSTALL_DIR%
-popd
-
-:dem_build
-:: Build DEM
-pushd %ASP_ROOT_DIR%\pa\asp\dem
-gmake clean ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS=%C6X_CGT_INSTALL_DIR%
-popd
-
-:bm2_build
-:: Build BM2
-pushd %ASP_ROOT_DIR%\pa\asp\bm2
-gmake clean ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS=%C6X_CGT_INSTALL_DIR%
-popd
-
-:arm_libs
-set ARCH=a15
-
-:sng1_build
-:: Build SNG1
-pushd %ASP_ROOT_DIR%\pa\dec\sng1
-gmake clean ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS=%ARM_CGT_INSTALL_DIR%
-popd
-
-
-rem
-rem Create package directories, copy files to package directories 
-rem
-
-if exist Temp\nul ( rmdir /S /Q Temp )
-if NOT exist %FD_PKG_DEST_DIR%\nul ( mkdir %FD_PKG_DEST_DIR% )
-@mkdir Temp
-@pushd Temp
-
-@mkdir pa
-@pushd pa
-
-@mkdir build\c66x\release
-@mkdir build\a15\release
-@mkdir docs
-
-:build_geq3_pkg
-@echo Build package: GEQ3
-set GEQ3_ROOT_DIR=%TP_IP_TI_ROOT_DIR%\pa\asp\geq3
-@mkdir asp\rel\geq3\include
-@mkdir asp\rel\geq3\alpha
-@copy /Y %GEQ3_ROOT_DIR%\include\geq.h asp\rel\geq3\include
-@copy /Y %GEQ3_ROOT_DIR%\include\geq_tii.h asp\rel\geq3\include
-@copy /Y %GEQ3_ROOT_DIR%\include\igeq.h asp\rel\geq3\include
-@copy /Y %GEQ3_ROOT_DIR%\alpha\geq3_a.h asp\rel\geq3\alpha
-@copy /Y %PAF_ROOT_DIR%\pa\build\c66x\release\geq3_elf.lib build\c66x\release
-@copy /Y %GEQ3_ROOT_DIR%\doc\geq3_user_guide.pdf docs
-set GEQ3_ROOT_DIR=
-
-:build_dem_pkg
-@echo Build package: DEM
-set DEM_ROOT_DIR=%ASP_ROOT_DIR%\pa\asp\dem
-@mkdir asp\rel\dem\include
-@mkdir asp\rel\dem\alpha
-@copy /Y %DEM_ROOT_DIR%\include\dem.h asp\rel\dem\include
-@copy /Y %DEM_ROOT_DIR%\include\dem_mds.h asp\rel\dem\include
-@copy /Y %DEM_ROOT_DIR%\include\idem.h asp\rel\dem\include
-@copy /Y %DEM_ROOT_DIR%\alpha\dem_a.h asp\rel\dem\alpha
-@copy /Y %PAF_ROOT_DIR%\pa\build\c66x\release\dem_elf.lib build\c66x\release
-@copy /Y %DEM_ROOT_DIR%\doc\DEM_USER_GUIDE.pdf docs
-set DEM_ROOT_DIR=
-
-:build_bm2_pkg
-@echo Build package: BM2
-set BM2_ROOT_DIR=%ASP_ROOT_DIR%\pa\asp\bm2
-@mkdir asp\rel\bm2\include
-@mkdir asp\rel\bm2\alpha
-@copy /Y %BM2_ROOT_DIR%\include\bm.h asp\rel\bm2\include
-@copy /Y %BM2_ROOT_DIR%\include\bm_filcoef.h asp\rel\bm2\include
-@copy /Y %BM2_ROOT_DIR%\include\bm_mds.h asp\rel\bm2\include
-@copy /Y %BM2_ROOT_DIR%\include\ibm.h asp\rel\bm2\include
-@copy /Y %BM2_ROOT_DIR%\alpha\bm2_a.h asp\rel\bm2\alpha
-@copy /Y %PAF_ROOT_DIR%\pa\build\c66x\release\bm2_elf.lib build\c66x\release
-@copy /Y %BM2_ROOT_DIR%\doc\BM2_USER_GUIDE.pdf docs
-set BM2_ROOT_DIR=
-
-:build_sng1_pkg
-@echo Build package: SNG1
-set SNG1_ROOT_DIR=%ASP_ROOT_DIR%\pa\dec\sng1
-@mkdir dec\rel\sng1\alg
-@mkdir dec\rel\sng1\alpha
-@copy /Y %SNG1_ROOT_DIR%\alg\isng.h dec\rel\sng1\alg
-@copy /Y %SNG1_ROOT_DIR%\alg\sng.h dec\rel\sng1\alg
-@copy /Y %SNG1_ROOT_DIR%\alg\sng_mds.h dec\rel\sng1\alg
-@copy /Y %SNG1_ROOT_DIR%\alpha\sng_a.h dec\rel\sng1\alpha
-@copy /Y %PAF_ROOT_DIR%\pa\build\a15\release\sng1_elf.lib build\a15\release
-@copy /Y %SNG1_ROOT_DIR%\doc\SNG_UserGuide.pdf docs
-set SNG1_ROOT_DIR=
-
-@popd
-
-7z a -tzip -r %FD_PKG_FNAME%.zip
-@popd
-@copy /Y Temp\%FD_PKG_FNAME%.zip %FD_PKG_DEST_DIR%
-@rmdir /S /Q Temp
-
-
-:cleanupenv
-set PASDK_LROOT_DIR=
-set PAF_ROOT_DIR=
-set ASP_ROOT_DIR=
-set TP_IP_TI_ROOT_DIR=
-set FD_PKG_DEST_DIR=
-set FD_PKG_FNAME=
-set ARCH=
-
-
-:end
diff --git a/scripts/build_neo.bat b/scripts/build_neo.bat
deleted file mode 100644 (file)
index 82f0639..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-@echo off
-
-:: *************************************************************************
-::  FILE           : build_neo.bat
-::  DESCRIPTION    :
-::
-::     Builds package for NEO component library.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-:: %1: Build lirary or test application (lib, testapp)
-@echo Executing:  %~fn0 %1
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..\
-
-:: Set PASDK local root directory
-set PASDK_LROOT_DIR=%PAROOT_DIR%pasrc
-:: Set PAF root directory
-set PAF_ROOT_DIR=%PASDK_LROOT_DIR%\paf
-
-
-pushd %PAF_ROOT_DIR%\pa\build
-sed -i -e "s/export ARCH   = a15/export ARCH   = c66x/g" target.mk
-popd
-
-
-SET NEO_SOURCE_PATH=..\3p-ip-dts\Source_Code\neo
-
-if /I "%1" == "lib" goto build_neo_lib
-if /I "%1" == "testapp" goto build_neo_testapp
-@echo "Invalid argument"
-goto end
-
-:build_neo_lib
-pushd %NEO_SOURCE_PATH%
-gmake clean
-gmake
-popd
-goto end
-
-:build_neo_testapp
-
-pushd %PAF_ROOT_DIR%\pa\dec\com
-gmake clean
-gmake install
-popd
-
-pushd %PAF_ROOT_DIR%\pa\asp\com
-gmake clean
-gmake install
-popd
-
-pushd %NEO_SOURCE_PATH%\test
-gmake clean
-gmake 
-popd
-goto end
-
-:end
-set NEO_SOURCE_PATH=
diff --git a/scripts/build_neoip_pkg.bat b/scripts/build_neoip_pkg.bat
deleted file mode 100644 (file)
index e2c5ff0..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : build_neoip_pkg.bat
-::  DESCRIPTION    :
-::
-::     Builds package for NEO component library.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-:: %1: package to build (neoasp, neotestapp). i.e. NEO library or NEO test app 
-:: %2: package destination directory
-@echo Executing:  %~fn0 %1 %2
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..\
-
-:: Set NEO IP local root directory
-set NEO_IP_LROOT=%PAROOT_DIR%3p-ip-dts\Source_Code\neo
-
-:: Set package directory
-if "%2"=="" goto def_prm_pkg_dest_dir
-
-:prm_pkg_dest_dir
-set NEOIP_PKG_DEST_DIR=%2
-goto set_neoip_pkg_name
-
-:def_prm_pkg_dest_dir
-set NEOIP_PKG_DEST_DIR=%~dp0
-
-
-:set_neoip_pkg_name
-:: Set package name
-for /f "tokens=2 delims==" %%a in ('wmic OS Get localdatetime /value') do set "dt=%%a"
-set DATESTR=%dt:~2,2%%dt:~4,2%%dt:~6,2%
-
-set NEOIP_PKG_FNAME=pasrc
-if "%PASDK_TARGET_PLATFORM%" NEQ "" set NEOIP_PKG_FNAME=%NEOIP_PKG_FNAME%_%PASDK_TARGET_PLATFORM%
-set NEOIP_PKG_FNAME=%NEOIP_PKG_FNAME%_%DATESTR%_%2
-
-if /I "%1" == "neoasp" goto build_neoasp_pkg
-if /I "%1" == "neotestapp" goto build_neotestapp_pkg
-@echo "Invalid package"
-goto cleanupenv
-
-:build_neoasp_pkg
-:: Build NEO library package
-@echo Build package: %1 %NEOIP_PKG_DEST_DIR%
-set NEODEC_ROOT_DIR=%NEO_IP_LROOT%
-if exist Temp\nul ( rmdir /S /Q Temp )
-if NOT exist %NEOIP_PKG_DEST_DIR%\nul ( mkdir %NEOIP_PKG_DEST_DIR% )
-@mkdir Temp
-@pushd Temp
-@mkdir pa\asp\neo\alg
-@mkdir pa\asp\neo\alpha
-@mkdir pa\build\c66x\release
-@mkdir pa\docs
-@copy /Y %NEODEC_ROOT_DIR%\alg\neo6.h pa\asp\neo\alg
-@copy /Y %NEODEC_ROOT_DIR%\alg\neo6_tii.h pa\asp\neo\alg
-@copy /Y %NEODEC_ROOT_DIR%\alg\ineo6.h pa\asp\neo\alg
-@copy /Y %NEODEC_ROOT_DIR%\alpha\neo_a.h pa\asp\neo\alpha
-@copy /Y %NEODEC_ROOT_DIR%\c66x\release\neo.lib pa\build\c66x\release
-@copy /Y %NEODEC_ROOT_DIR%\doc\NEO_Userguide.pdf pa\docs
-7z a -tzip -r pkg.zip
-@popd
-@copy /Y Temp\pkg.zip %NEOIP_PKG_DEST_DIR%\%NEOIP_PKG_FNAME%.zip
-@rmdir /S /Q Temp
-set NEODEC_ROOT_DIR=
-goto cleanupenv
-
-
-:build_neotestapp_pkg
-:: Build NEO test application package
-@echo Build package: %1 %NEOIP_PKG_DEST_DIR%
-set NEODEC_ROOT_DIR=%NEO_IP_LROOT%
-if exist Temp\nul ( rmdir /S /Q Temp )
-if NOT exist %NEOIP_PKG_DEST_DIR%\nul ( mkdir %NEOIP_PKG_DEST_DIR% )
-@mkdir Temp
-@pushd Temp
-@mkdir pa\asp\neo\test\neo_test
-@mkdir pa\docs
-@copy /Y %NEODEC_ROOT_DIR%\test\neo_test.out pa\asp\neo\test\neo_test
-@copy /Y %NEODEC_ROOT_DIR%\test\test_vectors\config\neo_args.txt pa\asp\neo\test\neo_test
-@copy /Y %NEODEC_ROOT_DIR%\test\test_vectors\reference\neo6.exe pa\asp\neo\test\neo_test
-@copy /Y %NEODEC_ROOT_DIR%\test\test_vectors\script\neo_ref.bat pa\asp\neo\test\neo_test
-@copy /Y %NEODEC_ROOT_DIR%\doc\test_ug\neo_test_ug.docx pa\asp\neo\test
-@copy /Y %NEODEC_ROOT_DIR%\doc\NEO6_Profiling_Info.xlsx pa\asp\neo\test
-7z a -tzip -r pkg.zip
-@popd
-@copy /Y Temp\pkg.zip %NEOIP_PKG_DEST_DIR%\%NEOIP_PKG_FNAME%.zip
-@rmdir /S /Q Temp
-set NEODEC_ROOT_DIR=
-goto cleanupenv
-
-
-
-:cleanupenv
-set NEO_IP_LROOT=
-set NEOIP_PKG_DEST_DIR=
-set DATESTR=
-set NEOIP_PKG_FNAME=
-
-
-:end
diff --git a/scripts/build_os_pkg.bat b/scripts/build_os_pkg.bat
deleted file mode 100644 (file)
index c45fad0..0000000
+++ /dev/null
@@ -1,183 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : build_os_pkg.bat
-::  DESCRIPTION    :
-::
-::     Builds OS package.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-:: %1: package destination directory
-@echo Executing:  %~fn0 %1
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..
-
-set PASDK_ROOT_DIR_FS=%PAROOT_DIR:\=/%
-
-:: Set package destination directory
-if "%1"=="" goto def_prm_pkg_dest_dir
-
-:prm_pkg_dest_dir
-set OS_PKG_DEST_DIR=%1
-goto set_os_pkg_name
-
-:def_prm_pkg_dest_dir
-set OS_PKG_DEST_DIR=%~dp0
-
-
-:set_os_pkg_name
-:: Set package name
-set OS_PKG_FNAME=pasdk_os
-if "%PASDK_TARGET_PLATFORM%" NEQ "" set OS_PKG_FNAME=%OS_PKG_FNAME%_%PASDK_TARGET_PLATFORM%
-if "%PASDK_VERSION%" NEQ "" set OS_PKG_FNAME=%OS_PKG_FNAME%_%PASDK_VERSION%
-
-
-@echo Build OS package %OS_PKG_DEST_DIR%
-
-rem
-rem Generate alpha package
-rem
-:: Save path
-set PATH_ORG=%PATH%
-:: Add cygwin to path for bash
-set PATH=%CYGWIN_INSTALL_DIR%;%PATH%
-@pushd %PAROOT_DIR%\tools\make_sw
-@bash make_sw AVR %PASDK_ROOT_DIR_FS%
-@copy /Y ..\avr\alpha\*.* ..\alpha
-@popd
-set PATH=%PATH_ORG%
-set PATH_ORG=
-
-rem
-rem Copy files to package directories 
-rem
-
-if exist Temp\nul ( rmdir /S /Q Temp )
-if NOT exist %OS_PKG_DEST_DIR%\nul ( mkdir %OS_PKG_DEST_DIR% )
-@mkdir Temp
-
-@xcopy /E /H /I /Q %PAROOT_DIR%\.git Temp\.git
-
-:: pasrc
-@xcopy /E /H /I /Q %PAROOT_DIR%\pasrc\common Temp\pasrc\common
-@xcopy /E /H /I /Q %PAROOT_DIR%\pasrc\paf Temp\pasrc\paf
-@xcopy /E /H /I /Q %PAROOT_DIR%\pasrc\shared Temp\pasrc\shared
-@xcopy /E /H /I /Q %PAROOT_DIR%\pasrc\test_arm Temp\pasrc\test_arm
-@xcopy /E /H /I /Q %PAROOT_DIR%\pasrc\test_dsp Temp\pasrc\test_dsp
-
-:: psdk_cust
-::@xcopy /E /H /I /Q %PAROOT_DIR%\psdk_cust\ipc_3_43_00_00_eng Temp\psdk_cust\ipc_3_43_00_00_eng
-@xcopy /E /H /I /Q %PAROOT_DIR%\psdk_cust\libarch_k2g_1_0_1_0 Temp\psdk_cust\libarch_k2g_1_0_1_0
-:: PDK 1.0.1.2_eng removed from BR1, replaced w/ PrSDK 4.0, PDK 1.0.6
-::@xcopy /E /H /I /Q %PAROOT_DIR%\psdk_cust\pdk_k2g_1_0_1_2_eng Temp\psdk_cust\pdk_k2g_1_0_1_2_eng
-
-:: tools
-@mkdir Temp\tools
-:: tools/alpha
-@xcopy /E /H /I /Q %PAROOT_DIR%\tools\alpha Temp\tools\alpha
-@del /F /Q Temp\tools\alpha\dap_a.h
-@del /F /Q Temp\tools\alpha\dap_a.hdM
-:: tools/pyalpha
-@xcopy /E /H /I /Q %PAROOT_DIR%\tools\pyalpha\pyalpha Temp\tools\pyalpha\pyalpha
-@copy /Y %PAROOT_DIR%\tools\pyalpha\__main__.py Temp\tools\pyalpha\__main__.py
-@copy /Y %PAROOT_DIR%\tools\pyalpha\README.md Temp\tools\pyalpha\README.md
-@copy /Y %PAROOT_DIR%\tools\pyalpha\setup.py Temp\tools\pyalpha\setup.py
-:: tools/bin
-@mkdir Temp\tools\bin
-@copy /Y %PAROOT_DIR%\tools\bin\acp6x.exe Temp\tools\bin\acp6x.exe
-@copy /Y %PAROOT_DIR%\tools\bin\itox.exe Temp\tools\bin\itox.exe
-@copy /Y %PAROOT_DIR%\tools\bin\libcint.dll Temp\tools\bin\libcint.dll
-@copy /Y %PAROOT_DIR%\tools\bin\LICENSE Temp\tools\bin\LICENSE
-@copy /Y %PAROOT_DIR%\tools\bin\xtoi.exe Temp\tools\bin\xtoi.exe
-:: tools/
-@copy /Y %PAROOT_DIR%\tools\config_cust.ini Temp\tools\config_cust.ini
-@copy /Y %PAROOT_DIR%\tools\setup.bat Temp\tools\setup.bat
-
-:: docs
-@mkdir Temp\docs
-@copy /Y %PAROOT_DIR%\docs\PASDK_release_notes.pdf Temp\PASDK_release_notes.pdf
-@copy /Y %PAROOT_DIR%\docs\K2G_UG_AspExample.pdf Temp\docs\K2G_UG_AspExample.pdf
-@copy /Y %PAROOT_DIR%\docs\pa-asp-fil.pdf Temp\docs\pa-asp-fil.pdf
-@copy /Y %PAROOT_DIR%\docs\pa-fil-fe.pdf Temp\docs\pa-fil-fe.pdf
-@copy /Y %PAROOT_DIR%\docs\PASDK_Audio_IO_Porting_Guide.pdf Temp\docs\PASDK_Audio_IO_Porting_Guide.pdf
-@copy /Y %PAROOT_DIR%\docs\PASDK_getting_started_guide.pdf Temp\docs\PASDK_getting_started_guide.pdf
-@copy /Y %PAROOT_DIR%\docs\PASDK_setup_guide.pdf Temp\docs\PASDK_setup_guide.pdf
-@copy /Y %PAROOT_DIR%\docs\pfpdesign.pdf Temp\docs\pfpdesign.pdf
-
-:: scripts
-@mkdir Temp\scripts
-@copy /Y %PAROOT_DIR%\scripts\build_paf_libs.bat Temp\scripts
-:: PDK 1.0.1.2_eng removed from BR1, replaced w/ PrSDK 4.0, PDK 1.0.6
-::@copy /Y %PAROOT_DIR%\scripts\build_pdk_libs.bat Temp\scripts
-@copy /Y %PAROOT_DIR%\scripts\setup_env.bat Temp\scripts
-
-@pushd Temp
-
-:: Clean PAF build artifacts
-@pushd pasrc\paf
-@cd
-@echo call git clean -fdx
-@call git clean -fdx
-@popd
-
-:: Clean custom Processor Audio SDK build artifacts
-::@pushd psdk_cust
-::@cd
-::@echo call git checkout -- ./*
-::@call git checkout -- ./*
-::@popd
-
-:: Clean PASDK build artifacts
-@cd
-@echo call git clean -fdx -e Temp -e PASDK_release_notes.pdf
-@call git clean -fdx -e Temp -e PASDK_release_notes.pdf
-
-:: Delete FD package from PAF
-@pushd pasrc\paf
-@if exist pa\asp\dem\nul    ( rmdir /S /Q pa\asp\dem )
-@if exist pa\asp\geq3\nul   ( rmdir /S /Q pa\asp\geq3 )
-
-@if exist pa\dec\sng1\nul (
-    @move /Y pa\dec\sng1\alg\sngerr.h .
-    @rmdir /S /Q pa\dec\sng1
-    @mkdir pa\dec\sng1\alg
-    @move /Y sngerr.h pa\dec\sng1\alg 
-)
-
-@if exist pa\asp\bm2\nul ( 
-    @move /Y pa\asp\bm2\include\bmerr.h .
-    @rmdir /S /Q pa\asp\bm2 
-    @mkdir pa\asp\bm2\include
-    @move /Y bmerr.h pa\asp\bm2\include 
-)
-
-:: Delete other source files from PAF
-:: check IP source files (.c, .h) and makefile
-@del /F /Q pa\util\da10x_misc\*.*
-:: entire DSD directory
-@if exist pa\dec\dsd2\nul   ( rmdir /S /Q pa\dec\dsd2 )
-
-@popd
-
-:: Delete git files
-@if exist .git\nul ( rmdir /S /Q .git )
-@echo del /F /Q /S /AH .git*
-@del /F /Q /S /AH .git*
-@echo del /F /Q /S .git*
-@del /F /Q /S .git*
-
-
-:: Prepare package
-7z a -tzip -r %OS_PKG_FNAME%.zip
-@popd
-@copy /Y Temp\%OS_PKG_FNAME%.zip %OS_PKG_DEST_DIR%
-@rmdir /S /Q Temp
-
-
-:cleanupenv
-set OS_PKG_DEST_DIR=
-set OS_PKG_FNAME=
-set PASDK_ROOT_DIR_FS=
-
-:end
diff --git a/scripts/build_paf_libs.bat b/scripts/build_paf_libs.bat
deleted file mode 100644 (file)
index b389a23..0000000
+++ /dev/null
@@ -1,215 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : build_paf_libs.bat
-::  DESCRIPTION    :
-::
-::     Builds ARM/DSP PAF libraries.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-:: %1:
-::  <none>: Build PAF libraries for ARM & DSP
-::    DSP : Build PAF libraries for DSP
-::    ARM : Build PAF libraries for ARM
-@echo Executing:  %~fn0 %1
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..
-if "%PAROOT%" == "" set PAROOT=%PAROOT_DIR%
-
-:: Set PASDK local root directory
-set PASDK_LROOT_DIR=%PAROOT_DIR%\pasrc
-:: Set PAF root directory
-set PAF_ROOT_DIR=%PASDK_LROOT_DIR%\paf
-
-rem
-rem Temporary "hack" until PAF library make files can detect OS.
-rem Copy Windows based make files to "working" make files.
-rem
-pushd %PAF_ROOT_DIR%\pa\build
-copy /y rules_a15_windows.mk rules_a15.mk 
-copy /y rules_windows.mk rules.mk 
-copy /y target_windows.mk target.mk 
-copy /y tools_windows.mk tools.mk 
-popd
-
-if "%1"=="ARM" goto arm_libs
-
-rem
-rem DSP libraries
-rem
-
-:dsp_libs
-set ARCH=c66x
-
-pushd %PAF_ROOT_DIR%\pa\asp\com
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS=%C6X_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\dec\pcm1
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\dec\com
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\asp\std
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\sio\acp1
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\enc\pce2
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\sio\paf
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\sio\dcs7
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\util\statusop_common
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\asp\ae0
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\asp\ml0
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\asp\fil
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\asp\src4
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\asp\del3
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%C6X_CGT_INSTALL_DIR%
-popd
-
-if "%1"=="DSP" goto end
-
-
-rem
-rem ARM libraries
-rem
-
-:arm_libs
-set ARCH=a15
-
-pushd %PAF_ROOT_DIR%\pa\asp\com
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%ARM_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%ARM_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\dec\pcm1
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%ARM_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%ARM_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\dec\com
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%ARM_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%ARM_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\asp\std
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%ARM_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%ARM_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\sio\acp1
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%ARM_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%ARM_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\util\c67x_cintrins
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%ARM_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%ARM_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\util\simulate_dma
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%ARM_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%ARM_CGT_INSTALL_DIR%
-popd
-
-pushd %PAF_ROOT_DIR%\pa\util\statusop_common
-@echo gmake clean ARCH=%ARCH%
-gmake clean ARCH=%ARCH%
-@echo gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%ARM_CGT_INSTALL_DIR%
-gmake install ROOTDIR=%PAF_ROOT_DIR% ARCH=%ARCH% CG_TOOLS_%ARCH%=%ARM_CGT_INSTALL_DIR%
-popd
-
-
-:cleanupenv
-set PASDK_LROOT_DIR=
-set PAF_ROOT_DIR=
-set ARCH=
-
-:end
diff --git a/scripts/build_parma_libs.bat b/scripts/build_parma_libs.bat
deleted file mode 100644 (file)
index eceb76b..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : build_parma_libs.bat
-::  DESCRIPTION    :
-::
-::     Builds ARM/DSP DTS:X PARMA component libraries.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-@echo Executing:  %~fn0
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..
-
-set PASDK_ROOT_DIR_FS=%PAROOT_DIR:\=/%
-set C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA:\=/%
-
-SET DTSX_SOURCE_PATH=..\3p-ip-dts\Source_Code\PARMA
-
-pushd %DTSX_SOURCE_PATH%\parma-dec\misc\build\c66x\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-popd
-
-pushd %DTSX_SOURCE_PATH%\la-strm-reconstruction\misc\build\c66x\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-popd
-
-pushd %DTSX_SOURCE_PATH%\lbr\misc\build\c66x\lbr\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-popd
-
-pushd  %DTSX_SOURCE_PATH%\lbr\misc\build\c66x\lbrdec\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-popd
-
-pushd %DTSX_SOURCE_PATH%\dts-3d\misc\build\c66x\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-popd
-
-pushd %DTSX_SOURCE_PATH%\dts-base\misc\build\c66x\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-popd
-
-pushd %DTSX_SOURCE_PATH%\common-flib\misc\build\c66x\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-popd
-
-pushd %DTSX_SOURCE_PATH%\dtshd-c-decoder\misc\build\c66x\lib\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-gmake C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-popd
-
-pushd %DTSX_SOURCE_PATH%\alg\misc\build\c66x\Release
-echo.
-echo %cd%
-echo gmake clean
-gmake clean
-echo.
-echo %cd%
-echo gmake PAROOT=%PASDK_ROOT_DIR_FS% C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-gmake PAROOT=%PASDK_ROOT_DIR_FS% C66TOOLS=%C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS%
-popd
-
-
-set PASDK_ROOT_DIR_FS=
-set C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA_FS=
-set DTSX_SOURCE_PATH=
diff --git a/scripts/build_pdk_libs.bat b/scripts/build_pdk_libs.bat
deleted file mode 100644 (file)
index 9353882..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : build_pdk_libs.bat
-::  DESCRIPTION    :
-::
-::     Builds DSP PDK LLD libraries: UART, SPI, and I2C.
-::
-:: *************************************************************************
-
-@echo Executing:  %~fn0
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..
-
-:: Save path
-set PATH_ORG=%PATH%
-
-:: Set custom Processor SDK local root directory
-set PSDK_CUST_LROOT_DIR=%PAROOT_DIR%\psdk_cust
-
-:: Set custom PDK install directory
-set PDK_VERSION=1_0_1_2_eng
-set PDK_INSTALL_DIR=%PSDK_CUST_LROOT_DIR%\pdk_k2g_%PDK_VERSION%
-
-pushd %PDK_INSTALL_DIR%\packages
-call pdksetupenv.bat
-
-:: Build I2C LLD library
-::pushd ti\drv\i2c
-::gmake clean
-::gmake all
-::popd
-gmake i2c_pasdk_clean
-gmake i2c_pasdk
-
-:: Build SPI LLD library
-::pushd ti\drv\spi
-::gmake clean
-::gmake all
-::popd
-gmake spi_pasdk_clean
-gmake spi_pasdk
-
-:: Build UART LLD library
-::pushd ti\drv\uart
-::gmake clean
-::gmake all
-::popd
-gmake uart_pasdk_clean
-gmake uart_pasdk
-
-popd
-
-:: Restore path
-set PATH=%PATH_ORG%
-
-set PSDK_CUST_LROOT_DIR=
diff --git a/scripts/install_code.bat b/scripts/install_code.bat
deleted file mode 100644 (file)
index 197d10d..0000000
+++ /dev/null
@@ -1,300 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : install_code.bat
-::  DESCRIPTION    :
-::
-::     Gets code from GIT repositories.
-::     Assumes setup_env.bat has been called.
-::
-:: *************************************************************************
-
-:: %1:
-::  buildTag         : Use Git tag to track submodules for build targets
-::  -OR-
-::  SuperRepo        : Use Git super-repository to track submodules for build targets
-@echo Executing:  %~fn0 %1
-
-set SAVE_PATH=%PATH%
-set PATH=C:\Tools;%PATH%
-
-set HOME=%USERPROFILE%
-
-:: Atmos component repositories
-set BMDA_GIT_REPO=ssh://git@bitbucket.itg.ti.com/pasrc-dolbyip/bmda.git
-set CAR_GIT_REPO=ssh://git@bitbucket.itg.ti.com/pasrc-dolbyip/car.git
-set DDP_GIT_REPO=ssh://git@bitbucket.itg.ti.com/pasrc-dolbyip/ddp.git
-set INTR_GIT_REPO=ssh://git@bitbucket.itg.ti.com/pasrc-dolbyip/intrinsics.git
-set MATTHD_GIT_REPO=ssh://git@bitbucket.itg.ti.com/pasrc-dolbyip/mat-thd.git
-set OAR_GIT_REPO=ssh://git@bitbucket.itg.ti.com/pasrc-dolbyip/oar.git
-
-:: DTS component repository
-set DTS_GIT_REPO=ssh://git@bitbucket.itg.ti.com/pasdk/3p-ip-dts.git
-
-:: PAF repository
-::set PAF_GIT_REPO=ssh://git@bitbucket.itg.ti.com/pasdk/os_paf_dev.git
-set PAF_GIT_REPO=ssh://git@bitbucket.itg.ti.com/pasdk/paf.git
-
-:: Tools repository
-set TOOLS_GIT_REPO=ssh://git@bitbucket.itg.ti.com/pasdk/tools.git
-
-:: Web proxy
-set http_proxy=http://webproxy.ext.ti.com:80
-
-
-:: Check if any repository folders are empty
-if EXIST dolby_ip\bmda\nul if NOT EXIST dolby_ip\bmda\.git ( rmdir /S /Q dolby_ip\bmda )
-if EXIST dolby_ip\car\nul if NOT EXIST dolby_ip\car\.git ( rmdir /S /Q dolby_ip\car )
-if EXIST dolby_ip\ddp\nul if NOT EXIST dolby_ip\ddp\.git ( rmdir /S /Q dolby_ip\ddp )
-if EXIST dolby_ip\intrinsics\nul if NOT EXIST dolby_ip\intrinsics\.git ( rmdir /S /Q dolby_ip\intrinsics )
-if EXIST dolby_ip\mat-thd\nul if NOT EXIST dolby_ip\mat-thd\.git ( rmdir /S /Q dolby_ip\mat-thd )
-if EXIST dolby_ip\oar\nul if NOT EXIST dolby_ip\oar\.git ( rmdir /S /Q dolby_ip\oar )
-
-
-:: Determine install type
-if "%1" NEQ "SuperRepo" goto gittaginstall
-
-:superrepoinstall
-:: Use super-repository for sub-module code installation
-@echo SuperRepo install
-call git submodule update --init
-goto install_end
-
-
-:gittaginstall
-@echo BuildTag install
-:: Use Git tag for sub-module code installation
-:: *************************************************************************
-:: ** Install BMDA
-:: *************************************************************************
-if exist dolby_ip\bmda\nul goto bmda_update
-@echo Clone:  BMDA
-call git clone %BMDA_GIT_REPO% dolby_ip\bmda
-if not exist dolby_ip\bmda goto bmda_error
-goto bmda_checkout
-:bmda_update
-@echo Fetch:  BMDA
-pushd dolby_ip\bmda
-call git fetch --tags origin
-popd
-
-:bmda_checkout
-pushd dolby_ip\bmda
-call git checkout %1
-popd
-
-:: *************************************************************************
-:: ** Install CAR
-:: *************************************************************************
-if exist dolby_ip\car\nul goto car_update
-@echo Clone:  CAR
-call git clone %CAR_GIT_REPO% dolby_ip\car
-if not exist dolby_ip\car goto car_error
-goto car_checkout
-:car_update
-@echo Fetch:  CAR
-pushd dolby_ip\car
-call git fetch --tags origin
-popd
-
-:car_checkout
-pushd dolby_ip\car
-call git checkout %1
-popd
-
-:: *************************************************************************
-:: ** Install DDP
-:: *************************************************************************
-if exist dolby_ip\ddp\nul goto ddp_update
-@echo Clone:  DDP
-call git clone %DDP_GIT_REPO% dolby_ip\ddp
-if not exist dolby_ip\ddp goto ddp_error
-goto ddp_checkout
-:ddp_update
-@echo Fetch:  DDP
-pushd dolby_ip\ddp
-call git fetch --tags origin
-popd
-
-:ddp_checkout
-pushd dolby_ip\ddp
-call git checkout %1
-popd
-
-:: *************************************************************************
-:: ** Install Intrinsics
-:: *************************************************************************
-if exist dolby_ip\intrinsics\nul goto intr_update
-@echo Clone:  Intrinsics
-call git clone %INTR_GIT_REPO% dolby_ip\intrinsics
-if not exist dolby_ip\intrinsics goto intr_error
-goto intr_checkout
-:intr_update
-@echo Fetch:  Intrinsics
-pushd dolby_ip\intrinsics
-call git fetch --tags origin
-popd
-
-:intr_checkout
-pushd dolby_ip\intrinsics
-call git checkout %1
-popd
-
-:: *************************************************************************
-:: ** Install MAT-THD
-:: *************************************************************************
-if exist dolby_ip\mat-thd\nul goto matthd_update
-@echo Clone:  mat-thd
-call git clone %MATTHD_GIT_REPO% dolby_ip\mat-thd
-if not exist dolby_ip\mat-thd goto matthd_error
-goto matthd_checkout
-:matthd_update
-@echo Fetch:  mat-thd
-pushd dolby_ip\mat-thd
-call git fetch --tags origin
-popd
-
-:matthd_checkout
-pushd dolby_ip\mat-thd
-call git checkout %1
-popd
-
-:: *************************************************************************
-:: ** Install OAR
-:: *************************************************************************
-if exist dolby_ip\oar\nul goto oar_update
-@echo Clone:  OAR
-call git clone %OAR_GIT_REPO% dolby_ip\oar
-if not exist dolby_ip\oar goto oar_error
-goto oar_checkout
-:oar_update
-@echo Fetch:  OAR
-pushd dolby_ip\oar
-call git fetch --tags origin
-popd
-
-:oar_checkout
-pushd dolby_ip\oar
-call git checkout %1
-popd
-
-:: *************************************************************************
-:: ** Install DTS
-:: *************************************************************************
-if exist 3p-ip-dts\nul goto dts_update
-@echo Clone:  DTS
-call git clone %DTS_GIT_REPO% 3p-ip-dts
-if not exist 3p-ip-dts goto dts_error
-goto dts_checkout
-:dts_update
-@echo Fetch:  DTS
-pushd 3p-ip-dts
-call git fetch --tags origin
-popd
-
-:dts_checkout
-pushd 3p-ip-dts
-call git checkout %1
-popd
-
-:: *************************************************************************
-:: ** Install PAF
-:: *************************************************************************
-if exist pasrc\paf\nul goto paf_update
-@echo Clone:  PAF
-call git clone %PAF_GIT_REPO% pasrc\paf
-if not exist pasrc\paf goto paf_error
-goto paf_checkout
-:paf_update
-@echo Fetch:  PAF
-pushd pasrc\paf
-call git fetch --tags origin
-popd
-
-:paf_checkout
-pushd pasrc\paf
-call git checkout %1
-popd
-
-:: *************************************************************************
-:: ** Install Tools
-:: *************************************************************************
-if exist tools\nul goto tools_update
-@echo Clone:  Tools
-call git clone %TOOLS_GIT_REPO% tools
-if not exist tools goto tools_error
-goto tools_checkout
-:tools_update
-@echo Fetch:  Tools
-pushd tools
-call git fetch --tags origin
-popd
-
-:tools_checkout
-pushd tools
-call git checkout %1
-popd
-
-:: *************************************************************************
-:: ** Report errors
-:: *************************************************************************
-goto install_end
-
-:bmda_error
-@echo Unable to clone BMDA GIT repository:  %BMDA_GIT_REPO%  exiting...
-goto install_end
-
-:car_error
-@echo Unable to clone CAR GIT repository:  %CAR_GIT_REPO%  exiting...
-goto install_end
-
-:ddp_error
-@echo Unable to clone DDP GIT repository:  %DDP_GIT_REPO%  exiting...
-goto install_end
-
-:intr_error
-@echo Unable to clone Intrinsics GIT repository:  %INTR_GIT_REPO%  exiting...
-goto install_end
-
-:matthd_error
-@echo Unable to clone MAT-THD GIT repository:  %MATTHD_GIT_REPO%  exiting...
-goto install_end
-
-:oar_error
-@echo Unable to clone OAR GIT repository:  %OAR_GIT_REPO%  exiting...
-goto install_end
-
-:dts_error
-@echo Unable to clone DTS GIT repository:  %DTS_GIT_REPO%  exiting...
-goto install_end
-
-:tools_error
-@echo Unable to clone Tools GIT repository:  %TOOLS_GIT_REPO%  exiting...
-goto install_end
-
-:paf_error
-@echo Unable to clone PAF GIT repository:  %PAF_GIT_REPO%  exiting...
-goto install_end
-
-:: *************************************************************************
-:: *** Cleanup and return
-:: *************************************************************************
-:install_end
-set PATH=%SAVE_PATH%
-set SAVE_PATH=
-
-set HOME=
-set BMDA_GIT_REPO=
-set CAR_GIT_REPO=
-set DDP_GIT_REPO=
-set INTR_GIT_REPO=
-set MATTHD_GIT_REPO=
-set OAR_GIT_REPO=
-set DTS_GIT_REPO=
-set PAF_GIT_REPO=
-set TOOLS_GIT_REPO=
-set http_proxy=
-
-:end
-:: *************************************************************************
-:: *** Nothing past this point
-:: *************************************************************************
diff --git a/scripts/install_dhip_pkgs.bat b/scripts/install_dhip_pkgs.bat
deleted file mode 100644 (file)
index cbea6ce..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : install_dhip_pkgs.bat
-::  DESCRIPTION    :
-::
-::     Installs DH-IP packages.
-::
-:: *************************************************************************
-
-:: %1: DH-IP package source directory
-@echo Executing:  %~fn0 %1
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..
-
-:: Set unzip path
-for %%i in (git.exe) do set GIT_PATH=%TOOLS_DRIVE%%%~sp$PATH:i
-set UNZIP_PATH=%GIT_PATH%..\usr\bin
-set GIT_PATH=
-
-:: Set Dolby IP local root directory
-set DOLBY_IP_LROOT=%PAROOT_DIR%\dolby_ip
-:: Set package install directories (location generated packages unziped for ARM/DSP application build)
-set BMDA_PKG_INSTALL_DIR=%DOLBY_IP_LROOT%\dh-ip
-set CAR_PKG_INSTALL_DIR=%DOLBY_IP_LROOT%\dh-ip
-set OAR_PKG_INSTALL_DIR=%DOLBY_IP_LROOT%\dh-ip
-set DDP_PKG_INSTALL_DIR=%DOLBY_IP_LROOT%\dh-ip
-set MATTHD_PKG_INSTALL_DIR=%DOLBY_IP_LROOT%\dh-ip
-set INTR_PKG_INSTALL_DIR=%DOLBY_IP_LROOT%\dh-ip
-:: All packages install to same directory
-::set DHIP_PKG_INSTALL_DIR=%DOLBY_IP_LROOT%\dh-ip
-
-:: Set package directory (location of generated packages)
-::set DHIP_PKG_DIR=%DOLBY_IP_LROOT%\package
-set DHIP_PKG_DIR=%1
-
-:: Set package names
-for /f "delims=" %%a in ('dir %DHIP_PKG_DIR%\*bmda* /b') do set BMDA_PKG_FNAME=%%a
-for /f "delims=" %%a in ('dir %DHIP_PKG_DIR%\*car* /b') do set CAR_PKG_FNAME=%%a
-for /f "delims=" %%a in ('dir %DHIP_PKG_DIR%\*oar* /b') do set OAR_PKG_FNAME=%%a
-for /f "delims=" %%a in ('dir %DHIP_PKG_DIR%\*ddp* /b') do set DDP_PKG_FNAME=%%a
-for /f "delims=" %%a in ('dir %DHIP_PKG_DIR%\*matthd* /b') do set MATTHD_PKG_FNAME=%%a
-for /f "delims=" %%a in ('dir %DHIP_PKG_DIR%\*intrinsics* /b') do set INTR_PKG_FNAME=%%a
-
-:: Install packages at application build locations
-if exist %BMDA_PKG_INSTALL_DIR%\nul     ( rmdir /S / Q %BMDA_PKG_INSTALL_DIR% )
-if exist %CAR_PKG_INSTALL_DIR%\nul      ( rmdir /S / Q %CAR_PKG_INSTALL_DIR% )
-if exist %OAR_PKG_INSTALL_DIR%\nul      ( rmdir /S / Q %OAR_PKG_INSTALL_DIR% )
-if exist %DDP_PKG_INSTALL_DIR%\nul      ( rmdir /S / Q %DDP_PKG_INSTALL_DIR% )
-if exist %MATTHD_PKG_INSTALL_DIR%\nul   ( rmdir /S / Q %MATTHD_PKG_INSTALL_DIR% )
-if exist %INTR_PKG_INSTALL_DIR%\nul     ( rmdir /S / Q %INTR_PKG_INSTALL_DIR% )
-@%UNZIP_PATH%\unzip -o -d %BMDA_PKG_INSTALL_DIR% %DHIP_PKG_DIR%\%BMDA_PKG_FNAME%
-@%UNZIP_PATH%\unzip -o -d %CAR_PKG_INSTALL_DIR% %DHIP_PKG_DIR%\%CAR_PKG_FNAME%
-@%UNZIP_PATH%\unzip -o -d %OAR_PKG_INSTALL_DIR% %DHIP_PKG_DIR%\%OAR_PKG_FNAME%
-@%UNZIP_PATH%\unzip -o -d %DDP_PKG_INSTALL_DIR% %DHIP_PKG_DIR%\%DDP_PKG_FNAME%
-@%UNZIP_PATH%\unzip -o -d %MATTHD_PKG_INSTALL_DIR% %DHIP_PKG_DIR%\%MATTHD_PKG_FNAME%
-@%UNZIP_PATH%\unzip -o -d %INTR_PKG_INSTALL_DIR% %DHIP_PKG_DIR%\%INTR_PKG_FNAME%
-:: All packages install to same directory
-::@%UNZIP_PATH%\unzip -o -d %DHIP_PKG_INSTALL_DIR% '%DHIP_PKG_DIR%\*.zip'
-
-
-:cleanupenv
-set UNZIP_PATH=
-set DOLBY_IP_LROOT=
-set BMDA_PKG_INSTALL_DIR=
-set CAR_PKG_INSTALL_DIR=
-set OAR_PKG_INSTALL_DIR=
-set DDP_PKG_INSTALL_DIR=
-set MATTHD_PKG_INSTALL_DIR=
-set INTR_PKG_INSTALL_DIR=
-set DHIP_PKG_DIR=
-set BMDA_PKG_FNAME=
-set CAR_PKG_FNAME=
-set OAR_PKG_FNAME=
-set DDP_PKG_FNAME=
-set MATTHD_PKG_FNAME=
-set INTR_PKG_FNAME=
diff --git a/scripts/install_dtsxip_pkgs.bat b/scripts/install_dtsxip_pkgs.bat
deleted file mode 100644 (file)
index cdc21f9..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : install_dtsxip_pkgs.bat
-::  DESCRIPTION    :
-::
-::     Installs DTSX-IP packages.
-::
-:: *************************************************************************
-
-:: %1: DTSX-IP package source directory
-@echo Executing:  %~fn0 %1
-
-if "%PAROOT_DIR%" == "" set PAROOT_DIR=%~dp0..
-
-:: Set unzip path
-for %%i in (git.exe) do set GIT_PATH=%TOOLS_DRIVE%%%~sp$PATH:i
-set UNZIP_PATH=%GIT_PATH%..\usr\bin
-set GIT_PATH=
-
-:: Set DTS IP local root directory
-set DTS_IP_LROOT=%PAROOT_DIR%\3p-ip-dts
-:: Set package install directories (location generated packages unziped for ARM/DSP application build)
-set DTSXDEC_PKG_INSTALL_DIR=%DTS_IP_LROOT%\dtsx-ip
-set PARMA_PKG_INSTALL_DIR=%DTS_IP_LROOT%\dtsx-ip
-:: All packages install to same directory
-::set DTSX_PKG_INSTALL_DIR=%DTS_IP_LROOT%\dtsx-ip
-
-:: Set package directory (location of generated packages)
-::set DTSXIP_PKG_DIR=%DTS_IP_LROOT%\package
-set DTSXIP_PKG_DIR=%1
-
-:: Set package names
-for /f "delims=" %%a in ('dir %DTSXIP_PKG_DIR%\*dtsx* /b') do set DTSXDEC_PKG_FNAME=%%a
-for /f "delims=" %%a in ('dir %DTSXIP_PKG_DIR%\*parma* /b') do set PARMA_PKG_FNAME=%%a
-
-:: Install packages at application build locations
-if exist %DTSXDEC_PKG_INSTALL_DIR%\nul    ( rmdir /S / Q %DTSXDEC_PKG_INSTALL_DIR% )
-if exist %PARMA_PKG_INSTALL_DIR%\nul      ( rmdir /S / Q %PARMA_PKG_INSTALL_DIR% )
-@%UNZIP_PATH%\unzip -o -d %DTSXDEC_PKG_INSTALL_DIR% %DTSXIP_PKG_DIR%\%DTSXDEC_PKG_FNAME%
-@%UNZIP_PATH%\unzip -o -d %PARMA_PKG_INSTALL_DIR% %DTSXIP_PKG_DIR%\%PARMA_PKG_FNAME%
-:: All packages install to same directory
-::@%UNZIP_PATH%\unzip -o -d %DTSX_PKG_INSTALL_DIR% '%DTSXIP_PKG_DIR%\*.zip'
-
-
-:cleanupenv
-set UNZIP_PATH=
-set DTS_IP_LROOT=
-set DTSXDEC_PKG_INSTALL_DIR=
-set PARMA_PKG_INSTALL_DIR=
-set DTSXIP_PKG_DIR=
-set DTSXDEC_PKG_FNAME=
-set PARMA_PKG_FNAME=
diff --git a/scripts/libarch_setup_env.bat b/scripts/libarch_setup_env.bat
deleted file mode 100644 (file)
index b8906b7..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-set CGTROOT=C:\ti\ccsv6\tools\compiler\ti-cgt-c6000_8.1.0
-set PDK_DIR=C:\ti\processor_sdk_audio_1_01_00_01\psdk_cust\pdk_k2g_1_0_1_2_eng
-set XDAIS_DIR=C:\ti\xdais_7_24_00_04
-set BIOS_DIR=C:\ti\bios_6_45_01_29
-set XDC_DIR=C:\ti\xdctools_3_32_00_06_core
-set EDMA3_DIR=C:\ti\edma3_lld_2_12_01_23
-set PATH=%PATH%;C:\ti\ccsv6\tools\compiler\ti-cgt-c6000_8.1.0\bin;%XDC_DIR%
diff --git a/scripts/setup_env.bat b/scripts/setup_env.bat
deleted file mode 100644 (file)
index efd8449..0000000
+++ /dev/null
@@ -1,232 +0,0 @@
-@echo off
-:: *************************************************************************
-::  FILE           : setup_env.bat
-::  DESCRIPTION    :
-::
-::     Setup tools environment.
-::
-:: *************************************************************************
-
-@echo Executing:  %~fn0
-
-
-:: *************************************************************************
-:: *** Specify install locations
-:: *************************************************************************
-:: Tools locations
-set TOOLS_DRIVE=C:
-:: PRSDK install directory
-set TI_PRSDK_DIR=%TOOLS_DRIVE%\ti_prsdk_5.01.00.11
-:: Contains tools for build of certified components
-set TI_TOOLS_DIR=%TOOLS_DRIVE%\ti_tools
-:: Contains misc tools (e.g. SED) for build
-set PA_TOOLS_DIR=%TOOLS_DRIVE%\PA_Tools
-:: CCS install directory
-set TI_CCS_DIR=%TOOLS_DRIVE%\ti
-
-rem :: PASDK location
-rem set PASDK_DRIVE=T:
-rem set PASDK_INSTALL_DIR=%~dp0..
-rem subst %PASDK_DRIVE% /d
-rem subst %PASDK_DRIVE% %PASDK_INSTALL_DIR%
-rem %PASDK_DRIVE%
-
-:: *************************************************************************
-:: *** Specify component versions
-:: *************************************************************************
-::
-:: PASDK (PrSDK 05.01.00.11) component versions
-::
-:: XDC tools version for PASDK
-set XDC_VERSION=3_50_07_20_core
-:: SYSBIOS version for PASDK
-set BIOS_VERSION=6_73_00_12
-:: UIA version
-set UIA_VERSION=2_30_01_02
-:: IPC version
-set IPC_VERSION=3_50_02_02
-:: PDK version
-set PDK_VERSION=1_0_11
-:: EDMA3 LLD version
-set EDMA3_VERSION=2_12_05_30C
-:: XDAIS version
-set XDAIS_VERSION=7_24_00_04
-:: DSPLIB version
-set DSPLIB_VERSION=3_4_0_1
-
-::
-:: DH & DTS:X component versions
-::
-:: XDC tools version for DH components
-set XDC_VERSION_DH=3_32_01_22_core
-:: XDC tools version for DTSX components
-set XDC_VERSION_DTSX=3_32_01_22_core
-:: SYSBIOS version for DH components
-set BIOS_VERSION_DH=6_46_05_55
-:: SYSBIOS version for DTSX components
-set BIOS_VERSION_DTSX=6_46_05_55
-:: XDAIS version for DH components
-set XDAIS_VERSION_DH=7_24_00_04
-
-:: *************************************************************************
-:: *** Specify tools versions
-:: *************************************************************************
-:: CCS version
-set CCS_VER=8
-set CCS_VER_FULL=%CCS_VER%_0_0
-
-:: SED version
-set SED_VER_DOT=4.2.1
-:: Python version
-set PYTHON_VER=27
-:: Pkzip version
-::set PKZIP_VER_DOT=9.20
-
-::
-:: PASDK codegen tools
-::
-:: PASDK (PrSDK 05.01.00.11) ARM CGT
-:: ARM CGT for PASDK
-set ARM_CGT_VERSION=6-2017-q1-update
-:: C6X CGT for PASDK
-set C6X_CGT_VER_DOT=8.2.2
-
-::
-:: DH & DTS:X codegen tools
-::
-:: ARM CGT for DH (decoder) components
-set ARM_CGT_VERSION_DH_DEC=4_8-2014q3
-:: ARM CGT for DTS:X (decoder) components
-set ARM_CGT_VERSION_DTSX_DEC=4_8-2014q3
-:: C6X CGT for DH (ASP) components
-set C6X_CGT_VER_DOT_DH_ASP=8.1.0
-:: C6X CGT for DTS:X (ASP, PARMA) components
-set C6X_CGT_VER_DOT_DTSX_ASP_PARMA=7.4.4
-
-
-:: *************************************************************************
-:: *** Specify install locations
-:: *************************************************************************
-
-::
-:: PASDK install locations
-::
-set CCS_INSTALL_DIR=%TI_CCS_DIR%\ccsv%CCS_VER_FULL%\ccsv%CCS_VER%
-set XDC_INSTALL_DIR_DH=%TI_TOOLS_DIR%\xdctools_%XDC_VERSION_DH%
-set XDC_INSTALL_DIR_DTSX=%TI_TOOLS_DIR%\xdctools_%XDC_VERSION_DTSX%
-set XDC_INSTALL_DIR=%TI_PRSDK_DIR%\xdctools_%XDC_VERSION%
-set BIOS_INSTALL_DIR_DH=%TI_TOOLS_DIR%\bios_%BIOS_VERSION_DH%
-set BIOS_INSTALL_DIR_DTSX=%TI_TOOLS_DIR%\bios_%BIOS_VERSION_DTSX%
-set BIOS_INSTALL_DIR=%TI_PRSDK_DIR%\bios_%BIOS_VERSION%
-set UIA_INSTALL_DIR=%TI_PRSDK_DIR%\uia_%UIA_VERSION%
-set IPC_INSTALL_DIR=%TI_PRSDK_DIR%\ipc_%IPC_VERSION%
-set PDK_INSTALL_DIR=%TI_PRSDK_DIR%\pdk_k2g_%PDK_VERSION%
-set EDMA3_INSTALL_DIR=%TI_PRSDK_DIR%\edma3_lld_%EDMA3_VERSION%
-set XDAIS_INSTALL_DIR=%TI_PRSDK_DIR%\xdais_%XDAIS_VERSION%
-set XDAIS_INSTALL_DIR_DH=%TI_TOOLS_DIR%\xdais_%XDAIS_VERSION_DH%
-set SED_INSTALL_DIR=%PA_TOOLS_DIR%\GnuWin32
-set PYTHON_INSTALL_DIR=%PA_TOOLS_DIR%\Python%PYTHON_VER%
-set ZIP_INSTALL_DIR=%PA_TOOLS_DIR%
-set CYGWIN_INSTALL_DIR=%TOOLS_DRIVE%\cygwin\bin
-
-::
-:: Codegen tools install locations
-::
-set ARM_CGT_INSTALL_DIR=%TI_PRSDK_DIR%\gcc-arm-none-eabi-%ARM_CGT_VERSION%
-set ARM_CGT_INSTALL_DIR_DH_DEC=%TI_TOOLS_DIR%\gcc-arm-none-eabi-%ARM_CGT_VERSION_DH_DEC%
-set ARM_CGT_INSTALL_DIR_DTSX_DEC=%TI_TOOLS_DIR%\gcc-arm-none-eabi-%ARM_CGT_VERSION_DTSX_DEC%
-set C6X_CGT_INSTALL_DIR=%TI_PRSDK_DIR%\ti-cgt-c6000_%C6X_CGT_VER_DOT%
-set C6X_CGT_INSTALL_DIR_DH_ASP=%TI_TOOLS_DIR%\ti-cgt-c6000_%C6X_CGT_VER_DOT_DH_ASP%
-set C6X_CGT_INSTALL_DIR_DTSX_ASP_PARMA=%TI_TOOLS_DIR%\ti-cgt-c6000_%C6X_CGT_VER_DOT_DTSX_ASP_PARMA%
-
-::
-:: PASDK install location
-::
-if "%PAROOT%" NEQ "" (
-    set PAROOT=%PAROOT_DIR%
-) else (
-    set PAROOT=%~dp0..
-)
-
-:: 
-:: PAF install locations
-:: 
-set CG_TOOLS_a15=%ARM_CGT_INSTALL_DIR%
-set CG_TOOLS_c66x=%C6X_CGT_INSTALL_DIR%
-set BIOSROOT=%TI_PRSDK_DIR%\bios_%BIOS_VERSION%
-set XDCROOT=%TI_PRSDK_DIR%\xdctools_%XDC_VERSION%
-set IPCROOT=%TI_PRSDK_DIR%\ipc_%IPC_VERSION%
-set PDKROOT=%TI_PRSDK_DIR%\pdk_k2g_%PDK_VERSION%
-set EDMA3LLDROOT=%TI_PRSDK_DIR%\edma3_lld_%EDMA3_VERSION%
-set XDAISROOT=%TI_PRSDK_DIR%\xdais_%XDAIS_VERSION%
-set DSPLIBROOT=%TI_PRSDK_DIR%\dsplib_c66x_%DSPLIB_VERSION%
-set ROOTDIR=%PAROOT%\pasrc\paf
-
-
-
-rem @echo #######################################################################
-rem @echo ##  All Required Tools Installed
-rem @echo #######################################################################
-rem @echo.
-
-
-:: *************************************************************************
-:: ** Set the PATH
-:: *************************************************************************
-for %%i in (git.exe) do set GIT_PATH=%TOOLS_DRIVE%%%~sp$PATH:i
-set PATH=%SystemRoot%;%SystemRoot%\system32;%SystemRoot%\system32\Wbem
-set PATH=%XDC_INSTALL_DIR%;%PATH%
-set PATH=%XDC_INSTALL_DIR%\jre\bin;%PATH%
-set PATH=%PATH%;%CCS_INSTALL_DIR%\eclipse
-set PATH=%PATH%;%SED_INSTALL_DIR%\bin
-set PATH=%PATH%;%PYTHON_INSTALL_DIR%;%PYTHON_INSTALL_DIR%\Scripts
-set PATH=%PATH%;%GIT_PATH%
-set PATH=%PATH%;%ZIP_INSTALL_DIR%\7-Zip
-set GIT_PATH=
-
-
-:: *************************************************************************
-:: ** Create XDC environment variables
-:: *************************************************************************
-set xdc=%XDC_INSTALL_DIR%\xdc.exe $*
-::set XDCPATH=%CCS_INSTALL_DIR%/ccsv%CCS_VER%/packages
-::set XDCPATH=%XDCPATH%;%XDC_INSTALL_DIR%/packages
-set XDCPATH=%XDC_INSTALL_DIR%/packages
-
-
-:: *************************************************************************
-:: ** Clean Up
-:: *************************************************************************
-set XDC_VERSION=
-set XDC_VERSION_DH=
-set XDC_VERSION_DTSX=
-set BIOS_VERSION=
-set BIOS_VERSION_DH=
-set BIOS_VERSION_DTSX=
-set IPC_VERSION=
-set XDAIS_VERSION=
-set CCS_VER=
-set CCS_VER_CGT=
-set SED_VER_DOT=
-set PYTHON_VER=
-::set PKZIP_VER_DOT=
-set C6X_CGT_VER_DOT=
-set ARM_CGT_VERSION=
-set C6X_CGT_VER_DOT_PARMA=
-
-
-:: *************************************************************************
-:: ** Show the build environment
-:: *************************************************************************
-@echo.
-@echo #######################################################################
-@echo ##  Build Environment Variables (Start)
-@echo #######################################################################
-@set
-@echo #######################################################################
-@echo ##  Build Environment Variables (Stop)
-@echo #######################################################################
-@echo.
-
-
-:end