1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../../../CSS/revolution.css">
9<title>pix-logic</title>
10</head>
11
12<body>
13
14<h1 align="left">pix-logic</h1>
15
16<h2>Description</h2>
17<P>This program shows the blend functions obtained with logic operations on the PE. The TV screen is divided into four subscreens. Each can display a different logic-op blend method.</P>
18
19<h2>Coverage</h2>
20<p>Logic-op blend function.</p>
21<TABLE border="1" cellpadding="3" cellspacing="0.1" width="640">
22  <tr>
23<TD width="30%" bgcolor="#C0C0C0"><em><strong>Functions</strong></em></TD>
24<TD width="25%" bgcolor="#C0C0C0"><em><strong>Parameters</strong></em></TD>
25<TD width="45%" bgcolor="#C0C0C0"><em><strong>Description</strong></em></TD>
26    </tr>
27  <tr>
28<TD width="30%" rowspan="4"><code><A href="../../../gx/PixelProc/GXSetBlendMode.html">GXSetBlendMode</A></code></TD>
29<TD width="25%"><SPAN class="argument">type</SPAN></TD>
30<TD width="45%"><CODE>GX_BM_LOGIC</CODE></TD>
31    </tr>
32  <tr>
33<TD width="25%"><SPAN class="argument">src_factor</SPAN></TD>
34<TD width="45%"><CODE>GX_BL_ONE</CODE> (<SPAN>ignored</SPAN>)</TD>
35    </tr>
36  <tr>
37<TD width="25%"><SPAN class="argument">dst_factor</SPAN></TD>
38<TD width="45%"><CODE>GX_BL_ZERO</CODE> (<SPAN>ignored</SPAN>)</TD>
39    </tr>
40  <tr>
41<TD width="25%"><SPAN class="argument">op</SPAN></TD>
42<TD width="45%"><SPAN>Can be changed interactively.</SPAN></TD>
43    </tr>
44</TABLE>
45
46<h2>Using the Demo</h2>
47<P>The A button toggles the list and magnify modes.<BR>The R button toggles the animation on and off.<BR>In catalog mode, the Control stick moves the cursor to select the subscreen.<BR>In zoom in mode, the Control stick moves the cursor to change the <SPAN class="argument">src_factor</SPAN> and <SPAN class="argument">dst_factor</SPAN> settings.</P>
48<P>PAUSE exits the test.</P>
49
50<h2>Snapshot</h2>
51<P>Logic operation modes of <CODE>CLEAR</CODE>, <CODE>SET</CODE>, <CODE>COPY</CODE> and <CODE>INVCOPY</CODE>.</P>
52<P><IMG src="./images/pix-logic-1.gif" alt="pix-logic-1.gif (9540 bytes)" width="642" height="482"></p>
53
54<P>Logic operation modes of <CODE>NOOP</CODE>, <CODE>INV</CODE>, <CODE>AND</CODE> and <CODE>NAND</CODE>.</P>
55<P><IMG src="./images/pix-logic-2.gif" alt="pix-logic-2.gif (9188 bytes)" width="642" height="482"></p>
56
57<P>Logic operation modes of <CODE>OR</CODE>, <CODE>NOR</CODE>, <CODE>XOR</CODE> and <CODE>EQUIV</CODE>.</P>
58<P><IMG src="./images/pix-logic-3.gif" alt="pix-logic-3.gif (12437 bytes)" width="642" height="482"></p>
59
60<p><CODE><strong>__SINGLEFRAME=4</strong></CODE></p>
61<p>Logic operation modes of <CODE>REVAND</CODE>, <CODE>INVAND</CODE>, <CODE>REVOR</CODE> and <CODE>INVOR</CODE>.</p>
62<P><IMG src="./images/pix-logic-4.gif" alt="pix-logic-4.gif (12573 bytes)" width="643" height="483"></p>
63
64<h2>Required Data Files</h2>
65<p>None.</p>
66
67<H2>Revision History</H2>
68<P>
692006/03/01 Initial version.<br>
70</P>
71
72<hr><p>CONFIDENTIAL</p></body>
73</html>