diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2017-05-15 12:21:30 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2017-05-15 12:21:30 +0200 |
| commit | 3c2972f924857016bb454201c7e92f25de9105ee (patch) | |
| tree | dee91c4c200c2e97c83fd4c46588bf923f23852c /src/lib/openjpip/mhixbox_manager.h | |
| parent | 28d2eabca79d06378843d1e94fecfb4a5e22178d (diff) | |
Reformat: apply reformattin on .h files (#128)
Diffstat (limited to 'src/lib/openjpip/mhixbox_manager.h')
| -rw-r--r-- | src/lib/openjpip/mhixbox_manager.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/lib/openjpip/mhixbox_manager.h b/src/lib/openjpip/mhixbox_manager.h index 48b34d09..8b39e58d 100644 --- a/src/lib/openjpip/mhixbox_manager.h +++ b/src/lib/openjpip/mhixbox_manager.h @@ -28,31 +28,31 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef MHIXBOX_MANAGER_H_ -# define MHIXBOX_MANAGER_H_ +#ifndef MHIXBOX_MANAGER_H_ +# define MHIXBOX_MANAGER_H_ #include "byte_manager.h" #include "box_manager.h" /** Marker index parameters*/ -typedef struct markeridx_param{ - Byte2_t code; /**< marker code*/ - Byte2_t num_remain; /**< remining number of the same marker index segments listed immediately*/ - OPJ_OFF_T offset; /**< offset relative to the start of the*/ - /**codestream ( including the length*/ - /**parameter but not the marker itself)*/ - Byte2_t length; /**< marker segment length*/ - struct markeridx_param *next; /**< pointer to the next markeridx*/ +typedef struct markeridx_param { + Byte2_t code; /**< marker code*/ + Byte2_t num_remain; /**< remining number of the same marker index segments listed immediately*/ + OPJ_OFF_T offset; /**< offset relative to the start of the*/ + /**codestream ( including the length*/ + /**parameter but not the marker itself)*/ + Byte2_t length; /**< marker segment length*/ + struct markeridx_param *next; /**< pointer to the next markeridx*/ } markeridx_param_t; /** header index table box parameters*/ /** I.3.2.4.3 Header Index Table box*/ -typedef struct mhixbox_param{ - Byte8_t tlen; /**< length ( total length of the main*/ - /**header or of the first tile-part header)*/ - markeridx_param_t *first; /**< first marker index pointer of the list*/ +typedef struct mhixbox_param { + Byte8_t tlen; /**< length ( total length of the main*/ + /**header or of the first tile-part header)*/ + markeridx_param_t *first; /**< first marker index pointer of the list*/ } mhixbox_param_t; @@ -63,7 +63,7 @@ typedef struct mhixbox_param{ * @param[in] box pointer to the reference mhix box * @return generated mhixbox pointer */ -mhixbox_param_t * gene_mhixbox( box_param_t *box); +mhixbox_param_t * gene_mhixbox(box_param_t *box); /** @@ -73,7 +73,7 @@ mhixbox_param_t * gene_mhixbox( box_param_t *box); * @param[in] mhix mhix box pointer * @return found marker index pointer */ -markeridx_param_t * search_markeridx( Byte2_t code, mhixbox_param_t *mhix); +markeridx_param_t * search_markeridx(Byte2_t code, mhixbox_param_t *mhix); /** @@ -81,7 +81,7 @@ markeridx_param_t * search_markeridx( Byte2_t code, mhixbox_param_t *mhix); * * @param[in] mhix mhix box pointer */ -void print_mhixbox( mhixbox_param_t *mhix); +void print_mhixbox(mhixbox_param_t *mhix); /** @@ -89,7 +89,7 @@ void print_mhixbox( mhixbox_param_t *mhix); * * @param[in] markeridx marker index pointer */ -void print_markeridx( markeridx_param_t *markeridx); +void print_markeridx(markeridx_param_t *markeridx); /** @@ -97,6 +97,6 @@ void print_markeridx( markeridx_param_t *markeridx); * * @param[in,out] mhix address of the mhix box pointer */ -void delete_mhixbox( mhixbox_param_t **mhix); +void delete_mhixbox(mhixbox_param_t **mhix); -#endif /* !MHIXBOX_MANAGER_H_ */ +#endif /* !MHIXBOX_MANAGER_H_ */ |
