#include <cio.h>
Data Fields | |
void * | m_user_data |
User data, be it files, . | |
opj_stream_free_user_data_fn | m_free_user_data_fn |
Pointer to function to free m_user_data (NULL at initialization) when destroying the stream. | |
OPJ_UINT64 | m_user_data_length |
User data length. | |
opj_stream_read_fn | m_read_fn |
Pointer to actual read function (NULL at the initialization of the cio. | |
opj_stream_write_fn | m_write_fn |
Pointer to actual write function (NULL at the initialization of the cio. | |
opj_stream_skip_fn | m_skip_fn |
Pointer to actual skip function (NULL at the initialization of the cio. | |
opj_stream_seek_fn | m_seek_fn |
Pointer to actual seek function (if available). | |
OPJ_BYTE * | m_stored_data |
Actual data stored into the stream if readed from. | |
OPJ_BYTE * | m_current_data |
Pointer to the current read data. | |
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 *) |
FIXME DOC. | |
OPJ_SIZE_T | m_bytes_in_buffer |
number of bytes containing in the buffer. | |
OPJ_OFF_T | m_byte_offset |
The number of bytes read/written from the beginning of the stream. | |
OPJ_SIZE_T | m_buffer_size |
The size of the buffer. | |
opj_stream_flag | m_status |
Flags to tell the status of the stream. |
User data, be it files, .
.. The actual data depends on the type of the stream.
Referenced by opj_stream_destroy(), opj_stream_flush(), opj_stream_read_data(), opj_stream_read_seek(), opj_stream_read_skip(), opj_stream_set_user_data(), opj_stream_write_seek(), and opj_stream_write_skip().
Pointer to function to free m_user_data (NULL at initialization) when destroying the stream.
If pointer is NULL the function is not called and the m_user_data is not freed (even if non-NULL).
Referenced by opj_stream_destroy(), and opj_stream_set_user_data().
User data length.
Referenced by opj_stream_get_number_byte_left(), and opj_stream_set_user_data_length().
Pointer to actual read function (NULL at the initialization of the cio.
Referenced by opj_stream_create(), opj_stream_read_data(), and opj_stream_set_read_function().
Pointer to actual write function (NULL at the initialization of the cio.
Referenced by opj_stream_create(), opj_stream_flush(), and opj_stream_set_write_function().
Pointer to actual skip function (NULL at the initialization of the cio.
There is no seek function to prevent from back and forth slow procedures.
Referenced by opj_stream_create(), opj_stream_read_skip(), opj_stream_set_skip_function(), and opj_stream_write_skip().
Pointer to actual seek function (if available).
Referenced by opj_stream_create(), opj_stream_has_seek(), opj_stream_read_seek(), opj_stream_set_seek_function(), and opj_stream_write_seek().
Actual data stored into the stream if readed from.
Data is read by chunk of fixed size. you should never access this data directly.
Referenced by opj_stream_create(), opj_stream_destroy(), opj_stream_flush(), opj_stream_read_data(), opj_stream_read_seek(), opj_stream_read_skip(), opj_stream_write_data(), and opj_stream_write_seek().
Pointer to the current read data.
Referenced by opj_stream_create(), opj_stream_flush(), opj_stream_read_data(), opj_stream_read_seek(), opj_stream_read_skip(), opj_stream_write_data(), and opj_stream_write_seek().
OPJ_OFF_T(* opj_stream_private::m_opj_skip)(struct opj_stream_private *,OPJ_OFF_T, struct opj_event_mgr *) |
OPJ_BOOL(* opj_stream_private::m_opj_seek)(struct opj_stream_private *, OPJ_OFF_T, struct opj_event_mgr *) |
number of bytes containing in the buffer.
Referenced by opj_stream_flush(), opj_stream_read_data(), opj_stream_read_seek(), opj_stream_read_skip(), opj_stream_write_data(), opj_stream_write_seek(), and opj_stream_write_skip().
The number of bytes read/written from the beginning of the stream.
Referenced by opj_stream_get_number_byte_left(), opj_stream_read_data(), opj_stream_read_seek(), opj_stream_read_skip(), opj_stream_tell(), opj_stream_write_data(), opj_stream_write_seek(), and opj_stream_write_skip().
The size of the buffer.
Referenced by opj_stream_create(), opj_stream_read_data(), and opj_stream_write_data().
Flags to tell the status of the stream.
Referenced by opj_stream_create(), opj_stream_flush(), opj_stream_read_data(), opj_stream_read_seek(), opj_stream_read_skip(), opj_stream_set_read_function(), opj_stream_set_write_function(), opj_stream_write_data(), opj_stream_write_seek(), and opj_stream_write_skip().