<ahref="cachemodel__manager_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/*</span></div>
<divclass="line"><aname="l00009"></a><spanclass="lineno"> 9</span> <spanclass="comment"> * Redistribution and use in source and binary forms, with or without</span></div>
<divclass="line"><aname="l00010"></a><spanclass="lineno"> 10</span> <spanclass="comment"> * modification, are permitted provided that the following conditions</span></div>
<divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment"> * are met:</span></div>
<divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"> * 1. Redistributions of source code must retain the above copyright</span></div>
<divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer.</span></div>
<divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div>
<divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer in the</span></div>
<divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> * documentation and/or other materials provided with the distribution.</span></div>
<divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'</span></div>
<divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
<divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div>
<divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> <spanclass="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div>
<divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div>
<divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <spanclass="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div>
<divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> <spanclass="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> <spanclass="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div>
<divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="comment"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="comment"> * POSSIBILITY OF SUCH DAMAGE.</span></div>
<divclass="ttc"id="structcachemodellist__param_html_ab6ea5db7ee4bc86522cb07f9f29f243c"><divclass="ttname"><ahref="structcachemodellist__param.html#ab6ea5db7ee4bc86522cb07f9f29f243c">cachemodellist_param::first</a></div><divclass="ttdeci">cachemodel_param_t * first</div><divclass="ttdoc">first cache model pointer of the list </div><divclass="ttdef"><b>Definition:</b> cachemodel_manager.h:49</div></div>
<divclass="ttc"id="structcachemodel__param_html_a5862422cdc2fff031cce285337a734fd"><divclass="ttname"><ahref="structcachemodel__param.html#a5862422cdc2fff031cce285337a734fd">cachemodel_param::tp_model</a></div><divclass="ttdeci">OPJ_BOOL * tp_model</div><divclass="ttdoc">dynamic array pointer of tile part model, if sent, 1, else 0 </div><divclass="ttdef"><b>Definition:</b> cachemodel_manager.h:41</div></div>
<divclass="ttc"id="structcachemodel__param_html_aaad2900a86415256baf4b5a9bf87494a"><divclass="ttname"><ahref="structcachemodel__param.html#aaad2900a86415256baf4b5a9bf87494a">cachemodel_param::target</a></div><divclass="ttdeci">target_param_t * target</div><divclass="ttdoc">reference pointer to the target </div><divclass="ttdef"><b>Definition:</b> cachemodel_manager.h:38</div></div>
<divclass="ttc"id="cachemodel__manager_8h_html_a100d5835680e609531af22213616ce97"><divclass="ttname"><ahref="cachemodel__manager_8h.html#a100d5835680e609531af22213616ce97">is_allsent</a></div><divclass="ttdeci">OPJ_BOOL is_allsent(cachemodel_param_t cachemodel)</div><divclass="ttdoc">check if all data has been sent </div><divclass="ttdef"><b>Definition:</b> cachemodel_manager.c:211</div></div>
<divclass="ttc"id="cachemodel__manager_8h_html_a7f6f6ee980cba0f82892c1a6d2e82943"><divclass="ttname"><ahref="cachemodel__manager_8h.html#a7f6f6ee980cba0f82892c1a6d2e82943">cachemodellist_param_t</a></div><divclass="ttdeci">struct cachemodellist_param cachemodellist_param_t</div><divclass="ttdoc">Cache model list parameters. </div></div>
<divclass="ttc"id="structcachemodel__param_html"><divclass="ttname"><ahref="structcachemodel__param.html">cachemodel_param</a></div><divclass="ttdoc">Cache model parameters. </div><divclass="ttdef"><b>Definition:</b> cachemodel_manager.h:37</div></div>
<divclass="ttc"id="cachemodel__manager_8h_html_aa9ed9725968b7cad5746bf371185ddf6"><divclass="ttname"><ahref="cachemodel__manager_8h.html#aa9ed9725968b7cad5746bf371185ddf6">gene_cachemodellist</a></div><divclass="ttdeci">cachemodellist_param_t * gene_cachemodellist(void)</div><divclass="ttdoc">generate a cache model list </div><divclass="ttdef"><b>Definition:</b> cachemodel_manager.c:47</div></div>
<divclass="ttc"id="cachemodel__manager_8h_html_a8536ce465d342e4cd99e618c4c20e6d7"><divclass="ttname"><ahref="cachemodel__manager_8h.html#a8536ce465d342e4cd99e618c4c20e6d7">gene_cachemodel</a></div><divclass="ttdeci">cachemodel_param_t * gene_cachemodel(cachemodellist_param_t *cachemodellist, target_param_t *target, OPJ_BOOL reqJPP)</div><divclass="ttdoc">generate a cache model under a list </div><divclass="ttdef"><b>Definition:</b> cachemodel_manager.c:60</div></div>
<divclass="ttc"id="structcachemodellist__param_html"><divclass="ttname"><ahref="structcachemodellist__param.html">cachemodellist_param</a></div><divclass="ttdoc">Cache model list parameters. </div><divclass="ttdef"><b>Definition:</b> cachemodel_manager.h:48</div></div>
<divclass="ttc"id="structcachemodel__param_html_a0466bae42d0c58d160eba44a877e5761"><divclass="ttname"><ahref="structcachemodel__param.html#a0466bae42d0c58d160eba44a877e5761">cachemodel_param::pp_model</a></div><divclass="ttdeci">OPJ_BOOL ** pp_model</div><divclass="ttdoc">dynamic array pointer of precint packet model </div><divclass="ttdef"><b>Definition:</b> cachemodel_manager.h:43</div></div>
<divclass="ttc"id="cachemodel__manager_8h_html_a3a82ae2092fee5a1f9edf2b6151de4ae"><divclass="ttname"><ahref="cachemodel__manager_8h.html#a3a82ae2092fee5a1f9edf2b6151de4ae">search_cachemodel</a></div><divclass="ttdeci">cachemodel_param_t * search_cachemodel(target_param_t *target, cachemodellist_param_t *cachemodellist)</div><divclass="ttdoc">search a cache model of a target </div><divclass="ttdef"><b>Definition:</b> cachemodel_manager.c:160</div></div>
<divclass="ttc"id="structcachemodel__param_html_a6bfd52e715d76d87c19a8bbee8e84fee"><divclass="ttname"><ahref="structcachemodel__param.html#a6bfd52e715d76d87c19a8bbee8e84fee">cachemodel_param::next</a></div><divclass="ttdeci">struct cachemodel_param * next</div><divclass="ttdoc">pointer to the next cache model </div><divclass="ttdef"><b>Definition:</b> cachemodel_manager.h:44</div></div>
<divclass="ttc"id="structcachemodellist__param_html_a230686ed9a04c0d53828b7450b779ea2"><divclass="ttname"><ahref="structcachemodellist__param.html#a230686ed9a04c0d53828b7450b779ea2">cachemodellist_param::last</a></div><divclass="ttdeci">cachemodel_param_t * last</div><divclass="ttdoc">last cache model pointer of the list </div><divclass="ttdef"><b>Definition:</b> cachemodel_manager.h:50</div></div>
<divclass="ttc"id="structcachemodel__param_html_a312855041868dadb7818b652c02e5711"><divclass="ttname"><ahref="structcachemodel__param.html#a312855041868dadb7818b652c02e5711">cachemodel_param::th_model</a></div><divclass="ttdeci">OPJ_BOOL * th_model</div><divclass="ttdoc">dynamic array pointer of tile header model </div><divclass="ttdef"><b>Definition:</b> cachemodel_manager.h:42</div></div>
<divclass="ttc"id="cachemodel__manager_8h_html_a4beb279f2f89ebfea569a93368ddcffa"><divclass="ttname"><ahref="cachemodel__manager_8h.html#a4beb279f2f89ebfea569a93368ddcffa">delete_cachemodel</a></div><divclass="ttdeci">void delete_cachemodel(cachemodel_param_t **cachemodel)</div><divclass="ttdoc">delete a cache model </div><divclass="ttdef"><b>Definition:</b> cachemodel_manager.c:191</div></div>