]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/blobdiff - pasdk/test_arm/framework/itopo/params.c
Commenting/cleanup
[processor-sdk/performance-audio-sr.git] / pasdk / test_arm / framework / itopo / params.c
index c70e68acc336c316239bf86281f05461a835daa5..da9cf786705b8cf44cd87979e141dd2e3bfb5018 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
-Copyright (c) 2016, Texas Instruments Incorporated - http://www.ti.com/
+Copyright (c) 2017, Texas Instruments Incorporated - http://www.ti.com/
 All rights reserved.
 
 * Redistribution and use in source and binary forms, with or without 
@@ -52,6 +52,8 @@ All rights reserved.
 #include "audioStreamProc_params.h"
 #include "audioStreamDecodeProc.h"
 
+#include "dbgBenchmark.h" // PCM high-sampling rate + SRC + CAR benchmarking
+
 //
 // Framework Declarations
 //
@@ -181,11 +183,11 @@ const PAF_DecodeStatus PAF_AST_params_decodeStatus_primary =
     4,                                                      // sourceKaraoke: both
     0,                                                      // aspGearControl: unused
     0,                                                      // aspGearStatus: unused
-    0, 0, 0, 0,                                                // Unused
-    0, 0, 0, 0,                                                // Unused
-    0, 0, 0, 0,                                                // Unused
-    0, 0, 0, 0,                                                // Unused
-    0, 0, 0, 0,                                                // Unused
+    0, 0, 0, 0,                                             // Unused
+    0, 0, 0, 0,                                             // Unused
+    0, 0, 0, 0,                                             // Unused
+    0, 0, 0, 0,                                             // Unused
+    0, 0, 0, 0,                                             // Unused
     0,                                                      // frameCount
     0x40,                                                   // karaoka: Vocal 1 Level
     0x40,                                                   // karaoka: Vocal 1 Pan
@@ -195,10 +197,10 @@ const PAF_DecodeStatus PAF_AST_params_decodeStatus_primary =
     0x00,                                                   // karaoka: Melody Pan
     0,                                                      // decBypass
     0,                                                      // unused
-    0,                                                         // frameLength: reset later
+    0,                                                      // frameLength: reset later
     1,                                                      // bufferRatio: unity
     PAF_IEC_PREEMPHASIS_UNKNOWN,                            // emphasis
-    0,                                                        // bufferDrift
+    0,                                                      // bufferDrift
     0, 0,
     PAF_CC_SAT_SURROUND4, PAF_CC_SUB_ONE, PAF_CC_AUX_SURROUND4_UNKNOWN, 0, 0, 0, 0, 0,    
     // channelConfigurationRequest.full
@@ -341,7 +343,7 @@ const PAF_MetadataBufStatus PAF_ASDT_params_MetadataBufStatus[] =
     PAF_MAX_PRIVATE_MD_SZ,  // bufSize
     PAF_MAX_NUM_PRIVATE_MD, // NumBuf
     128,                    // alignment
-    &gPafHeapIdExt //&SDRAM // &IRAM,        // pSpace
+    &gPafHeapIdExt          // pHeadIdSpace
 };
 
 #if 0 // FL: maybe needed on ARM if there's an audio frame buffer defined for decode (and possible stream)
@@ -417,25 +419,28 @@ const PAF_AudioFrameBufStatus    PAF_AST_params_AudioFrameBufStatus[PAF_MAXNUMCH
 
 const PAF_ASDT_Params asdp_params_PAi =
 {
-    &PAF_ASDT_params_fxns,                                     // fxns
-    {                                                          // zone
-        0,                                                     // master
-        1,                                                     // decodes
-        0,                                                     // decode1
-        1,                                                     // decodeN
-        1,                                                     // streams
+    &PAF_ASDT_params_fxns,                                  // fxns
+    {                                                       // zone
+        0,                                                  // zone.master
+        1,                                                  // zone.decodes
+        0,                                                  // zone.decode1
+        1,                                                  // zone.decodeN
+        1,                                                  // zone.streams
     },
     PAF_AST_inputsFromDecodes_std,
     {                                                       // heap
-        &gPafHeapIdInt1,    //&IRAM                         // pIntern
-        &gPafHeapIdExt,     //&SDRAM,                       // pExtern
-        //&gPafHeapIdInt1,    //&IRAM,                        // pFrmbuf
-        &gPafHeapIdExt,     //&SDRAM,                        // pFrmbuf //Qin - moved to external memory
-        &gPafHeapIdInt1,    //&L3RAM,                       // pIntern1
-        1,                                                  // clear
+        &gPafHeapIdInt1,    //&IRAM                         // heap.pIntern
+        &gPafHeapIdExt,     //&SDRAM,                       // heap.pExtern
+        //&gPafHeapIdInt1,    //&IRAM,                        // heap.pFrmbuf
+        &gPafHeapIdExt,     //&SDRAM,                        // heap.pFrmbuf //Qin - moved to external memory
+        &gPafHeapIdInt1,    //&L3RAM,                       // heap.pIntern1
+        &gPafHeapIdInt1Shm,                                 // heap.pHeapIdInt1Shm
+        &gPafHeapIdExtShm,                                  // heap.pHeapIdExtShm
+        &gPafHeapIdExtNonCachedShm,                         // heap.pHeapIdExtNonCachedShm
+        1,                                                  // heap.clear
     },
     {                                                       // common
-        params_memspace_PAi_Slave,                          // space
+        params_memspace_PAi_Slave,                          // common.space
     },
     PAF_AST_params_numchan,                                 // z_numchan
     PAF_SYS_FRAMELENGTH,                                    // framelength