Commenting/cleanup
authorFrank Livingston <frank-livingston@ti.com>
Wed, 10 May 2017 22:25:22 +0000 (17:25 -0500)
committerFrank Livingston <frank-livingston@ti.com>
Wed, 10 May 2017 22:25:22 +0000 (17:25 -0500)
pasdk/common/audioStreamProc_common.h
pasdk/common/audioStreamProc_params.h
pasdk/test_arm/framework/audioStreamDecodeProc.h
pasdk/test_arm/framework/itopo/params.c
pasdk/test_dsp/framework/audioStreamInpProc.h
pasdk/test_dsp/framework/audioStreamOutProc.h

index 7ed6e4cc3d32b7d0718af18089da1af29a79699f..4a7a8e2f7b1358e4b530019c8f1bf47db5041f75 100644 (file)
@@ -175,7 +175,7 @@ All rights reserved.
 #define HEAP_OUTBUF                     (HeapMem_Handle)pafHeapMgr_readHeapHandle(HEAP_ID_OUTBUF)
 #define HEAP_FRMBUF                     (HeapMem_Handle)pafHeapMgr_readHeapHandle(HEAP_ID_FRMBUF)
 
-#define HEAP_ID_MDBUF                   *pP->pMetadataBufStatus->pHeadIdSpace
+#define HEAP_ID_MDBUF                   *pP->pMetadataBufStatus->pHeapIdMdbuf
 #define HEAP_MDBUF                      (HeapMem_Handle)pafHeapMgr_readHeapHandle(HEAP_ID_MDBUF)
 
 
index 725395d7b2d5e73e12a27b357a15409a34b4729b..f4b2ab44d5b4d889c864902c5824335ff6303893 100644 (file)
@@ -83,10 +83,10 @@ typedef struct PAF_ASP_outNumBufMap {
 } PAF_ASP_outNumBufMap;
 
 typedef struct PAF_MetadataBufStatus {
-    Int bufSize;    //Meta data buffer size
-    Int NumBuf;     //Number of metadata buffers
-    Int alignment;  //Buffer alignment
-    Int *pHeadIdSpace; //Int *pSpace;    //Internal/external memory
+    Int bufSize;        // Meta data buffer size
+    Int NumBuf;         // Number of meta data buffers
+    Int alignment;      // Buffer alignment
+    Int *pHeapIdMdbuf;  // Meta data buffer heap ID
 } PAF_MetadataBufStatus;
 
 typedef struct PAF_AudioFrameBufStatus {
index 6bdde86e81bb4e5b8da195bc9c7e5e1e914a1e00..3ee071d802cb227150f39e97c5f5521db151989d 100644 (file)
@@ -85,13 +85,13 @@ typedef struct PAF_ASDT_Params {
     } zone;
     const SmInt *inputsFromDecodes;
     struct {
-        int *pHeapIdIntern;   //int *pIntern;
-        int *pHeapIdExtern;   //int *pExtern;
-        int *pHeapIdFrmbuf;   //int *pFrmbuf;
-        int *pHeapIdIntern1;  //int *pIntern1;
-        int *pHeapIdInt1Shm;
-        int *pHeapIdExtShm;
-        int *pHeapIdExtNonCachedShm;
+        int *pHeapIdIntern;             // INT memory heap ID
+        int *pHeapIdExtern;             // EXT memory heap ID
+        int *pHeapIdFrmbuf;             // Frame buffer heap ID
+        int *pHeapIdIntern1;            // INT1 memory heap ID
+        int *pHeapIdInt1Shm;            // INT1 SHared Memory heap ID
+        int *pHeapIdExtShm;             // EXT SHared Memory heap ID
+        int *pHeapIdExtNonCachedShm;    // EXT Non-Cached SHared Memory heap ID
         int clear; 
     } heap;
     struct {
index ab71a91406007cb6ad7d094a828f6e974c8126a2..da9cf786705b8cf44cd87979e141dd2e3bfb5018 100644 (file)
@@ -343,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)
index d80ab4588c109ad7d977798df4b4694585b56f9e..94edfb0243fdf7c1793d1da6232b3c3f4db4cf5a 100644 (file)
@@ -127,15 +127,15 @@ typedef struct PAF_ASIT_Params {
     const SmInt *inputsFromDecodes;
     const SmInt *outputsFromEncodes;
     struct {
-        int *pHeapIdIntern;
-        int *pHeapIdExtern;
-        int *pHeapIdInpbuf;
-        int *pHeapIdOutbuf;
-        int *pHeapIdFrmbuf;
-        int *pHeapIdIntern1;
-        int *pHeapIdInt1Shm;
-        int *pHeapIdExtShm;
-        int *pHeapIdExtNonCachedShm;
+        int *pHeapIdIntern;             // INT memory heap ID
+        int *pHeapIdExtern;             // EXT memory heap ID
+        int *pHeapIdInpbuf;             // IB buffer heap ID
+        int *pHeapIdOutbuf;             // OB buffer heap ID
+        int *pHeapIdFrmbuf;             // Frame buffer heap ID
+        int *pHeapIdIntern1;            // INT1 memory heap ID
+        int *pHeapIdInt1Shm;            // INT1 SHared Memory heap ID
+        int *pHeapIdExtShm;             // EXT SHared Memory heap ID
+        int *pHeapIdExtNonCachedShm;    // EXT Non-Cached SHared Memory heap ID
         int clear; 
     } heap;
     struct {
index f7115544238459802b519557a9226fb1b0865fc7..05751d0077bc0146e92c8aef5157de8fbf2dfd5f 100644 (file)
@@ -127,15 +127,15 @@ typedef struct PAF_ASOT_Params {
     const SmInt *inputsFromDecodes;
     const SmInt *outputsFromEncodes;
     struct {
-        int *pHeapIdIntern;
-        int *pHeapIdExtern;
-        int *pHeapIdInpbuf;
-        int *pHeapIdOutbuf;
-        int *pHeapIdFrmbuf;
-        int *pHeapIdIntern1;
-        int *pHeapIdInt1Shm;
-        int *pHeapIdExtShm;
-        int *pHeapIdExtNonCachedShm;
+        int *pHeapIdIntern;             // INT memory heap ID
+        int *pHeapIdExtern;             // EXT memory heap ID
+        int *pHeapIdInpbuf;             // IB buffer heap ID
+        int *pHeapIdOutbuf;             // OB buffer heap ID
+        int *pHeapIdFrmbuf;             // Frame buffer heap ID
+        int *pHeapIdIntern1;            // INT1 memory heap ID
+        int *pHeapIdInt1Shm;            // INT1 SHared Memory heap ID
+        int *pHeapIdExtShm;             // EXT SHared Memory heap ID
+        int *pHeapIdExtNonCachedShm;    // EXT Non-Cached SHared Memory heap ID
         int clear; 
     } heap;
     struct {