[Common-cvs] include hxdataf.h, 1.9.84.1, 1.9.84.2 hxpiids.h, 1.60.2.4.38.2, 1.60.2.4.38.3

[Common-cvs] include hxdataf.h, 1.9.84.1, 1.9.84.2 hxpiids.h, 1.60.2.4.38.2, 1.60.2.4.38.3

ching_li at helixcommunity.org ching_li at helixcommunity.org
Tue Jan 10 14:57:04 UTC 2012


Update of /cvsroot/common/include
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv32027

Modified Files:
      Tag: hxclient_3_6_1_atlas
	hxdataf.h hxpiids.h 
Log Message:
Modified by: qingli at realnetworks.com<mailto:qingli at realnetworks.com>
Date: 01/04/2012
Project: RealPlayer for Android Smartphones
Bug ID: 13995
Bug URL: https://bugs.helixcommunity.org/show_bug.cgi?id=13995

Synopsis: Support 64bit file system for TS file format

Overview: To support such feature, I changed the class CTSFileFormat, and added a new interface IHXDataFile64, and also changed class BufferedDataFile to implement the interface and the class CSimpleFileObject to invoke the new interface.
At the same time, Fixed a memory-leak issue of class MKVFileObject.

Files Added: None

Files Modified:
common/fileio/bufdataf.cpp
common/fileio/bufdataf.h
common/include/hxdataf.h
common/include/hxpiids.h
filesystem/local/full/smplfsys.cpp
filesystem/local/full/smplfsys.h
datatype/mpeg2ts/fileformat/tsfformat.cpp
datatype/mpeg2ts/fileformat/pub/tsfformat.h
datatype/mkv/fileformat/mkv_file_format.cpp

Image Size and Heap Use impact (Client -Only): None

Platforms and Profiles Affected:
Platform: android-3.1-arm-qsd_8x60
Profile: helix-client-android-full

Distribution Libraries Affected:None

Distribution library impact and planned action:None

Platforms and Profiles Build Verified:
Platform: android-3.1-arm-qsd_8x60
Profile: helix-client-android-full

Platforms and Profiles Functionality verified:
Platform: android-3.1-arm-qsd_8x60
Profile: helix-client-android-full

Branch: 361atlas

Copyright assignment: I am a RealNetworks employee or contractor

Best Regards!
                          Li Qing
--
RealNetworks China, Beijing Office
Tel: 008601059542848
Fax: 008601085656477
Address: 18th Floor,Tower B,Pacific Century Place,2A GongTiBeiLu,Chaoyang District,Beijing, China
Post Code: 100027


Index: hxpiids.h
===================================================================
RCS file: /cvsroot/common/include/hxpiids.h,v
retrieving revision 1.60.2.4.38.2
retrieving revision 1.60.2.4.38.3
diff -u -d -r1.60.2.4.38.2 -r1.60.2.4.38.3
--- hxpiids.h	20 Jun 2011 21:05:03 -0000	1.60.2.4.38.2
+++ hxpiids.h	10 Jan 2012 14:57:01 -0000	1.60.2.4.38.3
@@ -345,6 +345,9 @@
 
 DEFINE_GUID_ENUM(IID_IHXDataFileFactory,        0x00000F00, 0xb4c8, 0x11d0, 0x99, 0x95, 0x0, 0xa0, 0x24, 0x8d, 0xa5, 0xf0)
 DEFINE_GUID_ENUM(IID_IHXDataFile,               0x00000F01, 0xb4c8, 0x11d0, 0x99, 0x95, 0x0, 0xa0, 0x24, 0x8d, 0xa5, 0xf0)
+#ifdef HELIX_FEATURE_64_BIT_FILE_SUPPORT
+DEFINE_GUID_ENUM(IID_IHXDataFile64,             0x00000F01, 0xb4c8, 0x11d0, 0x99, 0x95, 0x0, 0xa0, 0x24, 0x8d, 0xa5, 0xf1)
+#endif
 DEFINE_GUID_ENUM(IID_IHXAsyncDataFile,          0x972bacc0, 0xaff, 0x11d7, 0xac, 0x45, 0x0, 0x1, 0x2, 0x51, 0xb3, 0x40)
 #ifdef _SYMBIAN
 DEFINE_GUID_ENUM(IID_IHXSymbFileSessionManager, 0x8a5c6080, 0xb16, 0x11d7, 0xac, 0x45, 0x0, 0x1, 0x2, 0x51, 0xb3, 0x40)

Index: hxdataf.h
===================================================================
RCS file: /cvsroot/common/include/hxdataf.h,v
retrieving revision 1.9.84.1
retrieving revision 1.9.84.2
diff -u -d -r1.9.84.1 -r1.9.84.2
--- hxdataf.h	16 Nov 2009 19:52:52 -0000	1.9.84.1
+++ hxdataf.h	10 Jan 2012 14:57:01 -0000	1.9.84.2
@@ -313,6 +313,32 @@
 					REF(IHXBuffer*) err) PURE;
 };
 
+#ifdef HELIX_FEATURE_64_BIT_FILE_SUPPORT
+DEFINE_GUID(IID_IHXDataFile64,		0x00000F01, 0xb4c8, 0x11d0, 0x99, 0x95, 
+					0x0, 0xa0, 0x24, 0x8d, 0xa5, 0xf1);
+#undef  INTERFACE
+#define INTERFACE   IHXDataFile64
+
+DECLARE_INTERFACE_(IHXDataFile64, IHXDataFile)
+{
+    /* Seek moves the current file position to the offset from the
+     * fromWhere specifier returns current position of file or -1 on
+     * error.
+     */
+    STDMETHOD(Seek64)			(THIS_
+					UINT64 offset, UINT16 fromWhere) PURE;
+
+    /* Tell returns the current file position in the file */
+    STDMETHOD_(UINT64, Tell64)		(THIS) PURE;
+
+    /*
+     * Return info about the data file such as permissions, time of creation
+     * size in bytes, etc.
+     */
+    STDMETHOD(Stat64)			(THIS_
+					struct stat64* buffer) PURE;
+};
+#endif
 
 /*
  * 




More information about the Common-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.