hi,
I have got a special used:my system is 4bit color depths,so I config the Qt 
depths 4. But the data in the frame buffer is like this: 
pix1(4bit),pix2(4bit),pix3(4bit),pix4(4bit),…………., pix1(4bit) and pix2(4bit) 
are put together into one byte , and pix1(4bit) take the high 4 bit position , 
pix2(4bit) take the low 4 bit position , so was pix3 and pixel4 , pixel5 and 
pixel6 ………………. . actually , I need the data order like this :
pix2(4bit),pix1(4bit),pix4(4bit),pix3(4bit),………… , pix1(4bit) and pix2(4bit) 
are put together into one byte , and pix2(4bit) take the high 4 bit position , 
pix1(4bit) take the low 4 bit position , so was pix4 and pixel3 , pixel6 and 
pixel5 ………………. . 
Is there a good way to deal with it ? 




Thanks & Regards,


****************************************************************************
Miao yu
Mobile:  +86-15951652750
Mail:       miaoy...@163.com
***************************************************************************** 
  
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to