OPJ_BYTE * bp
pointer to the current position in the buffer
Definition: raw.h:62
opj_raw_t * opj_raw_create(void)
Create a new RAW handle.
Definition: raw.c:51
OPJ_BYTE * end
pointer to the end of the buffer
Definition: raw.h:66
OPJ_BYTE c
temporary buffer where bits are coded or decoded
Definition: raw.h:54
unsigned char OPJ_BYTE
Definition: openjpeg.h:117
RAW encoding operations.
Definition: raw.h:52
void opj_raw_destroy(opj_raw_t *raw)
Destroy a previously created RAW handle.
Definition: raw.c:56
OPJ_UINT32 len
length decoded
Definition: raw.h:60
OPJ_UINT32 opj_raw_decode(opj_raw_t *raw)
Decode a symbol using raw-decoder.
Definition: raw.c:76
OPJ_BYTE * start
pointer to the start of the buffer
Definition: raw.h:64
struct opj_raw opj_raw_t
RAW encoding operations.
OPJ_UINT32 ct
number of bits already read or free to write
Definition: raw.h:56
OPJ_UINT32 lenmax
maximum length to decode
Definition: raw.h:58
uint32_t OPJ_UINT32
Definition: openjpeg.h:126
void opj_raw_init_dec(opj_raw_t *raw, OPJ_BYTE *bp, OPJ_UINT32 len)
Initialize the decoder.
Definition: raw.c:68
OPJ_UINT32 opj_raw_numbytes(opj_raw_t *raw)
Return the number of bytes written/read since initialisation.
Definition: raw.c:62