[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:32:02
Message-ID: 200803262032.m2QKWVAa015639 () 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-serv29495
Modified Files:
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.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- symbianswdecoder.h 11 Oct 2007 19:36:30 -0000 1.2
+++ symbianswdecoder.h 26 Mar 2008 20:31:57 -0000 1.3
@@ -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