OpenJPEG
2.2.0
|
#include "byte_manager.h"
Go to the source code of this file.
Data Structures | |
struct | codestream_param |
codestream parameters More... | |
Typedefs | |
typedef struct codestream_param | codestream_param_t |
codestream parameters More... | |
Functions | |
codestream_param_t | set_codestream (int fd, OPJ_OFF_T offset, OPJ_SIZE_T length) |
set codestream parameters from inputs More... | |
Byte_t * | fetch_codestreambytes (codestream_param_t *cs, OPJ_OFF_T offset, OPJ_SIZE_T size) |
fetch Codestream bytes of data in file stream More... | |
Byte_t | fetch_codestream1byte (codestream_param_t *cs, OPJ_OFF_T offset) |
fetch Codestream 1-byte Byte code in file stream More... | |
Byte2_t | fetch_codestream2bytebigendian (codestream_param_t *cs, OPJ_OFF_T offset) |
fetch Codestream 2-byte big endian Byte codes in file stream More... | |
Byte4_t | fetch_codestream4bytebigendian (codestream_param_t *cs, OPJ_OFF_T offset) |
fetch Codestream 4-byte big endian Byte codes in file stream More... | |
void | print_codestream (codestream_param_t cs) |
print codestream parameters More... | |
typedef struct codestream_param codestream_param_t |
codestream parameters
Byte_t fetch_codestream1byte | ( | codestream_param_t * | cs, |
OPJ_OFF_T | offset | ||
) |
fetch Codestream 1-byte Byte code in file stream
[in] | cs | codestream pointer |
[in] | offset | start Byte position in codestream |
References codestream_param::fd, fetch_1byte(), and codestream_param::offset.
Referenced by fetch_marker1byte().
Byte2_t fetch_codestream2bytebigendian | ( | codestream_param_t * | cs, |
OPJ_OFF_T | offset | ||
) |
fetch Codestream 2-byte big endian Byte codes in file stream
[in] | cs | codestream pointer |
[in] | offset | start Byte position in codestream |
References codestream_param::fd, fetch_2bytebigendian(), and codestream_param::offset.
Referenced by fetch_marker2bytebigendian().
Byte4_t fetch_codestream4bytebigendian | ( | codestream_param_t * | cs, |
OPJ_OFF_T | offset | ||
) |
fetch Codestream 4-byte big endian Byte codes in file stream
[in] | cs | codestream pointer |
[in] | offset | start Byte position in codestream |
References codestream_param::fd, fetch_4bytebigendian(), and codestream_param::offset.
Referenced by fetch_marker4bytebigendian().
Byte_t* fetch_codestreambytes | ( | codestream_param_t * | cs, |
OPJ_OFF_T | offset, | ||
OPJ_SIZE_T | size | ||
) |
fetch Codestream bytes of data in file stream
[in] | cs | codestream pointer |
[in] | offset | start Byte position in codestream |
[in] | size | Byte length |
References codestream_param::fd, fetch_bytes(), and codestream_param::offset.
void print_codestream | ( | codestream_param_t | cs | ) |
print codestream parameters
[in] | cs | codestream |
References codestream_param::fd, codestream_param::length, logstream, and codestream_param::offset.
codestream_param_t set_codestream | ( | int | fd, |
OPJ_OFF_T | offset, | ||
OPJ_SIZE_T | length | ||
) |
set codestream parameters from inputs
[in] | fd | file descriptor |
[in] | offset | offset in the file |
[in] | length | codestream length |
References codestream_param::fd, codestream_param::length, and codestream_param::offset.
Referenced by set_cidxdata().