80 #include "jpc_t2cod.h"
87 int jpc_enc_encpkts(jpc_enc_t *enc, jas_stream_t *out);
90 int jpc_enc_encpkt(jpc_enc_t *enc, jas_stream_t *out,
unsigned compno,
unsigned lvlno,
91 unsigned prcno,
unsigned lyrno);
94 void jpc_save_t2state(jpc_enc_t *enc);
97 void jpc_restore_t2state(jpc_enc_t *enc);
100 void jpc_init_t2state(jpc_enc_t *enc,
bool raflag);
103 jpc_pi_t *jpc_enc_pi_create(jpc_enc_cp_t *cp, jpc_enc_tile_t *tile);
long jas_stream_tell(jas_stream_t *stream)
Get the current position within the stream.
Definition: jas_stream.c:926
int jas_stream_rewind(jas_stream_t *stream)
Seek to the beginning of a stream.
Definition: jas_stream.c:885
JasPer Debugging-Related Functionality.
long jas_stream_seek(jas_stream_t *stream, long offset, int origin)
Set the current position within the stream.
Definition: jas_stream.c:891
int jas_stream_copy(jas_stream_t *out, jas_stream_t *in, int n)
Copy data from one stream to another.
Definition: jas_stream.c:1129