123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
- <title>PowerVR SDK</title>
- <link href="doxygen.css" rel="stylesheet" type="text/css">
- <link href="tabs.css" rel="stylesheet" type="text/css">
- <table width="100%">
- <tr>
- <td width="33%">
- <p align="left"> <a href="http://www.imgtec.com"><img border="0" src="IMGLogo.jpg" width="200" height="30"></a></p>
- </td>
- <td width="33%">
- <p align="center"><font color="#808080" face="Arial" size="2">PowerVR Software Development Kit</a></font></p>
- </td>
- <td width="34%">
- <p align="right"><a href="http://www.powervr.com"><img border="0" src="PVRlogo.jpg" width="200" height="27"></a></p>
- </td>
- </tr>
- </table>
- <hr>
- </head><body>
- <!-- Generated by Doxygen 1.3.6 -->
- <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
- <h1>PVRShell.cpp File Reference</h1><code>#include <stdio.h></code><br>
- <code>#include <stdlib.h></code><br>
- <code>#include <string.h></code><br>
- <code>#include <stdarg.h></code><br>
- <code>#include "<a class="el" href="PVRShell_8h-source.html">PVRShell.h</a>"</code><br>
- <code>#include "<a class="el" href="PVRShellOS_8h-source.html">PVRShellOS.h</a>"</code><br>
- <code>#include "<a class="el" href="PVRShellAPI_8h-source.html">PVRShellAPI.h</a>"</code><br>
- <code>#include "<a class="el" href="PVRShellImpl_8h-source.html">PVRShellImpl.h</a>"</code><br>
- <code>#include "../Builds/sdkver.h"</code><br>
- <p>
- Include dependency graph for PVRShell.cpp:<p><center><img src="PVRShell_8cpp__incl.png" border="0" usemap="#PVRShell.cpp_map" alt="Include dependency graph"></center>
- <map name="PVRShell.cpp_map">
- <area href="PVRShell_8h.html" shape="rect" coords="143,81,233,108" alt="">
- <area href="PVRShellOS_8h.html" shape="rect" coords="441,81,551,108" alt="">
- <area href="PVRShellAPI_8h.html" shape="rect" coords="575,81,687,108" alt="">
- <area href="PVRShellImpl_8h.html" shape="rect" coords="711,81,828,108" alt="">
- </map>
- <table border=0 cellpadding=0 cellspacing=0>
- <tr><td></td></tr>
- <tr><td colspan=2><br><h2>Defines</h2></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8cpp.html#a0">PVRSHELL_QUIT_AFTER_FRAME</a> -1</td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8cpp.html#a1">PVRSHELL_QUIT_AFTER_TIME</a> -1</td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8cpp.html#a2">PVRSHELL_SCREENSHOT_NAME</a> "PVRShell"</td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8cpp.html#a3">ByteSwap</a>(x) PVRShellByteSwap((unsigned char*) &x, sizeof(x))</td></tr>
- <tr><td colspan=2><br><h2>Functions</h2></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8cpp.html#a7">PVRShellByteSwap</a> (unsigned char *pBytes, int i32ByteNo)</td></tr>
- <tr><td colspan=2><br><h2>Variables</h2></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>const int </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8cpp.html#a4">g_i32BMPHeaderSize</a> = 14</td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>const int </td><td class="memItemRight" valign=bottom><a class="el" href="PVRShell_8cpp.html#a5">g_i32BMPInfoSize</a> = 40</td></tr>
- </table>
- <hr><h2>Define Documentation</h2>
- <a class="anchor" name="a3" doxytag="PVRShell.cpp::ByteSwap" ></a><p>
- <br><br><h3>ByteSwap</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> #define ByteSwap</td>
- <td class="md" valign="top">( </td>
- <td class="md" nowrap valign="top">x </td>
- <td class="mdname1" valign="top" nowrap> </td>
- <td class="md" valign="top"> ) </td>
- <td class="md" nowrap> PVRShellByteSwap((unsigned char*) &x, sizeof(x))
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- </td>
- </tr>
- </table>
- <a class="anchor" name="a0" doxytag="PVRShell.cpp::PVRSHELL_QUIT_AFTER_FRAME" ></a><p>
- <br><br><h3>PVRSHELL_QUIT_AFTER_FRAME</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> #define PVRSHELL_QUIT_AFTER_FRAME -1
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Define to automatically stop the app after x frames. If negative, run forever. </td>
- </tr>
- </table>
- <a class="anchor" name="a1" doxytag="PVRShell.cpp::PVRSHELL_QUIT_AFTER_TIME" ></a><p>
- <br><br><h3>PVRSHELL_QUIT_AFTER_TIME</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> #define PVRSHELL_QUIT_AFTER_TIME -1
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Define to automatically stop the app after x amount of seconds. If negative, run forever. </td>
- </tr>
- </table>
- <a class="anchor" name="a2" doxytag="PVRShell.cpp::PVRSHELL_SCREENSHOT_NAME" ></a><p>
- <br><br><h3>PVRSHELL_SCREENSHOT_NAME</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> #define PVRSHELL_SCREENSHOT_NAME "PVRShell"
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Define for the screen shot file name. </td>
- </tr>
- </table>
- <hr><h2>Function Documentation</h2>
- <a class="anchor" name="a7" doxytag="PVRShell.cpp::PVRShellByteSwap" ></a><p>
- <br><br><h3>PVRShellByteSwap</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> void PVRShellByteSwap </td>
- <td class="md" valign="top">( </td>
- <td class="md" nowrap valign="top">unsigned char * </td>
- <td class="mdname" nowrap> <em>pBytes</em>, </td>
- </tr>
- <tr>
- <td class="md" nowrap align="right"></td>
- <td></td>
- <td class="md" nowrap>int </td>
- <td class="mdname" nowrap> <em>i32ByteNo</em></td>
- </tr>
- <tr>
- <td></td>
- <td class="md">) </td>
- <td class="md" colspan="2"><code> [inline]</code></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- <dl compact><dt><b>Inputs:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign=top><em>pBytes</em> </td><td>The bytes to swap </td></tr>
- <tr><td valign=top><em>i32ByteNo</em> </td><td>The number of bytes to swap </td></tr>
- </table>
- </dl>
- <dl compact><dt><b>Description:</b></dt><dd>Swaps the bytes in pBytes from little to big endian (or vice versa) </dd></dl>
- </td>
- </tr>
- </table>
- <hr><h2>Variable Documentation</h2>
- <a class="anchor" name="a4" doxytag="PVRShell.cpp::g_i32BMPHeaderSize" ></a><p>
- <br><br><h3>g_i32BMPHeaderSize</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> const int <a class="el" href="PVRShell_8cpp.html#a4">g_i32BMPHeaderSize</a> = 14
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- The size of a BMP header </td>
- </tr>
- </table>
- <a class="anchor" name="a5" doxytag="PVRShell.cpp::g_i32BMPInfoSize" ></a><p>
- <br><br><h3>g_i32BMPInfoSize</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> const int <a class="el" href="PVRShell_8cpp.html#a5">g_i32BMPInfoSize</a> = 40
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- The size of a BMP info header </td>
- </tr>
- </table>
- <br>
- <br>
- <P align=left><FONT size=2><STRONG><A
- href="http://www.imgtec.com/powervr/insider/legal/index.asp">Copyright</A> ©
- 1999-2008, Imagination Technologies Ltd.</STRONG></FONT></P>
- <hr>
- <address style="align: left;"><small><FONT color=f0f>
- Generated by <a href="http://www.doxygen.org/index.html">DOXYGEN</a> 1.3.6</small></address>
- </body>
- </html>
|