<!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"/> <meta name="generator" content="Doxygen 1.8.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>libopenraw: OpenRaw::Internals::LJpegDecompressor 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="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">libopenraw </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <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('',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceOpenRaw.html">OpenRaw</a></li><li class="navelem"><b>Internals</b></li><li class="navelem"><a class="el" href="classOpenRaw_1_1Internals_1_1LJpegDecompressor.html">LJpegDecompressor</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="classOpenRaw_1_1Internals_1_1LJpegDecompressor-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">OpenRaw::Internals::LJpegDecompressor Class Reference</div> </div> </div><!--header--> <div class="contents"> <div class="dynheader"> Inheritance diagram for OpenRaw::Internals::LJpegDecompressor:</div> <div class="dyncontent"> <div class="center"> <img src="classOpenRaw_1_1Internals_1_1LJpegDecompressor.png" usemap="#OpenRaw::Internals::LJpegDecompressor_map" alt=""/> <map id="OpenRaw::Internals::LJpegDecompressor_map" name="OpenRaw::Internals::LJpegDecompressor_map"> <area href="classOpenRaw_1_1Internals_1_1Decompressor.html" alt="OpenRaw::Internals::Decompressor" shape="rect" coords="0,0,244,24"/> </map> </div></div> <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:abc93fb3f06b0f8b3b6450423ef43b43b"><td class="memItemLeft" align="right" valign="top"><a id="abc93fb3f06b0f8b3b6450423ef43b43b"></a>  </td><td class="memItemRight" valign="bottom"><b>LJpegDecompressor</b> (<a class="el" href="classOpenRaw_1_1IO_1_1Stream.html">IO::Stream</a> *, <a class="el" href="classOpenRaw_1_1Internals_1_1RawContainer.html">RawContainer</a> *)</td></tr> <tr class="separator:abc93fb3f06b0f8b3b6450423ef43b43b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1cab6cabc17b51a4a8c232c56a509ea6"><td class="memItemLeft" align="right" valign="top">virtual RawDataPtr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenRaw_1_1Internals_1_1LJpegDecompressor.html#a1cab6cabc17b51a4a8c232c56a509ea6">decompress</a> () override</td></tr> <tr class="separator:a1cab6cabc17b51a4a8c232c56a509ea6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a19e8e84c70f6351659a5f2b56ff53595"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenRaw_1_1Internals_1_1LJpegDecompressor.html#a19e8e84c70f6351659a5f2b56ff53595">setSlices</a> (const std::vector< uint16_t > &slices)</td></tr> <tr class="separator:a19e8e84c70f6351659a5f2b56ff53595"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad2c8f4424b6c6b7effb6bec8c9e968b6"><td class="memItemLeft" align="right" valign="top"><a id="ad2c8f4424b6c6b7effb6bec8c9e968b6"></a> bool </td><td class="memItemRight" valign="bottom"><b>isSliced</b> () const</td></tr> <tr class="separator:ad2c8f4424b6c6b7effb6bec8c9e968b6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classOpenRaw_1_1Internals_1_1Decompressor"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classOpenRaw_1_1Internals_1_1Decompressor')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classOpenRaw_1_1Internals_1_1Decompressor.html">OpenRaw::Internals::Decompressor</a></td></tr> <tr class="memitem:a097427b24c161cdfd92a3711b77c7115 inherit pub_methods_classOpenRaw_1_1Internals_1_1Decompressor"><td class="memItemLeft" align="right" valign="top"><a id="a097427b24c161cdfd92a3711b77c7115"></a>  </td><td class="memItemRight" valign="bottom"><b>Decompressor</b> (<a class="el" href="classOpenRaw_1_1IO_1_1Stream.html">IO::Stream</a> *stream, <a class="el" href="classOpenRaw_1_1Internals_1_1RawContainer.html">RawContainer</a> *container)</td></tr> <tr class="separator:a097427b24c161cdfd92a3711b77c7115 inherit pub_methods_classOpenRaw_1_1Internals_1_1Decompressor"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad0dab1b943beaa61808562e486e165ed inherit pub_methods_classOpenRaw_1_1Internals_1_1Decompressor"><td class="memItemLeft" align="right" valign="top"><a id="ad0dab1b943beaa61808562e486e165ed"></a>  </td><td class="memItemRight" valign="bottom"><b>Decompressor</b> (const <a class="el" href="classOpenRaw_1_1Internals_1_1Decompressor.html">Decompressor</a> &)=delete</td></tr> <tr class="separator:ad0dab1b943beaa61808562e486e165ed inherit pub_methods_classOpenRaw_1_1Internals_1_1Decompressor"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a375fd19223300d42282d3ee833e6f2fa inherit pub_methods_classOpenRaw_1_1Internals_1_1Decompressor"><td class="memItemLeft" align="right" valign="top"><a id="a375fd19223300d42282d3ee833e6f2fa"></a> <a class="el" href="classOpenRaw_1_1Internals_1_1Decompressor.html">Decompressor</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classOpenRaw_1_1Internals_1_1Decompressor.html">Decompressor</a> &)=delete</td></tr> <tr class="separator:a375fd19223300d42282d3ee833e6f2fa inherit pub_methods_classOpenRaw_1_1Internals_1_1Decompressor"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pro_attribs_classOpenRaw_1_1Internals_1_1Decompressor"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classOpenRaw_1_1Internals_1_1Decompressor')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classOpenRaw_1_1Internals_1_1Decompressor.html">OpenRaw::Internals::Decompressor</a></td></tr> <tr class="memitem:a80b0fa0f2d4c470df69adefbb4e4e200 inherit pro_attribs_classOpenRaw_1_1Internals_1_1Decompressor"><td class="memItemLeft" align="right" valign="top"><a id="a80b0fa0f2d4c470df69adefbb4e4e200"></a> <a class="el" href="classOpenRaw_1_1IO_1_1Stream.html">IO::Stream</a> * </td><td class="memItemRight" valign="bottom"><b>m_stream</b></td></tr> <tr class="separator:a80b0fa0f2d4c470df69adefbb4e4e200 inherit pro_attribs_classOpenRaw_1_1Internals_1_1Decompressor"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8bdb193849d1941355d5ad000250de03 inherit pro_attribs_classOpenRaw_1_1Internals_1_1Decompressor"><td class="memItemLeft" align="right" valign="top"><a id="a8bdb193849d1941355d5ad000250de03"></a> <a class="el" href="classOpenRaw_1_1Internals_1_1RawContainer.html">RawContainer</a> * </td><td class="memItemRight" valign="bottom"><b>m_container</b></td></tr> <tr class="separator:a8bdb193849d1941355d5ad000250de03 inherit pro_attribs_classOpenRaw_1_1Internals_1_1Decompressor"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"> <p class="definition">Definition at line <a class="el" href="ljpegdecompressor_8hpp_source.html#l00048">48</a> of file <a class="el" href="ljpegdecompressor_8hpp_source.html">ljpegdecompressor.hpp</a>.</p> </div><h2 class="groupheader">Member Function Documentation</h2> <a id="a1cab6cabc17b51a4a8c232c56a509ea6"></a> <h2 class="memtitle"><span class="permalink"><a href="#a1cab6cabc17b51a4a8c232c56a509ea6">◆ </a></span>decompress()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">RawDataPtr OpenRaw::Internals::LJpegDecompressor::decompress </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>decompress the bitmapdata and return a new bitmap </p><dl class="section return"><dt>Returns</dt><dd>the new bitmap decompressed. NULL is failure. </dd></dl> <p>Implements <a class="el" href="classOpenRaw_1_1Internals_1_1Decompressor.html#ab14edebe400dd7274f13fe6cb7435076">OpenRaw::Internals::Decompressor</a>.</p> <p class="definition">Definition at line <a class="el" href="ljpegdecompressor_8cpp_source.html#l01534">1534</a> of file <a class="el" href="ljpegdecompressor_8cpp_source.html">ljpegdecompressor.cpp</a>.</p> <p class="reference">Referenced by <a class="el" href="dngfile_8cpp_source.html#l00155">OpenRaw::Internals::DngFile::_getRawData()</a>.</p> </div> </div> <a id="a19e8e84c70f6351659a5f2b56ff53595"></a> <h2 class="memtitle"><span class="permalink"><a href="#a19e8e84c70f6351659a5f2b56ff53595">◆ </a></span>setSlices()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OpenRaw::Internals::LJpegDecompressor::setSlices </td> <td>(</td> <td class="paramtype">const std::vector< uint16_t > & </td> <td class="paramname"><em>slices</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the "slices" </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">slices</td><td>the vector containing the Canon-style slices.</td></tr> </table> </dd> </dl> <p>the format of the slices vector is as follow N col1 col2 N is the number of repeat for col1. The total number of slices is always N+1 This is for Canon CR2. </p> <p class="definition">Definition at line <a class="el" href="ljpegdecompressor_8cpp_source.html#l00115">115</a> of file <a class="el" href="ljpegdecompressor_8cpp_source.html">ljpegdecompressor.cpp</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li>lib/<a class="el" href="ljpegdecompressor_8hpp_source.html">ljpegdecompressor.hpp</a></li> <li>lib/<a class="el" href="ljpegdecompressor_8cpp_source.html">ljpegdecompressor.cpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.14 </small></address> </body> </html>