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

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] tools/dtdriver/decoder/video vdecoder.cpp, 1.16.2.5,
From:       hychoi () helixcommunity ! org
Date:       2008-08-26 6:41:52
Message-ID: 200808260645.m7Q6jmfV032420 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/datatype/tools/dtdriver/decoder/video
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv1660

Modified Files:
      Tag: hxclient_3_1_0_atlas
	vdecoder.cpp 
Log Message:
1. BITMAPINFO -> HXBitmapInfo 
2. divide the case whether it is WIN32 or not
    #ifdef _WIN32
         MakeBitmap((LPBITMAPINFO)&btmInfo, sizeof(HXBitmapInfo), m_ulColorFormatOut, \
pHeader->biWidth, pHeader->biHeight, NULL, NULL);  #else
         MakeBitmap(&btmInfo, sizeof(HXBitmapInfo), m_ulColorFormatOut, \
pHeader->biWidth, pHeader->biHeight, NULL, NULL);  #endif


Index: vdecoder.cpp
===================================================================
RCS file: /cvsroot/datatype/tools/dtdriver/decoder/video/vdecoder.cpp,v
retrieving revision 1.16.2.5
retrieving revision 1.16.2.6
diff -u -d -r1.16.2.5 -r1.16.2.6
--- vdecoder.cpp	25 Aug 2008 08:07:45 -0000	1.16.2.5
+++ vdecoder.cpp	26 Aug 2008 06:41:49 -0000	1.16.2.6
@@ -670,8 +670,12 @@
 				{
 					memcpy(&m_cNewHeader, pHeader, sizeof(HXBitmapInfoHeader));
 
-					BITMAPINFO btmInfo;
-					MakeBitmap((LPBITMAPINFO) &btmInfo, sizeof(BITMAPINFO), m_ulColorFormatOut, \
pHeader->biWidth, pHeader->biHeight, NULL, NULL); +					HXBitmapInfo btmInfo;
+					#ifdef _WIN32
+						MakeBitmap((LPBITMAPINFO)&btmInfo, sizeof(HXBitmapInfo), m_ulColorFormatOut, \
pHeader->biWidth, pHeader->biHeight, NULL, NULL); +					#else
+						MakeBitmap(&btmInfo, sizeof(HXBitmapInfo), m_ulColorFormatOut, \
pHeader->biWidth, pHeader->biHeight, NULL, NULL); +					#endif
 
 					m_cNewHeader.biWidth		= btmInfo.bmiHeader.biWidth;
 					m_cNewHeader.biHeight		= btmInfo.bmiHeader.biHeight;


_______________________________________________
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