#include "opj_includes.h"Functions | |
| opj_bio_t * | opj_bio_create (void) |
| Create a new BIO handle. | |
| void | opj_bio_destroy (opj_bio_t *bio) |
| Destroy a previously created BIO handle. | |
| ptrdiff_t | opj_bio_numbytes (opj_bio_t *bio) |
| Number of bytes written. | |
| void | opj_bio_init_enc (opj_bio_t *bio, OPJ_BYTE *bp, OPJ_UINT32 len) |
| Init encoder. | |
| void | opj_bio_init_dec (opj_bio_t *bio, OPJ_BYTE *bp, OPJ_UINT32 len) |
| Init decoder. | |
| void | opj_bio_write (opj_bio_t *bio, OPJ_UINT32 v, OPJ_UINT32 n) |
| Write bits. | |
| OPJ_UINT32 | opj_bio_read (opj_bio_t *bio, OPJ_UINT32 n) |
| Read bits. | |
| OPJ_BOOL | opj_bio_flush (opj_bio_t *bio) |
| Flush bits. | |
| OPJ_BOOL | opj_bio_inalign (opj_bio_t *bio) |
| Passes the ending bits (coming from flushing). | |
Local static functions | |
| static void | opj_bio_putbit (opj_bio_t *bio, OPJ_UINT32 b) |
| Write a bit. | |
| static OPJ_UINT32 | opj_bio_getbit (opj_bio_t *bio) |
| Read a bit. | |
| static OPJ_BOOL | opj_bio_byteout (opj_bio_t *bio) |
| Write a byte. | |
| static OPJ_BOOL | opj_bio_bytein (opj_bio_t *bio) |
| Read a byte. | |
1.6.1