[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] mp4/audio/mdf/pub/platform/symbian
From:       anuj_dhamija () helixcommunity ! org
Date:       2008-03-26 20:09:06
Message-ID: 200803262009.m2QK9XsH012663 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/datatype/mp4/audio/mdf/pub/platform/symbian
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv28164

Modified Files:
      Tag: hxclient_2_1_0_cayennes
	symbianswdecoder.h 
Log Message:
"Nokia submits this code under the terms of a commercial contribution agreement with \
RealNetworks, and I am authorized to contribute this code under said agreement."

Title: Duration based Audio Error Concealment 

Modified by:  ext-anuj.dhamija@nokia.com
 
Reviewed by: 
 
Date: 03/24/2008
 
Project: SymbianMmf_rel
 
Synopsis: Change the Audio Error Concealment logic to be based on Duration instead of \
Number of Packets 

Overview: 
Current Audio Error Concealment involves replicating prior (faded) audio packets for \
a predefined number of packets in case of packet drop. Modify this to replicate \
packets for a predefined duration rather than number of packets. This predefined \
duration is defined as a parameter in configuration file. Its default value is set to \
20 milliseconds.

Fix:
Introduce new class members in HXSymbianSwAudioDecoder for Configured Error \
Concealment Duration and Consecutive Loss Duration (Counter). Read in the Configured \
value for Error Concealment from configuration file when Decoder is opened. Every \
time packet drop occurs increment Consecutive loss duration by the duration of the \
frame and introduce the faded copy of last audio frame played. If Consecutive Loss \
Duration exceeds the configured Error Concealment duration then insert silence. Reset \
the Consecutive Loss Duration to zero in Decode method which is invoked when packets \
are received without any error.

New Field Added to configuration file: AudioErrorConcDuration

Files modified & changes:

src\datatype\mp4\audio\mdf\pub\platform\symbian\symbianswdecoder.h
src\datatype\mp4\audio\mdf\platform\symbian\symbianswdecoder.cpp

src\clientapps\symbiancommon\config\R1_Mobile_4_0_Factory.cfg

Image Size and Heap Use impact: None

Module Release testing (STIF, Audio) : Passed

Test case(s) Added  : No

Memory leak check performed : Passed, No leaks found
  
Platforms and Profiles Build Verified: helix-client-s60-32-mmf-mdf-arm

Platforms and Profiles Functionality verified: armv5
  
Branch: Head, 210CayS & 221CayS





Index: symbianswdecoder.h
===================================================================
RCS file: /cvsroot/datatype/mp4/audio/mdf/pub/platform/symbian/symbianswdecoder.h,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- symbianswdecoder.h	3 Oct 2007 22:43:30 -0000	1.1.2.1
+++ symbianswdecoder.h	26 Mar 2008 20:09:03 -0000	1.1.2.2
@@ -73,7 +73,8 @@
     CMMFDataBuffer*             m_pSourceBuffer;
     CMMFDataBuffer*             m_pDestBuffer;
     HXBOOL                      m_bPrevBuffValid;
-    UINT32                      m_ulConsecutiveLossCount;
+    UINT32                      m_ulConsecutiveLossDuration;
+    UINT32                      m_ulErrorConcDuration;
 };
 
 #endif // __SYMBIAN_SW_DECODER_H__


_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic