Git init
[profile/ivi/liboil.git] / doc / html / liboil-liboilfuncs-math8x8.html
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=UTF-8">
5 <title>Simple Arithmetic on Blocks</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
7 <link rel="home" href="index.html" title="Liboil Reference Manual">
8 <link rel="up" href="ch01.html" title="Liboil Stable API">
9 <link rel="prev" href="liboil-liboilfuncs-math.html" title="Simple Arithmetic">
10 <link rel="next" href="liboil-liboilfuncs-dct.html" title="liboilfuncs-dct">
11 <meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 <link rel="chapter" href="ch01.html" title="Liboil Stable API">
14 <link rel="chapter" href="ch02.html" title="Liboil Unstable API">
15 </head>
16 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
17 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
18 <tr valign="middle">
19 <td><a accesskey="p" href="liboil-liboilfuncs-math.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
20 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
21 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
22 <th width="100%" align="center">Liboil Reference Manual</th>
23 <td><a accesskey="n" href="liboil-liboilfuncs-dct.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
24 </tr>
25 <tr><td colspan="5" class="shortcuts">
26 <a href="#liboil-liboilfuncs-math8x8.synopsis" class="shortcut">Top</a>
27                  | 
28                 <a href="#liboil-liboilfuncs-math8x8.description" class="shortcut">Description</a>
29 </td></tr>
30 </table>
31 <div class="refentry" title="Simple Arithmetic on Blocks">
32 <a name="liboil-liboilfuncs-math8x8"></a><div class="titlepage"></div>
33 <div class="refnamediv"><table width="100%"><tr>
34 <td valign="top">
35 <h2><span class="refentrytitle"><a name="liboil-liboilfuncs-math8x8.top_of_page"></a>Simple Arithmetic on Blocks</span></h2>
36 <p>Simple Arithmetic on Blocks — Aritmetic operations on 8x8 blocks</p>
37 </td>
38 <td valign="top" align="right"></td>
39 </tr></table></div>
40 <div class="refsynopsisdiv" title="Synopsis">
41 <a name="liboil-liboilfuncs-math8x8.synopsis"></a><h2>Synopsis</h2>
42 <pre class="synopsis">
43 void                <a class="link" href="liboil-liboilfuncs-math8x8.html#oil-mult8x8-s16" title="oil_mult8x8_s16 ()">oil_mult8x8_s16</a>                     (<a
44 href="../cog/cog-cog-stdint.html#int16-t"
45 >int16_t</a> *d_8x8,
46                                                          const <a
47 href="../cog/cog-cog-stdint.html#int16-t"
48 >int16_t</a> *s1_8x8,
49                                                          const <a
50 href="../cog/cog-cog-stdint.html#int16-t"
51 >int16_t</a> *s2_8x8,
52                                                          int ds,
53                                                          int ss1,
54                                                          int ss2);
55 void                <a class="link" href="liboil-liboilfuncs-math8x8.html#oil-sad8x8-f64" title="oil_sad8x8_f64 ()">oil_sad8x8_f64</a>                      (double *d_8x8,
56                                                          int ds,
57                                                          const double *s1_8x8,
58                                                          int ss1,
59                                                          const double *s2_8x8,
60                                                          int ss2);
61 void                <a class="link" href="liboil-liboilfuncs-math8x8.html#oil-sad8x8-s16" title="oil_sad8x8_s16 ()">oil_sad8x8_s16</a>                      (<a
62 href="../cog/cog-cog-stdint.html#uint32-t"
63 >uint32_t</a> *d_8x8,
64                                                          int ds,
65                                                          const <a
66 href="../cog/cog-cog-stdint.html#int16-t"
67 >int16_t</a> *s1_8x8,
68                                                          int ss1,
69                                                          const <a
70 href="../cog/cog-cog-stdint.html#int16-t"
71 >int16_t</a> *s2_8x8,
72                                                          int ss2);
73 void                <a class="link" href="liboil-liboilfuncs-math8x8.html#oil-sad8x8-f64-2" title="oil_sad8x8_f64_2 ()">oil_sad8x8_f64_2</a>                    (double *d_1,
74                                                          const double *s1_8x8,
75                                                          int ss1,
76                                                          const double *s2_8x8,
77                                                          int ss2);
78 void                <a class="link" href="liboil-liboilfuncs-math8x8.html#oil-sad8x8-s16-2" title="oil_sad8x8_s16_2 ()">oil_sad8x8_s16_2</a>                    (<a
79 href="../cog/cog-cog-stdint.html#uint32-t"
80 >uint32_t</a> *d_1,
81                                                          const <a
82 href="../cog/cog-cog-stdint.html#int16-t"
83 >int16_t</a> *s1_8x8,
84                                                          int ss1,
85                                                          const <a
86 href="../cog/cog-cog-stdint.html#int16-t"
87 >int16_t</a> *s2_8x8,
88                                                          int ss2);
89 void                <a class="link" href="liboil-liboilfuncs-math8x8.html#oil-sad8x8-u8" title="oil_sad8x8_u8 ()">oil_sad8x8_u8</a>                       (<a
90 href="../cog/cog-cog-stdint.html#uint32-t"
91 >uint32_t</a> *d_1,
92                                                          const <a
93 href="../cog/cog-cog-stdint.html#uint8-t"
94 >uint8_t</a> *s1_8x8,
95                                                          int ss1,
96                                                          const <a
97 href="../cog/cog-cog-stdint.html#uint8-t"
98 >uint8_t</a> *s2_8x8,
99                                                          int ss2);
100 </pre>
101 </div>
102 <div class="refsect1" title="Description">
103 <a name="liboil-liboilfuncs-math8x8.description"></a><h2>Description</h2>
104 <p>
105 </p>
106 <p>
107 </p>
108 </div>
109 <div class="refsect1" title="Details">
110 <a name="liboil-liboilfuncs-math8x8.details"></a><h2>Details</h2>
111 <div class="refsect2" title="oil_mult8x8_s16 ()">
112 <a name="oil-mult8x8-s16"></a><h3>oil_mult8x8_s16 ()</h3>
113 <pre class="programlisting">void                oil_mult8x8_s16                     (<a
114 href="../cog/cog-cog-stdint.html#int16-t"
115 >int16_t</a> *d_8x8,
116                                                          const <a
117 href="../cog/cog-cog-stdint.html#int16-t"
118 >int16_t</a> *s1_8x8,
119                                                          const <a
120 href="../cog/cog-cog-stdint.html#int16-t"
121 >int16_t</a> *s2_8x8,
122                                                          int ds,
123                                                          int ss1,
124                                                          int ss2);</pre>
125 <p>
126 Multiplies each element in <em class="parameter"><code>s1_8x8</code></em> and <em class="parameter"><code>s2_8x8</code></em> and places the result
127 in <em class="parameter"><code>d_8x8</code></em>.</p>
128 <p>
129 </p>
130 <div class="variablelist"><table border="0">
131 <col align="left" valign="top">
132 <tbody>
133 <tr>
134 <td><p><span class="term"><em class="parameter"><code>d_8x8</code></em> :</span></p></td>
135 <td>
136 </td>
137 </tr>
138 <tr>
139 <td><p><span class="term"><em class="parameter"><code>s1_8x8</code></em> :</span></p></td>
140 <td>
141 </td>
142 </tr>
143 <tr>
144 <td><p><span class="term"><em class="parameter"><code>s2_8x8</code></em> :</span></p></td>
145 <td>
146 </td>
147 </tr>
148 <tr>
149 <td><p><span class="term"><em class="parameter"><code>ds</code></em> :</span></p></td>
150 <td>
151 </td>
152 </tr>
153 <tr>
154 <td><p><span class="term"><em class="parameter"><code>ss1</code></em> :</span></p></td>
155 <td>
156 </td>
157 </tr>
158 <tr>
159 <td><p><span class="term"><em class="parameter"><code>ss2</code></em> :</span></p></td>
160 <td>
161 </td>
162 </tr>
163 </tbody>
164 </table></div>
165 </div>
166 <hr>
167 <div class="refsect2" title="oil_sad8x8_f64 ()">
168 <a name="oil-sad8x8-f64"></a><h3>oil_sad8x8_f64 ()</h3>
169 <pre class="programlisting">void                oil_sad8x8_f64                      (double *d_8x8,
170                                                          int ds,
171                                                          const double *s1_8x8,
172                                                          int ss1,
173                                                          const double *s2_8x8,
174                                                          int ss2);</pre>
175 <p>
176 FIXME: This function is broken and has been replaced by
177 @<a class="link" href="liboil-liboilfuncs-math8x8.html#oil-sad8x8-f64-2" title="oil_sad8x8_f64_2 ()"><code class="function">oil_sad8x8_f64_2()</code></a> because the destination of this function
178 is an 8x8 block instead of a single value.</p>
179 <p>
180 </p>
181 <div class="variablelist"><table border="0">
182 <col align="left" valign="top">
183 <tbody>
184 <tr>
185 <td><p><span class="term"><em class="parameter"><code>d_8x8</code></em> :</span></p></td>
186 <td>
187 </td>
188 </tr>
189 <tr>
190 <td><p><span class="term"><em class="parameter"><code>ds</code></em> :</span></p></td>
191 <td>
192 </td>
193 </tr>
194 <tr>
195 <td><p><span class="term"><em class="parameter"><code>s1_8x8</code></em> :</span></p></td>
196 <td>
197 </td>
198 </tr>
199 <tr>
200 <td><p><span class="term"><em class="parameter"><code>ss1</code></em> :</span></p></td>
201 <td>
202 </td>
203 </tr>
204 <tr>
205 <td><p><span class="term"><em class="parameter"><code>s2_8x8</code></em> :</span></p></td>
206 <td>
207 </td>
208 </tr>
209 <tr>
210 <td><p><span class="term"><em class="parameter"><code>ss2</code></em> :</span></p></td>
211 <td>
212 </td>
213 </tr>
214 </tbody>
215 </table></div>
216 </div>
217 <hr>
218 <div class="refsect2" title="oil_sad8x8_s16 ()">
219 <a name="oil-sad8x8-s16"></a><h3>oil_sad8x8_s16 ()</h3>
220 <pre class="programlisting">void                oil_sad8x8_s16                      (<a
221 href="../cog/cog-cog-stdint.html#uint32-t"
222 >uint32_t</a> *d_8x8,
223                                                          int ds,
224                                                          const <a
225 href="../cog/cog-cog-stdint.html#int16-t"
226 >int16_t</a> *s1_8x8,
227                                                          int ss1,
228                                                          const <a
229 href="../cog/cog-cog-stdint.html#int16-t"
230 >int16_t</a> *s2_8x8,
231                                                          int ss2);</pre>
232 <p>
233 FIXME: This function is broken and has been replaced by
234 @<a class="link" href="liboil-liboilfuncs-math8x8.html#oil-sad8x8-s16-2" title="oil_sad8x8_s16_2 ()"><code class="function">oil_sad8x8_s16_2()</code></a> because the destination of this function
235 is an 8x8 block instead of a single value.</p>
236 <p>
237 </p>
238 <div class="variablelist"><table border="0">
239 <col align="left" valign="top">
240 <tbody>
241 <tr>
242 <td><p><span class="term"><em class="parameter"><code>d_8x8</code></em> :</span></p></td>
243 <td>
244 </td>
245 </tr>
246 <tr>
247 <td><p><span class="term"><em class="parameter"><code>ds</code></em> :</span></p></td>
248 <td>
249 </td>
250 </tr>
251 <tr>
252 <td><p><span class="term"><em class="parameter"><code>s1_8x8</code></em> :</span></p></td>
253 <td>
254 </td>
255 </tr>
256 <tr>
257 <td><p><span class="term"><em class="parameter"><code>ss1</code></em> :</span></p></td>
258 <td>
259 </td>
260 </tr>
261 <tr>
262 <td><p><span class="term"><em class="parameter"><code>s2_8x8</code></em> :</span></p></td>
263 <td>
264 </td>
265 </tr>
266 <tr>
267 <td><p><span class="term"><em class="parameter"><code>ss2</code></em> :</span></p></td>
268 <td>
269 </td>
270 </tr>
271 </tbody>
272 </table></div>
273 </div>
274 <hr>
275 <div class="refsect2" title="oil_sad8x8_f64_2 ()">
276 <a name="oil-sad8x8-f64-2"></a><h3>oil_sad8x8_f64_2 ()</h3>
277 <pre class="programlisting">void                oil_sad8x8_f64_2                    (double *d_1,
278                                                          const double *s1_8x8,
279                                                          int ss1,
280                                                          const double *s2_8x8,
281                                                          int ss2);</pre>
282 <p>
283 Calculates the sum of absolute differences between elements in <em class="parameter"><code>s1_8x8</code></em>
284 and <em class="parameter"><code>s2_8x8</code></em>, and places the result in <em class="parameter"><code>d_1</code></em>.</p>
285 <p>
286 </p>
287 <div class="variablelist"><table border="0">
288 <col align="left" valign="top">
289 <tbody>
290 <tr>
291 <td><p><span class="term"><em class="parameter"><code>d_1</code></em> :</span></p></td>
292 <td>
293 </td>
294 </tr>
295 <tr>
296 <td><p><span class="term"><em class="parameter"><code>s1_8x8</code></em> :</span></p></td>
297 <td>
298 </td>
299 </tr>
300 <tr>
301 <td><p><span class="term"><em class="parameter"><code>ss1</code></em> :</span></p></td>
302 <td>
303 </td>
304 </tr>
305 <tr>
306 <td><p><span class="term"><em class="parameter"><code>s2_8x8</code></em> :</span></p></td>
307 <td>
308 </td>
309 </tr>
310 <tr>
311 <td><p><span class="term"><em class="parameter"><code>ss2</code></em> :</span></p></td>
312 <td>
313 </td>
314 </tr>
315 </tbody>
316 </table></div>
317 </div>
318 <hr>
319 <div class="refsect2" title="oil_sad8x8_s16_2 ()">
320 <a name="oil-sad8x8-s16-2"></a><h3>oil_sad8x8_s16_2 ()</h3>
321 <pre class="programlisting">void                oil_sad8x8_s16_2                    (<a
322 href="../cog/cog-cog-stdint.html#uint32-t"
323 >uint32_t</a> *d_1,
324                                                          const <a
325 href="../cog/cog-cog-stdint.html#int16-t"
326 >int16_t</a> *s1_8x8,
327                                                          int ss1,
328                                                          const <a
329 href="../cog/cog-cog-stdint.html#int16-t"
330 >int16_t</a> *s2_8x8,
331                                                          int ss2);</pre>
332 <p>
333 Calculates the sum of absolute differences between elements in <em class="parameter"><code>s1_8x8</code></em>
334 and <em class="parameter"><code>s2_8x8</code></em>, and places the result in <em class="parameter"><code>d_1</code></em>.</p>
335 <p>
336 </p>
337 <div class="variablelist"><table border="0">
338 <col align="left" valign="top">
339 <tbody>
340 <tr>
341 <td><p><span class="term"><em class="parameter"><code>d_1</code></em> :</span></p></td>
342 <td>
343 </td>
344 </tr>
345 <tr>
346 <td><p><span class="term"><em class="parameter"><code>s1_8x8</code></em> :</span></p></td>
347 <td>
348 </td>
349 </tr>
350 <tr>
351 <td><p><span class="term"><em class="parameter"><code>ss1</code></em> :</span></p></td>
352 <td>
353 </td>
354 </tr>
355 <tr>
356 <td><p><span class="term"><em class="parameter"><code>s2_8x8</code></em> :</span></p></td>
357 <td>
358 </td>
359 </tr>
360 <tr>
361 <td><p><span class="term"><em class="parameter"><code>ss2</code></em> :</span></p></td>
362 <td>
363 </td>
364 </tr>
365 </tbody>
366 </table></div>
367 </div>
368 <hr>
369 <div class="refsect2" title="oil_sad8x8_u8 ()">
370 <a name="oil-sad8x8-u8"></a><h3>oil_sad8x8_u8 ()</h3>
371 <pre class="programlisting">void                oil_sad8x8_u8                       (<a
372 href="../cog/cog-cog-stdint.html#uint32-t"
373 >uint32_t</a> *d_1,
374                                                          const <a
375 href="../cog/cog-cog-stdint.html#uint8-t"
376 >uint8_t</a> *s1_8x8,
377                                                          int ss1,
378                                                          const <a
379 href="../cog/cog-cog-stdint.html#uint8-t"
380 >uint8_t</a> *s2_8x8,
381                                                          int ss2);</pre>
382 <p>
383 Calculates the sum of absolute differences between elements in <em class="parameter"><code>s1_8x8</code></em>
384 and <em class="parameter"><code>s2_8x8</code></em>, and places the result in <em class="parameter"><code>d_1</code></em>.</p>
385 <p>
386 </p>
387 <div class="variablelist"><table border="0">
388 <col align="left" valign="top">
389 <tbody>
390 <tr>
391 <td><p><span class="term"><em class="parameter"><code>d_1</code></em> :</span></p></td>
392 <td>
393 </td>
394 </tr>
395 <tr>
396 <td><p><span class="term"><em class="parameter"><code>s1_8x8</code></em> :</span></p></td>
397 <td>
398 </td>
399 </tr>
400 <tr>
401 <td><p><span class="term"><em class="parameter"><code>ss1</code></em> :</span></p></td>
402 <td>
403 </td>
404 </tr>
405 <tr>
406 <td><p><span class="term"><em class="parameter"><code>s2_8x8</code></em> :</span></p></td>
407 <td>
408 </td>
409 </tr>
410 <tr>
411 <td><p><span class="term"><em class="parameter"><code>ss2</code></em> :</span></p></td>
412 <td>
413 </td>
414 </tr>
415 </tbody>
416 </table></div>
417 </div>
418 </div>
419 </div>
420 <div class="footer">
421 <hr>
422           Generated by GTK-Doc V1.11</div>
423 </body>
424 </html>