802BT/802R Video Test Generator User Guide
139
// states 0 to 2 are specific for QuantumData
switch (state)
{
// pixel 1
case 0:
pixelvalue=seed;
state++;
#ifdef RGB_TEST
return (0xff0000); // red
#else
return(0);
#endif
break;
// pixel 2
case 1:
temp=((0x007<<7) | (( seed &0x7f000000)>>24)) & 0xffffff;
state++;
#ifdef RGB_TEST
return (0x00ff00); // green
#else
return(temp);
#endif
break;
// pixel 3
case 2:
temp=seed &0x00ffffff;
state++;
#ifdef RGB_TEST
return (0x0000ff); // blue
#else
return(temp);
#endif
break;
default:
pixelvalue= ((pixelvalue & 0x7f)<<24) | ( ((pixelvalue>>4)
& 0xffffff) ^ ((pixelvalue>>7) & 0xffffff) );
#ifdef RGB_TEST
return (0x0); // blank
#else
return(pixelvalue & 0xffffff);
#endif
break;
break;
}
Summary of Contents for 802BT
Page 1: ...802BT 802R Video Test Generator User Guide ...
Page 52: ...42 Chapter 2 Testing Video Displays ...
Page 62: ...52 Chapter 3 Administrative Tasks ...
Page 118: ...108 Chapter 7 Using GPIB Interface ...
Page 194: ...184 Chapter 10 Testing EDID ...
Page 204: ...194 Chapter 11 Testing HDCP ...
Page 214: ...204 Appendix A Command Reference Commands by name ...
Page 595: ...Video Test Generator User Guide 585 ...
Page 611: ...Video Test Generator User Guide 601 ...
Page 612: ...602 Appendix A Command Reference ...
Page 716: ...706 Appendix B Image Reference ...
Page 744: ...734 Appendix C Error Messages ...