-
Notifications
You must be signed in to change notification settings - Fork 0
/
classrr_1_1_buffer.html
562 lines (523 loc) · 27.5 KB
/
classrr_1_1_buffer.html
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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libcudaisp: rr::Buffer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">libcudaisp
 <span id="projectnumber">0.1.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacerr.html">rr</a></li><li class="navelem"><a class="el" href="classrr_1_1_buffer.html">Buffer</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-attribs">Static Public Attributes</a> |
<a href="classrr_1_1_buffer-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">rr::Buffer Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>This class contains data containers.
<a href="classrr_1_1_buffer.html#details">More...</a></p>
<p><code>#include <<a class="el" href="buffer_8hpp_source.html">buffer.hpp</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a13b2f9ce2961e338bef69fd30b354c7f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrr_1_1_buffer.html#a13b2f9ce2961e338bef69fd30b354c7f">Buffer</a> (uint8_t *<a class="el" href="classrr_1_1_buffer.html#af8748b72a0b4e1a2f98ecef1b82edd1b">data</a>, const <a class="el" href="namespacerr.html#a05bc1f95198518551bf0ad21b4b0c690">Format</a> <a class="el" href="classrr_1_1_buffer.html#a0b0025abfd9268a127c0fa6a72c8e8c0">format</a>, const int <a class="el" href="classrr_1_1_buffer.html#a0615ebc0c0122db72db738f70a50c998">planes</a>, const std::array< int, <a class="el" href="classrr_1_1_buffer.html#aa006347e779b07ef7f2920f1e82c98f2">Buffer::kMaxPlanes</a> > <a class="el" href="classrr_1_1_buffer.html#a6342a8dabfb5f2e8b272a3b06adc6835">strides</a>, const int <a class="el" href="classrr_1_1_buffer.html#a1a5d669725ee40435a454efec278e8c0">width</a>, const int <a class="el" href="classrr_1_1_buffer.html#afc8f2440e464de5a2a5f6e759aa62048">height</a>, const size_t <a class="el" href="classrr_1_1_buffer.html#af10fa8da9d0212e50182aaa303bf81b9">size</a>)</td></tr>
<tr class="memdesc:a13b2f9ce2961e338bef69fd30b354c7f"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classrr_1_1_buffer.html" title="This class contains data containers.">Buffer</a> instance. <a href="classrr_1_1_buffer.html#a13b2f9ce2961e338bef69fd30b354c7f">More...</a><br /></td></tr>
<tr class="separator:a13b2f9ce2961e338bef69fd30b354c7f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a372d72c7328925e01461d1a5104c5a66"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrr_1_1_buffer.html#a372d72c7328925e01461d1a5104c5a66">Buffer</a> (uint8_t *<a class="el" href="classrr_1_1_buffer.html#af8748b72a0b4e1a2f98ecef1b82edd1b">data</a>, const size_t <a class="el" href="classrr_1_1_buffer.html#af10fa8da9d0212e50182aaa303bf81b9">size</a>)</td></tr>
<tr class="memdesc:a372d72c7328925e01461d1a5104c5a66"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classrr_1_1_buffer.html" title="This class contains data containers.">Buffer</a> instance. <a href="classrr_1_1_buffer.html#a372d72c7328925e01461d1a5104c5a66">More...</a><br /></td></tr>
<tr class="separator:a372d72c7328925e01461d1a5104c5a66"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a36893fba9dc376e05f841fd6d2d62005"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classrr_1_1_runtime_error.html">RuntimeError</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrr_1_1_buffer.html#a36893fba9dc376e05f841fd6d2d62005">SetBufferInfo</a> (const <a class="el" href="namespacerr.html#a05bc1f95198518551bf0ad21b4b0c690">Format</a> <a class="el" href="classrr_1_1_buffer.html#a0b0025abfd9268a127c0fa6a72c8e8c0">format</a>, const int <a class="el" href="classrr_1_1_buffer.html#a0615ebc0c0122db72db738f70a50c998">planes</a>, const std::array< int, <a class="el" href="classrr_1_1_buffer.html#aa006347e779b07ef7f2920f1e82c98f2">Buffer::kMaxPlanes</a> > <a class="el" href="classrr_1_1_buffer.html#a6342a8dabfb5f2e8b272a3b06adc6835">strides</a>, const int <a class="el" href="classrr_1_1_buffer.html#a1a5d669725ee40435a454efec278e8c0">width</a>, const int <a class="el" href="classrr_1_1_buffer.html#afc8f2440e464de5a2a5f6e759aa62048">height</a>)</td></tr>
<tr class="memdesc:a36893fba9dc376e05f841fd6d2d62005"><td class="mdescLeft"> </td><td class="mdescRight">Sets general buffer information. <a href="classrr_1_1_buffer.html#a36893fba9dc376e05f841fd6d2d62005">More...</a><br /></td></tr>
<tr class="separator:a36893fba9dc376e05f841fd6d2d62005"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af8748b72a0b4e1a2f98ecef1b82edd1b"><td class="memItemLeft" align="right" valign="top">virtual uint8_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="classrr_1_1_buffer.html#af8748b72a0b4e1a2f98ecef1b82edd1b">data</a> () const</td></tr>
<tr class="memdesc:af8748b72a0b4e1a2f98ecef1b82edd1b"><td class="mdescLeft"> </td><td class="mdescRight">Method to obtain data from shared memory region. <a href="classrr_1_1_buffer.html#af8748b72a0b4e1a2f98ecef1b82edd1b">More...</a><br /></td></tr>
<tr class="separator:af8748b72a0b4e1a2f98ecef1b82edd1b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0b0025abfd9268a127c0fa6a72c8e8c0"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacerr.html#a05bc1f95198518551bf0ad21b4b0c690">Format</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrr_1_1_buffer.html#a0b0025abfd9268a127c0fa6a72c8e8c0">format</a> () const</td></tr>
<tr class="memdesc:a0b0025abfd9268a127c0fa6a72c8e8c0"><td class="mdescLeft"> </td><td class="mdescRight">Method to obtain image format. <a href="classrr_1_1_buffer.html#a0b0025abfd9268a127c0fa6a72c8e8c0">More...</a><br /></td></tr>
<tr class="separator:a0b0025abfd9268a127c0fa6a72c8e8c0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0615ebc0c0122db72db738f70a50c998"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classrr_1_1_buffer.html#a0615ebc0c0122db72db738f70a50c998">planes</a> () const</td></tr>
<tr class="memdesc:a0615ebc0c0122db72db738f70a50c998"><td class="mdescLeft"> </td><td class="mdescRight">Method to obtain image planes. <a href="classrr_1_1_buffer.html#a0615ebc0c0122db72db738f70a50c998">More...</a><br /></td></tr>
<tr class="separator:a0615ebc0c0122db72db738f70a50c998"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6342a8dabfb5f2e8b272a3b06adc6835"><td class="memItemLeft" align="right" valign="top">virtual std::array< int, <a class="el" href="classrr_1_1_buffer.html#aa006347e779b07ef7f2920f1e82c98f2">Buffer::kMaxPlanes</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classrr_1_1_buffer.html#a6342a8dabfb5f2e8b272a3b06adc6835">strides</a> () const</td></tr>
<tr class="memdesc:a6342a8dabfb5f2e8b272a3b06adc6835"><td class="mdescLeft"> </td><td class="mdescRight">Method to obtain image strides. <a href="classrr_1_1_buffer.html#a6342a8dabfb5f2e8b272a3b06adc6835">More...</a><br /></td></tr>
<tr class="separator:a6342a8dabfb5f2e8b272a3b06adc6835"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1a5d669725ee40435a454efec278e8c0"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classrr_1_1_buffer.html#a1a5d669725ee40435a454efec278e8c0">width</a> () const</td></tr>
<tr class="memdesc:a1a5d669725ee40435a454efec278e8c0"><td class="mdescLeft"> </td><td class="mdescRight">Method to obtain image width dimension. <a href="classrr_1_1_buffer.html#a1a5d669725ee40435a454efec278e8c0">More...</a><br /></td></tr>
<tr class="separator:a1a5d669725ee40435a454efec278e8c0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afc8f2440e464de5a2a5f6e759aa62048"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classrr_1_1_buffer.html#afc8f2440e464de5a2a5f6e759aa62048">height</a> () const</td></tr>
<tr class="memdesc:afc8f2440e464de5a2a5f6e759aa62048"><td class="mdescLeft"> </td><td class="mdescRight">Method to obtain image height dimension. <a href="classrr_1_1_buffer.html#afc8f2440e464de5a2a5f6e759aa62048">More...</a><br /></td></tr>
<tr class="separator:afc8f2440e464de5a2a5f6e759aa62048"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af10fa8da9d0212e50182aaa303bf81b9"><td class="memItemLeft" align="right" valign="top">virtual size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classrr_1_1_buffer.html#af10fa8da9d0212e50182aaa303bf81b9">size</a> () const</td></tr>
<tr class="memdesc:af10fa8da9d0212e50182aaa303bf81b9"><td class="mdescLeft"> </td><td class="mdescRight">Method to obtain the size of <a class="el" href="classrr_1_1_buffer.html" title="This class contains data containers.">Buffer</a> memory. <a href="classrr_1_1_buffer.html#af10fa8da9d0212e50182aaa303bf81b9">More...</a><br /></td></tr>
<tr class="separator:af10fa8da9d0212e50182aaa303bf81b9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a03d3f12dbd7ccc72eb998b01b19f6a36"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classrr_1_1_buffer.html#a03d3f12dbd7ccc72eb998b01b19f6a36">~Buffer</a> ()</td></tr>
<tr class="memdesc:a03d3f12dbd7ccc72eb998b01b19f6a36"><td class="mdescLeft"> </td><td class="mdescRight">Destroys the <a class="el" href="classrr_1_1_buffer.html" title="This class contains data containers.">Buffer</a> object. <a href="classrr_1_1_buffer.html#a03d3f12dbd7ccc72eb998b01b19f6a36">More...</a><br /></td></tr>
<tr class="separator:a03d3f12dbd7ccc72eb998b01b19f6a36"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:aa006347e779b07ef7f2920f1e82c98f2"><td class="memItemLeft" align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classrr_1_1_buffer.html#aa006347e779b07ef7f2920f1e82c98f2">kMaxPlanes</a> = 4</td></tr>
<tr class="separator:aa006347e779b07ef7f2920f1e82c98f2"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This class contains data containers. </p>
<p>This class is in charge of storing the data and their characteristics. </p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a13b2f9ce2961e338bef69fd30b354c7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13b2f9ce2961e338bef69fd30b354c7f">◆ </a></span>Buffer() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">rr::Buffer::Buffer </td>
<td>(</td>
<td class="paramtype">uint8_t * </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="namespacerr.html#a05bc1f95198518551bf0ad21b4b0c690">Format</a> </td>
<td class="paramname"><em>format</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const int </td>
<td class="paramname"><em>planes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::array< int, <a class="el" href="classrr_1_1_buffer.html#aa006347e779b07ef7f2920f1e82c98f2">Buffer::kMaxPlanes</a> > </td>
<td class="paramname"><em>strides</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const int </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const size_t </td>
<td class="paramname"><em>size</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a <a class="el" href="classrr_1_1_buffer.html" title="This class contains data containers.">Buffer</a> instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>: Pointer to buffer memory data. </td></tr>
<tr><td class="paramname">format</td><td>: Image format of the buffer. </td></tr>
<tr><td class="paramname">planes</td><td>: Contains the number image planes. </td></tr>
<tr><td class="paramname">strides</td><td>: Contains image strides. </td></tr>
<tr><td class="paramname">width</td><td>: Image width. </td></tr>
<tr><td class="paramname">height</td><td>: Image height. </td></tr>
<tr><td class="paramname">size</td><td>: Size of buffer memory. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a372d72c7328925e01461d1a5104c5a66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a372d72c7328925e01461d1a5104c5a66">◆ </a></span>Buffer() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">rr::Buffer::Buffer </td>
<td>(</td>
<td class="paramtype">uint8_t * </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const size_t </td>
<td class="paramname"><em>size</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a <a class="el" href="classrr_1_1_buffer.html" title="This class contains data containers.">Buffer</a> instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>: Pointer to buffer memory data. </td></tr>
<tr><td class="paramname">size</td><td>: Size of buffer memory. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a03d3f12dbd7ccc72eb998b01b19f6a36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03d3f12dbd7ccc72eb998b01b19f6a36">◆ </a></span>~Buffer()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">rr::Buffer::~Buffer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Destroys the <a class="el" href="classrr_1_1_buffer.html" title="This class contains data containers.">Buffer</a> object. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="af8748b72a0b4e1a2f98ecef1b82edd1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8748b72a0b4e1a2f98ecef1b82edd1b">◆ </a></span>data()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t * rr::Buffer::data </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Method to obtain data from shared memory region. </p>
<dl class="section return"><dt>Returns</dt><dd>uint* : Data. </dd></dl>
</div>
</div>
<a id="a0b0025abfd9268a127c0fa6a72c8e8c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b0025abfd9268a127c0fa6a72c8e8c0">◆ </a></span>format()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacerr.html#a05bc1f95198518551bf0ad21b4b0c690">rr::Format</a> rr::Buffer::format </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Method to obtain image format. </p>
<dl class="section return"><dt>Returns</dt><dd>Format : Image format. </dd></dl>
</div>
</div>
<a id="afc8f2440e464de5a2a5f6e759aa62048"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc8f2440e464de5a2a5f6e759aa62048">◆ </a></span>height()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int rr::Buffer::height </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Method to obtain image height dimension. </p>
<dl class="section return"><dt>Returns</dt><dd>int : Image height dimension. </dd></dl>
</div>
</div>
<a id="a0615ebc0c0122db72db738f70a50c998"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0615ebc0c0122db72db738f70a50c998">◆ </a></span>planes()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int rr::Buffer::planes </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Method to obtain image planes. </p>
<dl class="section return"><dt>Returns</dt><dd>int : Image planes. </dd></dl>
</div>
</div>
<a id="a36893fba9dc376e05f841fd6d2d62005"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36893fba9dc376e05f841fd6d2d62005">◆ </a></span>SetBufferInfo()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classrr_1_1_runtime_error.html">rr::RuntimeError</a> rr::Buffer::SetBufferInfo </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacerr.html#a05bc1f95198518551bf0ad21b4b0c690">Format</a> </td>
<td class="paramname"><em>format</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const int </td>
<td class="paramname"><em>planes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::array< int, <a class="el" href="classrr_1_1_buffer.html#aa006347e779b07ef7f2920f1e82c98f2">Buffer::kMaxPlanes</a> > </td>
<td class="paramname"><em>strides</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const int </td>
<td class="paramname"><em>height</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets general buffer information. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">format</td><td>: Image format of the buffer. </td></tr>
<tr><td class="paramname">planes</td><td>: Contains the number of image planes. </td></tr>
<tr><td class="paramname">strides</td><td>: Contains image strides. </td></tr>
<tr><td class="paramname">width</td><td>: Image width. </td></tr>
<tr><td class="paramname">height</td><td>: Image height. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="af10fa8da9d0212e50182aaa303bf81b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af10fa8da9d0212e50182aaa303bf81b9">◆ </a></span>size()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">size_t rr::Buffer::size </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Method to obtain the size of <a class="el" href="classrr_1_1_buffer.html" title="This class contains data containers.">Buffer</a> memory. </p>
<dl class="section return"><dt>Returns</dt><dd>size_t : Size of buffer memory. </dd></dl>
</div>
</div>
<a id="a6342a8dabfb5f2e8b272a3b06adc6835"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6342a8dabfb5f2e8b272a3b06adc6835">◆ </a></span>strides()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::array< int, <a class="el" href="classrr_1_1_buffer.html#aa006347e779b07ef7f2920f1e82c98f2">rr::Buffer::kMaxPlanes</a> > rr::Buffer::strides </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Method to obtain image strides. </p>
<dl class="section return"><dt>Returns</dt><dd>std::array<int> : Image strides. </dd></dl>
</div>
</div>
<a id="a1a5d669725ee40435a454efec278e8c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a5d669725ee40435a454efec278e8c0">◆ </a></span>width()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int rr::Buffer::width </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Method to obtain image width dimension. </p>
<dl class="section return"><dt>Returns</dt><dd>int : Image width dimension. </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aa006347e779b07ef7f2920f1e82c98f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa006347e779b07ef7f2920f1e82c98f2">◆ </a></span>kMaxPlanes</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const int rr::Buffer::kMaxPlanes = 4</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/builds/ridgerun/rnd/libcudaisp/rr/include/libcudaisp/<a class="el" href="buffer_8hpp_source.html">buffer.hpp</a></li>
<li>/builds/ridgerun/rnd/libcudaisp/rr/lib/<a class="el" href="buffer_8cpp.html">buffer.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Mar 14 2023 20:22:00 for libcudaisp by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>