summaryrefslogtreecommitdiff
path: root/src/lib/openjpip/faixbox_manager.h
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2016-01-25 23:22:06 +0100
committerAntonin Descampe <antonin@gmail.com>2016-01-25 23:22:06 +0100
commit0febbff19e05cb1a6c2613eee76ad46a669c96cd (patch)
treeb6442d01348e2ba6404d0fd6abcc4eb6d6cc1390 /src/lib/openjpip/faixbox_manager.h
parentbede1568b197021bb576b935422af6c1d0a79e21 (diff)
processed all c/h files through astyle with opj_astyle.cfgcodingstyle
Diffstat (limited to 'src/lib/openjpip/faixbox_manager.h')
-rw-r--r--src/lib/openjpip/faixbox_manager.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/lib/openjpip/faixbox_manager.h b/src/lib/openjpip/faixbox_manager.h
index ec893c37..5da81565 100644
--- a/src/lib/openjpip/faixbox_manager.h
+++ b/src/lib/openjpip/faixbox_manager.h
@@ -35,46 +35,46 @@
#include "box_manager.h"
/** 4byte parameters of a faix element*/
-typedef struct faixelem4_param{
- Byte4_t off; /**< offset*/
- Byte4_t len; /**< length*/
+typedef struct faixelem4_param {
+ Byte4_t off; /**< offset*/
+ Byte4_t len; /**< length*/
} faixelem4_param_t;
/** 8byte parameters of a faix element*/
-typedef struct faixelem8_param{
- Byte8_t off; /**< offset*/
- Byte8_t len; /**< length*/
+typedef struct faixelem8_param {
+ Byte8_t off; /**< offset*/
+ Byte8_t len; /**< length*/
} faixelem8_param_t;
/** 4byte parameters of fragment array index box*/
-typedef struct subfaixbox4_param{
- Byte4_t nmax; /**< maximum number of valid elements in any row of the array*/
- Byte4_t m; /**< number of raws of the array*/
- faixelem4_param_t *elem; /**< dynamic array pointer of faix elements*/
- Byte4_t *aux; /**< dynamic array pointer of auxiliary*/
- /**info in each element for version 2 or 3*/
+typedef struct subfaixbox4_param {
+ Byte4_t nmax; /**< maximum number of valid elements in any row of the array*/
+ Byte4_t m; /**< number of raws of the array*/
+ faixelem4_param_t *elem; /**< dynamic array pointer of faix elements*/
+ Byte4_t *aux; /**< dynamic array pointer of auxiliary*/
+ /**info in each element for version 2 or 3*/
} subfaixbox4_param_t;
/** 8byte parameters of fragment array index box*/
-typedef struct subfaixbox8_param{
- Byte8_t nmax; /**< maximum number of valid elements in any row of the array*/
- Byte8_t m; /**< number of raws of the array*/
- faixelem8_param_t *elem; /**< dynamic array pointer of faix elements*/
- Byte4_t *aux; /**< dynamic array pointer of auxiliary*/
- /**info in each element for version 2 or 3*/
+typedef struct subfaixbox8_param {
+ Byte8_t nmax; /**< maximum number of valid elements in any row of the array*/
+ Byte8_t m; /**< number of raws of the array*/
+ faixelem8_param_t *elem; /**< dynamic array pointer of faix elements*/
+ Byte4_t *aux; /**< dynamic array pointer of auxiliary*/
+ /**info in each element for version 2 or 3*/
} subfaixbox8_param_t;
/** variable sized parameters in fragment array index box*/
-typedef union subfaixbox_param{
- subfaixbox4_param_t *byte4_params; /**< parameters with 4byte codes for version 0 or 2*/
- subfaixbox8_param_t *byte8_params; /**< parameters with 8byte codes for version 1 or 3*/
+typedef union subfaixbox_param {
+ subfaixbox4_param_t *byte4_params; /**< parameters with 4byte codes for version 0 or 2*/
+ subfaixbox8_param_t *byte8_params; /**< parameters with 8byte codes for version 1 or 3*/
} subfaixbox_param_t;
/** fragment array index box parameters*/
/** I.3.2.4.2 Fragment Array Index box*/
-typedef struct faixbox_param{
- Byte_t version; /**< Refer to the Table I.3 - Version values*/
- subfaixbox_param_t subfaixbox; /**< rest information in faixbox*/
+typedef struct faixbox_param {
+ Byte_t version; /**< Refer to the Table I.3 - Version values*/
+ subfaixbox_param_t subfaixbox; /**< rest information in faixbox*/
} faixbox_param_t;