From: Frank Livingston Date: Wed, 10 May 2017 22:25:22 +0000 (-0500) Subject: Commenting/cleanup X-Git-Url: https://git.ti.com/gitweb?p=processor-sdk%2Fperformance-audio-sr.git;a=commitdiff_plain;h=477461f7f4b6d785b04880b24d68f841a683ea12 Commenting/cleanup --- diff --git a/pasdk/common/audioStreamProc_common.h b/pasdk/common/audioStreamProc_common.h index 7ed6e4cc..4a7a8e2f 100644 --- a/pasdk/common/audioStreamProc_common.h +++ b/pasdk/common/audioStreamProc_common.h @@ -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) diff --git a/pasdk/common/audioStreamProc_params.h b/pasdk/common/audioStreamProc_params.h index 725395d7..f4b2ab44 100644 --- a/pasdk/common/audioStreamProc_params.h +++ b/pasdk/common/audioStreamProc_params.h @@ -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 { diff --git a/pasdk/test_arm/framework/audioStreamDecodeProc.h b/pasdk/test_arm/framework/audioStreamDecodeProc.h index 6bdde86e..3ee071d8 100644 --- a/pasdk/test_arm/framework/audioStreamDecodeProc.h +++ b/pasdk/test_arm/framework/audioStreamDecodeProc.h @@ -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 { diff --git a/pasdk/test_arm/framework/itopo/params.c b/pasdk/test_arm/framework/itopo/params.c index ab71a914..da9cf786 100644 --- a/pasdk/test_arm/framework/itopo/params.c +++ b/pasdk/test_arm/framework/itopo/params.c @@ -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) diff --git a/pasdk/test_dsp/framework/audioStreamInpProc.h b/pasdk/test_dsp/framework/audioStreamInpProc.h index d80ab458..94edfb02 100644 --- a/pasdk/test_dsp/framework/audioStreamInpProc.h +++ b/pasdk/test_dsp/framework/audioStreamInpProc.h @@ -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 { diff --git a/pasdk/test_dsp/framework/audioStreamOutProc.h b/pasdk/test_dsp/framework/audioStreamOutProc.h index f7115544..05751d00 100644 --- a/pasdk/test_dsp/framework/audioStreamOutProc.h +++ b/pasdk/test_dsp/framework/audioStreamOutProc.h @@ -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 {