2022-05-13 20:21:13 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2015-07-10 18:06:19 +02:00
< 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" / >
2022-05-13 20:21:13 +02:00
< meta name = "generator" content = "Doxygen 1.8.17" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2015-07-10 18:06:19 +02:00
< title > OpenJPEG: event.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;" >
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
2022-05-13 20:21:13 +02:00
  < span id = "projectnumber" > 2.5.0< / span >
2015-07-10 18:06:19 +02:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2022-05-13 20:21:13 +02:00
<!-- Generated by Doxygen 1.8.17 -->
< 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 >
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 = "summary" >
< a href = "#define-members" > Macros< / a > |
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
< div class = "title" > event.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:a04bd3229f3d8b05834a288b47949483e" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "event_8c.html#a04bd3229f3d8b05834a288b47949483e" > OPJ_MSG_SIZE< / a >       512 /* 512 bytes should be more than enough for a short message */< / td > < / tr >
< tr class = "separator:a04bd3229f3d8b05834a288b47949483e" > < 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:adf1fd54a14d1011ee5b9c5f0a3e99ac0" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "event_8c.html#adf1fd54a14d1011ee5b9c5f0a3e99ac0" > opj_default_callback< / a > (const char *msg, void *client_data)< / td > < / tr >
2022-05-13 20:21:13 +02:00
< tr class = "memdesc:adf1fd54a14d1011ee5b9c5f0a3e99ac0" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Default callback function. < a href = "event_8c.html#adf1fd54a14d1011ee5b9c5f0a3e99ac0" > More...< / a > < br / > < / td > < / tr >
2015-07-10 18:06:19 +02:00
< tr class = "separator:adf1fd54a14d1011ee5b9c5f0a3e99ac0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-05-13 20:21:13 +02:00
< tr class = "memitem:a80a24e8c6d24861cd2403e48a7c2591e" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4" > OPJ_BOOL< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "event_8c.html#a80a24e8c6d24861cd2403e48a7c2591e" > opj_event_msg< / a > (< a class = "el" href = "event_8h.html#a9015b7726990d51ca282c8134b8eccdd" > opj_event_mgr_t< / a > *p_event_mgr, < a class = "el" href = "openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9" > OPJ_INT32< / a > event_type, const char *fmt,...)< / td > < / tr >
< tr class = "memdesc:a80a24e8c6d24861cd2403e48a7c2591e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Write formatted data to a string and send the string to a user callback. < a href = "event_8c.html#a80a24e8c6d24861cd2403e48a7c2591e" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a80a24e8c6d24861cd2403e48a7c2591e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8584de0db0bbc62b70d5cf5089165ef2" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "event_8c.html#a8584de0db0bbc62b70d5cf5089165ef2" > opj_set_default_event_handler< / a > (< a class = "el" href = "event_8h.html#a9015b7726990d51ca282c8134b8eccdd" > opj_event_mgr_t< / a > *p_manager)< / td > < / tr >
< tr class = "memdesc:a8584de0db0bbc62b70d5cf5089165ef2" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set the event manager with the default callback function for the 3 levels. < a href = "event_8c.html#a8584de0db0bbc62b70d5cf5089165ef2" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a8584de0db0bbc62b70d5cf5089165ef2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-07-10 18:06:19 +02:00
< / table >
< h2 class = "groupheader" > Macro Definition Documentation< / h2 >
2022-05-13 20:21:13 +02:00
< a id = "a04bd3229f3d8b05834a288b47949483e" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a04bd3229f3d8b05834a288b47949483e" > ◆ < / a > < / span > OPJ_MSG_SIZE< / h2 >
2015-07-10 18:06:19 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define OPJ_MSG_SIZE      512 /* 512 bytes should be more than enough for a short message */< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< h2 class = "groupheader" > Function Documentation< / h2 >
2022-05-13 20:21:13 +02:00
< a id = "adf1fd54a14d1011ee5b9c5f0a3e99ac0" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#adf1fd54a14d1011ee5b9c5f0a3e99ac0" > ◆ < / a > < / span > opj_default_callback()< / h2 >
2015-07-10 18:06:19 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void opj_default_callback < / td >
< td > (< / td >
< td class = "paramtype" > const char *  < / td >
< td class = "paramname" > < em > msg< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > void *  < / td >
< td class = "paramname" > < em > client_data< / 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" >
< p > Default callback function. < / p >
< p > Do nothing. < / p >
2022-05-13 20:21:13 +02:00
< p class = "reference" > References < a class = "el" href = "openjpeg_8h.html#a802696e43e0ad059cfb3310cb5b073bb" > OPJ_ARG_NOT_USED< / a > .< / p >
< p class = "reference" > Referenced by < a class = "el" href = "event_8h.html#a8584de0db0bbc62b70d5cf5089165ef2" > opj_set_default_event_handler()< / a > .< / p >
< / div >
< / div >
< a id = "a80a24e8c6d24861cd2403e48a7c2591e" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a80a24e8c6d24861cd2403e48a7c2591e" > ◆ < / a > < / span > opj_event_msg()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4" > OPJ_BOOL< / a > opj_event_msg < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "event_8h.html#a9015b7726990d51ca282c8134b8eccdd" > opj_event_mgr_t< / a > *  < / td >
< td class = "paramname" > < em > event_mgr< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9" > OPJ_INT32< / a >   < / td >
< td class = "paramname" > < em > event_type< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const char *  < / td >
< td class = "paramname" > < em > fmt< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > < em > ...< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Write formatted data to a string and send the string to a user callback. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > event_mgr< / td > < td > Event handler < / td > < / tr >
< tr > < td class = "paramname" > event_type< / td > < td > Event type or callback to use to send the message < / td > < / tr >
< tr > < td class = "paramname" > fmt< / td > < td > Format-control string (plus optional arguments)< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > Returns true if successful, returns false otherwise < / dd > < / dl >
< p class = "reference" > References < a class = "el" href = "structopj__event__mgr.html#a9ee0c627fefd37d56e3487af6fc250b6" > opj_event_mgr::error_handler< / a > , < a class = "el" href = "event_8h.html#a7323671f4df0a721ae02d610b1269ab9" > EVT_ERROR< / a > , < a class = "el" href = "event_8h.html#a220921068c5e3c97c8f2ad4db0c60726" > EVT_INFO< / a > , < a class = "el" href = "event_8h.html#abefbcb0bea7916739b3adccb2d4e9417" > EVT_WARNING< / a > , < a class = "el" href = "structopj__event__mgr.html#ad60a40bbc655af631ec15f84ee45a708" > opj_event_mgr::info_handler< / a > , < a class = "el" href = "structopj__event__mgr.html#a551021914bcf2da3a212f1fd128da7d7" > opj_event_mgr::m_error_data< / a > , < a class = "el" href = "structopj__event__mgr.html#a914c15d0e74ed08bc54a93664df4402c" > opj_event_mgr::m_info_data< / a > , < a class = "el" href = "structopj__event__mgr.html#ae86cf70e19e00750bdf4df2fdae4f4b3" > opj_event_mgr::m_warning_data< / a > , < a class = "el" href = "openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964" > OPJ_FALSE< / a > , < a class = "el" href = "event_8c.html#a04bd3229f3d8b05834a288b47949483e" > OPJ_MSG_SIZE< / a > , < a class = "el" href = "openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3" > OPJ_TRUE< / a > , and < a class = "el" href = "structopj__event__mgr.html#af0954e95dec628614f22a501f2b6ce9b" > opj_event_mgr::warning_handler< / a > .< / p >
< p class = "reference" > Referenced by < a class = "el" href = "openjpeg_8h.html#a69251f43a74c3c5716fd4f4d24e8a528" > opj_decoder_set_strict_mode()< / a > , < a class = "el" href = "j2k_8c.html#a86642f524f2b96bb957e35f36760544d" > opj_j2k_are_all_used_components_decoded()< / a > , < a class = "el" href = "j2k_8c.html#a3e22494d687c124eeeb079cc0b10edd1" > opj_j2k_check_poc_val()< / a > , < a class = "el" href = "j2k_8c.html#adaffc1a68a7cbfe82eca1f66e557d78d" > opj_j2k_copy_default_tcp_and_create_tcd()< / a > , < a class = "el" href = "j2k_8c.html#a9e5d9046fb1e8a88af9a8787a551f00b" > opj_j2k_create_tcd()< / a > , < a class = "el" href = "j2k_8c.html#ae310be1158fc90d77b9f4bd2711069d2" > opj_j2k_decode_one_tile()< / a > , < a class = "el" href = "j2k_8h.html#a589edf58bf96de0a09b6104b6f5c13e8" > opj_j2k_decode_tile()< / a > , < a class = "el" href = "j2k_8c.html#a7b5ed63aa196941746a348042a55dda3" > opj_j2k_decode_tiles()< / a > , < a class = "el" href = "j2k_8h.html#af05dd7eedf751beb0033ac42de564fcc" > opj_j2k_encode()< / a > , < a class = "el" href = "j2k_8h.html#a6b288ad7b1891bc2cdf593e8fa05cba6" > opj_j2k_encoder_set_extra_options()< / a > , < a class = "el" href = "j2k_8c.html#a2ef076b003198ded3337ed8d5a641cf2" > opj_j2k_encoding_validation()< / a > , < a class = "el" href = "j2k_8c.html#a01ad31cdc9b2d7478221f55f2aedf7f7" > opj_j2k_get_sot_values()< / a > , < a class = "el" href = "j2k_8h.html#a60371d3609364bf033e8c244599abf6f" > opj_j2k_get_tile()< / a > , < a class = "el" href = "j2k_8c.html#acd8c13c7f20ddaca4fbb0aa886d40f18" > opj_j2k_is_cinema_compliant()< / a > , < a class = "el" href = "j2k_8c.html#a0fc624268e8a9fb705da1f9b4cd47583" > opj_j2k_is_imf_compliant()< / a > , < a class = "el" href = "j2k_8c.html#a5c7aed6778ebe582455869c5df435c5f" > opj_j2k_merge_ppm()< / a > , < a class = "el" href = "j2k_8c.html#affae175b58a2b960f035136d58bbaaf1" > opj_j2k_merge_ppt()< / a > , < a class = "el" href = "j2k_8c.html#ab826458121cf85e37db0f19ba5d38551" > opj_j2k_need_nb_tile_parts_correction()< / a > , < a class = "el" href = "j2k_8c.html#a0101959e0886beb63a1ff0c92742190d" > opj_j2k_pre_write_tile()< / a > , < a class = "el" href = "j2k_8c.html#af9452f058867874a2545ba57182ccded" > opj_j2k_read_cbd()< / a > , < a class = "el" href = "j2k_8c.html#af6e255d43d68436d57606f619980bf21" > opj_j2k_read_coc()< / a > , < a class = "el" href = "j2k_8c.html#ae37490bb6b2eb9a851e24c4a53aa6da0" > opj_j2k_read_cod()< / a > , < a class = "el" href = "j2k_8c.html#a022938ad2bf4ddd1c3383a5f37841fad" > opj_j2k_read_crg()< / a > , < a class = "el" href = "j2k_8c.html#a445c467bde1da70f07c2cdcd3ffbc25c" > opj_j2k_read_header_procedure()< / a > , < a class = "el" href = "j2k_8c.html#a0f83c1c3390f6368061b89b0e4dad91b" > opj_j2k_read_mcc()< / a > , < a class = "el" href = "j2k_8c.html#af48ac7c1ee2fe7d1dcfafedf24dba699" > opj_j2k_read_mco()< / a > , < a class = "el" href = "j2k_8c.html#a191850876c179e6f0ce484888df823ad" > opj_j2k_read_mct()< / a > , < a class = "el" href = "j2k_8c.html#aea6560fe7ff48535d1f61eeaa0291728" > opj_j2k_read_plm()< / a > , < a class = "el" href = "j2k_8c.html#a47f7cf1ce731b80ee0fb78545c761c59" > opj_j2k_read_plt()< / a > , < a class = "el" href = "j2k_8c.html#a094ffbf4a7e4ab181717cfe32f95427b" > opj_j2k_read_poc()< / a > , < a class = "el" href = "j2k_8c.html#a49665d853cbf934ca7ad0f83f4185a90" > opj_j2k_read_ppm()< / a > , < a class = "el" href = "j2k_8c.html#a7715f2d96c40992acf9fd7739179b7ca" > opj_j2k_read_ppt()< / a > , < a class = "el" href = "j2k_8c.html#ae4bf5d4a61a9c7e8d5c4d4792becff28" > opj_j2k_read_qcc()< / a > , < a class = "el" href = "j2k_8c.html#af4edcf1840e794d3d3105bbd91c44c7b" > opj_j2k_read_qcd()< / a > , < a class = "el" href = "j2k_8c.html#a2fcbe4a501bc0095f599de812323d62f" > opj_j2k_read_rgn()< / a > , < a class = "el" href = "j2k_8c.html#aa91c21b73fc17028a77ba44d3987f17a" > opj_j2k_read_siz()< / a > , < a class = "el" href = "j2k_8c.html#a4a8ad30a3df7afe15c5377a6f673f911" > opj_j2k_read_soc()< / a > , < a class = "el" href = "j2k_8c.html#af1ac6b62e18b03816163369ec3a81eff" > opj_j2k_read_sod()< / a > , < a class = "el" href = "j2k_8c.html#a935e4014c63e07bf19ad99584f6de430" > opj_j2k_read_sot()< / a > , < a class = "el" href = "j2k_8c.html#a302098a94dfdd7406da50abc633720d8" > opj_j2k_read_SPCod_SPCoc()< / a > , < a class = "el" href = "j2k_8c.html#ad38da30797d61e64273836160152e557" > opj_j2k_read_SQcd_SQcc()< / a > , < a class = "el" href = "j2k_8h.html#a25b7b51949ceea33515984f1db2f594d" > opj_j2k_read_tile_header()< / a > , < a class = "el" href = "j2k_8c.html#ac4e1d91
< / div >
< / div >
< a id = "a8584de0db0bbc62b70d5cf5089165ef2" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a8584de0db0bbc62b70d5cf5089165ef2" > ◆ < / a > < / span > opj_set_default_event_handler()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void opj_set_default_event_handler < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "event_8h.html#a9015b7726990d51ca282c8134b8eccdd" > opj_event_mgr_t< / a > *  < / td >
< td class = "paramname" > < em > p_manager< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Set the event manager with the default callback function for the 3 levels. < / p >
< p class = "reference" > References < a class = "el" href = "structopj__event__mgr.html#a9ee0c627fefd37d56e3487af6fc250b6" > opj_event_mgr::error_handler< / a > , < a class = "el" href = "structopj__event__mgr.html#ad60a40bbc655af631ec15f84ee45a708" > opj_event_mgr::info_handler< / a > , < a class = "el" href = "structopj__event__mgr.html#a551021914bcf2da3a212f1fd128da7d7" > opj_event_mgr::m_error_data< / a > , < a class = "el" href = "structopj__event__mgr.html#a914c15d0e74ed08bc54a93664df4402c" > opj_event_mgr::m_info_data< / a > , < a class = "el" href = "structopj__event__mgr.html#ae86cf70e19e00750bdf4df2fdae4f4b3" > opj_event_mgr::m_warning_data< / a > , < a class = "el" href = "event_8c.html#adf1fd54a14d1011ee5b9c5f0a3e99ac0" > opj_default_callback()< / a > , and < a class = "el" href = "structopj__event__mgr.html#af0954e95dec628614f22a501f2b6ce9b" > opj_event_mgr::warning_handler< / a > .< / p >
2015-07-10 18:06:19 +02:00
2022-05-13 20:21:13 +02:00
< p class = "reference" > Referenced by < a class = "el" href = "openjpeg_8h.html#a990851329975143ee0ad6d9fdf461f06" > opj_create_compress()< / a > , and < a class = "el" href = "openjpeg_8h.html#a411e8a7a5ea89724038fd143a48a6892" > opj_create_decompress()< / a > .< / p >
2015-07-10 18:06:19 +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" / >
2022-05-13 20:21:13 +02:00
< / a > 1.8.17
2015-07-10 18:06:19 +02:00
< / small > < / address >
< / body >
< / html >