OpenJPEG  1.5.1
Data Structures | Typedefs
bio.h File Reference

Implementation of an individual bit input-output (BIO) More...

Go to the source code of this file.

Data Structures

struct  opj_bio
 Individual bit input-output stream (BIO) More...
 

Typedefs

typedef struct opj_bio opj_bio_t
 Individual bit input-output stream (BIO) More...
 

Functions

Exported functions
opj_bio_tbio_create (void)
 Create a new BIO handle. More...
 
void bio_destroy (opj_bio_t *bio)
 Destroy a previously created BIO handle. More...
 
int bio_numbytes (opj_bio_t *bio)
 Number of bytes written. More...
 
void bio_init_enc (opj_bio_t *bio, unsigned char *bp, int len)
 Init encoder. More...
 
void bio_init_dec (opj_bio_t *bio, unsigned char *bp, int len)
 Init decoder. More...
 
void bio_write (opj_bio_t *bio, int v, int n)
 Write bits. More...
 
int bio_read (opj_bio_t *bio, int n)
 Read bits. More...
 
int bio_flush (opj_bio_t *bio)
 Flush bits. More...
 
int bio_inalign (opj_bio_t *bio)
 Passes the ending bits (coming from flushing) More...
 

Detailed Description

Implementation of an individual bit input-output (BIO)

The functions in BIO.C have for goal to realize an individual bit input - output.