PASDK183: maxFramelength updated to 8192
authorChitresh Gupta <chitresh.g@pathpartnertech.com>
Thu, 23 Feb 2017 12:33:19 +0000 (18:03 +0530)
committerChitresh Gupta <chitresh.g@pathpartnertech.com>
Thu, 23 Feb 2017 12:33:19 +0000 (18:03 +0530)
pasdk/common/aspDecOpCircBuf_common.h
pasdk/test_arm/framework/aspDecOpCircBuf_slave.c
pasdk/test_arm/framework/audioStreamDecodeProc.c
pasdk/test_arm/framework/itopo/params.c
pasdk/test_dsp/framework/audioStreamInpProc.c

index 207bbdbcd291a65eb094485605613d83fb845295..a1b36444ed78a842dda624294f3fdb9de7dd5b82 100644 (file)
@@ -81,8 +81,8 @@ All rights reserved.
 
 // DTS - TODO: to update for DTS
 #define ASP_DECOP_CB_MAX_NUM_AF_DTS         ( 10 )
-#define ASP_DECOP_CB_INIT_LAG_DTS           ( 2 )
-#define ASP_DECOP_CB_INIT_WRTIDX_DTS        ( 3 )
+#define ASP_DECOP_CB_INIT_LAG_DTS           ( 3 )
+#define ASP_DECOP_CB_INIT_WRTIDX_DTS        ( 1 )
 #define ASP_DECOP_CB_INIT_RDIDX_DTS         ( 0 )
 
 #define ASP_DECODE_CB_GATE_NAME             ( "AspDecOpCbGate" )
index 97a85f7b94e4ac579f2fff60754d076d70d1d259..a82614328d9c30124bf34bd55c1d81c0846a2834 100644 (file)
@@ -263,8 +263,7 @@ Int cbWriteAf(
         Cache_inv(pAfCb->data.sample, pCb->maxAFChanNum*sizeof(PAF_AudioData *), Cache_Type_ALLD, 0);
         Cache_wait();
 
-        for (i=0; i<pCb->maxAFChanNum; i++){
-        }
+
         for (i=0; i<PAF_MAX_NUM_PRIVATE_MD; i++)
         {
             pAfCb->pafPrivateMetadata[i].offset = 0;
index c28ae9226feb702b88c177b6f059986657f6a243..7681fbf35e26a6488a29a2852ab0186ae009c228 100644 (file)
@@ -1499,7 +1499,7 @@ Int resetAf(
         case PAF_SOURCE_DTS14:
         case PAF_SOURCE_DTS16:
         case PAF_SOURCE_DTSALL:
-            pAudioFrame->data.nSamples = 512; // TODO: Need to set correct value, max Sample output
+            pAudioFrame->data.nSamples = 8192; // TODO: Need to set correct value, max Sample output
             break;
         default:  
             pAudioFrame->data.nSamples = FRAMELENGTH;
index fa4d6c304849b1fcbf0a9e5b8b04a92a1294bba5..dc706948a06c2956955ef57991973aedd6f9889c 100644 (file)
@@ -444,7 +444,7 @@ const PAF_ASDT_Params asdp_params_PAi =
     PAF_ASDT_params_decodeStatus,                           // z_pDecodeStatus
     &PAF_ASP_params_decAlgKey,                              // pDecAlgKey
     PAF_AST_streamsFromDecodes_std,                         // streamsFromDecodes
-    5120,                                                   // maxFramelength set to match maximum value possible for 48K stream
+    8192,                                                   // maxFramelength set to match maximum value possible for 48K stream
     PAF_ASDT_params_MetadataBufStatus,                      //metadata buffer status
     NULL //PAF_AST_params_AudioFrameBufStatus                      //Audio frame buffer status
 };
index ee7f587bc421d7b89472457b75ea76223b198b66..318a5feb73b80179fdaa898c90fb4e4047b04fdf 100644 (file)
@@ -2725,7 +2725,7 @@ PAF_ASIT_decodeInit(
                      (sourceSelect == PAF_SOURCE_DTSALL)
                     )
             {
-                frameLength = 1536; // TODO: Chitresh FIX ME
+                frameLength = 8192; // TODO: Chitresh FIX ME
             }
             else
             {
@@ -3470,7 +3470,7 @@ PAF_ASIT_decodeDecode(
                      (sourceSelect == PAF_SOURCE_DTSALL)
                     )
             {
-                frameLength = 512; // TODO: Chitresh FIX ME
+                frameLength = 8192; // TODO: Chitresh FIX ME
             }
             else
             {