2016-09-29 22:38:29 +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" / >
2016-09-29 22:38:29 +02:00
< title > OpenJPEG: opj_malloc.c File 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" > OpenJPEG
2020-12-28 22:12:25 +01:00
  < span id = "projectnumber" > 2.4.0< / span >
2016-09-29 22:38:29 +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  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li > < a href = "modules.html" > < span > Modules< / span > < / a > < / li >
< li > < a href = "annotated.html" > < span > Data  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  List< / span > < / a > < / li >
< li > < a href = "globals.html" > < span > Globals< / span > < / a > < / li >
< / ul >
< / div >
2016-09-29 22:38:29 +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 >
2016-09-29 22:38:29 +02:00
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#define-members" > Macros< / a > |
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
< div class = "title" > opj_malloc.c File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "textblock" > < code > #include " < a class = "el" href = "opj__includes_8h_source.html" > opj_includes.h< / a > " < / code > < br / >
< / div > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "define-members" > < / a >
Macros< / h2 > < / td > < / tr >
< tr class = "memitem:a66b275350ced9ee2809a6d816448a3e7" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "opj__malloc_8c.html#a66b275350ced9ee2809a6d816448a3e7" > OPJ_SKIP_POISON< / a > < / td > < / tr >
< tr class = "separator:a66b275350ced9ee2809a6d816448a3e7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3c75bb398badb69c7577b21486f9963f" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "opj__malloc_8c.html#a3c75bb398badb69c7577b21486f9963f" > SIZE_MAX< / a >       ((size_t) -1)< / td > < / tr >
< tr class = "separator:a3c75bb398badb69c7577b21486f9963f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:ac38162a5a110cb6499df3efd7a6b395f" > < td class = "memItemLeft" align = "right" valign = "top" > static < a class = "el" href = "openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116" > INLINE< / a > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "opj__malloc_8c.html#ac38162a5a110cb6499df3efd7a6b395f" > opj_aligned_alloc_n< / a > (size_t alignment, size_t size)< / td > < / tr >
< tr class = "separator:ac38162a5a110cb6499df3efd7a6b395f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a29b9ed947cbc800b3d9747a4d9312013" > < td class = "memItemLeft" align = "right" valign = "top" > static < a class = "el" href = "openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116" > INLINE< / a > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "opj__malloc_8c.html#a29b9ed947cbc800b3d9747a4d9312013" > opj_aligned_realloc_n< / a > (void *ptr, size_t alignment, size_t new_size)< / td > < / tr >
< tr class = "separator:a29b9ed947cbc800b3d9747a4d9312013" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga49c70931cbed786f6eef5f095bcb2917" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917" > opj_malloc< / a > (size_t size)< / td > < / tr >
< tr class = "memdesc:ga49c70931cbed786f6eef5f095bcb2917" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Allocate an uninitialized memory block. < a href = "group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga49c70931cbed786f6eef5f095bcb2917" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga7fe6dfcb0a623dbec30daf0f48624bf7" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7" > opj_calloc< / a > (size_t num, size_t size)< / td > < / tr >
< tr class = "memdesc:ga7fe6dfcb0a623dbec30daf0f48624bf7" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Allocate a memory block with elements initialized to 0. < a href = "group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga7fe6dfcb0a623dbec30daf0f48624bf7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga4418db34754a5b9ac5a79fece518c601" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group___m_i_s_c.html#ga4418db34754a5b9ac5a79fece518c601" > opj_aligned_malloc< / a > (size_t size)< / td > < / tr >
< tr class = "memdesc:ga4418db34754a5b9ac5a79fece518c601" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Allocate memory aligned to a 16 byte boundary. < a href = "group___m_i_s_c.html#ga4418db34754a5b9ac5a79fece518c601" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga4418db34754a5b9ac5a79fece518c601" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga0fdc9e5dfa748e01dd87621a12a0e102" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group___m_i_s_c.html#ga0fdc9e5dfa748e01dd87621a12a0e102" > opj_aligned_realloc< / a > (void *ptr, size_t size)< / td > < / tr >
< tr class = "separator:ga0fdc9e5dfa748e01dd87621a12a0e102" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-08-10 06:39:58 +02:00
< tr class = "memitem:gaca33611a393378b0314a07d239b66099" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group___m_i_s_c.html#gaca33611a393378b0314a07d239b66099" > opj_aligned_32_malloc< / a > (size_t size)< / td > < / tr >
< tr class = "memdesc:gaca33611a393378b0314a07d239b66099" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Allocate memory aligned to a 32 byte boundary. < a href = "group___m_i_s_c.html#gaca33611a393378b0314a07d239b66099" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaca33611a393378b0314a07d239b66099" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga42f91b38d00506a6851fc1dde0fba402" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group___m_i_s_c.html#ga42f91b38d00506a6851fc1dde0fba402" > opj_aligned_32_realloc< / a > (void *ptr, size_t size)< / td > < / tr >
< tr class = "separator:ga42f91b38d00506a6851fc1dde0fba402" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-09-29 22:38:29 +02:00
< tr class = "memitem:gaefeccfbb22ba64c00f94f7f66fc97126" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group___m_i_s_c.html#gaefeccfbb22ba64c00f94f7f66fc97126" > opj_aligned_free< / a > (void *ptr)< / td > < / tr >
< tr class = "separator:gaefeccfbb22ba64c00f94f7f66fc97126" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga95862b2a456efdc436c61beba816fb25" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group___m_i_s_c.html#ga95862b2a456efdc436c61beba816fb25" > opj_realloc< / a > (void *ptr, size_t new_size)< / td > < / tr >
< tr class = "memdesc:ga95862b2a456efdc436c61beba816fb25" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Reallocate memory blocks. < a href = "group___m_i_s_c.html#ga95862b2a456efdc436c61beba816fb25" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga95862b2a456efdc436c61beba816fb25" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga2bd00e2482ae36197631bde0665cfdfe" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe" > opj_free< / a > (void *ptr)< / td > < / tr >
< tr class = "memdesc:ga2bd00e2482ae36197631bde0665cfdfe" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Deallocates or frees a memory block. < a href = "group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga2bd00e2482ae36197631bde0665cfdfe" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< h2 class = "groupheader" > Macro Definition Documentation< / h2 >
2020-12-28 22:12:25 +01:00
< a class = "anchor" id = "a66b275350ced9ee2809a6d816448a3e7" > < / a >
2016-09-29 22:38:29 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define OPJ_SKIP_POISON< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2020-12-28 22:12:25 +01:00
< a class = "anchor" id = "a3c75bb398badb69c7577b21486f9963f" > < / a >
2016-09-29 22:38:29 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define SIZE_MAX      ((size_t) -1)< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2020-12-28 22:12:25 +01:00
< p > Referenced by < a class = "el" href = "opj__malloc_8c.html#ac38162a5a110cb6499df3efd7a6b395f" > opj_aligned_alloc_n()< / a > , < a class = "el" href = "opj__malloc_8c.html#a29b9ed947cbc800b3d9747a4d9312013" > opj_aligned_realloc_n()< / a > , < a class = "el" href = "dwt_8c.html#a75cd080404aadce6662457dec7cc9d21" > opj_dwt_decode_partial_97()< / a > , < a class = "el" href = "group___d_w_t.html#ga74b827f7914de05bf5bfc52894894803" > opj_dwt_decode_partial_tile()< / a > , < a class = "el" href = "group___d_w_t.html#ga473550255363b8acb0c9b10a6dbac434" > opj_dwt_decode_tile()< / a > , < a class = "el" href = "dwt_8c.html#af833f69ca2dd4480b97b2afd7ea0322b" > opj_dwt_decode_tile_97()< / a > , < a class = "el" href = "group___d_w_t.html#gaaae701033c6732995e99ce22d8bffba8" > opj_dwt_encode_procedure()< / a > , < a class = "el" href = "openjpeg_8h.html#af168cf4a4295433c8c33610bac614553" > opj_image_create()< / a > , < a class = "el" href = "group___j2_k.html#ga8e1a7d063d261020d4d8984cb2320971" > opj_j2k_update_image_data()< / a > , < a class = "el" href = "group___t_c_d.html#gad5a64bbb748b2c76bd41ea66715fa897" > opj_tcd_decode_tile()< / a > , and < a class = "el" href = "tcd_8c.html#a0e4d491f4d95e89b9f113664431faffc" > opj_tcd_init_tile()< / a > .< / p >
2016-09-29 22:38:29 +02:00
< / div >
< / div >
< h2 class = "groupheader" > Function Documentation< / h2 >
2020-12-28 22:12:25 +01:00
< a class = "anchor" id = "ac38162a5a110cb6499df3efd7a6b395f" > < / a >
2016-09-29 22:38:29 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static < a class = "el" href = "openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116" > INLINE< / a > void* opj_aligned_alloc_n < / td >
< td > (< / td >
< td class = "paramtype" > size_t  < / td >
< td class = "paramname" > < em > alignment< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > size_t  < / td >
< td class = "paramname" > < em > size< / 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" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2020-12-28 22:12:25 +01:00
< p > References < a class = "el" href = "opj__malloc_8c.html#a3c75bb398badb69c7577b21486f9963f" > SIZE_MAX< / a > .< / p >
2016-09-29 22:38:29 +02:00
2020-12-28 22:12:25 +01:00
< p > Referenced by < a class = "el" href = "group___m_i_s_c.html#gaca33611a393378b0314a07d239b66099" > opj_aligned_32_malloc()< / a > , < a class = "el" href = "group___m_i_s_c.html#ga4418db34754a5b9ac5a79fece518c601" > opj_aligned_malloc()< / a > , and < a class = "el" href = "opj__malloc_8c.html#a29b9ed947cbc800b3d9747a4d9312013" > opj_aligned_realloc_n()< / a > .< / p >
2016-09-29 22:38:29 +02:00
< / div >
< / div >
2020-12-28 22:12:25 +01:00
< a class = "anchor" id = "a29b9ed947cbc800b3d9747a4d9312013" > < / a >
2016-09-29 22:38:29 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static < a class = "el" href = "openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116" > INLINE< / a > void* opj_aligned_realloc_n < / td >
< td > (< / td >
< td class = "paramtype" > void *  < / td >
< td class = "paramname" > < em > ptr< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > size_t  < / td >
< td class = "paramname" > < em > alignment< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > size_t  < / td >
< td class = "paramname" > < em > new_size< / 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" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2020-12-28 22:12:25 +01:00
< p > References < a class = "el" href = "opj__malloc_8c.html#ac38162a5a110cb6499df3efd7a6b395f" > opj_aligned_alloc_n()< / a > , and < a class = "el" href = "opj__malloc_8c.html#a3c75bb398badb69c7577b21486f9963f" > SIZE_MAX< / a > .< / p >
2016-09-29 22:38:29 +02:00
2020-12-28 22:12:25 +01:00
< p > Referenced by < a class = "el" href = "group___m_i_s_c.html#ga42f91b38d00506a6851fc1dde0fba402" > opj_aligned_32_realloc()< / a > , and < a class = "el" href = "group___m_i_s_c.html#ga0fdc9e5dfa748e01dd87621a12a0e102" > opj_aligned_realloc()< / a > .< / p >
2016-09-29 22:38:29 +02:00
< / div >
< / div >
< / 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" / >
2020-12-28 22:12:25 +01:00
< / a > 1.8.11
2016-09-29 22:38:29 +02:00
< / small > < / address >
< / body >
< / html >