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

List:       helix-video-cvs
Subject:    [Video-cvs] include diballoc.h,1.1.1.1.50.1,1.1.1.1.50.2
From:       pankajgupta () helixcommunity ! org
Date:       2004-07-26 8:56:09
[Download RAW message or body]

Update of /cvsroot/video/include
In directory cvs-new:/tmp/cvs-serv17904

Modified Files:
      Tag: hxclient_1_3_0_neptunex
	diballoc.h 
Log Message:
To remove dependency on Real Media files

Index: diballoc.h
===================================================================
RCS file: /cvsroot/video/include/diballoc.h,v
retrieving revision 1.1.1.1.50.1
retrieving revision 1.1.1.1.50.2
diff -u -d -r1.1.1.1.50.1 -r1.1.1.1.50.2
--- diballoc.h	9 Jul 2004 01:59:52 -0000	1.1.1.1.50.1
+++ diballoc.h	26 Jul 2004 08:56:07 -0000	1.1.1.1.50.2
@@ -1,8 +1,8 @@
 /* ***** BEGIN LICENSE BLOCK *****
  * Source last modified: $Id$
- * 
+ *
  * Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved.
- * 
+ *
  * The contents of this file, and the files included with this file,
  * are subject to the current version of the RealNetworks Public
  * Source License (the "RPSL") available at
@@ -16,7 +16,7 @@
  * to this file, the RCSL.  Please see the applicable RPSL or RCSL for
  * the rights, obligations and limitations governing use of the
  * contents of the file.
- * 
+ *
  * Alternatively, the contents of this file may be used under the
  * terms of the GNU General Public License Version 2 or later (the
  * "GPL") in which case the provisions of the GPL are applicable
@@ -28,23 +28,23 @@
  * the GPL. If you do not delete the provisions above, a recipient may
  * use your version of this file under the terms of any one of the
  * RPSL, the RCSL or the GPL.
- * 
+ *
  * This file is part of the Helix DNA Technology. RealNetworks is the
  * developer of the Original Code and owns the copyrights in the
  * portions it created.
- * 
+ *
  * This file, and the files included with this file, is distributed
  * and made available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY
  * KIND, EITHER EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS
  * ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES
  * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET
  * ENJOYMENT OR NON-INFRINGEMENT.
- * 
+ *
  * Technology Compatibility Kit Test Suite(s) Location:
  *    http://www.helixcommunity.org/content/tck
- * 
+ *
  * Contributor(s):
- * 
+ *
  * ***** END LICENSE BLOCK ***** */
 
 #ifndef __DIBALLOC_H_
@@ -59,49 +59,6 @@
 
 typedef HANDLE	HDIB;
 
-#ifdef _WIN32
-typedef struct tag_DIBDATA
-{
-    BITMAPINFOHEADER	bmiHeader;
-    RGBQUAD		bmiColors[256];
-    HANDLE		hMapping;
-    HBITMAP		hBitmap;
-    DIBSECTION		DibSection;
-} DIBDATA;
-
-///////////////////
-//	private functions
-
-class CHXImageSample : public CHXMemoryBlock
-{
-public:
-    CHXImageSample(CHXMemoryAllocator * pAllocator);
-    virtual BOOL		Allocate(ULONG32 uSize);
-    virtual void		Free();
-    void			SetDibData(DIBDATA* pDibData);
-    DIBDATA*			GetDibData();
-
-private:
-    BOOL m_bInitialized;
-    DIBDATA m_DibData;
-};
-
-class CHXDibSectionAllocator : public CHXMemoryAllocator
-{
-public:
-    CHXDibSectionAllocator(BOOL bThreadSafe=FALSE);
-    virtual ~CHXDibSectionAllocator();
-
-    UCHAR * 		GetPacketBuffer(IHXUnknown ** pPacketBuffer);
-    HX_RESULT		SetProperties(HX20ALLOCPROPS* pRequest, HX20ALLOCPROPS* pActual);
-    HX_RESULT		SetDibFormat(BITMAPINFO* pbi);
-    inline BITMAPINFO*	GetDibFormap() { return m_pbi;}
-
-private:
-    BITMAPINFO* m_pbi;
-
-};
-#endif /* _WIN32 */
 
 class CHXDIBits
 {
@@ -109,8 +66,8 @@
     CHXDIBits();
     virtual ~CHXDIBits();
 
-    HX_RESULT		GetDIBits(HDC			/* IN */	hDC, 
-				  HBITMAP		/* IN */	hBM, 
+    HX_RESULT		GetDIBits(HDC			/* IN */	hDC,
+				  HBITMAP		/* IN */	hBM,
 				  UCHAR*&		/* OUT */	pBits,
 				  BITMAPINFOHEADER*&	/* OUT */	pHeader);
 private:



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

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