List Info

Thread: CN-Client : Fix RGB565 mask in DirectX blitter.




CN-Client : Fix RGB565 mask in DirectX blitter.
user name
2006-12-14 09:41:51
Modified by: daudrainroundbox.com
Reviewed by: gwrightreal.com
Date: 12:01:2006
Project: video
Bug Number: 5465
Bug URL: 
https://bugs.helixcommunity.org/show_bug.cgi?id=5465

Synopsis:  The directx blitter was using 555 flags instead
of 565 ones.


Files Added: None

Files Modified:
video/sitelib/platform/win/ddblt.cpp


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

Platforms and Profiles Affected:  win32-i386-vc6

Distribution Libraries Affected: None

Distribution library impact and planned action: None

Platforms and Profiles Build Verified:
win32-i386-vc6 helix-client-all-defines with
HELIX_FEATURE_CC_RGB565out, 
HELIX_FEATURE_MINI_SITE, HELIX_FEATURE_OPTIMIZED_VIDEO
defined.

Platforms and Profiles Functionality verified:
win32-i386-vc6 helix-client-all-defines with
HELIX_FEATURE_CC_RGB565out, 
HELIX_FEATURE_MINI_SITE, HELIX_FEATURE_OPTIMIZED_VIDEO
defined.

Branch: head, hxclient_1_5_0_cayenne

Copyright assignment:
My company Roundbox Inc submits this code under the terms
of a commercial contribution agreement with RealNetworks,
and I am authorized to contribute this code under said
agreement.

QA Instructions:

-- 
David Audrain
Software Engineer

Roundbox
9 rue de conde
4 eme Etage
33270 Bordeaux
FRANCE
www.roundbox.com

T: +33 556.001.250
F: +33 556.442.351

E: daudrainroundbox.com
Yahoo: daudrain33
Skype: daudrain33

Index: ddblt.cpp
============================================================
=======
RCS file: /cvsroot/video/sitelib/platform/win/ddblt.cpp,v
retrieving revision 1.5
diff -u -w -r1.5 ddblt.cpp
--- ddblt.cpp	9 Jul 2004 18:35:26 -0000	1.5
+++ ddblt.cpp	12 Dec 2006 11:35:28 -0000
 -234,8
+234,8 
     bbp[nOutputTypes] = 16;
     cid[nOutputTypes] = CID_RGB565;
 
-    rbm[nOutputTypes] = 0x7C00;
-    gbm[nOutputTypes] = 0x03E0;
+    rbm[nOutputTypes] = 0xF800;
+    gbm[nOutputTypes] = 0x07E0;
     bbm[nOutputTypes] = 0x001F;
     flags[nOutputTypes] = DDPF_RGB;
 
Index: ddblt.cpp
============================================================
=======
RCS file: /cvsroot/video/sitelib/platform/win/ddblt.cpp,v
retrieving revision 1.6
diff -u -w -r1.6 ddblt.cpp
--- ddblt.cpp	5 May 2006 19:15:07 -0000	1.6
+++ ddblt.cpp	14 Dec 2006 09:33:40 -0000
 -237,8
+237,8 
     bbp[nOutputTypes] = 16;
     cid[nOutputTypes] = CID_RGB565;
 
-    rbm[nOutputTypes] = 0x7C00;
-    gbm[nOutputTypes] = 0x03E0;
+    rbm[nOutputTypes] = 0xF800;
+    gbm[nOutputTypes] = 0x07E0;
     bbm[nOutputTypes] = 0x001F;
     flags[nOutputTypes] = DDPF_RGB;
 
_______________________________________________
Video-dev mailing list
Video-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/video
-dev
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )