summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer_v1.0/doc/html/events_8hcc.html
blob: b6a48701ee7a36726d91dcff0f634773543b65f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<!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>Graphic Equalizer 2: C:/Project  Marcel &amp; Oliver/Graphic_Equalizer/src/events.hcc File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">C:</a>&nbsp;/&nbsp;<a class="el" href="dir_000001.html">Project  Marcel &amp; Oliver</a>&nbsp;/&nbsp;<a class="el" href="dir_000002.html">Graphic_Equalizer</a>&nbsp;/&nbsp;<a class="el" href="dir_000004.html">src</a></div>
<h1>events.hcc File Reference</h1><code>#include &lt;stdlib.hch&gt;</code><br>
<code>#include "pal_master.hch"</code><br>
<code>#include "<a class="el" href="configuration_8hch-source.html">configuration.hch</a>"</code><br>
<code>#include "<a class="el" href="eventhandler__shared_8hch-source.html">eventhandler_shared.hch</a>"</code><br>
<code>#include "<a class="el" href="events_8hch-source.html">events.hch</a>"</code><br>
<code>#include "presets_hardcoded.txt"</code><br>

<p>
Include dependency graph for events.hcc:<p><center><img src="events_8hcc__incl.png" border="0" usemap="#events.hcc_map" alt="Include dependency graph"></center>
<map name="events.hcc_map">
<area href="configuration_8hch.html" shape="rect" coords="245,7,370,34" alt="">
<area href="eventhandler__shared_8hch.html" shape="rect" coords="394,7,568,34" alt="">
<area href="events_8hch.html" shape="rect" coords="592,7,677,34" alt="">
</map>

<p>
<a href="events_8hcc-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="events_8hcc.html#a3">load_preset</a> (unsigned 10 preset, unsigned 4 *equalizer_levels_ptr)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function loads 768 4bits presets into the equalizer_levels array pointed to by equalizer_levels.  <a href="#a3"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">ram unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="events_8hcc.html#a0">presets_default_values</a> [768]</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">ram unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="events_8hcc.html#a1">equalizer_table</a> [640] = {15, 15, 15, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 8, 8, 8, 8, 7, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0, 0}</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">ram unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="events_8hcc.html#a2">equalizer_table_inv</a> [16] = {446, 444, 440, 436, 432, 428, 424, 420, 416, 412, 408, 404, 400, 396, 392, 384}</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h2><a class="anchor" name="generic">
Graphic Equalizer API</a></h2>
that need to be performed.<h2><a class="anchor" name="project">
Project information.</a></h2>
Project Graphic Equalizer<br>
 <dl compact><dt><b>Author:</b></dt><dd>O.M. Schinagl </dd></dl>
<dl compact><dt><b>Date:</b></dt><dd>20041710 </dd></dl>
<dl compact><dt><b>Version:</b></dt><dd>0.1</dd></dl>
<h2><a class="anchor" name="copyright">
Copyright</a></h2>
Copyright ©2004 Koninklijke Philips Electronics N.V. All rights reserved<h2><a class="anchor" name="history">
Change history</a></h2>
20041710: O.M. Schinagl<br>
 Initial version
<p>
Definition in file <a class="el" href="events_8hcc-source.html">events.hcc</a>.<hr><h2>Function Documentation</h2>
<a class="anchor" name="a3" doxytag="events.hcc::load_preset"></a><p>
<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 load_preset           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">unsigned 10&nbsp;</td>
          <td class="mdname" nowrap> <em>preset</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>unsigned 4 *&nbsp;</td>
          <td class="mdname" nowrap> <em>equalizer_levels_ptr</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function loads 768 4bits presets into the equalizer_levels array pointed to by equalizer_levels. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>*equalizer_levels</em>&nbsp;</td><td>Location where to store presets loaded from blockram.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl>
<dl compact><dt><b>Return values:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>void</em>&nbsp;</td><td></td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="events_8hcc-source.html#l00053">53</a> of file <a class="el" href="events_8hcc-source.html">events.hcc</a>.
<p>
References <a class="el" href="events_8hcc-source.html#l00037">presets_default_values</a>.
<p>
Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>.    </td>
  </tr>
</table>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="a0" doxytag="events.hcc::presets_default_values"></a><p>
<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">ram unsigned <a class="el" href="events_8hcc.html#a0">presets_default_values</a>[768]          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<b>Initial value:</b><div class="fragment"><pre class="fragment"> {

}
</pre></div>
<p>
Definition at line <a class="el" href="events_8hcc-source.html#l00037">37</a> of file <a class="el" href="events_8hcc-source.html">events.hcc</a>.
<p>
Referenced by <a class="el" href="events_8hcc-source.html#l00053">load_preset()</a>, and <a class="el" href="smartmedia_8hcc-source.html#l00072">smartmedia_loaddata()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a1" doxytag="events.hcc::equalizer_table"></a><p>
<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">ram unsigned <a class="el" href="events_8hcc.html#a1">equalizer_table</a>[640] = {15, 15, 15, 15, 15, 14, 14, 14, 14, 13, 13, 13, 13, 12, 12, 12, 12, 11, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 9, 8, 8, 8, 8, 7, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0, 0}          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="events_8hcc-source.html#l00075">75</a> of file <a class="el" href="events_8hcc-source.html">events.hcc</a>.
<p>
Referenced by <a class="el" href="eventhandler_8hcc-source.html#l00059">eventhandler_main()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a2" doxytag="events.hcc::equalizer_table_inv"></a><p>
<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">ram unsigned <a class="el" href="events_8hcc.html#a2">equalizer_table_inv</a>[16] = {446, 444, 440, 436, 432, 428, 424, 420, 416, 412, 408, 404, 400, 396, 392, 384}          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="events_8hcc-source.html#l00076">76</a> of file <a class="el" href="events_8hcc-source.html">events.hcc</a>.
<p>
Referenced by <a class="el" href="display_8hcc-source.html#l00328">reload_equalizer()</a>.    </td>
  </tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:37:08 2004 for Graphic Equalizer 2 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>
</html>