summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2012-10-25 13:35:30 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2012-10-25 13:35:30 +0000
commit8bc24912d1c0fd26a2be639eb76ea3d8c1f4c06b (patch)
tree3244a52d24f3a98a74be0d2da679e5b9e62f65c0
parent52f6f7e0c7eb97ae047afe8fb39d5b5b36dd9746 (diff)
[trunk] style
-rw-r--r--src/lib/openjp2/cio.h42
1 files changed, 28 insertions, 14 deletions
diff --git a/src/lib/openjp2/cio.h b/src/lib/openjp2/cio.h
index 32ab4da4..ca218cef 100644
--- a/src/lib/openjp2/cio.h
+++ b/src/lib/openjp2/cio.h
@@ -43,16 +43,6 @@ The functions in CIO.C have for goal to realize a byte input / output process.
#include "opj_config.h"
-/** @name Exported functions (see also openjpeg.h) */
-/*@{*/
-/* ----------------------------------------------------------------------- */
-/* ----------------------------------------------------------------------- */
-/*@}*/
-
-/*@}*/
-
-
-
/* ----------------------------------------------------------------------- */
#if defined(OPJ_BIG_ENDIAN)
@@ -119,9 +109,6 @@ typedef struct opj_stream_private
*/
opj_stream_seek_fn m_seek_fn;
-
-
-
/**
* Actual data stored into the stream if readed from. Data is read by chunk of fixed size.
* you should never access this data directly.
@@ -133,8 +120,14 @@ typedef struct opj_stream_private
*/
OPJ_BYTE * m_current_data;
+ /**
+ * FIXME DOC.
+ */
OPJ_OFF_T (* m_opj_skip)(struct opj_stream_private * ,OPJ_OFF_T , struct opj_event_mgr *);
+ /**
+ * FIXME DOC.
+ */
opj_bool (* m_opj_seek) (struct opj_stream_private * , OPJ_OFF_T , struct opj_event_mgr *);
/**
@@ -160,7 +153,9 @@ typedef struct opj_stream_private
}
opj_stream_private_t;
-
+/** @name Exported functions (see also openjpeg.h) */
+/*@{*/
+/* ----------------------------------------------------------------------- */
/**
* Write some bytes to the given data buffer, this function is used in Big Endian cpus.
* @param p_buffer pointer the data buffer to write data to.
@@ -359,11 +354,30 @@ opj_bool opj_stream_seek (opj_stream_private_t * p_stream, OPJ_OFF_T p_size, str
*/
opj_bool opj_stream_has_seek (const opj_stream_private_t * p_stream);
+/**
+ * FIXME DOC.
+ */
OPJ_SIZE_T opj_stream_default_read (void * p_buffer, OPJ_SIZE_T p_nb_bytes, void * p_user_data);
+
+/**
+ * FIXME DOC.
+ */
OPJ_SIZE_T opj_stream_default_write (void * p_buffer, OPJ_SIZE_T p_nb_bytes, void * p_user_data);
+
+/**
+ * FIXME DOC.
+ */
OPJ_OFF_T opj_stream_default_skip (OPJ_OFF_T p_nb_bytes, void * p_user_data);
+
+/**
+ * FIXME DOC.
+ */
opj_bool opj_stream_default_seek (OPJ_OFF_T p_nb_bytes, void * p_user_data);
+/* ----------------------------------------------------------------------- */
+/*@}*/
+
+/*@}*/
#endif /* __CIO_H */