RGB:一个像素由红色(RED)、绿色(GREEN)、蓝色(BLUE)三元色顺序存放。每种元色占用一字节(Btye)。一个像素总共占用3字节(Byte),24比特(Bit)。
其它表示方法:RGB24、RGB888
根据RGB存放位置组合,还有BGR(蓝色、绿色、红色)序顺存放
RGBA:是在RGB的基础上增加一个透明度(Alpha)。总共4字节(Byte)共32比特(Bit)。其它...
分类:
其他好文 时间:
2014-10-22 10:06:06
阅读次数:
152
Petya and PipesTime Limit: 1000msMemory Limit: 262144KBThis problem will be judged onCodeForces. Original ID:362E64-bit integer IO format:%I64d Java c...
分类:
其他好文 时间:
2014-10-22 00:40:20
阅读次数:
218
#include
void display(void)
{
glClear(GL_COLOR_BUFFER_BIT); // 清除颜色缓冲以及深度缓冲
glColor3f(1.0, 1.0, 1.0);
glBegin(GL_POLYGON); // 绘画开始话多边形
/*glVertex3f(0.25, 0.25, 0.0);
glVertex3f(0.75, 0.25, 0...
分类:
其他好文 时间:
2014-10-21 21:31:25
阅读次数:
179
拿到这块板子已经有一个多月了,处理器是三星公司的S5PV210AH-A0,主频最高可达1GHz,ARM CortexTM-A8内核,v7精简指令集,512MB DDR2 RAM,4GB 8-bit eMMC,这配置是相当高了。配备7寸的LCD显示屏,外部接口有17路外部中断GPIO,4路ADC,.....
分类:
其他好文 时间:
2014-10-21 21:22:16
阅读次数:
204
Divide GroupsTime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:475164-bit integer IO format:%I64d Java class name:...
分类:
其他好文 时间:
2014-10-21 21:09:56
阅读次数:
230
__m128i被称为128bits的整数,当我们对其赋值时,调用__m128i_mm_set1_epi32(int i)Sets the four signed 32-bit integer values toi.R0R1R2R3iiii则会有上面的效果,__m128i类型的值会被分为4部分,且这里...
分类:
其他好文 时间:
2014-10-21 15:09:13
阅读次数:
202
控制台错误如下:java.lang.UnsatisfiedLinkError: D:\apache-tomcat-7.0.56\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform at java.lang...
分类:
其他好文 时间:
2014-10-21 13:48:32
阅读次数:
238
程序流程图代码#include#define uchar unsigned charsbit dula=P2^6;sbit wela=P2^7;sbit jia_key=P3^6;sbit jian_key=P3^7;sbit zf_key=P3^5;bit flag=0;uchar num = 0...
分类:
其他好文 时间:
2014-10-21 11:36:11
阅读次数:
248
Unicode字符串字符串还有一个编码问题。因为计算机只能处理数字,如果要处理文本,就必须先把文本转换为数字才能处理。最早的计算机在设计时采用8个比特(bit)作为一个字节(byte),所以,一个字节能表示的最大的整数就是255(二进制11111111=十进制255),0 - 255被用来表示大小写...
分类:
编程语言 时间:
2014-10-21 03:31:17
阅读次数:
266
题目链接
Problem A: The Monocycle
A monocycle is a cycle that runs on one wheel and the one we will be considering is a bit more special. It has a solid wheel...
分类:
其他好文 时间:
2014-10-20 23:20:06
阅读次数:
309