[Datatype-cvs] mp4/fileformat qttrack.cpp,1.27.2.2,1.27.2.3

[Datatype-cvs] mp4/fileformat qttrack.cpp,1.27.2.2,1.27.2.3

amsaleem at helixcommunity.org amsaleem at helixcommunity.org
Wed May 7 08:56:27 PDT 2008


Update of /cvsroot/datatype/mp4/fileformat
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv14918

Modified Files:
      Tag: hxclient_2_1_0_cayennes
	qttrack.cpp 
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."

Modified by: saleem.adookkattil at nokia.com
 
Reviewed by:  

Date: 15-April-2008
 
Project: SymbianMmf_Rel 

TSW: ESNG-7CVPFE

Synopsis: QT_MAX_SEEK_SKIPBACK_TIME_CLIENT constant changed to a smaller value to avoid out of memory failure on low memory devices.

Overview: Current 300000 milliseconds value of QT_MAX_SEEK_SKIPBACK_TIME_CLIENT constant needs memory to buffer 300000 milliseconds of video before start rendering it. It causes out of memory failure on low memory devices.  Modified below specified file as given in the diff file to set a smaller value (20000 milliseconds) to QT_MAX_SEEK_SKIPBACK_TIME_CLIENT.
 
Files Modified:
 
/cvsroot/datatype/mp4/fileformat/qttrack.cpp

Image Size and Heap Use impact: None
 
Module Release testing (STIF) : Pass
 
Test case(s) Added  :  No

Memory leak check performed : No new leaks introduced.  

Platforms and Profiles Build Verified: 
Profile -> helix-client-s60-32-mmf-mdf-arm
BIF branch  -> helix_restricted
SYSTEM_ID -> symbian-91-armv5
Target -> symbianMmf_rel
 
Platforms and Profiles Functionality verified: armv5, winscw
 
Branch: 221CayS, 210CayS &  head

Index: qttrack.cpp
===================================================================
RCS file: /cvsroot/datatype/mp4/fileformat/qttrack.cpp,v
retrieving revision 1.27.2.2
retrieving revision 1.27.2.3
diff -u -d -r1.27.2.2 -r1.27.2.3
--- qttrack.cpp	22 Nov 2007 01:29:24 -0000	1.27.2.2
+++ qttrack.cpp	7 May 2008 15:56:24 -0000	1.27.2.3
@@ -39,7 +39,11 @@
 // #define _LOG_DATA_ACCESS
 #define QTTRACKCACHE_PAGE_SIZE	0x0000FFFF
 
-#define QT_MAX_SEEK_SKIPBACK_TIME_CLIENT	300000   // milliseconds
+#ifdef HELIX_FEATURE_MIN_HEAP
+#define QT_MAX_SEEK_SKIPBACK_TIME_CLIENT	20000   // milliseconds
+#else
+#define QT_MAX_SEEK_SKIPBACK_TIME_CLIENT	300000  // milliseconds
+#endif
 #define QT_MAX_SEEK_SKIPBACKAHEAD_RATIO_CLIENT	20
 #define QT_MAX_SEEK_SKIPBACK_TIME_SERVER	10000	// milliseconds
 #define QT_MAX_SEEK_SKIPBACKAHEAD_RATIO_SERVER	5	




More information about the Datatype-cvs mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.