1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="Microsoft FrontPage 5.0">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../../../CSS/revolution.css">
8<TITLE>frb-gamma</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">frb-gamma</H1>
12
13<H2>Description</H2>
14<P>This program tests the gamma correction mode. You can check some test patterns to see the effects of gamma correction. You can also see the difference in pixel formats (8-bit / 6-bit) and the effect of dithering.</P>
15<H2>Coverage</H2>
16<TABLE border="1" cellpadding="3" cellspacing="0.1" width="640">
17  <TBODY>
18    <TR>
19<TD bgcolor="#C0C0C0" width="30%"><EM><STRONG>Functions</STRONG></EM></TD>
20<TD bgcolor="#C0C0C0" width="25%"><EM><STRONG>Parameters</STRONG></EM></TD>
21<TD bgcolor="#C0C0C0" width="45%"><EM><STRONG>Description</STRONG></EM></TD>
22    </TR>
23    <TR>
24<TD width="30%"><A href="../../../gx/Framebuffer/GXSetDispCopyGamma.html"><CODE>GXSetDispCopyGamma</CODE></A></TD>
25<TD width="25%"><FONT face="Courier New"><EM><STRONG>Gamma mode</STRONG></EM></FONT></TD>
26<TD width="45%"><font face="Courier New">GX_GM_1_0</font>, <font face="Courier New">GX_GM_1_7</font>, <font face="Courier New">GX_GM_2_2</font>.</TD>
27    </TR>
28    <TR>
29<TD rowspan="2" width="30%"><A href="../../../gx/PixelProc/GXSetPixelFmt.html"><CODE>GXSetPixelFmt</CODE></A></TD>
30<TD width="25%"><FONT face="Courier New"><EM><STRONG>Pixel mode</STRONG></EM></FONT></TD>
31<TD width="45%"><font face="Courier New">GX_PF_RGB8_Z24</font>, <font face="Courier New">GX_PF_RGBA6_Z24</font>.</TD>
32    </TR>
33    <TR>
34<TD width="25%"><FONT face="Courier New"><EM><STRONG>Z format</STRONG></EM></FONT></TD>
35<TD width="45%"><FONT face="Courier New">GX_ZC_LINEAR</FONT></TD>
36    </TR>
37    <TR>
38<TD width="30%"><A href="../../../gx/PixelProc/GXSetDither.html"><CODE>GXSetDither</CODE></A></TD>
39<TD width="25%"><FONT face="Courier New"><EM><STRONG>Dithering mode</STRONG></EM></FONT></TD>
40<TD width="45%"><font face="Courier New">GX_ENABLE</font> / <font face="Courier New">GX_DISABLE</font>.</TD>
41    </TR>
42  </TBODY>
43</TABLE>
44<H2>Operation Method</H2>
45<P>The Menu button exits the test.<br> The A Button changes the displayed sample pattern.<br> The B Button changes the gamma setting.<br> The X Button changes the frame buffer pixel mode (RGB8, RGBA6, or RGBA6 with dither).</P>
46<H2>Snapshot</H2>
47<P>Sample pattern #1 - gradation color bars.</P>
48<P><IMG src="./images/frb-gamma-0.jpg" alt="frb-gamma-0.jpg (6814 bytes)" width="640" height="448"></P>
49<P>Sample pattern #2 - gamma adjustment picture.</P>
50<P><IMG src="./images/frb-gamma-1.jpg" alt="frb-gamma-1.jpg (20694 bytes)" width="640" height="448"></P>
51<P>Sample pattern #3 - an image.</P>
52<P><IMG src="./images/frb-gamma-2.jpg" alt="frb-gamma-2.jpg (32484 bytes)" width="640" height="448"></P>
53<P>Sample pattern #4 - colored rings.</P>
54<P><IMG src="./images/frb-gamma-3.jpg" alt="frb-gamma-3.jpg (15197 bytes)" width="640" height="448"></P>
55<H2>Required Data Files</H2>
56<P><FONT face="Courier New">$REVOLUTION_SDK_ROOT/dvddata/gxTests/frb-00.tpl</FONT></P>
57<H2>Revision History</H2>
58<P>2006/03/01 Initial version.</P>
59<hr>
60<P>CONFIDENTIAL</p>
61</BODY>
62</HTML>