openjpeg/doxygen/bio_8h_source.html

83 lines
22 KiB
HTML
Raw Normal View History

2015-07-10 18:06:19 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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"/>
2020-12-28 22:12:25 +01:00
<meta name="generator" content="Doxygen 1.8.11"/>
2015-07-10 18:06:19 +02:00
<title>OpenJPEG: bio.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="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;">
2016-09-29 22:38:29 +02:00
<td id="projectalign" style="padding-left: 0.5em;">
2015-07-10 18:06:19 +02:00
<div id="projectname">OpenJPEG
2020-12-28 22:12:25 +01:00
&#160;<span id="projectnumber">2.4.0</span>
2015-07-10 18:06:19 +02:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2020-12-28 22:12:25 +01:00
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
2015-07-10 18:06:19 +02:00
<div id="nav-path" class="navpath">
<ul>
2020-12-28 22:12:25 +01:00
<li class="navelem"><a class="el" href="dir_43e0a1f539e00dcfa1a6bc4d4fee4fc2.html">home</a></li><li class="navelem"><a class="el" href="dir_cb9b2b419d92b64f7cee83d8faf7a4ab.html">even</a></li><li class="navelem"><a class="el" href="dir_f75d9a0165d6564a1e04793ef847d41d.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_5f588d7ea139c1aae751d03c13a16064.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_378f732e812ef6cbaaae22e96a4fa79f.html">src</a></li><li class="navelem"><a class="el" href="dir_19dcb5713315405a27e1bde75a489a4c.html">lib</a></li><li class="navelem"><a class="el" href="dir_54e5bc4f0640fea590afaf04f4d9c88d.html">openjp2</a></li> </ul>
2015-07-10 18:06:19 +02:00
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">bio.h</div> </div>
</div><!--header-->
<div class="contents">
2019-04-02 16:25:55 +02:00
<a href="bio_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * The copyright in this software is being made available under the 2-clauses</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * BSD License, included below. This software may be subject to other third</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * party and contributor rights, including patent rights, and no such rights</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * are granted under this license.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * Copyright (c) 2002-2014, Professor Benoit Macq</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * Copyright (c) 2001-2003, David Janssens</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * Copyright (c) 2002-2003, Yannick Verschueren</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * Copyright (c) 2003-2007, Francois-Olivier Devaux</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * Copyright (c) 2003-2014, Antonin Descampe</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * Copyright (c) 2005, Herve Drolon, FreeImage Team</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * modification, are permitted provided that the following conditions</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> * are met:</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * 1. Redistributions of source code must retain the above copyright</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> * notice, this list of conditions and the following disclaimer.</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> * notice, this list of conditions and the following disclaimer in the</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> * documentation and/or other materials provided with the distribution.</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGH
2015-07-10 18:06:19 +02:00
<div class="ttc" id="openjpeg_8h_html_a22de44e15bddae7edfacf4e9ac9bb199"><div class="ttname"><a href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a></div><div class="ttdeci">unsigned char OPJ_BYTE</div><div class="ttdef"><b>Definition:</b> openjpeg.h:117</div></div>
2017-08-10 06:39:58 +02:00
<div class="ttc" id="group___b_i_o_html_ga00f1d2645b33a7281e2b2dbc20079957"><div class="ttname"><a href="group___b_i_o.html#ga00f1d2645b33a7281e2b2dbc20079957">opj_bio_create</a></div><div class="ttdeci">opj_bio_t * opj_bio_create(void)</div><div class="ttdoc">Create a new BIO handle. </div><div class="ttdef"><b>Definition:</b> bio.c:129</div></div>
2015-07-10 18:06:19 +02:00
<div class="ttc" id="structopj__bio_html_a739743b6883a37747cd417edaa18cf88"><div class="ttname"><a href="structopj__bio.html#a739743b6883a37747cd417edaa18cf88">opj_bio::ct</a></div><div class="ttdeci">OPJ_UINT32 ct</div><div class="ttdoc">coder : number of bits free to write. </div><div class="ttdef"><b>Definition:</b> bio.h:66</div></div>
2017-08-10 06:39:58 +02:00
<div class="ttc" id="group___b_i_o_html_ga71dd985d85ece15f4b6c2ea92fae5239"><div class="ttname"><a href="group___b_i_o.html#ga71dd985d85ece15f4b6c2ea92fae5239">opj_bio_destroy</a></div><div class="ttdeci">void opj_bio_destroy(opj_bio_t *bio)</div><div class="ttdoc">Destroy a previously created BIO handle. </div><div class="ttdef"><b>Definition:</b> bio.c:135</div></div>
2015-07-10 18:06:19 +02:00
<div class="ttc" id="structopj__bio_html"><div class="ttname"><a href="structopj__bio.html">opj_bio</a></div><div class="ttdoc">Individual bit input-output stream (BIO) </div><div class="ttdef"><b>Definition:</b> bio.h:56</div></div>
<div class="ttc" id="group___b_i_o_html_gac65cc716fac75e743f2e9980c8a05807"><div class="ttname"><a href="group___b_i_o.html#gac65cc716fac75e743f2e9980c8a05807">opj_bio_t</a></div><div class="ttdeci">struct opj_bio opj_bio_t</div><div class="ttdoc">Individual bit input-output stream (BIO) </div></div>
2017-08-10 06:39:58 +02:00
<div class="ttc" id="group___b_i_o_html_ga8ab62fc21c5f26a774fb0e3590efeb4b"><div class="ttname"><a href="group___b_i_o.html#ga8ab62fc21c5f26a774fb0e3590efeb4b">opj_bio_init_dec</a></div><div class="ttdeci">void opj_bio_init_dec(opj_bio_t *bio, OPJ_BYTE *bp, OPJ_UINT32 len)</div><div class="ttdoc">Init decoder. </div><div class="ttdef"><b>Definition:</b> bio.c:156</div></div>
<div class="ttc" id="group___b_i_o_html_gac2e60a814729cbeb98d8ee747245320c"><div class="ttname"><a href="group___b_i_o.html#gac2e60a814729cbeb98d8ee747245320c">opj_bio_flush</a></div><div class="ttdeci">OPJ_BOOL opj_bio_flush(opj_bio_t *bio)</div><div class="ttdoc">Flush bits. </div><div class="ttdef"><b>Definition:</b> bio.c:195</div></div>
<div class="ttc" id="group___b_i_o_html_gaea3bf04128de5bc78da6d06354eae62c"><div class="ttname"><a href="group___b_i_o.html#gaea3bf04128de5bc78da6d06354eae62c">opj_bio_read</a></div><div class="ttdeci">OPJ_UINT32 opj_bio_read(opj_bio_t *bio, OPJ_UINT32 n)</div><div class="ttdoc">Read bits. </div><div class="ttdef"><b>Definition:</b> bio.c:175</div></div>
2015-07-10 18:06:19 +02:00
<div class="ttc" id="structopj__bio_html_a82d1b48ca5f22eeb8ab2139982b576ba"><div class="ttname"><a href="structopj__bio.html#a82d1b48ca5f22eeb8ab2139982b576ba">opj_bio::end</a></div><div class="ttdeci">OPJ_BYTE * end</div><div class="ttdoc">pointer to the end of the buffer </div><div class="ttdef"><b>Definition:</b> bio.h:60</div></div>
2017-08-10 06:39:58 +02:00
<div class="ttc" id="group___b_i_o_html_ga549d1ff56aa2c8bea27c031c8a33936f"><div class="ttname"><a href="group___b_i_o.html#ga549d1ff56aa2c8bea27c031c8a33936f">opj_bio_init_enc</a></div><div class="ttdeci">void opj_bio_init_enc(opj_bio_t *bio, OPJ_BYTE *bp, OPJ_UINT32 len)</div><div class="ttdoc">Init encoder. </div><div class="ttdef"><b>Definition:</b> bio.c:147</div></div>
<div class="ttc" id="group___b_i_o_html_gab895be8f05401452c080e42427408c5c"><div class="ttname"><a href="group___b_i_o.html#gab895be8f05401452c080e42427408c5c">opj_bio_numbytes</a></div><div class="ttdeci">ptrdiff_t opj_bio_numbytes(opj_bio_t *bio)</div><div class="ttdoc">Number of bytes written. </div><div class="ttdef"><b>Definition:</b> bio.c:142</div></div>
2015-07-10 18:06:19 +02:00
<div class="ttc" id="structopj__bio_html_a5b7b5826e12247721d21b8b118beaf38"><div class="ttname"><a href="structopj__bio.html#a5b7b5826e12247721d21b8b118beaf38">opj_bio::start</a></div><div class="ttdeci">OPJ_BYTE * start</div><div class="ttdoc">pointer to the start of the buffer </div><div class="ttdef"><b>Definition:</b> bio.h:58</div></div>
<div class="ttc" id="openjpeg_8h_html_a4cb1e6e6b6ef2df499d5c02f7df54cbb"><div class="ttname"><a href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a></div><div class="ttdeci">uint32_t OPJ_UINT32</div><div class="ttdef"><b>Definition:</b> openjpeg.h:126</div></div>
2017-08-10 06:39:58 +02:00
<div class="ttc" id="group___b_i_o_html_ga602b9d9f911b41d41d1d4cab1dc3ec97"><div class="ttname"><a href="group___b_i_o.html#ga602b9d9f911b41d41d1d4cab1dc3ec97">opj_bio_write</a></div><div class="ttdeci">void opj_bio_write(opj_bio_t *bio, OPJ_UINT32 v, OPJ_UINT32 n)</div><div class="ttdoc">Write bits. </div><div class="ttdef"><b>Definition:</b> bio.c:165</div></div>
2015-07-10 18:06:19 +02:00
<div class="ttc" id="structopj__bio_html_a91e6c579ced7a356d042b27cbeba3e03"><div class="ttname"><a href="structopj__bio.html#a91e6c579ced7a356d042b27cbeba3e03">opj_bio::buf</a></div><div class="ttdeci">OPJ_UINT32 buf</div><div class="ttdoc">temporary place where each byte is read or written </div><div class="ttdef"><b>Definition:</b> bio.h:64</div></div>
<div class="ttc" id="structopj__bio_html_afbbfc81d9624cfd55add60bef5d0fb42"><div class="ttname"><a href="structopj__bio.html#afbbfc81d9624cfd55add60bef5d0fb42">opj_bio::bp</a></div><div class="ttdeci">OPJ_BYTE * bp</div><div class="ttdoc">pointer to the present position in the buffer </div><div class="ttdef"><b>Definition:</b> bio.h:62</div></div>
2017-08-10 06:39:58 +02:00
<div class="ttc" id="group___b_i_o_html_ga830ee6789a9be0ae5f9a8ff056b771fe"><div class="ttname"><a href="group___b_i_o.html#ga830ee6789a9be0ae5f9a8ff056b771fe">opj_bio_inalign</a></div><div class="ttdeci">OPJ_BOOL opj_bio_inalign(opj_bio_t *bio)</div><div class="ttdoc">Passes the ending bits (coming from flushing) </div><div class="ttdef"><b>Definition:</b> bio.c:208</div></div>
2015-07-10 18:06:19 +02:00
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
2020-12-28 22:12:25 +01:00
</a> 1.8.11
2015-07-10 18:06:19 +02:00
</small></address>
</body>
</html>