mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 04:22:50 +02:00
179 lines
24 KiB
HTML
179 lines
24 KiB
HTML
<!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" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>libnx: include/switch/services/capssc.h Source File</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 id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">libnx<span id="projectnumber"> v4.9.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function() { init_codefold(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- 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">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_42bea3d40f1f1694e41a8f3166c98108.html">switch</a></li><li class="navelem"><a class="el" href="dir_04a7e0b94d44ce4fc7ca3462163fd33c.html">services</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">capssc.h</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="capssc_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * @file capssc.h</span></div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * @brief Screenshot control (caps:sc) service IPC wrapper.</span></div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> * @author yellows8</span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * @copyright libnx Authors</span></div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include "../types.h"</span></div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include "../sf/service.h"</span></div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include "<a class="code" href="vi_8h.html">vi.h</a>"</span></div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#define CAPSSC_JPEG_BUFFER_SIZE 0x80000</span></div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment">/// Initialize caps:sc. Only available on [2.0.0+].</span></div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="capssc_8h.html#acee9b4b13c7126b2d3bb1ddc0c43b75c"> 15</a></span><span class="comment"></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="capssc_8h.html#acee9b4b13c7126b2d3bb1ddc0c43b75c">capsscInitialize</a>(<span class="keywordtype">void</span>);</div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment">/// Exit caps:sc.</span></div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="capssc_8h.html#abffad196bc1791b1c9b0a49eda5512ba"> 18</a></span><span class="comment"></span><span class="keywordtype">void</span> <a class="code hl_function" href="capssc_8h.html#abffad196bc1791b1c9b0a49eda5512ba">capsscExit</a>(<span class="keywordtype">void</span>);</div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="comment">/// Gets the Service for caps:sc.</span></div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="capssc_8h.html#a978ec8fd59e57769a13c70d9062c4e6b"> 21</a></span><span class="comment"></span><a class="code hl_struct" href="structService.html">Service</a>* <a class="code hl_function" href="capssc_8h.html#a978ec8fd59e57769a13c70d9062c4e6b">capsscGetServiceSession</a>(<span class="keywordtype">void</span>);</div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="comment"> * @brief This takes a screenshot, with the screenshot being written into the output buffer.</span></div>
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="comment"> * @note Not available with [5.0.0+] (stubbed).</span></div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="comment"> * @note buffer_index and buffer_count correspond to buffers with size 0x384000(1280*720*4). These must not be negative.</span></div>
|
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="comment"> * @param buf Output buffer containing the RGBA8 image.</span></div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="comment"> * @param size Size of buf, should be 0x384000(1280*720*4) * buffer_count.</span></div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="comment"> * @param layer_stack \ref ViLayerStack</span></div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="comment"> * @param width Image width, must be 1280.</span></div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="comment"> * @param height Image height, must be 720.</span></div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="comment"> * @param buffer_count Total number of output image buffers.</span></div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="comment"> * @param buffer_index Starting image buffer index. Must be < buffer_count.</span></div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="comment"> * @param timeout Timeout in nanoseconds. A default value of 100000000 can be used.</span></div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="capssc_8h.html#aa7a5886a35dbd2278dd1cec4acaa7a60"> 36</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="capssc_8h.html#aa7a5886a35dbd2278dd1cec4acaa7a60">capsscCaptureRawImageWithTimeout</a>(<span class="keywordtype">void</span>* buf, <span class="keywordtype">size_t</span> size, <a class="code hl_enumeration" href="vi_8h.html#ad4375d33184b31fcb91ab0913d66ce45">ViLayerStack</a> layer_stack, <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> width, <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> height, <a class="code hl_typedef" href="types_8h.html#a350c6fc928e3bdc6c6486268ac8fb269">s64</a> buffer_count, <a class="code hl_typedef" href="types_8h.html#a350c6fc928e3bdc6c6486268ac8fb269">s64</a> buffer_index, <a class="code hl_typedef" href="types_8h.html#a350c6fc928e3bdc6c6486268ac8fb269">s64</a> timeout);</div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="comment"> * @brief This takes a raw screenshot, with the screenshot being held until \ref capsscCloseRawScreenShotReadStream is called.</span></div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="comment"> * @note Only available on [3.0.0+]. Requires debug mode.</span></div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="comment"> * @param out_size Pointer to write the size of the captured raw image to. Always 0x384000(1280*720*4).</span></div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="comment"> * @param out_width Pointer to write the width of the captured raw image to. Always 1280.</span></div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span><span class="comment"> * @param out_height Pointer to write the height of the captured raw image to. Always 720.</span></div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="comment"> * @param layer_stack \ref ViLayerStack</span></div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="comment"> * @param timeout Timeout in nanoseconds.</span></div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="capssc_8h.html#a00540bd8514db27fc12b624a1425fdad"> 47</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="capssc_8h.html#a00540bd8514db27fc12b624a1425fdad">capsscOpenRawScreenShotReadStream</a>(<a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> *out_size, <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> *out_width, <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> *out_height, <a class="code hl_enumeration" href="vi_8h.html#ad4375d33184b31fcb91ab0913d66ce45">ViLayerStack</a> layer_stack, <a class="code hl_typedef" href="types_8h.html#a350c6fc928e3bdc6c6486268ac8fb269">s64</a> timeout);</div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span><span class="comment"> * @brief Discards a stream opened by \ref capsscOpenRawScreenShotReadStream.</span></div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span><span class="comment"> * @note Only available on [3.0.0+]. Requires debug mode.</span></div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="capssc_8h.html#a20387ad9ec148dcb0cbbc644044f69b5"> 53</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="capssc_8h.html#a20387ad9ec148dcb0cbbc644044f69b5">capsscCloseRawScreenShotReadStream</a>(<span class="keywordtype">void</span>);</div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="comment"> * @brief Reads from a stream opened by \ref capsscOpenRawScreenShotReadStream.</span></div>
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="comment"> * @note Only available on [3.0.0+]. Requires debug mode.</span></div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span><span class="comment"> * @param bytes_read Pointer to write the amounts of bytes written to buffer.</span></div>
|
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span><span class="comment"> * @param buf Output buffer containing the RGBA8 image.</span></div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span><span class="comment"> * @param size Size of buf.</span></div>
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span><span class="comment"> * @param offset Offset in image where read should start.</span></div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="capssc_8h.html#a7d74ac92822bd304f6b616c879822872"> 63</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="capssc_8h.html#a7d74ac92822bd304f6b616c879822872">capsscReadRawScreenShotReadStream</a>(<a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> *bytes_read, <span class="keywordtype">void</span>* buf, <span class="keywordtype">size_t</span> size, <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> offset);</div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span><span class="comment">/**</span></div>
|
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span><span class="comment"> * @brief This takes a screenshot, with the screenshot being written as jpeg into the output buffer.</span></div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span><span class="comment"> * @note Only available on [9.0.0+]. Requires debug mode before [10.0.0].</span></div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span><span class="comment"> * @param out_jpeg_size Pointer to write the size of the captured jpeg to.</span></div>
|
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span><span class="comment"> * @param jpeg_buf Output buffer containing the JPEG image.</span></div>
|
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span><span class="comment"> * @param jpeg_buf_size Size of jpeg_buf, official software uses 0x80000.</span></div>
|
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span><span class="comment"> * @param layer_stack \ref ViLayerStack</span></div>
|
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span><span class="comment"> * @param timeout Timeout in nanoseconds.</span></div>
|
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span><span class="comment"> */</span></div>
|
|
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="capssc_8h.html#a7eb5ed84a867a5eb95fc8b4bbe394a2c"> 74</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="capssc_8h.html#a7eb5ed84a867a5eb95fc8b4bbe394a2c">capsscCaptureJpegScreenShot</a>(<a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a>* out_jpeg_size, <span class="keywordtype">void</span>* jpeg_buf, <span class="keywordtype">size_t</span> jpeg_buf_size, <a class="code hl_enumeration" href="vi_8h.html#ad4375d33184b31fcb91ab0913d66ce45">ViLayerStack</a> layer_stack, <a class="code hl_typedef" href="types_8h.html#a350c6fc928e3bdc6c6486268ac8fb269">s64</a> timeout);</div>
|
|
<div class="ttc" id="acapssc_8h_html_a00540bd8514db27fc12b624a1425fdad"><div class="ttname"><a href="capssc_8h.html#a00540bd8514db27fc12b624a1425fdad">capsscOpenRawScreenShotReadStream</a></div><div class="ttdeci">Result capsscOpenRawScreenShotReadStream(u64 *out_size, u64 *out_width, u64 *out_height, ViLayerStack layer_stack, s64 timeout)</div><div class="ttdoc">This takes a raw screenshot, with the screenshot being held until capsscCloseRawScreenShotReadStream ...</div></div>
|
|
<div class="ttc" id="acapssc_8h_html_a20387ad9ec148dcb0cbbc644044f69b5"><div class="ttname"><a href="capssc_8h.html#a20387ad9ec148dcb0cbbc644044f69b5">capsscCloseRawScreenShotReadStream</a></div><div class="ttdeci">Result capsscCloseRawScreenShotReadStream(void)</div><div class="ttdoc">Discards a stream opened by capsscOpenRawScreenShotReadStream.</div></div>
|
|
<div class="ttc" id="acapssc_8h_html_a7d74ac92822bd304f6b616c879822872"><div class="ttname"><a href="capssc_8h.html#a7d74ac92822bd304f6b616c879822872">capsscReadRawScreenShotReadStream</a></div><div class="ttdeci">Result capsscReadRawScreenShotReadStream(u64 *bytes_read, void *buf, size_t size, u64 offset)</div><div class="ttdoc">Reads from a stream opened by capsscOpenRawScreenShotReadStream.</div></div>
|
|
<div class="ttc" id="acapssc_8h_html_a7eb5ed84a867a5eb95fc8b4bbe394a2c"><div class="ttname"><a href="capssc_8h.html#a7eb5ed84a867a5eb95fc8b4bbe394a2c">capsscCaptureJpegScreenShot</a></div><div class="ttdeci">Result capsscCaptureJpegScreenShot(u64 *out_jpeg_size, void *jpeg_buf, size_t jpeg_buf_size, ViLayerStack layer_stack, s64 timeout)</div><div class="ttdoc">This takes a screenshot, with the screenshot being written as jpeg into the output buffer.</div></div>
|
|
<div class="ttc" id="acapssc_8h_html_a978ec8fd59e57769a13c70d9062c4e6b"><div class="ttname"><a href="capssc_8h.html#a978ec8fd59e57769a13c70d9062c4e6b">capsscGetServiceSession</a></div><div class="ttdeci">Service * capsscGetServiceSession(void)</div><div class="ttdoc">Gets the Service for caps:sc.</div></div>
|
|
<div class="ttc" id="acapssc_8h_html_aa7a5886a35dbd2278dd1cec4acaa7a60"><div class="ttname"><a href="capssc_8h.html#aa7a5886a35dbd2278dd1cec4acaa7a60">capsscCaptureRawImageWithTimeout</a></div><div class="ttdeci">Result capsscCaptureRawImageWithTimeout(void *buf, size_t size, ViLayerStack layer_stack, u64 width, u64 height, s64 buffer_count, s64 buffer_index, s64 timeout)</div><div class="ttdoc">This takes a screenshot, with the screenshot being written into the output buffer.</div></div>
|
|
<div class="ttc" id="acapssc_8h_html_abffad196bc1791b1c9b0a49eda5512ba"><div class="ttname"><a href="capssc_8h.html#abffad196bc1791b1c9b0a49eda5512ba">capsscExit</a></div><div class="ttdeci">void capsscExit(void)</div><div class="ttdoc">Exit caps:sc.</div></div>
|
|
<div class="ttc" id="acapssc_8h_html_acee9b4b13c7126b2d3bb1ddc0c43b75c"><div class="ttname"><a href="capssc_8h.html#acee9b4b13c7126b2d3bb1ddc0c43b75c">capsscInitialize</a></div><div class="ttdeci">Result capsscInitialize(void)</div><div class="ttdoc">Initialize caps:sc. Only available on [2.0.0+].</div></div>
|
|
<div class="ttc" id="astructService_html"><div class="ttname"><a href="structService.html">Service</a></div><div class="ttdoc">Service object structure.</div><div class="ttdef"><b>Definition</b> service.h:14</div></div>
|
|
<div class="ttc" id="atypes_8h_html_a350c6fc928e3bdc6c6486268ac8fb269"><div class="ttname"><a href="types_8h.html#a350c6fc928e3bdc6c6486268ac8fb269">s64</a></div><div class="ttdeci">int64_t s64</div><div class="ttdoc">64-bit signed integer.</div><div class="ttdef"><b>Definition</b> types.h:28</div></div>
|
|
<div class="ttc" id="atypes_8h_html_a3f7e2bcbb0b4c338f3c4f6c937cd4234"><div class="ttname"><a href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a></div><div class="ttdeci">uint64_t u64</div><div class="ttdoc">64-bit unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:22</div></div>
|
|
<div class="ttc" id="atypes_8h_html_ad1be2721625a17f1be47fac918032afe"><div class="ttname"><a href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a></div><div class="ttdeci">u32 Result</div><div class="ttdoc">Function error code result type.</div><div class="ttdef"><b>Definition</b> types.h:44</div></div>
|
|
<div class="ttc" id="avi_8h_html"><div class="ttname"><a href="vi_8h.html">vi.h</a></div><div class="ttdoc">Display (vi:*) service IPC wrapper.</div></div>
|
|
<div class="ttc" id="avi_8h_html_ad4375d33184b31fcb91ab0913d66ce45"><div class="ttname"><a href="vi_8h.html#ad4375d33184b31fcb91ab0913d66ce45">ViLayerStack</a></div><div class="ttdeci">ViLayerStack</div><div class="ttdoc">Used as argument to many capture functions.</div><div class="ttdef"><b>Definition</b> vi.h:61</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
|
</small></address>
|
|
</body>
|
|
</html>
|