]> granicus.if.org Git - openjpeg/commitdiff
rename j2k_read_poc_v2 to opj_j2k_read_poc
authorMickael Savinaud <savmickael@users.noreply.github.com>
Thu, 9 Aug 2012 16:57:45 +0000 (16:57 +0000)
committerMickael Savinaud <savmickael@users.noreply.github.com>
Thu, 9 Aug 2012 16:57:45 +0000 (16:57 +0000)
libopenjpeg/j2k.c

index 8f098d58be38988270805b6d4192625f6bbf7cfb..dedf73df88e3b3bc3df6fdcfbc94da92067ef7ab 100644 (file)
@@ -706,12 +706,10 @@ static OPJ_UINT32 j2k_get_specific_header_sizes(opj_j2k_v2_t *p_j2k);
  * @param      p_header_size   the size of the data contained in the POC marker.
  * @param      p_manager               the user event manager.
 */
-static opj_bool j2k_read_poc_v2 (
-                                               opj_j2k_v2_t *p_j2k,
-                                               OPJ_BYTE * p_header_data,
-                                               OPJ_UINT32 p_header_size,
-                                               struct opj_event_mgr * p_manager
-                                       );
+static opj_bool opj_j2k_read_poc (  opj_j2k_v2_t *p_j2k,
+                                    OPJ_BYTE * p_header_data,
+                                    OPJ_UINT32 p_header_size,
+                                    opj_event_mgr_t * p_manager );
 
 /**
 Read the CRG marker (component registration)
@@ -1405,7 +1403,7 @@ const opj_dec_memory_marker_handler_t j2k_memory_marker_handler_tab [] =
   {J2K_MS_RGN, J2K_STATE_MH | J2K_STATE_TPH, opj_j2k_read_rgn},
   {J2K_MS_QCD, J2K_STATE_MH | J2K_STATE_TPH, opj_j2k_read_qcd},
   {J2K_MS_QCC, J2K_STATE_MH | J2K_STATE_TPH, opj_j2k_read_qcc},
-  {J2K_MS_POC, J2K_STATE_MH | J2K_STATE_TPH, j2k_read_poc_v2},
+  {J2K_MS_POC, J2K_STATE_MH | J2K_STATE_TPH, opj_j2k_read_poc},
   {J2K_MS_SIZ, J2K_STATE_MHSIZ , opj_j2k_read_siz},
   {J2K_MS_TLM, J2K_STATE_MH, j2k_read_tlm_v2},
   {J2K_MS_PLM, J2K_STATE_MH, j2k_read_plm_v2},
@@ -3729,11 +3727,11 @@ OPJ_UINT32 j2k_get_specific_header_sizes(opj_j2k_v2_t *p_j2k)
  * @param      p_header_size   the size of the data contained in the POC marker.
  * @param      p_manager               the user event manager.
 */
-opj_bool j2k_read_poc_v2 (
-                                               opj_j2k_v2_t *p_j2k,
-                                               OPJ_BYTE * p_header_data,
-                                               OPJ_UINT32 p_header_size,
-                                               struct opj_event_mgr * p_manager)
+static opj_bool opj_j2k_read_poc (  opj_j2k_v2_t *p_j2k,
+                                    OPJ_BYTE * p_header_data,
+                                    OPJ_UINT32 p_header_size,
+                                    opj_event_mgr_t * p_manager 
+                                    )
 {
        OPJ_UINT32 i, l_nb_comp, l_tmp;
        opj_image_t * l_image = 00;