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

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] mp4/fileformat qtatoms.cpp,1.13,1.14
From:       svaidhya () helixcommunity ! org
Date:       2009-08-27 23:53:47
Message-ID: 200908280103.n7S13Iwn001291 () mailer ! progressive-comp ! com
[Download RAW message or body]

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

Modified Files:
	qtatoms.cpp 
Log Message:
Synopsis
========

Branches:  SERVER_CURRENT
Reviewer(s): Jamie , ehyche


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

The changes in the CR take care of adding classes for the movie fragments

I have added classes and for the the following required fragments
'mvex', 'mehd', 'trex', 'moof', 'mfhd', 'traf', 'tfhd', 'trun'


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

./datatype/mp4/fileformat/qtatoms.cpp
./datatype/mp4/fileformat/pub/qtatoms.h


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

Integration Tests:
- Tested by playing a .mp4 file with movie fragments and verified if the
  appropriate classes are created
- Tested that this code dows not break the already existing code.
  Verified that 3gp and rm files play fine.

Leak Tests:
- None.

Performance Tests:
None.

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


Index: qtatoms.cpp
===================================================================
RCS file: /cvsroot/datatype/mp4/fileformat/qtatoms.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- qtatoms.cpp	16 Jul 2009 20:02:44 -0000	1.13
+++ qtatoms.cpp	27 Aug 2009 23:53:44 -0000	1.14
@@ -196,6 +196,25 @@
 // / <<--  end UNFINISHED code.
     ***/
 
+#ifdef QTCONFIG_FRAGMENTS
+    case QT_mvex:
+	return new CQT_mvex_Atom(ulOffset, ulSize, pParent);
+    case QT_trex:
+	return new CQT_trex_Atom(ulOffset, ulSize, pParent);
+    case QT_moof:
+	return new CQT_moof_Atom(ulOffset, ulSize, pParent);
+    case QT_mfhd:
+	return new CQT_mfhd_Atom(ulOffset, ulSize, pParent);
+    case QT_traf:
+	return new CQT_traf_Atom(ulOffset, ulSize, pParent);
+    case QT_tfhd:
+	return new CQT_tfhd_Atom(ulOffset, ulSize, pParent);
+    case QT_trun:
+	return new CQT_trun_Atom(ulOffset, ulSize, pParent);
+    case QT_mehd:
+	return new CQT_mehd_Atom(ulOffset, ulSize, pParent);
+#endif //QTCONFIG_FRAGMENTS
+
     default:
 	/* nothing to do */
 	break;


_______________________________________________
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