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

List:       helix-protocol-cvs
Subject:    [Protocol-cvs] common/util/pub altgrputil.h,1.5,1.6
From:       svaidhya () helixcommunity ! org
Date:       2009-02-02 17:20:39
Message-ID: 200902021724.n12HO2xa016119 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/protocol/common/util/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv8305

Modified Files:
	altgrputil.h 
Log Message:
Synopsis
========

Add Bandwidth Partitioning while forming ASMRuleBook

Branches:  SERVER_CURRENT, SERVER_12_1
Suggested Reviewer(s): Jamie

Description
===========

- While forming ASMRulebook for each switchgroup, the streams have to be in
  order of increasing AvgBitRate.
- Sorted the streams based on AvgBitRate and then formed ASMRuleBooks.
  The sorting is done on newly created streamheaders(and not the ones originally
  passed to the function) because we need to maintain retain the position of each
  stream in the array(IHXValues** ppHeaders), as in qtbcpln in a lot of places
  the stream number is used as an index to the StreamHeaders array. Messing with
  the location will hence be a problem.


Files Affected
==========

/protocol/common/util/altgrputil.cpp
/protocol/common/util/pub/altgrputil.h


Testing Performed
=================
Unit Tests:
None.

Integration Tests:
- Tested multirate streams with server/proxy

COMMENT: Client fails to stream the live feed if the streams in the same s/w group \
                have same
         AvgBitRate. But works for other scenarios. Looking into the problem.

Leak Tests:
Not yet.

Performance Tests:
None.

Platforms Tested: win32-i386-vc7
Build verified: linux-rhel4-i686, win32-i386-vc7 



Index: altgrputil.h
===================================================================
RCS file: /cvsroot/protocol/common/util/pub/altgrputil.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- altgrputil.h	30 Jan 2009 00:43:25 -0000	1.5
+++ altgrputil.h	2 Feb 2009 17:20:36 -0000	1.6
@@ -76,6 +76,9 @@
         static HX_RESULT SetTrackID(UINT16 nValues, REF(IHXValues**) ppValues,REF \
(IHXValues*) pFileHeader);  static HX_RESULT CreateASMRuleBook(IHXCommonClassFactory* \
pCCF,  UINT16 nValues, REF(IHXValues**) ppValues);
+        static HX_RESULT SortStreams ( REF(IHXValues**) ppHdrs, UINT32 nVal);
+        static HX_RESULT AddASMRuleBook(REF(IHXValues**) ppHdrs, UINT32 nVal, \
IHXCommonClassFactory* pCCF); +
 private:
     static HX_RESULT AddLanguageFilter(CHXAltGroupSelector& selector,
                                        const char* pLanguages);


_______________________________________________
Protocol-cvs mailing list
Protocol-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/protocol-cvs


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

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